| Thread | Last Post | Replies |
|
| Formatting a column in a datagridview to currency | 09 May 2008 08:17 GMT | 3 |
I am using this code at the moment to format the column this.itemsDataGrid.Columns["Amount"].DefaultCellStyle.Format = "c"; but i get the error "Object reference not set to an instance of an object. " is this code incorrect ?
|
| Validating XML | 09 May 2008 06:15 GMT | 3 |
I have to validate xml file against xsd file using c#. XmlReader only check for the well formated doucment but i want to check for every thing like space,datatype and any extra text in xml file.
|
| Send cookie with WebRequest | 09 May 2008 05:27 GMT | 1 |
I'm sending data to a website with a WebRequest, string m_request = some_web_page; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(m_request ); HttpWebResponse response = (HttpWebResponse)request.GetResponse();
|
| Odd Problem with SetParent | 09 May 2008 04:58 GMT | 7 |
Hello to all, I'm having something of a problem with the WinAPI call SetParent. Here's the scenario. I am trying to take an existing program, and run it within my own
|
| Executing directory Path? | 09 May 2008 03:40 GMT | 5 |
I have a DLL that uses the XMLReaderSettings class say mySettings. I want to add mySchema.xsd to mySettings.Schemas. As far as I can make out I need an absolute path to the mySchema.xsd file.
|
| How to print a form/component from within Visual Studio | 09 May 2008 00:58 GMT | 4 |
It may sound like a silly question, but I would like to print a form or component from within Visual Studio when designing such form component. Is that possible?
|
| What is the difference between Component and UserControl? | 09 May 2008 00:01 GMT | 3 |
|
| Help with List<>..Find() | 08 May 2008 21:44 GMT | 6 |
I have seen the samples for Find that explain how to use the predicate, but they are always searching for a pre-defined value. What I don't understand is how to search for a random value stored in a variable. For example,
|
| BInd to events from win service from desktop application | 08 May 2008 21:01 GMT | 4 |
I need to create a win service that lookup a file ina folder, ands when received, read it then fir an event. Then I need a desktop app that, when runs, bind to the event from the win service, and when the event fires, read the eventarg data and do
|
| Closing OpenFileDialog programmatically | 08 May 2008 20:58 GMT | 3 |
When the OpenFileDialog is opened on one of my forms, i can trigger the close of the second form from my primary form. (Plz note, both the forms are running on different threads). However, as long as the File dialog is opened, it won't let the secondary form close. So I need to
|
| Help on dynamically changing an event handler | 08 May 2008 20:33 GMT | 4 |
I need help dynamically resetting an event handler. I have a form with several buttons. I have intialized the Click event of a particular button thus on the form: _button_3.Click += new
|
| Best way to interop C# System.String with C++ std::string& | 08 May 2008 20:33 GMT | 8 |
I have some C++ unmanaged code that takes std::string& arguments (as reference), and fills them (possibly growing the string). I want to call this code through PInvoke (DllImport), possibly using wrapper layers in unmanaged C++ and C#.
|
| Help with "Length of the data to decrypt is invalid" message error | 08 May 2008 19:35 GMT | 1 |
I need your help, the following code is not working, ret = sr.ReadToEnd() throws the message error : Length of the data to decrypt is invalid. Any idea ? thank you
|
| newsgroup topic: something's changed | 08 May 2008 19:30 GMT | 1 |
hey all, this is a little off-topic but wasn't sure where to post, but when i go to the newsgroups i used to see just the newsgroup topics on the left but now when i go to my same bookmark it's showing all the coutries on the left?
|
| How to assign events | 08 May 2008 19:25 GMT | 3 |
I've got a recursive data model, where the root object gets a certain event handler: DataObject root = new DataObject(); root.DataObjectCreated += new
|