Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 27th, 2006, 11:28 PM
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Build & Publish


OK, I admit it! I don't understand the Build and Publish options in "Visual Basic 2005 Express" (VBE). Especially Publish.

Tell you what though: According to my search results, neither do a lot of other people. And there doesn't seem to be anything in the way of a clear, simple explanation available - not that I can find anyway.

I know I can do a Build, then grab my apps executable from /vbfolder/projects/myapp/bin/release.

There's also an executable in /vbfolder/projects/myapp/bin/debug, but I've seen recommendations that the one from ../release be used. Why? Dunno for sure.

I think debug holds the last executable created when you do a trial run from within VBE, while ../release holds an executable created each time you do a Build.

So... does anyone know of a clear and simple, yet comprehensive, explanation of the Publish thing?

What I'd really like to know is how to build an executable installer for my app that would install the main program and any other supporting files PLUS check for .Net and offer to install it if missing. Is that even possible with VBE?
Reply With Quote
  #2 (permalink)  
Old December 28th, 2006, 09:56 AM
Authorized User
 
Join Date: Nov 2006
Location: , , USA.
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ef1196
Default

As long as I have been a developer (more years than I care to admit) I still find the task of distributing an application to be daunting at times. Often the process of deciding exactly what files and prerequisites (such as Net 2.0) to include with your application can difficult at best.

That said, here is a link to an MSDN page describing the VBE 'Click Once' procedures:

http://msdn2.microsoft.com/en-us/library/ms184642(VS.80).aspx

If you are looking for a clear & simple explanation of anything that Microsoft produces you may have to wait quite a long time...

The /Release version of your application is the directory that you should use for publishing. Among other things, this directory does not include the files *.vshost.* which the IDE uses when you are running your application prior to compiling. When you "publish" the files will automatically be gathered from the /Release directory.

I was tempted to outline the procedures that I use to publish an application to my corporate network, but I am not sure that the steps are exactly the same between VBE and the VS version.





Best Regards,
Earl Francis
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
publish aspx file saurabh ASP.NET 3.5 Professionals 1 July 29th, 2008 07:49 AM
Publish Web Site & Copy Web Site angshujit ASP.NET 2.0 Basics 1 June 15th, 2007 09:21 AM
publish web application rocksbhavesh ASP.NET 1.0 and 1.1 Professional 3 May 3rd, 2007 09:27 AM
Linux & KDE & C++ & QT & MYSQL & Kdevelop Munnnki Linux 0 January 2nd, 2005 05:41 PM
SQL Server Publish & Subscribe issue Greg Griffiths SQL Server 2000 1 August 18th, 2004 02:18 AM



All times are GMT -4. The time now is 10:23 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.