|
I have several computers to run programs, which are all console program, and do not needed to input any thing when they runs. I don't want to go over around to see whether program is over. Who have saw a tool like that I can input a command and my program can run in a different computer , when it run over the tool can email me a message. Anyway, I can just sit in my seat and control my program in other computer. Because there are too many computers, it's too difficult to use remote connections. Someone can help me? Thanks.
Qi Zhang
|
|
|
|
|
interesting.
first you need to deploy your program to the "other computer". there is not way of automatically running the program. second, you cannot start the program remotely unless you use WMI or something else to get it run.
the easiest way of implementing the server client you are talking about is to use .net remoting. its not the most efficient way of going about this but its very easy.
>I can just sit in my seat and control my program in other computer
Make sure you don't reinvent the wheel. See if there is a solution already.
|
|
|
|
|
Thank you very much. I think that the tools's structure shoubld be c/s. It's clients run in other computers. I can through a server to control my programs and need not known which computer it runs in.
|
|
|
|
|
I have a control C that extends control B that extends control A. In control C's OnXYZEvent method, I occassionaly need to call control A's OnXYZEvent rather than control B's (as control B's does something I may not want it to do) - ie:
OnXYZ()<br />
{<br />
<br />
if (_)<br />
{<br />
base.OnXYZ();<br />
}<br />
else<br />
{<br />
???<br />
}<br />
}
Is this at all possible?
"I think I speak on behalf of everyone here when I say huh?" - Buffy
|
|
|
|
|
|
Thats what I thought, and its so not what I wanted to do
"I think I speak on behalf of everyone here when I say huh?" - Buffy
|
|
|
|
|
But in the long run it will prove better, now it mite just be one method, but later it could be several, and then the seperation of logic makes alot more sense, especially if you have to debug the app several months later.
top secret xacc-ide 0.0.1
|
|
|
|
|
Hello,
is there a generic way to "get informed when a method is called or left". I know I could enter code at the start and end of every method but I would prefer an automated way.
Any ideas?
|
|
|
|
|
I think that what you'll want to do it is to create an Event[^] that fires off when the method is called.
|
|
|
|
|
Thats not what I want. Lets assume I want to log every action of a set of classes. I want a mechansim to make a log entry on every call to a property or method in those classes, without firing events everywhere by myself.
|
|
|
|
|
The only generic way to do this is implement the ICorProfilerCallback interface, provided by the runtime. That said, I have never been able to figure it out either.
Search on gotdotnet for CLR Profiler 2.0, that mite provide some help as the source is available.
top secret xacc-ide 0.0.1
|
|
|
|
|
hi,
we have intellisence in our source editior. If we are choosing a function which have more than one overloads then we can view all other overloads using up and down arrows. The problem is we will get only the information of first parameter of any overloaded method.
My question is how can i view all the other parameter information while keeping the tool tip.
(idea : we can view all overload list using up and down arrow.)
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
lol - very interesting question.
if you ever used visual studio for more than a few days you'd know that if you type in the first param and hit the comma key as to enter the second parameter you will see information for second parameter
|
|
|
|
|
HI,
this is very basic thing that you mention.just think how you will know how many overloaded method is there.Is after trying that or before using. before using right. My intension is same i need to get all information of parameter before trying.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
hi every body,i added the timer to the form & set the interval to 5,what to do next to close the form after 5 seconds.
if u really would like to help me,please write a clear code.i'm just a begginer.
thanx 4 y all.
|
|
|
|
|
write this.close in timer tick event. for every setted seconds this event will fire. i think this is the better option.
private void timer1_Tick(object sender, System.EventArgs e)
{
this.Close();
}
|
|
|
|
|
How can I justify text in a label? By justify I mean, make the text fill the whole line... There's Left, Center, Right and I want justify.
/\ |_ E X E GG
|
|
|
|
|
There is no built-in method for that. Why don't you derive from label and do your own drawing?
|
|
|
|
|
So make a new project and inherit the System.Windows.Forms.Label class and then do crazy overriding code, essentially makeing my own imporved label control?
/\ |_ E X E GG
|
|
|
|
|
Creating a seperate project is not necessary, and the override code is not crazy. Very simple and straight forward.
Almost 5 minutes of work.
|
|
|
|
|
I'm trying to write a little app in C# that'll get some basic system information at startup and then send it to SSE on a different box.
What I'd like to get is username, hostname, list of all user accounts and their groups on the machine, cpu type, machine serial number, mac address, total system memory, and a listing of installed applications.
I can get a few of those things from System.Environment, but I am having a hard time figuring out the rest of it, particularly system memory. I think I might need to use System.Management, but I am not sure how to do that.
|
|
|
|
|
|
how do I turn my Visual studios project in to a stand alone application?
|
|
|
|
|
What??
"Creating tomorrow's legacy systems today.....
.... One CRISIS at a time!" -- Unknown
"If you build it....
.....BUGS will come!" -JB
this.Dispose();
"A Bug is a piece of <sup> code </sup> that knows whatz its purpose"
|
|
|
|
|
I need to run the code that I wrote in a Visual Studios project outside of the visual studios enviroment. Actually, I need to run it on a computer that does not have visual studios installed.
|
|
|
|