What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » VB Publishing

Pages: (2): « First [ 1 ] 2 » Last »
VB Publishing
Author: Message:
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. VB Publishing
I have lots of projects on VB Express 2005. I want to publish them as standalone *.exe files, but I see no option for that. All I see is the publish to web server and publish to CD. I want all my files to package into one .exe standalone so that when run, you do not need to install it or anything. How do I do this?

This post was edited on 12-20-2006 at 06:09 AM by ryxdp.
12-20-2006 06:05 AM
Profile PM Find Quote Report
bladeswords
Junior Member
**

Avatar
This Space For Rent

Posts: 22
36 / Male / –
Joined: Nov 2003
RE: VB Publishing
I am not sure if this is the correct way to do it, but Visual Studio 2005 creates the .exe file every time you test it out.  This file is the same as the published file and it can be found under the project directory in \bin\Debug then there will be what ever your project is called .exe

(sorry this is breif and confusing...I can explain better if you need it)
It is all just a bunch of meaningless ASCII to me!
Creator of MSN Names and Tools
12-20-2006 06:34 AM
Profile PM Web Find Quote Report
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. RE: VB Publishing
Yes I know all about that.

I have tried sending a test program as that .exe to another person who didn't have VB or anything and it didn't work. It obviously needs the program resources or something, i think.
12-20-2006 08:34 AM
Profile PM Find Quote Report
bladeswords
Junior Member
**

Avatar
This Space For Rent

Posts: 22
36 / Male / –
Joined: Nov 2003
RE: VB Publishing
Oh, that is because they need .NET Framework 2.0 installed for them to use it.  It is freely avaliable from the Microsoft Site here
It is all just a bunch of meaningless ASCII to me!
Creator of MSN Names and Tools
12-20-2006 10:04 AM
Profile PM Web Find Quote Report
andrewdodd13
Senior Member
****

Avatar
Oh so retro

Posts: 870
Reputation: 16
34 / Male / Flag
Joined: Jan 2005
RE: VB Publishing
As blades said, you want them to install the .NET Framework (Version 2), from Windows Update or wherever. It's roughly 20mb.

Also, you'll want to use the program created in the Release output folder, rather than the debug version. If there's nothing in that folder, go to the Visual Basic menu and find "Build".
[Image: AndrewsStyle.png]
12-20-2006 05:53 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: VB Publishing
quote:
Originally posted by Snaal Sevool Snr.
I have lots of projects on VB Express 2005. I want to publish them as standalone *.exe files, but I see no option for that.
Because there is no option for that in the "Express" version. You need to buy VB6 the home or pro or whatever edition for that (I meant the full product, I know VB6 is not .NET, just a stupid typo).

quote:
Originally posted by bladeswords
Visual Studio 2005 creates the .exe file every time you test it out.
No.... It doesn't create a standalone exe when you don't tell it to.

When you run code it's run in the debugger in P-code, and the only "exe" made is not a compiled standalone one. Making a standalone exe is compiling a program, which isn't possible with the free "Express" version.

This post was edited on 12-20-2006 at 11:56 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-20-2006 07:08 PM
Profile PM Find Quote Report
Adeptus
Senior Member
****


Posts: 732
Reputation: 40
Joined: Oct 2005
RE: VB Publishing
If "standalone .exe"  means an executable file that can be run on other computers with .NET framework v2.0 runtime installed, then the Express Edition will work just fine. 

If "standalone .exe" means an executable that can run on any Windows computer without requiring .NET framework (the preferred term is "unmanaged code"), then no edition of Visual Studio 2005 will help you there.  Visual Basic has become Visual Basic .NET and current development tools from Microsoft don't offer it any other way. 

The debug versions of .NET executables are no less and no more "p-code" (the preferred term is "Intermediate Language", IL) than release versions.  Just the same as it is with unmanaged code, the debug versions include symbol information and are not optimized (to enable faster build times).

Visual C++ continues to support unmanaged code projects. With some limitations, that also includes the free Visual C++ 2005 Express Edition.   If you want to create unmanaged code software, Microsoft wants you to use C++.

VB6 is a legacy product.  While it does compile to unmanaged code (requiring a runtime library of its own, however), I would not recommend investing money and time in it to anyone who doesn't use it already.

This post was edited on 12-20-2006 at 10:22 PM by Adeptus.
12-20-2006 10:10 PM
Profile E-Mail PM Find Quote Report
bladeswords
Junior Member
**

Avatar
This Space For Rent

Posts: 22
36 / Male / –
Joined: Nov 2003
RE: VB Publishing
Thank you Adeptus.  That is what I thought, I just wasnt sure.  (I am downloading Visual Basic Express to test it all out)

It is all just a bunch of meaningless ASCII to me!
Creator of MSN Names and Tools
12-20-2006 10:46 PM
Profile PM Web Find Quote Report
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. RE: VB Publishing
I'll check with the person I sent it to if they had .NET 2.0.

Some of my programs work on a fairly new computer of my friend's who has all the latest stuff etc. and my version of VB.^o)

Doesn't it prompt you to install .NET 2.0 on the installer?*-)
12-21-2006 07:15 AM
Profile PM Find Quote Report
bladeswords
Junior Member
**

Avatar
This Space For Rent

Posts: 22
36 / Male / –
Joined: Nov 2003
RE: VB Publishing
I am not sure what you mean by "Doesn't it prompt you to install .NET 2.0 on the installer?" if you mean the Visual Studio installer or your program.  If you mean Visual Studio, then yes it does install .NET 2.0.  If you mean your program, then no, unless you have packaged .NET 2.0 with it.
It is all just a bunch of meaningless ASCII to me!
Creator of MSN Names and Tools
12-21-2006 08:38 PM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On