| Thread | Last Post | Replies |
|
| DllImport win32 and out string buffer parameters | 11 May 2007 00:47 GMT | 8 |
When using DllImport to import win32 functions that have strings, I know you can use the native c# string type. But, what about a function that expects a string buffer, and writes to it? I've seen people use StringBuilder for this, but is string good enough?
|
| general thanks | 11 May 2007 00:28 GMT | 4 |
Thank you all for you invaluable help learning c3 MJ
|
| How to validate XMLDocument (not XMLReader) against a DTD? | 10 May 2007 22:49 GMT | 1 |
The title says it all. How do I use XMLDocument.Validate() against a DTD. In all my Googling about this I only find examples of how to validate an XMLReader or XmlValidatingReader against a DTD.
|
| Trouble with ShowDialog | 10 May 2007 22:44 GMT | 4 |
I have a Main form called frmMain which appears when the program starts, and a second form called frmUserName. frmMain has a button, btnUserName. When you click it, I have this code: frmUserName f = new frmUserName ();
|
| Stringbuilder vs Strings | 10 May 2007 22:44 GMT | 10 |
Can some one suggest me as why StringBuilder class is better than Strings?
 Signature Never say, Give up
|
| Multithread writes to a Rich Text Box | 10 May 2007 22:40 GMT | 2 |
Sorry for the long-winded dissertation - but, I have an application where I need to write text to a rich text box using a common method, callable from anywhere in my application. The color of the text will depend upon the first argument and the text will be contained in the ...
|
| Reading keyboard key presses on WinForm | 10 May 2007 22:31 GMT | 1 |
I have a WinForm with a single command button in the middle, I have added a KeyDown event handler to the form and the method for this is: private void Form2_KeyDown(object sender, KeyEventArgs e) {
|
| Is it possible to remove "click" sound that occurs when WebBrowser control text changes? | 10 May 2007 22:26 GMT | 2 |
Using VS.NET 2005, if you place a WinForms WebBrowser control on a form, then place a command button on that form and in the "click" even handler for the command you do: webBrowser1.DocumentText = "";
|
| Reading text file problem | 10 May 2007 22:00 GMT | 1 |
I am using a streamreader to read a one line text file. The line looks like this: "99999","04/30/2007","XXXXXXXX","XXXXX, XX","XX","" When the line is read in I get this: i
|
| Handling the Red X button | 10 May 2007 20:50 GMT | 23 |
Is there anyway to force the application to handle the Red X button differently? I cannot use a generic Closing event as it will prevent the system to shut down properly. I hope that, when clicking on the red X button it will only minimize the window, or just hide it.
|
| where to call savetoxml to run on object destruction | 10 May 2007 20:49 GMT | 3 |
I'm using an object that has a dataset within it. When the object is instantiated I populate the dataset from xml files. I want the object to save the dataset back to the xml file before it is destroyed, but I'm not sure when to call this routine. Should I call it
|
| Another noob question | 10 May 2007 20:26 GMT | 8 |
Hi, i want to access an array of objects inside a method like this using System; using System.Collections.Generic; namespace ObjectArray
|
| Compile Questions | 10 May 2007 20:21 GMT | 1 |
I am trying to teach myself how to compile my application at the command line with the csc.exe. I found a good article which steps you through the process, but I have some questions, which I hope someone can elighten me on....
|
| Leading 0s in an up/down control | 10 May 2007 19:32 GMT | 1 |
I have a numeric up/down control with it's Hexadecimal property set to true. I would like to use it to represent 32-bit hex values and would like it to always display all 8 digits even if they're 0s. Is there a reasonable way to do this? Thanks!
|
| catch all unhandled exeptions does not work for all computers. | 10 May 2007 19:15 GMT | 17 |
I am using: Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException); But, my function is not run when an exception is thrown on another
|