| Thread | Last Post | Replies |
|
| Passing Data in MDI Parent form and Child Form | 10 Apr 2008 12:31 GMT | 2 |
Hi and Hello. Im new at .net framework. Now Im using C# . I have a little problem. How can I get a value of a text in the mdi parent form to child form. Example in VB6:
|
| IEnumerable vs IEnumerable<T> inconsistency | 10 Apr 2008 11:50 GMT | 4 |
The IEnumerable's documentation says: "After an enumerator is created or after the Reset method is called, the MoveNext method must be called to advance the enumerator to the first element of the collection before reading the value of the Current property;
|
| Copy file to remote PC | 10 Apr 2008 10:18 GMT | 8 |
I need to copy a file from my PC to a remote PC. The remote PC has different password and user name. both PCs are on same domain not WORKGROUP. Is there a .NET class or windows API which I can use to copy file?
|
| Databindings and invalid values being displayed | 10 Apr 2008 09:27 GMT | 6 |
I have a form with 3 textboxes. My code is below (short working example from vs 2005). The value "_cm" is the only stored data, km and miles are calculated values. The text boxes work fine until an invalid value is entered. In that case,
|
| Datareader(simple) | 10 Apr 2008 08:16 GMT | 1 |
SqlCommand findProducts = new SqlCommand("SELECT PRODUCT_TYPE_ID FROM PRODUCT_TYPE WHERE [NAME] = 'Meals'", sqlConnection1); This command returns a value of 17. How can i insert this value into a string variable? Please help . I tried this but it wouldnt work
|
| XML question on elements, child and children of childs... | 10 Apr 2008 08:16 GMT | 5 |
Hi all.. i have a newbie question that i cant find a good reference online or in some of the books i've seen.. If i have a XML file that i've created, that looks something like this:
|
| Visual Studio 2008 and code snipIts | 10 Apr 2008 07:59 GMT | 1 |
How do you add code to the code snippit library in visual studio 2008? I was never able to figure it out.
|
| Printing Thousands of PDF Files | 10 Apr 2008 07:23 GMT | 1 |
I have to develop an application which will print thousands of pdf files daily on different printers. I am planning to use the ShellExecuteEx command with "print" as the verb to send pdf documents to print. I want to know if its the right way or there is
|
| Linq to csharp equivalent | 10 Apr 2008 05:52 GMT | 4 |
I'm trying to under stand linq syntax, and how it relates to 'plain csharp': For example, this trivial example grabs the accounts with a name greater than or equal to "S"...
|
| Type.GetType | 10 Apr 2008 02:46 GMT | 4 |
Type asdf = Type.GetType(t.GetType().FullName); How come something like that returns a null type when t is a generic type? It works fine for non-generic types.
|
| LINQ doesn't exist? | 10 Apr 2008 02:35 GMT | 2 |
I had an asp.net web application that was converted from .net 2.0 to .net 3.5. When I added a web content form to the project, added some html content and then went to preview it from visual studio 2008 solution explorer I got the following error: Error 1 The type or namespace ...
|
| How to trigger a button in code | 10 Apr 2008 01:46 GMT | 2 |
private void ResendTimer_Tick(object sender, EventArgs e) { button_Send.Click(); }
|
| Globally capturing keyboard events for a WinForm application? | 10 Apr 2008 00:01 GMT | 4 |
I've done this before, but no longer have the code and can't remember how. Does anyone have an example on how to globally monitor keyboard events for an application and modify them to treat, for example, an "ENTER" event as a "Tab" event... or something similar.
|
| ReaderWriterLockSlim + Dispose? | 09 Apr 2008 23:42 GMT | 42 |
One last question today :) Most locks I've used never had a Dispose (Monitor, ReaderWriterLock, etc). Looking at the ReaderWriterLockSlim's Dispose method its just cleaning up some Threading.WaitHandle's.
|
| DataTable Binding with DataGridView -- Doco Example Needs Work | 09 Apr 2008 23:40 GMT | 3 |
This is detailed and thus long. Full code of example is found below. Thanks in advance for any help sent my way!! -- Tom In my wonderings about Bindings and DataGridView I came across what appeared to be an excellent example at the following link >>
|