hi :lol: friends
hey i need a help from ul..to complete my projects
can u tell me how to write a visual c#.net program to run an exe file to update its old version

;) thanks all

Run a exe, you can use the AppDomain Class , The detail can be found in MSDN!

u can run exe by this
add a namespace i.e.
then write code
Process proc=new Process();

Code works great, thanks for posting.


do you mean how do you run a program in visual compiler ... the black DOS like screen ....
well even i don't know how it runs there ... but i compile the program by using ...
csc program_name.cs
and i used to run it by typing
and hitting enter ... lol :P
but now it doesn't seem to work sheesh :(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.