Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
80% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
0 Endorsements
Ranked #2K
~12.3K People Reached

20 Posted Topics

Member Avatar for homeboy

in c#, you may use an abstract class for Tools and a derivated class for each of the tools.

Member Avatar for homeboy
0
195
Member Avatar for notconfirmed

1) Install mono on your Linux system 2) copy you program .exe (for instance myProgram.exe) and associated dll from Visual udio onto the Linux. 3) In Linux type the command : mono myProgram.exe 4) See ... what happens.

Member Avatar for deceptikon
0
1K
Member Avatar for dr_iton

First, in the server project, you must add a reference to the client namespace (if the two project are not in the same namespace). Then you can start the form as usual, for instance : Application.Run(new Form2());

Member Avatar for caKus
0
156
Member Avatar for WDrago
Member Avatar for caKus

I have noticed that when I install a new .NET program (using msi file) on a slow computer, this program needs a lot of time for its first execution. Once the first run is done, if I restart the same program, execution time is normal (even after restarting the computer). …

Member Avatar for deceptikon
0
144
Member Avatar for saurabhcodes

I did something similar in the past. I had a rather hard time making it works. I suggest the following : - get the child window handle from the Process object (MainWindowHandle property) - set this window as the foreground window using SetForegroundWindow (unmanaged function) - loop until GetForegroundWindow() is …

Member Avatar for caKus
0
176
Member Avatar for diya45
Member Avatar for Robby10

I confirm that such a program can be easily written in C#. Try to do it. If you have problem, we will be pleased to help.

Member Avatar for caKus
0
177
Member Avatar for myfit

See CodeProject at http://www.codeproject.com/ They have serveral articles about load balancing.

Member Avatar for caKus
0
85
Member Avatar for Darth Vader

There are several way to share data beween applications. I would suggest communication via a port (UDPCLient for instance, easy to implement). Shared memory is a solution when you have important volume of data to exchange (bitmap) but I fear you have to write a dll in non managed code …

Member Avatar for Momerath
0
1K
Member Avatar for kshahnazari

You can use a string, it is an object. If you absolutely need an int, you can create a small class : public class Tag {public int value = 0;} that you use in your form : Tag tag = new Tag {value = 12}; this.button1.Tag = tag;

Member Avatar for Momerath
0
112
Member Avatar for gtsiga

Ping Class http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ping(VS.80).aspx

Member Avatar for caKus
0
218
Member Avatar for Darth Vader

The global variable block can be tested and modified by both workers. This may be unsafe. I suggest to use Monitor class to lock the variable before using it : For instance : Monitor.Enter(block); block = "busy"; Monitor.Exit(block);

Member Avatar for Darth Vader
0
253
Member Avatar for handsome89

Hi, I suggest you to develop a very useful system. The goal of this system will be to answer to question such as “I am a student in … and want an idea of a graduation project in the field of ...”. The system will use a database containing worlds …

Member Avatar for caKus
0
160
Member Avatar for yousafc#

With .Net, you have two types of variables that will be usefull to solve your problem : DateTime and TimeSpan. The last one is the difference between two DateTime. So you can write something like : DateTime t1; DateTime t2; TimeSpan delta = t2 - t1; TimeSpan embarks a bunch …

Member Avatar for caKus
0
192
Member Avatar for meaganicole

String userDate = "10/13/2012"; try { Convert.ToDateTime(userDate); } catch (System.Exception ex) { // Error message ... }

Member Avatar for ddanbe
0
213
Member Avatar for tet3828
Member Avatar for anisha.silva

Hi, It sounds so obvious that I probably miss the question : Create another stack C. Dequeue the first element from A (=>1) and B(=>5) Compare these elements and enqueue the smaller into C (=>1) Dequeue a new element from A (=>2) (because you have used the previous element from …

Member Avatar for caKus
0
237
Member Avatar for diptid

Hi, I guess I had a similar issue, that I solved like this : In the main thread, I want to start a new WindowsForm : Thread t = new Thread(StartMyForm); t.TrySetApartmentState(ApartmentState.STA); t.Start(); And public static void StartMyForm() { Application.Run(new MyForm(..)); } Hope it may help. Patrick.

Member Avatar for caKus
0
696
Member Avatar for soyabeanmilk

Hi guys, According to Frédéric Elie, in Ondes de surfaces des liquides, the wave speed, in infinitely deep water is c = sqrt ( g * lambda / (2 * PI)) where c is the speed of the phase g = gravity acceleration = 9.8 m / s² If you …

Member Avatar for soyabeanmilk
0
114