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 are static and dynamic variables?

640


What is primitive types in c#?

458


What is the difference between CONST and READONLY?

568


explain the nature of the assembly work?

2096


What is the use of table aliases?

485






What is the difference between method and function in c#?

439


How many parameters can a method have c#?

479


What is windows form in c#?

534


Which sorting algorithm is best?

552


How do I trim a space in c#?

435


What is difference between struct and class in c#?

465


What is the difference between Java and .NET garbage collectors?

503


What benefit do you get from using a primary interop assembly (pia)?

505


When was .net linq added?

510


In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?

455