| Thread | Last Post | Replies |
|
| Create new Form of the same Type as an existing Instance | 21 Sep 2006 10:41 GMT | 5 |
I have an instance of a form, lets say formA. This form is passed to a method that must create a new form, lets say formB of the same type. How can this be accomplished except by using reflection eg;
|
| Assembly Load Exception Problem? | 21 Sep 2006 10:34 GMT | 1 |
I use Assembly.LoadFrom to load my assembly which is the user interface dll for my application. After loading, i invoke the entry method to run my application. But when the application throws an exception elsewhere, normally it has to
|
| "Stream does not support seeking" on CryptoStream | 21 Sep 2006 09:26 GMT | 7 |
I am using cryptostream on both sides on tcp connection that pass data. I am also use asyc socket , so , the data that recieved in the callback method not always have the length of the buffer I sent. for ex
|
| TypeConverter.GetStandardValues | 21 Sep 2006 08:50 GMT | 5 |
what kind of object has this method to return? Generally the MSDN says return a list of the original data types. If it comes to an example the instruction says return a list of strings. But then the code example (in most cases an array of ints) returns a list
|
| PInvoke TCHAR[] ??? Having trouble with this. | 21 Sep 2006 08:37 GMT | 3 |
I'm having trouble PInvoking a TCHAR[ ] within a struct. I'll paste the specific struct's API definition below. I've tried so many numerous variations. The main Win32 error I get is 0x3f0 / 515L which amounts to ERROR_NO_TOKEN.
|
| why scrolling on a form is too fast | 21 Sep 2006 08:17 GMT | 1 |
I m new to CSharp.. so may be my preliminary questions look stupid.. but plz help me.. I want to drag controls like buttons or some other user controls over form.. i have set form's autoscroll = true to handle scrolling automatically. but
|
| Custom IE Toolbar IE6 C# | 21 Sep 2006 07:03 GMT | 11 |
I am developing a toolbar for IE6. I have referenced the sample project provided at http://www.codeproject.com/csharp/dotnetbandobjects.asp and the msdn article "Creating Custom Explorer Bars, Tool Bands, and Desk Bands". I have followed the instructions and installed the ...
|
| How to change network connection name | 21 Sep 2006 06:35 GMT | 1 |
Does anyone know how to change the network connection names on a Windows XP or Windows Server 2003 system?
|
| Wried problem | 21 Sep 2006 05:40 GMT | 11 |
I am using COM to automate Word. In the main thread of my program, I store all the Document objects from Application.Documents. In one event handler (the event generated by Word), if i get all the current documents using Application.Documents, the objects I got are not same
|
| SingleCall vs Singleton: which should I use? | 21 Sep 2006 05:09 GMT | 4 |
I'm implementing .NET Remoting on a project. We have about 12 instances of the application running at one time, 10 in trucks out in a wireless enviroment (trucks do not leave the yard.. they are feeding cattle), and 2+ on office PCs inside. The app makes calls like, give me all ...
|
| C# Events & Event Handlers | 21 Sep 2006 04:09 GMT | 1 |
I'm trying to get my head around what's involved in C# to declare, raise and respond to an event. I'm coming from the VB.NET world where to declare and event we wrote: Public Event Foo()
|
| Check for null object | 21 Sep 2006 03:27 GMT | 15 |
what is the best/correct way to check for a NULL object? I.e. myClass test; if(test == null) {}
|
| Converting from VS2003 to VS2005 | 21 Sep 2006 02:58 GMT | 3 |
I am trying to convert code that worked in a Visual Studio 2003 project to code that will work in a Vsual Studio 2005 project and need help. The following is the VS2003 code:
|
| Math.Round problem | 21 Sep 2006 01:47 GMT | 10 |
I am running VS 2003 and have applied SP1. (On WinXP SP2, .Net 1.1) In the Command Window I get the following ? Math.Round(0.715, 2) 0.72
|
| How to put a clickable button on a PropertyGrid ? | 21 Sep 2006 01:43 GMT | 5 |
I'm using the PropertyGrid control, and I want it to show a button. But I set the PropertyGrid.SelectedObject with a object that as a Button property, the PropertyGrid shows the buttons properties, and I want the button to be shown as drawn and clickable button.
|