Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 27th, 2006, 11:28 PM
Registered User
 
Join Date: Dec 2006
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?
 
Old December 28th, 2006, 09:56 AM
Authorized User
 
Join Date: Nov 2006
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





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.