| Thread | Last Post | Replies |
|
| How to drag a picturebox inside a panel control? | 01 May 2007 00:43 GMT | 1 |
I have a pictureBox control inside of a panel control. The pictureBox is larger than the panel control and I have the panel control set true for AutoScroll so the panel displays scrolling bars. I would like the user to be able to click and drag the image and for it to
|
| syntax issue? | 01 May 2007 00:34 GMT | 3 |
I'm trying to insert data from one table to another on sql server via C#. here is my syntax: insert into tableA (CustOrderNumber, custName, custState, CustCity) SELECT ('" + System.GUID.NewGUID() + '", Name, State, City) from custSales
|
| TargetParameterCountException is thrown on a ToolStripMenuItem click | 30 Apr 2007 23:02 GMT | 1 |
I have a ToolStrip item which fires a function when clicked. The function will run to completion without any problems (if I set a breakpoint at the closing brace, no exception has been fired), but once it returns, I get a TargetParameterCountException in mscorlib. I
|
| Executing COM+ class | 30 Apr 2007 22:54 GMT | 7 |
I am trying to execute following code: Type type = Type.GetTypeFromProgID("SomeType.SomeClass", true); object helper = Activator.CreateInstance(type); and get following RemotingException (in 2-nd line):
|
| Why doesn't C# allow incremental compilation like Java? | 30 Apr 2007 22:51 GMT | 36 |
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files. In C#, there appears to be no analog. I have to compile all my .cs
|
| Strange container behaviour? | 30 Apr 2007 22:22 GMT | 4 |
When I try to run this following small code sample: using System; using System.Collections.Generic; class Program {
|
| How do you emulate a "print-screen"? | 30 Apr 2007 22:02 GMT | 1 |
My software should take snapshots from the current screen from an icon in the try area. I need to programmatically emulate what the "print-screen" keyword does.
|
| Challenge: array conversion in 1 line | 30 Apr 2007 21:30 GMT | 6 |
I'm trying to figure out what is the easiest way in C# 2.0 to convert an object array (object[], int[], anything[]) to a string array (string[] or List<string>) in one line of code. At first I thought I could do something like the following:
|
| Windows Services and UI | 30 Apr 2007 20:50 GMT | 3 |
I would like to create a windows service that would expect an event from my software to import data from a device and/or to import data in scheduled times My questions are: - How can I tell the windows service to import data from another application?
|
| Is there a debug.print in CSharp? | 30 Apr 2007 20:24 GMT | 4 |
VB had a neat object called "Debug". You could use "Debug.Print()" in your code, and you could get useful debugging information in the immediate window. Is there something like this in CSharp? Dom
|
| "Use of unassigned local variable" error | 30 Apr 2007 20:05 GMT | 8 |
This is a little tricky, but I think the error I'm getting isn't valid. The compiler just doesn't know my logic. MyObject o; switch (IntVariable)
|
| Animated GIF | 30 Apr 2007 19:33 GMT | 1 |
I have a button with an image which is animated gif. I need this animation to be played only when button_Click event occur. How to force form not to play animation until button is pressed? PK
|
| Casting as an enum type | 30 Apr 2007 18:38 GMT | 2 |
Hey folks, So, I've got three enum types: enum enum1 enum enum2
|
| clear invokation list | 30 Apr 2007 17:24 GMT | 3 |
I am wondering how I could clear the invokation list of delegates. I tried the following: //make a chain MyDel += SomeDel;
|
| Specify a framework version for devenv.exe | 30 Apr 2007 17:15 GMT | 1 |
at the moment I have a batch file which builds a lot of projects. A typical line in the batch file would be: CALL "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe" Report.Change.sln /rebuild Debug /out
|