Hello,
I'm coding in vb2008 and wondering how to make others download my program
Sorry if I'm being a noob at this but, this is the only thing I am having problems with :P
`Maxidex
Printable View
Hello,
I'm coding in vb2008 and wondering how to make others download my program
Sorry if I'm being a noob at this but, this is the only thing I am having problems with :P
`Maxidex
Isn't this your 3rd topic about the same problem? o.O, the previous one you deleted yourself...
When you wrote your program, you need to compile your project. When its compiled you can find some where in the 'bin' dir the executable. Zip and upload it ;)
?How do I compile
That is a newbie question.
Go to Build > Build Solution
And there you have a couple of build options that you can play with.
Note: Why are you using vb9 when are are just starting to code? I prefer vb8 also known as vb2005. Anyway I hope this helps you.
Thanks.
Also, what's the code for a button to lead to a website?
It's very important for what I'm coding >.>
`Maxidex
Ok this is just an example of what you can use.
Lets suppose we have a button with the name of appButton1 & a Process Called appProcess1
The Program must be inside the Program Files Folder.Code:
Dim appProcessPath As String = String.Concat(My.Computer.FileSystem.SpecialDirectories.ProgramFiles, "\path\to\program.exe")
appProcess1.EnableRaisingEvents = True
appProcess1.StartInfo.FileName = appProcessPath
appProcess1.Start()
OR simply use
The end result would beCode:Shell("APP.EXE")
Code:
Private Sub appButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles appButton1.Click
Dim appProcessPath As String = String.Concat(My.Computer.FileSystem.SpecialDirectories.ProgramFiles, "\path\to\program.exe")
appProcess1.EnableRaisingEvents = True
appProcess1.StartInfo.FileName = appProcessPath
appProcess1.Start()
End Sub