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

Distinguish between a class and struct?

722


What is the difference between c and c# programming?

658


Can we have only “try” block without “catch” block in c#?

672


Can an interface extend a class c#?

751


Which .gang of four. Design pattern is shown below?

696


Is there a way to force garbage collection?

756


What are constructors in c#?

739


What is ulong in c#?

793


What is the components of window?

709


Why dictionary is used in c#?

742


What is managed code?

755


What is a Managed Code??

769


Please explain value types and reference types used in c#?

677


How can you access a private method of a class?

711


Explain how can I get around scope problems in a try/catch?

701