A program of rewrite code from vb to c#

  • Thread starter Thread starter Jet Leung
  • Start date Start date
J

Jet Leung

Hello All:
I want to rewrite a program by c sharp that was worte by vb. And I have a
problem , how to translate "exit sub " of vb into c sharp? And how to run
another program (for example a .exe file) in c sharp? I know it can be run
by "shell " in vb.
But how about in C shrp?
 
"Exit Sub" in vb is "return;" in c#

To run another .exe, look at System.Diagnostics.Process, especially the
..Start() method of that class.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top