Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Publishing?
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
cavetroll




PostPosted: Thu Feb 07, 2008 8:23 pm   Post subject: Publishing?

My problem is this. When I publish my program it creates 2 files, one called Setup.exe and one called <program name>.application. This works fine on my computer but when I try it on another, it comes up with the "select a program to open this file" dialog box. This happens when I run either file. This is odd because I though .application files ran by themselves. Does anyone know how I can make it publish the <program name> file as a .exe file? If not, what program is supposed to run .application files?

By the way, I am using VB 2008 Express Edition.
Sponsor
Sponsor
Sponsor
sponsor
Mackie




PostPosted: Thu Feb 07, 2008 8:59 pm   Post subject: RE:Publishing?

Don't Publish. Build. Every time you run your program. It puts a copy of the latest .exe in the debug folder of the Project files. I also believe there's a build menu in the menu bar.
cavetroll




PostPosted: Thu Feb 07, 2008 9:07 pm   Post subject: Re: Publishing?

But don't I need to publish to install it on another computer? If I just build will it still be able to find the necessary files?

By the way, thanks for the quick response.
Mackie




PostPosted: Thu Feb 07, 2008 9:10 pm   Post subject: RE:Publishing?

If you build it. It will just be an executable, it will run on another computer just fine as long as the .Net framework 3.5 is installed. But it's not going to make start menu shortcuts for you.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: