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...
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...
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...
Got one that's been nagging me for ages...
In the Immediate window, if you print all the properties of an object and there's more than 100 it will only display the first hundred and then say
< More... (The first 100 of 161 items were displayed.) >
Is it possible to page through each hundred...
Is anyone aware of a function in .Net that does the same as the javascript 'Escape' function?
In other words a function that takes special characters such as ":" and converts them to a hex value.
There is a regex.escape function but this only does some characters and not ":
Bit of a long shot but you never know if you don't ask...
Does anyone know of a quick way to find the starting "IF something THEN" command from an "Else" or "End If" command?
Bear with me...
We've all been in the position where an If..Else..End If block can have hundreds of lines of code in...
What is the general feeling about using frames in ASP.Net?
I've heard most people say that it's not worth it but have seen some good articles offering workarounds for most frame issues.
The reason I'm considering frames is to use a menu on the left (similar to web MSDN) and be able to easily...
I currently use the Microsoft msscript.ocx object to return string calculations...ie Value=ScriptControl.Eval("4 * 2")
I'm looking for an alternative for a couple of reasons, one being that I'm not even sure that I'm permitted to distribute this object.
Is anyone aware of any 3rd party tools...
Due to the painful experience of trying to get an combined prerequisites + application + MSDE + script deployment working seamlessly (it works on NT,2000,XP but Win98 and ME force an uncontrollable reboot which screws everything up) I'm experimenting with a workaround.
For this to work I need to...
I'm trying to convert a Windows Forms application to a Windows Service and am having problems with BeginInvoke with the error...
'Reference to a non-shared member requires an object reference'
Dim ar As IAsyncResult = BeginInvoke(New ClearDataDelegate(AddressOf ClearData), o)
EndInvoke(ar)...
What's the best seed for generating random numbers in the Random class?
I heard making it time-based ensures absolute randomness but should this be from the 'Now' function or is the system.environment.tickcount value good enough?
I am creating a setup and deployment project that needs to include the .Net Framework in the installation.
I have followed Microsoft's steps for installing the Bootstrapper plugin and everything installs fine...
EXCEPT...I also want to install MDAC. Microsft give instructions for also...
Is it possible to use OpenRowSet to move data to/from Servers that use different authentication methods?
If I use Query Analyzer to connect to a Server using WINDOWS AUTHENTICATION and run the following query that attempts to connect to a database that uses MIXED MODE AUTHENTICATION I get the...
I'm trying to remove CREATE PROCEDURE commands from a script using system.text.regularexpressions
Basically every instance of CREATE PROCEDURE through to GO needs to be removed
The regular expression '(CREATE PROCEDURE [^(?:\bGO\b)]+)' finds that string but the string RETURNED stops at the...
What is the character limit for an sql query from VB.Net?
.Net can support approx 2 billion unicode characters in a string but I'm assuming SQL Server cannot handle anything like this.
Hugh
Is there a proper way to do a postback from Javascript while keeping your viewstate values?
I have all my Viewstates being compiled in the PreRender event in the server code but obviously this does not get called if I do a simple url call from Javascript.
If this is not possible what is 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.