Can the title bar font for a form be changed at run-time?
If the form font is changed then it changes the font of child controls but doesn't change the title bar.
Have done quite a bit of trawling on the net for this one and seems it can't be done through .Net managed code but surely there...
Is anyone aware of how to cancel an installation using a custom action?
The only way I can do it at the moment is to throw an exception in the custom action module which causes a pretty ungraceful roll back saying that there is a problem with the Windows Installer package.
We need to...
Sorry, didn't make it that clear...
All I need is some info on how to deploy the whole project including the Windows application...the communication between the web app and win app is fine.
The only idea I can think of at the moment is to install the Web app as a seperate installation and then...
I've got a Web application that at one stage makes a call to a Windows application (using System.Diagnostics.Process class) that does some processing and exports a file.
The Web app then picks up the file and processes it.
This Windows app needs to be packaged and deployed along with the Web...
Thanks
Just out of curiosity,
1) is that the only way it can be done...web.config can't be used?
2) how can this change be made during deployment of a Web App?
When using Forms Authentication, ASP.Net by default directs the user to 'default.aspx' if there was no original page before the login page.
Can we change 'default.aspx' to something else?
Where is the best place to store a user's id and connection string for use between pages, the Cache or the Session object?
I'm led to believe that the Cache can be wiped at any time if the memory on the Server is fading...is this correct?
I don't want to use query string for the user id as the...
From a 'good coding practice' OOP point-of-view I suppose it's better to have the math outside the event as you well know but I just knocked it together quickly just for the chance to do some graphics instead of financial number crunching. (...it's getting pretty bad when you jump at the...
put the line...
Option Strict On
at the top of the page...this will higlight any obvious problems
The line...
New Bitmap("sunset.jpg")
could be the problem for 2 reasons
1) enter the full path of the file eg c:\temp\sunset.jpg as the default location is determined by the environment, not...
Dim mPreviousCircle As Rectangle
Dim mNewCircle As Rectangle
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
Dim g As Graphics = Me.CreateGraphics
Dim p As New Pen(Me.BackColor)...
That's an interesting undocumented feature of SQL...allowing you to create a column using a keyword when it doesn't allow you to access it.
Another Microsoft moment.
Firstly,the interop will be in the 'obj' directory not the 'bin' directory as I previously stated.
I've just checked an Office 2000 machine and your code works...
EXCEPT...
As a long shot try removing the brackets or enter a file name in the following line...
Dim wbNew As Excel.Workbook =...
this works for me on 2003, give me about an hour and I'll have access to an Office 2000 machine.
In the meantime, remove the reference that you have to the Excel object library (dll) and add it in again - it might just need refreshing due to uninstall/project movement etc...
Also, delete the...
is the object library in your project the correct version - Version 9(Office 2000) as you've stated in the CreateObject command...
xlsApp = CType(CreateObject("Excel.Application.9"), Excel.Application)
you actually don't even need the createobject command if you've got excel in your...
addhandler newdynamictextbox.click, addressof commontextbox.click
where commontextbox.click is the generic event handling all textbox click events
inside this generic event you can use the 'sender' object to define the textbox raising the event
Found a result on Google you might like...it's a custom control that I think has the source code with it though it might be c#.
http://www.codeproject.com/cs/miscctrl/customtext.asp
how is the user passing focus? (tab,mouse click)...try each method and see if it's the same behaviour.
this may be related to issues with other controls getting the focus and not passing it on due to the order of events (thread796-1073921).
Also check all the events for controls and for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.