| Thread | Last Post | Replies |
|
| Speed Freaks & Bit Fiddlers: Can you make this go faster? | 31 Dec 2006 16:01 GMT | 9 |
Can someone show me how to speed this up? 1. Whats the fastest way for Unsafe C#? 2. What the fastest way for Safe C#? public static Int64 ToInt64(Int32 low, Int32 high)
|
| combobox selectedindexchanged event | 31 Dec 2006 14:14 GMT | 6 |
I have a combobox with items like this: {one,two,three}. The selected index is 0, so "one" appears in the combobox text. When the user drops down the list, and selects "two", for example, I modify the Items collection to be {two,one,three} and now want "two" to appear in the
|
| FileIOPermission | 31 Dec 2006 11:08 GMT | 10 |
When I compile the application and run it (on my computer) it works fine, by on the other computers exception is thrown: "Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' ...
|
| help for changing the default installation folder | 31 Dec 2006 09:38 GMT | 1 |
I want to change the default installation folder to my own path. I did it by changing the application folder's DefaultLocation property. The installation works fine as long the path that I give is complete path. If I give relative path, there is an error.
|
| WTD: IrDA software | 30 Dec 2006 20:15 GMT | 4 |
I am trying my hand at IrDA software. Google came up with so many hits, I am running in circles. Does anyone have any web site with decent explanation of IrDA operation ? Thanks
|
| Compare Serialized object | 30 Dec 2006 19:27 GMT | 1 |
I hava a Myclass [] obj1 in wich I add my computer hardware configuration. After this object is "filled", I serialize it, into a dat file. Then I deserialize it into obj2 and I compare the original and the deserialized object, and they do not match! They sould match, I think. I ...
|
| System Properties -> How to extract "User" | 30 Dec 2006 17:24 GMT | 4 |
System Properties show the User. I would like to be able to extract that information in an application (not change it, only retrieve it). How can that be done? Thank you,
|
| Stacktrace class and CLR 2.0 | 30 Dec 2006 16:04 GMT | 3 |
The Stacktrace class (system.diagnostic) in CLR 2.0 (Framework 2.0), still offers a constructor to allow showing the stack-trace of another thread. However, the usage involves suspending the diagnosted thread. Now, CLR 2.0 turns the Suspend method into obsolete, which leaves the
|
| Convert a DataGridView to HTML? | 30 Dec 2006 15:34 GMT | 2 |
Is there a way to convert .Net2's DataGridView into an HTML table? Any pointers appreciated. Thanks, --PhB
|
| Creating a 'console application' | 30 Dec 2006 13:10 GMT | 3 |
C# novice... Can I create a console application (think the Pine email reader or even 'edit' in DOS) where I can use my up/down/side arrows to move around the app?
|
| Adding custom TabPages at design time | 30 Dec 2006 12:05 GMT | 11 |
Hi All, does anyone know how to add TabPages of ones own classes at design time ? ideally when adding a new TabControl it would contain tab pages of my own classes, I know you can achieve this with ListView columns so it should be doable, thanks
|
| Showing Save As dialog in C# 2.0 - Windows | 30 Dec 2006 09:16 GMT | 2 |
I have showed a Save As dialog in ASP.Net many times. Now trying to show one in windows based application but to no avail, can anybody tell me how to do it ? My application is writing a file, and I just want a Save As/ Open File dialog, like the one we have in web based
|
| setting form control property from class | 30 Dec 2006 07:59 GMT | 9 |
I am trying to manipulate the properties of a form's controls from a class. I dont want to make the form's control public. Attached is a code snippet of what I am trying to accomplish: Public Form1()
|
| Best practice to allocate this byte array for this situation? | 30 Dec 2006 06:16 GMT | 1 |
Hi, long time reader, first time poster I have an application that will be doing this 5 times a second: Get a bunch of data from a NetworkStream and convert it into a Bitmap Therefore, the process looks like:
|
| the pains of casting ushort + ushort... | 30 Dec 2006 03:05 GMT | 1 |
I have some code that ends up looking alot like: ushort x = (ushort)(m + b); whereas both m and b are ushorts also. This is due to the automatic casting of values to int. Some quick questions:
|