| Thread | Last Post | Replies |
|
| unions in C# | 26 Oct 2006 17:52 GMT | 4 |
I have been porting some C++ code to .net. I know C# doesn't have unions but in order to write a particular algorythm efficiently i have a need to address memory in in 2 different ways. As individual elements and also as an array. I have tried the following (along with several ...
|
| return a 2 dimensional array method | 26 Oct 2006 17:30 GMT | 2 |
i need to a method where i add elements in array list and the method should be returning type..
|
| Check spelling | 26 Oct 2006 17:29 GMT | 3 |
I'm trying to implement a method, that checks spelling of a text and suggests corrections. The C# program looks like: ... Word.Application spellApp = new Word.Application();
|
| Browser Helper Object | 26 Oct 2006 17:15 GMT | 7 |
I have successfully installed a BHO in IE7. Using C#. Now I'm trying to figure out how to trap various events. onkeypress, oncut, oncontextmenu, etc. I have tried calling in various IHTMLElement2.attachEvent, but no
|
| Identifier expected | 26 Oct 2006 17:14 GMT | 9 |
I get the following errors from the code ( CRM 3.0 ) below, whats wrong ? Any suggestions are welcome because i'm kinda stuck here. The first error is pointing on the last bracket ] <---
|
| .NET and SQL types | 26 Oct 2006 17:12 GMT | 1 |
I am doing some DB work and have a question about type conversion. I have a column in my database that is a varchar(255) If i only use some of the space, e.g store "car" in this field, when i fetch it from the database and assing it to a .NET string how much memory will this
|
| C# typeof() and Generics | 26 Oct 2006 16:54 GMT | 12 |
Let's say that you have: class A { T DoSomething<T>() where T : class, new()
|
| Xml Serialization | 26 Oct 2006 16:43 GMT | 4 |
Hi NG, I got a problem while decrypting an encrypted a Serialized class: I Serialize a simple class to a Stream then encrypt it and write it to file everything seems to work here until i try to read the file and decrypt it.
|
| StringBuilder and memory use | 26 Oct 2006 16:34 GMT | 8 |
I have been looking for a couple of days now, but I can't find anything about how to deal with StringBuilder and releasing the memory used by it. When I use stringbuilder, the memory doesn't get released (or actually it looks like that) and thus the used memory keeps growing. Is ...
|
| recorrer todas las ventas | 26 Oct 2006 16:09 GMT | 6 |
Hola Como puedo recorrer todas los forms creador en una aplicación para maximizar todos los de un determinado tipo? Gracias
|
| Anonymous Method Sample | 26 Oct 2006 15:29 GMT | 3 |
I was just playing around and found that the following two ways of calling the same method using the WaitCallback method that takes an object parameter. Can any one explain why there is no problem with the first call even though the delegate doesn't take in the Object
|
| Activator.GetObject() does not work when called via COM | 26 Oct 2006 15:27 GMT | 1 |
I have a Windows Service written in C# that gets an object via Remoting using the Activator.GetObject() and then calls a method on it. When called via .NET apps, everything works great. I made a .NET Interop wrapper that executes the same method, but when
|
| DrawRectangle positioning | 26 Oct 2006 15:24 GMT | 2 |
How does DrawRectangle position a rectangle w.r.t to the Rectangle passed? Lets suppose I use a pen of width 5. Are the lines centered about the passed Rectangle or is it enclosed or offset? Are there ways to change the default behavior?
|
| GDI+ Z-order? | 26 Oct 2006 15:24 GMT | 5 |
I use VB.NET (C# would do the same) and GDI+ to draw on a form. I'd like to know if it is possible to set the z-order when we draw something...Let's consider that simplified case : ' Assume there is an 'items' array that contains information from which
|
| socket and virtual host | 26 Oct 2006 15:16 GMT | 1 |
eh eh.. a little problem... i need open a HTTP socket to a server with a lot of virtual hosts... this.ipHost = "www.domainA.com"; IPHostEntry ihe = Dns.GetHostEntry(this.ipHost);
|