Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Theory question Pin
Nathan Blomquist6-Jul-03 7:52
Nathan Blomquist6-Jul-03 7:52 
GeneralRe: C# Theory question Pin
leppie5-Jul-03 10:12
leppie5-Jul-03 10:12 
GeneralRe: C# Theory question Pin
James T. Johnson6-Jul-03 4:04
James T. Johnson6-Jul-03 4:04 
GeneralRe: C# Theory question Pin
leppie6-Jul-03 8:26
leppie6-Jul-03 8:26 
GeneralDisplaced text Pin
Zibar5-Jul-03 1:07
sussZibar5-Jul-03 1:07 
GeneralRe: Displaced text Pin
leppie5-Jul-03 2:43
leppie5-Jul-03 2:43 
GeneralGame development Pin
Xedecimal4-Jul-03 21:11
Xedecimal4-Jul-03 21:11 
GeneralRunning another application in C# Pin
pdunn4-Jul-03 21:00
pdunn4-Jul-03 21:00 
I am writing a method in C# and I need to execute applications from it. I have used ShellExecute in C++ before. So I thought that I would be able to make a managed extension. For the method, it was suppose to take in a string, the name of the application to execute. I got an error message when I used String, string, CString. I don't know what to use as the type. So I tried something different in C#, I used

Process myProcess = new Process();
myProcess.StartInfo.FileName = "Notepad";
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
myProcess.Start();

but that did not show the notepad application (I didn't try any other application program yet). The process is running in the background, I check with task manager. The problem is that I don't know how to write managed code and I don't know how to use C#. I am new to both.

Thanks for any help

GeneralRe: Running another application in C# Pin
J. Dunlap4-Jul-03 21:35
J. Dunlap4-Jul-03 21:35 
GeneralRe: Running another application in C# Pin
MrEyes7-Jul-03 6:43
MrEyes7-Jul-03 6:43 
Questiondrag-drop dash line ?? Pin
azusakt4-Jul-03 15:27
azusakt4-Jul-03 15:27 
AnswerRe: drag-drop dash line ?? Pin
leppie5-Jul-03 0:35
leppie5-Jul-03 0:35 
GeneralRe: drag-drop dash line ?? Pin
azusakt6-Jul-03 15:43
azusakt6-Jul-03 15:43 
GeneralBeta Version of KingTermite.Net Pin
KingTermite4-Jul-03 15:07
KingTermite4-Jul-03 15:07 
Generalsend user event for C# to C++ Pin
troels_sorensen4-Jul-03 13:11
troels_sorensen4-Jul-03 13:11 
GeneralRe: send user event for C# to C++ Pin
Anonymous8-Jul-03 4:19
Anonymous8-Jul-03 4:19 
GeneralRe: send user event for C# to C++ Pin
Troels_soerensen8-Jul-03 4:21
sussTroels_soerensen8-Jul-03 4:21 
Questiondrawing part of component outside parent window? Pin
misterbear4-Jul-03 10:36
misterbear4-Jul-03 10:36 
GeneralC# question Pin
ClintChin4-Jul-03 8:38
ClintChin4-Jul-03 8:38 
GeneralRe: C# question Pin
leppie4-Jul-03 10:47
leppie4-Jul-03 10:47 
GeneralManipulating ArrayList Obj thru reference Pin
nosmij4-Jul-03 1:23
nosmij4-Jul-03 1:23 
GeneralRe: Manipulating ArrayList Obj thru reference Pin
Philip Fitzsimons4-Jul-03 2:56
Philip Fitzsimons4-Jul-03 2:56 
GeneralBreakpoint does not work Pin
Mertli Ozgur Nevres4-Jul-03 0:05
Mertli Ozgur Nevres4-Jul-03 0:05 
GeneralRe: Breakpoint does not work Pin
rahtrow4-Jul-03 5:26
rahtrow4-Jul-03 5:26 
GeneralGetting COM type information in C# Pin
Simon_uk3-Jul-03 22:46
Simon_uk3-Jul-03 22:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.