| Thread | Last Post | Replies |
|
| Make MenuStrip Thread-Safe | 25 Jan 2008 19:48 GMT | 2 |
I have a Windows Form based C# application which has a MenuStrip component. I have a child thread running in the application. Now I have to Enable/Disable the ToolStripMenuItem from within the Child Thread. The problem is that since it doesn't have an InvokeRequired property
|
| GridView bound to a Datatable results in runtime error on attempts to page. | 25 Jan 2008 19:45 GMT | 1 |
Please I have a web application in which I read an Excel spreadsheet into a DataTable and then bind the DataTable to a DataGridView.
|
| Storing and retrieving font and color settings | 25 Jan 2008 19:11 GMT | 14 |
Is storing ColorDialog.Color as simple as colorDialog.Color.ToString()? And to retrieve it just get that value that was stored and then use it to assign your color to wherever you need it. I have not tried it yet, but I would like to know if that is all it takes.
|
| Trying to implement "intellisense" | 25 Jan 2008 19:04 GMT | 2 |
I need to develop aid for City/State Entry. I'm planning on having list of cities in dataset and user would have those pop up while typing. Kind of like what Excel does when you type in column something that already was entered in same column
|
| Thread lock on HtmlDocument.InvokeScript | 25 Jan 2008 17:57 GMT | 5 |
I have a C# UI Control that allows Google maps to be displayed in a Windows Form. I am using the WebBrowser control in a secondary thread to accomplish this. I make several calls to InvokeScript to move, size, etc. the maps and 99% of the time it works great. However,
|
| Alternative approach to datagrid for expanding collapsing rows | 25 Jan 2008 16:52 GMT | 1 |
Check out the site: www.progtalk.com. They have a great article to expand and collapse rows of a grid. The cool part it, that the expanding and collapsing happens using Javascript. I think the exact link is: http://www.progtalk.com/ViewArticle.aspx?ArticleID=1
|
| How would you do this? | 25 Jan 2008 14:27 GMT | 4 |
I would like my application to check an outside file (dll) to see that it has not been modified or tampered with. Is it possible to somehow generate a unique hashcode from the file itself and check that? If so, what method would you use?
|
| FileSystemMonitor - wait til file copies completely | 25 Jan 2008 13:19 GMT | 2 |
I need to monitor a file system to tell when a certain file (type) has been copied to a folder. It would seem logical to have some pre-packaged mechanism to detect completion of the copy, but it apparently does not exist. (The detector triggers as soon as the file
|
| Monitoring all the events | 25 Jan 2008 11:16 GMT | 4 |
I am beginner in C#. I am writing an application which will monitor for all the events that are generated in my application and log it in a file. Is there any way to put a hook on message queue and achieve that or is there by any means i can subscribe my method to respond to
|
| Try .. Catch with no Exception needed. | 25 Jan 2008 10:21 GMT | 7 |
In certain code blocks I don't want to do anything when an error is raised. I simply want that application must remain stable instead of crash. For the following code, is there a way to ignore declaration of Exception ex:
|
| encrypted view | 25 Jan 2008 08:29 GMT | 1 |
create table hi ( Fname varchar(10) lname varchar(10) )
|
| about IndexOf | 25 Jan 2008 08:19 GMT | 9 |
Below is simple working program(main is missing) that works but I wonder about a few things and that has to do with the IndexOf that is used. IndexOf calls the overrided Equals below. My first question is: Is it really necessary to have the GetHashCode it
|
| example wtih multithreading and ping | 25 Jan 2008 08:17 GMT | 8 |
Hallo NG! I'm looking for an example showing how to use multithreading with for example ping (I know how to use ping). I'm sure I have seen one but I can't find it now.
|
| which one is faster/better > or >= | 25 Jan 2008 04:41 GMT | 23 |
This seems like a crazy question but I wanted to find out if anyone knows which one of those two conditions are better (faster, smaller memory footprint, can be optimized by the compiler, etc..) 1- if(i > 0) {// do stuff}
|
| Currency Format | 25 Jan 2008 03:12 GMT | 4 |
I am looking to globalize a website that contains currencies. I am going to be using the ToString(string) method to format the currency which uses the currenct CultureInfo class. Is there any way to get the Currency code such as USD or EUR appended to the front of the currency
|