Code to run exe like mspaint,autocad etc in asp.net.

Answer Posted / rekha

This code snippet executes mspaint exe. Try it
out.

Process p = new Process();
p.StartInfo.FileName = "mspaint";
p.Start();

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by abstract class in c#?

501


What is oledbconnection c#?

490


Explain the advantage of using system.text.stringbuilder over system.string?

463


What is double c#?

531


What is concatenation and when should it be used?

478






Define thread? Explain about multithreading?

566


What is namespace explain with example?

454


What is difference between c and c sharp?

457


What is array and its types in c#?

526


What are bitwise logical operators?

481


What is default access modifier for class in c#?

499


When would you use generics in your code c#?

488


Can scriptable objects have methods?

496


Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).

483


What is the difference between field and property in c#?

470