|
-
May 1st, 2007, 05:41 AM
#1
Thread Starter
Member
quick launch
Hi,
I'm in my first year of vb (and programming !) and was wondering if there's a way that vb programs (i.e my finished project) can be run from a desktop shortcut rather than the usual way - launching vb, opening the project etc etc....
Thanks in advance
Neil
-
May 1st, 2007, 05:43 AM
#2
-
May 1st, 2007, 05:45 AM
#3
Thread Starter
Member
Re: quick launch
ok,
i appologise in advance for lack of knowledge - but i do that how ??
Neil
-
May 1st, 2007, 05:51 AM
#4
Re: quick launch
In the file menu Click on Make YourProjectName.exe
-
May 1st, 2007, 05:52 AM
#5
Re: quick launch
Open your project, Select File Menu and click Make filename.exe option. This will compile your VBP project into an EXE file that can be launched without the Visual Studio IDE.
Use [code] source code here[/code] tags when you post source code.
My Articles
-
May 1st, 2007, 07:07 AM
#6
Re: quick launch
What version of VB are you using?
If you have the "Learners Edition", you probably won't be able to compile your program.
-
May 1st, 2007, 05:59 PM
#7
Thread Starter
Member
Re: quick launch
Hey Folks !
Well i tried what was posted earlier- and i'm now getting an error message when trying to create the exe.
The error i'm getting says - 'Method or data member not found'
The following code from a module is then displayed. The 'Load' is highlighted.
Code:
Option Explicit
Public Sub Main()
frmSplash.Show
frmMainMenu.Load
frmSplash.Hide
frmMainMenu.Show
End Sub
-
May 1st, 2007, 06:09 PM
#8
-
May 1st, 2007, 06:18 PM
#9
Thread Starter
Member
Re: quick launch
Cheers Hack,
That sorted out the compiling problem - it seems to be running through the process no problem now.
What's supposed to happen next though ? LOL
It runs through that then nothing seems to happen ?
Where does the shortcut end up ? Or what should i do next ?
Neil
-
May 1st, 2007, 07:50 PM
#10
Fanatic Member
Re: quick launch
Have you created a shortcut to the exe on your desktop, and then run that ?
Are you anywhere near Gourock (which is down the Clyde from Glasgow) ?
Rob
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
|