| Thread | Last Post | Replies |
|
| More regex questions | 15 Dec 2006 09:21 GMT | 4 |
I'm developing some code that will hopefully match one of the strings stored in an array: String [] attrTypes = {"/SCEQUIPMENT/", "/SCOINSTRUMENT/", "/SCPLIN/", "/SCHVAC/", "/SCCAB/", "^(/EQUIPMENT/)", "/PIPE/", "^(/HVAC/)"};
|
| PropertyGrid - how to display a string array as dropdown property | 15 Dec 2006 08:19 GMT | 4 |
I am using a property grid to display a classes properties, all is OK for single value properties but i need to display a list of strings for the user to select from and update the property value based on the selection. A Drop down list in the property grid would be ideal.
|
| Initializing static readonly methods | 15 Dec 2006 04:25 GMT | 10 |
I am new to c# . I have some basic programming doubts. Please help me in clarifying these doubts. I want to initialize a static and readonly field with a value returned by a static method. How ever, when I am debugging, that method is not
|
| ArrayList of arrays | 15 Dec 2006 03:22 GMT | 3 |
I have a function which returns array of structs. I need to create a collection of those arrays and thought that an ArrayList would be a good way to do this since the count is variable. The problem I am having is that although the arrays are being properly stored in the
|
| When to use the GAC? | 15 Dec 2006 02:55 GMT | 3 |
I am preparing to deploy a couple of custom controls. Should I deploy the control dll files to the GAC? Some third party controls deploy there, but other packages deploy to the Program Files folder. How do I decide which of the two locations to deploy to?
|
| Performance of switch{} block. | 15 Dec 2006 01:23 GMT | 9 |
Just wondering if the sequence of the case(s) in the switch block might impact performance. Suppose I switch on an int, and I have 4 expected cases. Lets say I expect case 3 to happen 95% of the time. Would the switch block be expected to execute faster (meaning "start executing ...
|
| Custom Control - Toolbox bitmap? | 15 Dec 2006 00:23 GMT | 2 |
I'm using a ToolboxBitmap attribute to specify a toolbox bitmap for a custom component I've written. The component appears in the WindowsForms tray area, below the form in which it is dropped. I'm using magenta as my transparency color, and the lower-left corner pixel is magenta.
|
| Automate ClickOnce settings, publishings? | 14 Dec 2006 23:20 GMT | 1 |
We have a Win app that we publish via built-in ClickOnce. However, we have 10 different locations to which we deploy the app. Each time we have a new build to publish, we have to change the IP in a setting and also in the URL to where we want it to publish.
|
| Custom downloader - UNC | 14 Dec 2006 22:51 GMT | 4 |
I am using the Updater Application Block Version 2. I am trying to follow the instructions at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpa... to build a custom downloader (UNC )
|
| Knowing when my assembly is loaded | 14 Dec 2006 22:20 GMT | 1 |
Is there a way for me to know from within a given assembly when it gets loaded? If so, how can this be done? Thanks in advance!
|
| How to disable Ctrl+F4? | 14 Dec 2006 21:47 GMT | 3 |
Is there an easy way to disable the hotkey sequence Control F4 or otherwise prevent the action from killing off MDI child windows in VS05/WinForms 2? I've already figured out how to get rid of the 'x' in the caption bar but the hot key sequence is still allowing users to kill off ...
|
| How can I find the name of the process that has a certain file in use? | 14 Dec 2006 20:58 GMT | 1 |
Is there a way to find the name of the process that has a file open? I know of tools, like Unlocker, that can do it, so I assume there are some systemcalls that can help me out. Thanks.
|
| connect to sql database | 14 Dec 2006 20:37 GMT | 1 |
Does anyone have a windows forms app that allows a user to connect to a sql express database? User must be able to enter sql credentials & then get a list of the databases.......to select from
|
| Thread.Suspend and Thread.Resume in Framework 2.0 | 14 Dec 2006 19:53 GMT | 1 |
I want to understand whats the best way to write code to replace Thread.Suspend, Thread.Resume and Thread.Abort. I have lots of code calling these existing methods and want to minimize the risk of changing the code everywhere so here is what I think I could do,
|
| Static Linking C# .net | 14 Dec 2006 19:38 GMT | 2 |
OK, I have written an application in MS Visual C# using .net. Is it posibble to static link into one self contained .exe file? This would certainly make distribution of a small accessory file much easier. And allow it to be easily packaged and installed with our other ...
|