Search:
Type: Posts; User: jhammer
Search:
Search took 0.18 seconds.
-
July 15th, 2007, 08:11 AM
Thanks Hannes and Shuja
What's better: the SendMessage Approach or the mouse events approach? Do you have links to code samples for that (I mean it should be easy enough, but why waste time on...
-
July 15th, 2007, 07:20 AM
Hi everybody, long time. :wave:
I have a question regarding WinAPI and perhaps someone can help me (should be simple but not trivial).
I want to call a menu item of another application (maybe...
-
March 1st, 2007, 10:38 AM
I would suggest not to bother yourself with such things.
Simply create a new project, add all the existing files from the old project, and reference to the same assemblies. If you changed project...
-
March 1st, 2007, 10:34 AM
No, because then the compiler tells you that you must override the abstract property Name.
-
March 1st, 2007, 10:28 AM
long tick1 = new DateTime(1,1,1,6,0,0).Ticks / 10000000;
long tick2 = new DateTime(1,1,1,10,0,0).Ticks / 10000000;
Random r = new Random(DateTime.Now.Millisecond);
long tick3 =...
-
March 1st, 2007, 10:19 AM
torrud, I tried it too on 2005 and n 2003, and the setter is NOT ALLOWED. It gives a compilation error!
verifier, you have 2 options.
1. Put both a get and a set in the abstract class (and all...
-
March 1st, 2007, 10:12 AM
Allan, in your way you compile the same code twice - once for each project.
You might want to consider creating a third assembly - a Class Library - and put all the common code there. The...
-
March 1st, 2007, 10:08 AM
When a control is placed inside another control the MouseMove event is fired on the topmost control only. you will need to catch the MouseMove event on each of the contained controls, and raise the...
-
March 1st, 2007, 10:03 AM
If you try to show the UserControl again after you disposed it, you will have to create it again.
-
March 1st, 2007, 09:54 AM
NetCommand must be abstract.
Declare the property as a Read/Write property instead of a ReadOnly property in the abstract class:
public abstract class NetCommand : INetCommand
{
...
-
January 25th, 2007, 02:39 PM
You are trying to update a DataSet that has a conflict with the database.
For example: You have a DataRow with RowState of typed Modified, but in the database this row does not exist.
Do you have...
-
January 25th, 2007, 09:20 AM
You can use hooks.
http://www.codeproject.com/csharp/globalhook.asp
Search google. There are many resources about this.
-
January 25th, 2007, 08:02 AM
http://www.differentpla.net/content/2005/02/wizard-csharp1
-
January 24th, 2007, 11:46 AM
The "Magnifying Glass" is actually a feature named "Visualizer" and is only available in VS 2005.
Try to install the DataSet QuickWatch (I only tried it on 2003 though).
-
January 24th, 2007, 11:40 AM
You are right.
This is exactly equivalent as passing a reference of an object in C++.
The object itself is not copied to the stack, only the pointer (reference) to it. Therefore when changing...
-
January 24th, 2007, 11:33 AM
You can access the control through one of these ways:
1. its name: this.myLabel;
2. Through the Panel.Control collection:
foreach Control ctrl in panel.Controls
if (ctrl.Name ==...
-
January 24th, 2007, 11:30 AM
On 2005, you might want to check the Splitter control.
-
January 24th, 2007, 08:26 AM
Hey Tal.
I told you - it is not possible in .NET. They changed it a bit.
You need to drag the labels one by one into a panel, then you can iterate through them in a comfortable way (like an array).
-
January 24th, 2007, 08:20 AM
And of course you need to add a reference to the other dll that you are trying to access (it doesn't even have to be in the solution).
-
January 24th, 2007, 06:41 AM
Welcome :wave:
You don't have control arrays the same way as VB6.
You can do couple of things:
1. Create a Panel, and drag all your controls into that panel. You can iterate through the...
-
January 24th, 2007, 05:46 AM
It did not work.
I am shocked at how easy it is to crash the application using Merge.
Now I am really stuck.
-
January 24th, 2007, 02:57 AM
In VS2003: use DataSet QuickWatch (It's free and it's excellent)
http://www.codeproject.com/csharp/DSWatch.asp
-
January 24th, 2007, 02:50 AM
-
January 24th, 2007, 02:44 AM
Use the DefaultValue attribute.
private bool myVal=false;
[DefaultValue(false)]
public bool MyProperty {
get {
return myVal;
-
January 23rd, 2007, 11:11 AM
Check the OpenFileDialog class.
|
Click Here to Expand Forum to Full Width
|