|
-
Dec 16th, 2003, 02:48 PM
#1
Thread Starter
Fanatic Member
opening myWizard.exe from myMainApp.exe
Hi all
ive created a small program which is a wizard to setting all the registry variables for my main program however im doing some error checking can and have said something like this
VB Code:
MsgBox(MsgTxt, MsgBoxStyle.YesNo, "Application Settings Issue")
If MsgBoxResult.OK Then
'Open my wizard.exe
Application.Exit()
Else
MsgBox("You need to complete the application settings wizard before using this software", MsgBoxStyle.Exclamation, "Application Settings Issue")
End If
where it says " open my wizard .exe " i want to be able to run my wizard application but how would i open it from here
(Code examples please)
Many Thanks
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
Dec 16th, 2003, 03:06 PM
#2
VB Code:
Process.Start("c:\pathtothe file\wizard.exe")
'or this will pause until the other app finishes
Shell("c:\pathtoexe\wizard.exe", AppWinStyle.NormalFocus, True)
-
Dec 16th, 2003, 03:11 PM
#3
where it says 'Open my wizard.exe
you could use Process.Start(" path of your exe here , including .exe ") eg:
VB Code:
If MessageBox.Show(" some stuff ", Application.ProductName, MessageBoxButtons.YesNo, MessageBoxIcon.Information) = DialogResult.Yes Then
Process.Start("iexplore.exe") '/// your exe's path where i put iexplore.exe
Me.Close()
Else
MessageBox.Show("You need to complete the application settings wizard before using this software", Application.ProductName)
End If
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Dec 16th, 2003, 03:12 PM
#4
pipped to the post while typing
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|