| Thread | Last Post | Replies |
|
| Testing for S_FALSE without exception handling | 07 Jun 2007 10:38 GMT | 5 |
Is there a way of testing for an S_FALSE return from an existing unmanaged COM server, without using a try .. catch and without having to manually modify the MSIL? eg. is there some general setting to use with tlbimp to have the
|
| How can I include prerequiste files in my installation to install | 07 Jun 2007 09:32 GMT | 1 |
Hi, I'm using vs2005, .net 2, C# for windows application. My application needs a couple of prerequists like .net 2.0 and windows installer and some service packs. I have all these files. How can I include them in my installation to install when the installation detects they're ...
|
| Remove Row from a DataView | 07 Jun 2007 09:24 GMT | 2 |
Hi, I have a dataview which I am using to bind to a gridview. In the page load event I am checking for a condition in each row of the dataview and if it exists I want to remove the row from the dataview before I bind it to the gridview;
|
| How to Piggyback a Keypress? | 07 Jun 2007 09:01 GMT | 5 |
Is there a easy way to resend the KeyPress to the window after capturing a hotkey? protected override void WndProc(ref Message m) { base.WndProc(ref m);
|
| how to change variable value which is using as param list in sub functoin | 07 Jun 2007 08:51 GMT | 5 |
I need to set several variable (can be different type) by sub function.. I don't know the count of variable and type, so i used object type and parameter list like below source..
|
| anonymous initializer problem | 07 Jun 2007 07:27 GMT | 12 |
I need to initialize my class level dictionary (in .Net 2.0). I wanted to make it inline and employ anonymous methods as I do not use this code for anything else. Something similar to the following: private static Dictionary<string, field> _fields = delegate()
|
| Access to Path is Denied. | 07 Jun 2007 07:24 GMT | 5 |
I am getting a dreaded Access To Path <file> is denied in a C# program. I tried granting full access to ASPNET (local machine), the user running the program (a domain administrator) and continue to get the error everytime I attempt to access the file, create a new file or delete ...
|
| First file within a directory | 07 Jun 2007 07:21 GMT | 7 |
Hi...I have a requirement to find the first file within a directory. I know we can use the GetFiles() method of Directory class, but am a little stuck up with the syntax. Can somebody plz let me know who this can be done?
|
| DCOM | 07 Jun 2007 05:53 GMT | 1 |
How can I connect to remote DCOM server? Thanks
|
| Which event is raised after a datagridview sorts itself? | 07 Jun 2007 05:24 GMT | 1 |
Hi, I need to hightlight some rows that have new data copied to them after they're sorted. I tried hightlighting int he DragAndDrop event but once the data is copied to some rows and I highlight them the grid sorts itself with the new data and of course the wrong rows are now ...
|
| a generic printing scheme?(printing many docs with one set of controls?) | 07 Jun 2007 04:24 GMT | 1 |
I'm not very familiar with printing , but i've read about the printing classes in .NET. Now , I know my print code has to go to the PrintPage event. but i have a full apllication with a number of different things to print
|
| First file in a directory? | 07 Jun 2007 01:04 GMT | 2 |
Hi... I am trying to get the name of the first file in a directory. I know that I have to use the Directory class and the GetFiles method. I am a little stuck with the syntax ... can somebody plzzzz show me a code snippet on how to "get the first file in a directory".
|
| Is it same old .NET Framework 2.0 underneath 3.0 framework? | 07 Jun 2007 00:19 GMT | 5 |
Does .NET 3.0 Framework contained any fixes to .NET 2.0 Framework, or if it is same old 2.0 Framework just with WCF, WPF, and WF on top of it? I have a colleague who thinks they updated the 2.0 framework when they packaged WCF, WPF, and WF with it. I'm npot so sure.
|
| Novice question on interoperability | 07 Jun 2007 00:16 GMT | 2 |
I need to write a C# DLL that is called from unmanaged C++ client. I would prefer not to use COM if I can (unnecessary overhead, time-sensitive application). Can somebody direct me at the tutorial or a sample? Thank you.
|
| Unboxing simple types | 06 Jun 2007 23:53 GMT | 2 |
I use C# 2.0 with the following: object obj = ( int ) 1; func( obj ); // Unboxing int to uint void func( object obj )
|