473,587 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

stand alone .exe output from vb 2005

6 New Member
Is there a way to create a stand alone .exe from VB2005, that does not depend upon the .NET framework being installed on the target machine?

I have followed previous threads on this subject and not seen a definitive answer.

What I want to do is create an .exe that has all of the .dll etc required to run on both XP and 98 operating systems, and does not require that the .NET framework be downloaded to the machine. Many of the targets are stand alone computers without internet connection.

Dev environment:
XP Professional
Visual Studio 2005 standard edition
Visual Basic 2005

Thanks, Clint
Nov 22 '06 #1
10 5719
Killer42
8,435 Recognized Expert Expert
Is there a way to create a stand alone .exe from VB2005, that does not depend upon the .NET framework being installed on the target machine?
I seriously doubt it. But then, I'm a VB6 developer so what do I know?
My guess is you'd get a much better response to this one in the .Net forum. If you already posted it there as well, then just forget I said anything.
Nov 24 '06 #2
willakawill
1,646 Top Contributor
Is there a way to create a stand alone .exe from VB2005, that does not depend upon the .NET framework being installed on the target machine?

I have followed previous threads on this subject and not seen a definitive answer.

What I want to do is create an .exe that has all of the .dll etc required to run on both XP and 98 operating systems, and does not require that the .NET framework be downloaded to the machine. Many of the targets are stand alone computers without internet connection.

Dev environment:
XP Professional
Visual Studio 2005 standard edition
Visual Basic 2005

Thanks, Clint
Hi Clint
Not a chance. You will have to revert to good old vb6 to do that. :(

There is no half way house betwen vb and .NET it is all or nothing.
the .NET runtime is free so you could install it as part of your app install. You only need to download it once and put it on a cd.

Good luck
Nov 24 '06 #3
discobay
6 New Member
Thanks to both of you for your prompt replies. Looks like VB6 is the answer.

Clint
Nov 25 '06 #4
Killer42
8,435 Recognized Expert Expert
Thanks to both of you for your prompt replies. Looks like VB6 is the answer.
Hey, how about that? Our first conversion! :)

Way to go, Will.

Nov 25 '06 #5
discobay
6 New Member
Well, it's more like a retroversion ...
Clint
Now to find a copy of vb6 at a reasonable price.
Nov 25 '06 #6
Killer42
8,435 Recognized Expert Expert
Well, it's more like a retroversion ...
Clint
Now to find a copy of vb6 at a reasonable price.
Good luck! I don't think it's sold any more. eBay perhaps?
Nov 25 '06 #7
discobay
6 New Member
Yes, eBay does have copies available, probably at more than the original price
Nov 25 '06 #8
ashudson
2 New Member
Wait a minute...

In vb 2005 express
If you publish a solution, then run the 'Setup' that is created... the .exe file is created somewhere in:
  • C:\Documents and Settings\<Usern ame>\Local Settings\Apps\2 .0
For example:
I have a project called "AntToDo":
  1. Publish
  2. Run Setup
  3. Go through folders:
C:\
.. Documents and Settings\
.... Ashudson\
...... Local Settings\
........ Apps\
.......... 2.0\
............ K9E9X64X.DAK\*
..............9 CXYK5ZM.TBK\*
............... . antt..tion_ed5f 8b9373d0ea2f_00 01.0000_b2a1b5e e1817a299\*
And finally, we find my lovely .exe; complete with an icon:

It's very standalone-ish too... just copy the .exe file... I can even use this .exe on another computer without any setup.

Is this what you are looking for?


--------
*=these folders are created randomly (by the looks of it) and therefore will not be exactly the same on other computers
Oct 14 '07 #9
ashudson
2 New Member
Correction.... the other computer had .net Framework installed... I uninstalled it and sadly the conclusion is... .net framework IS required.

Why don't you just include .net framework installation with your setup. I mean... include the 'dotnetfx' setup file in the prerequisites:
  1. Locate:
    C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Boot strapper\Packag es
    DotNetFX\
  2. Then paste a copy of dotnetfx.exe (from microsoft website) inside .
  3. Open your VB project:
    Click Project > ProjectName Properties.... > Publish > Prerequisites
  4. Select the option "Download prerequisites from same location as my application"

Now when you setup the application on another computer and it doesn't have .net framework installed, it will install it. Simple.
Oct 14 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

9
2913
by: none | last post by:
Howdy all, I'm wondering if someone could give some direction on a problem I have or share their experiences. I'm wanting to create a little PHP application that will run on a local machine and use ODBC to connect to a Access database on that machine. A series of forms will interact with the database but if I understand correctly, I need...
1
1750
by: Takeshi | last post by:
Hi All, I'm new to dotNET. I am (thinking of) building the presentation layer of my application in dotNET. Communication with the backend will be done by subject based (multicast) messaging - running on a Unix backend, with a windows client (C Win32 DLL) resident on the front end. I want to have a single code base for both a stand alone...
121
9725
by: David Pendrey | last post by:
I was wondering if it is at all posible to write a stand alone .EXE program in Visual Studio .NET. Hopefully in VB.NET but if not another language would be ok. Thanks for the assistance
4
1560
by: Tom | last post by:
How can one determine if a .NET program is running in the developer IDE or running stand-alone? I am sure I saw something somewhere but I don't remember where or what. Thanks! Tom
7
4711
by: Ulrich Wisser | last post by:
Hi, I would like to stop the postmaster every night and run vacuum pg_dump reindex in the stand alone backend.
1
1393
by: GS | last post by:
Hello, I use SQL express database on my workstation under App_data directory for development. I also want to use it in staging enviroment where SQL 2005 full blown version is installed. Can I just copy database and use the same connection string to connect to it? Greg
2
2317
by: jim-on-linux | last post by:
py help, The file below will run as a stand alone file. It works fine as it is. But, when I call it from another module it locks my computer, The off switch is the only salvation. This module when run as a stand alone, it will
7
2878
by: driplet | last post by:
I am using MS VC++ 2005 Express Edition to make some windows application programs. I found that the exe files I built on one computer cannot be run on the other. Could any body please tell me how to make a stand alone exe file in MS VC++ 2005 Express Edition? If you also have experience in Borland C++ Builder on the same question, I will also...
2
1614
by: skneife | last post by:
I need to create some zones in my asp page, that contains a header and a body like a webpart. How can I use a webpart for this designed without any webpart menu or connection with anything, like a stand alone control ? Thanks. Sam
0
7918
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6621
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5713
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.