| | |
How do I use a command button to open a exe file created in VB?
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Apr 2007
Posts: 4
Reputation:
Solved Threads: 0
Hi everyone
I am relearning to use VB after taking classes almost 10 years ago. I am stumped on remebering how to open a file using a command button.
I have created some forms using VB that I want to activate from a main menu. I have made them .exe files and just want to navigate from one to another.
Thanks - John
I am relearning to use VB after taking classes almost 10 years ago. I am stumped on remebering how to open a file using a command button.
I have created some forms using VB that I want to activate from a main menu. I have made them .exe files and just want to navigate from one to another.
Thanks - John
Does this help?
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Dim TaskID As Long TaskID = Shell(pathname\filename.exe, vbNormalFocus)
•
•
Join Date: Sep 2006
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
Hi everyone
I am relearning to use VB after taking classes almost 10 years ago. I am stumped on remebering how to open a file using a command button.
I have created some forms using VB that I want to activate from a main menu. I have made them .exe files and just want to navigate from one to another.
Thanks - John
IF someoption is selected then
LOAD frm_name
frm_name.SHOW
Endif
the above will bring the form up and it will have the focus... now for some finesse in the new form's LOAD subroutine
main_menu_form.HIDE
in the new forms Query_Unload sub
main_menu.shw
![]() |
Similar Threads
- reverting exe file created with visual basic? (Visual Basic 4 / 5 / 6)
- exe file problems (Computer Science)
- exe file (Computer Science)
- open exe file using c# (C#)
- Change icon of an Exe file created in VB (Visual Basic 4 / 5 / 6)
- trying to open 'exe' file on G5 (OS X)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: How do I find the path of my VB program at run time
- Next Thread: Need code for macro to paste cells into only visible cells
Views: 4727 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





