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
10 5703
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.
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
Thanks to both of you for your prompt replies. Looks like VB6 is the answer.
Clint
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.
Well, it's more like a retroversion ...
Clint
Now to find a copy of vb6 at a reasonable price.
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?
Yes, eBay does have copies available, probably at more than the original price
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": - Publish
- Run Setup
- 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
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: - Locate:
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages
DotNetFX\ - Then paste a copy of dotnetfx.exe (from microsoft website) inside .
- Open your VB project:
Click Project > ProjectName Properties.... > Publish > Prerequisites - 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.
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
Sign in to post your reply or Sign up for a free account.
Similar topics
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...
|
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 -...
|
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
|
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
|
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.
|
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...
|
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...
|
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...
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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...
|
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,...
|
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...
| |