|
-
May 26th, 2006, 12:13 PM
#1
Thread Starter
New Member
Have VS 2005, easy way to deploy..?
Im new to visual studio and .net development but have done a fair amount of VBA work.
I made a simple gas milage computer by doing new project> VB > windows> windows application. Now I publish it which makes a setup.exe file, however when I install it on a computer without .net (my home computer) it goes to install .net framework.
Is there a way to publish programs with visual studio 2005 that do not require .NET framework? I would like to write very simple windows apps like we've all downloaded and that do not necessarily setup.exe, installation, downloading framework etc.
I basically want to make a very simple standalone EXE program.. is that possible with VS?
Should I be using some over development system? Sorry if these questions have obvious answers, I'm new to this.
-
May 26th, 2006, 12:40 PM
#2
Re: Have VS 2005, easy way to deploy..?
Welcome to the forums.
 Originally Posted by ucdcrush
Is there a way to publish programs with visual studio 2005 that do not require .NET framework? I would like to write very simple windows apps like we've all downloaded and that do not necessarily setup.exe, installation, downloading framework etc.
No. The framework has to be installed for your program to work.
 Originally Posted by ucdcrush
I basically want to make a very simple standalone EXE program.. is that possible with VS?
No. That is not even possible with VB6, much less VB2005.
Welcome to windows development.
-
May 26th, 2006, 01:12 PM
#3
Re: Have VS 2005, easy way to deploy..?
You can make a "standalong" exe in vb6 to the point where you only need the msvbvmm60.dll by writting your program using all APIs and only APIs that are dependant upon the standard Windows dlls.
Either way between VB 6, VBA, .NET you will need some kind of dependancies. If you want a stand alone exe then you would have to look at writting it in C++
.NET was designed around the framework as a common set of runtimes. think of it as the engine for your car. You dont want to install your engine, then your car wont run.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 26th, 2006, 01:14 PM
#4
Re: Have VS 2005, easy way to deploy..?
 Originally Posted by RobDog888
.NET was designed around the framework as a common set of runtimes. think of it as the engine for your car. You dont want to install your engine, then your car wont run.
And this is true even if all your "car" does is
VB Code:
MessageBox.Show "Hello World"
-
May 26th, 2006, 01:16 PM
#5
Re: Have VS 2005, easy way to deploy..?
You forgot the parenthesis 
VB Code:
MessageBox.Show("Hello World")
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 26th, 2006, 01:22 PM
#6
Re: Have VS 2005, easy way to deploy..?
 Originally Posted by ucdcrush
Is there a way to publish programs with visual studio 2005 that do not require .NET framework? I would like to write very simple windows apps like we've all downloaded and that do not necessarily setup.exe, installation, downloading framework etc.
I basically want to make a very simple standalone EXE program.. is that possible with VS?
Yes it's possible but you will not be able to use the .Net framework in any of your applications. That means you'll be using either C or C++.
-
May 26th, 2006, 03:25 PM
#7
Thread Starter
New Member
Re: Have VS 2005, easy way to deploy..?
Thank you for the replies. I started reading on MSDN (link)link and it says
Windows Forms applications in Visual C++ use .NET Framework classes and other .NET features with the new Visual C++ syntax.
so it appears I cannot use Visual Studio to make windows forms programs that stand on their own since they use .NET . Is there a visual-studio-like thing where I could use C++ for Windows-forms type programs?
-
May 26th, 2006, 03:53 PM
#8
Re: Have VS 2005, easy way to deploy..?
 Originally Posted by ucdcrush
so it appears I cannot use Visual Studio to make windows forms programs that stand on their own since they use .NET . Is there a visual-studio-like thing where I could use C++ for Windows-forms type programs?
Windows Forms is a class in the .Net framework so you cannot use it to create appications that don't rely on the framework. There is no application that will allow you to make windows forms without the .Net framework because, again, it's a Control in the .Net framework.
Having said that, I would suggest doing a lot more research into programming before doing anything. C++ can use the Win32 API, MFC, ALT, wxWidgets and even qt to make applications that have a GUI and won't require the .Net framework and you can use all of those technologies in Visual Studio. In fact, C++'s project templates have ready made examples for Win32, MFC and ALT.
-
May 26th, 2006, 03:56 PM
#9
Thread Starter
New Member
Re: Have VS 2005, easy way to deploy..?
actually I just stumbled across Dev-C++, will try with that. thanks..
-
May 26th, 2006, 04:00 PM
#10
Re: Have VS 2005, easy way to deploy..?
 Originally Posted by ucdcrush
actually I just stumbled across Dev-C++, will try with that. thanks..
Why? If you already paid for Visual Studio 2005, why would you drop it for an IDE that does the samething with less features?
I don't get it
-
May 26th, 2006, 04:47 PM
#11
Thread Starter
New Member
Re: Have VS 2005, easy way to deploy..?
 Originally Posted by kasracer
Why? If you already paid for Visual Studio 2005, why would you drop it for an IDE that does the samething with less features?
I don't get it 
My mistake. I thought I'd be able to drag n' drop controls with Dev C++ but from what I can see I can't do that there. And I can't do it in VS 2005 unless I want to rely on .NET, which I don't. At least that's my (feeble) understanding at this point.
If that is the case I will return to playing with VS 2005 (side note, I got it free for attending the opening launch "celebration" last year, just starting to play with it though).
Thanks.
-
May 26th, 2006, 05:23 PM
#12
Re: Have VS 2005, easy way to deploy..?
 Originally Posted by ucdcrush
My mistake. I thought I'd be able to drag n' drop controls with Dev C++ but from what I can see I can't do that there. And I can't do it in VS 2005 unless I want to rely on .NET, which I don't. At least that's my (feeble) understanding at this point.
Dev C++ doesn't support drag and drop. wxWidget's edition of Dev C++ does but it's very buggy.
Visual Studio 2005 also supports some drag and drop without .Net when creating dialog in C++.
What you need to understand is that there is a trade off between using a framework like .Net and not using it. The .Net framework requires it to be installed for any .Net application to work but it makes GUI creation extremely simple. Creating a C++ application that includes no framework requires that includes a GUI is much more challenging.
I'd suggest picking up a book on using Visual C++, MFC, or even wxWidgets or qt.
-
May 26th, 2006, 10:57 PM
#13
Re: Have VS 2005, easy way to deploy..?
Or think of using a language that's implemented with a smaller library.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|