| Thread | Last Post | Replies |
|
| Quitting before you've started | 14 Nov 2006 17:39 GMT | 3 |
When starting up, my app needs to pull some information out of a database, which it does. It also needs to quit if the SQL query returns no data. All the database checking stuff is in a private void that is called
|
| COM Interop error on 64 bit | 14 Nov 2006 17:31 GMT | 6 |
I have a VB6 executable that references a .NET 2.0 dll. The .NET 2.0 dll project has 'Register for COM Interop' checked. Thus, compiling the dll will generate the .tlb file. This will allow early binding to work from VB6.
|
| Q: How to add Head/Detail in a DataGridView. | 14 Nov 2006 17:26 GMT | 3 |
I have seen some screen shots where they have a DataGridView with company and to that row there is a plus sign to click. When they do, the contacts for that company is presented. I cant find the trick to do that.
|
| Monitor.Pulse question | 14 Nov 2006 17:23 GMT | 2 |
Hi, Below is a hacked up version of an example I found on MSDN. My only change was to add a third thread and some Sleeps. That's where my question(s) comes in. In the original it seems to work because Thread1 waits on Thread2 and
|
| .NET Serialization Quest | 14 Nov 2006 16:45 GMT | 5 |
I have a question concerning serialization in .NET. If I serialize an object to a database and then I change the object in code (i.e. add a property, rename a property, delete a property) will my object deserialize correctly?
|
| Positioning a Window | 14 Nov 2006 15:21 GMT | 3 |
I am creating a System.Windows.Forms.Form derived form in an OnClick() method of a button. I would like to set the position of this new form on the window, but I can't figure out what method to call or property to set to override where the Operating System places the window. ...
|
| Problem with SetLayeredWindowAttributes(...) | 14 Nov 2006 14:40 GMT | 3 |
My code should make a window 50% transparrent: const int GWL_EXSTYLE = -20; const int WS_EX_LAYERED = 0x00080000; const int LWA_ALPHA = 0x00000002;
|
| Delegate question | 14 Nov 2006 12:55 GMT | 5 |
Given a delegate that points to a non-static member function, is there a cleaner way to change the object instance it's called on other than invoking "Delegate.CreateDelegate()" (and changing the object instance while leaving the same member function intact). Thanks in advance.
|
| eek: Attempted to read or write protected memory.... | 14 Nov 2006 12:32 GMT | 10 |
ok - C# contractor on first contract getting this bad boy: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." I see this intermittantly (maybe every 100 requests or so) in an
|
| Check if Form exists | 14 Nov 2006 11:50 GMT | 8 |
I would like to know how can I test if a Form exists. This is the situation: I have a single Form in my application. My objective is, when I minimize the form, it will disapear and a TrayIcon apears in the task bar. When I click that icon, the form apears again.
|
| Unit tests and Messagebox | 14 Nov 2006 11:42 GMT | 7 |
I'm writing some unit tests, to make sure that my windows forms code works properly after refactoring, and I've bumped into a problem - Messagebox.show. There are a couple of places where my code pops up a messagebox to
|
| Get available printers | 14 Nov 2006 11:39 GMT | 2 |
I am looking for a way to get the list of printers and there port name so I can populate a combobox. What I need to do is get the printer name and if it is a network printer the path and share name.
|
| How to close an file in an running process from another process? | 14 Nov 2006 11:32 GMT | 5 |
How to close an file in an running process from another process? For example: There are two running processes,named procIn and
|
| disable standby | 14 Nov 2006 10:15 GMT | 3 |
Does anyone know how to disable standby and any other power saver settings when my app is running? My app runs on computers that use touch screens and there is a bug in the driver that doesn't register touchscreen input as input so computers are going into standby when they ...
|
| Delegates Subscribe and Unscubscribe | 14 Nov 2006 10:10 GMT | 5 |
I have a usercontrol which has an event called NameChanged; The form that uses the control subscribes to NameChanged. The first time this form is invoked everything works fine. The second time I invoke the form it seems theat NameChanged is still holdng a reference to
|