473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

stand alone .exe output from vb 2005

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 5703
Killer42
8,435 Expert 8TB
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 1GB
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
Thanks to both of you for your prompt replies. Looks like VB6 is the answer.

Clint
Nov 25 '06 #4
Killer42
8,435 Expert 8TB
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
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 Expert 8TB
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
Yes, eBay does have copies available, probably at more than the original price
Nov 25 '06 #8
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\<Username>\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\*
..............9CXYK5ZM.TBK\*
................ antt..tion_ed5f8b9373d0ea2f_0001.0000_b2a1b5ee1817 a299\*
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
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\Bootstrapper\Packages
    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
rabi3
1
first, you have to go to the release file in your project directory then get the file <your project name>.exe
second , you have to download file .net framework v 2.0 from the internet
and install it in the prurpose computer then open your project and it will work directly
rabih kerdi ,lebanon
Apr 7 '08 #11

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

Similar topics

9
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...
1
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 -...
121
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
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
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
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...
2
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...
7
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...
2
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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,...
0
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...

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.