473,809 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New to VB .NET, can't compile as Win32

I'm an occasional VB user who has just installed VB .NET 2003 (previously
using VB6). I migrated a VB6 project over, tweaked it, and compiled it. It
runs fine on the machine I compiled it on, but will not initialize on other
systems.

After doing some digging I believe the problem is that I need to compile for
Win32 platform instead of .NET platform. But that option is not available in
the drop-down in Configuration Manager; .NET is the only thing in the list.

What am I missing? How do I enable the option to compile my app for Win32
without needing the .NET Framework installed on the user machine?
Nov 21 '05 #1
7 1460
Dwasifar,

With Visual.Studio Net you can only make with C++ direct Win32 programs.

For the rest you can make with VS Net as the name already says only Net
programs.

(That is because you need for .Net programs the OS extention also named the
framework).

I hope this helps,

Cor
Nov 21 '05 #2
Well, crap. The packaging's a little misleading then, telling you you can
make Windows applications with it.

So a VB program will still compile only for .NET Framework even if you also
have C++ installed in Visual Studio, right?

"Cor Ligthert" wrote:
Dwasifar,

With Visual.Studio Net you can only make with C++ direct Win32 programs.

For the rest you can make with VS Net as the name already says only Net
programs.

(That is because you need for .Net programs the OS extention also named the
framework).

I hope this helps,

Cor

Nov 21 '05 #3
dwasifar wrote:
(snip)
What am I missing? How do I enable the option to compile my app for
Win32 without needing the .NET Framework installed on the user
machine?

yep.... it's a bummer!

If you don't want to force a 20MB upgrade on your clients then have a look
at thinstall.


Nov 21 '05 #4
What is thinstall?

"Neil Wallace" wrote:
dwasifar wrote:
(snip)
What am I missing? How do I enable the option to compile my app for
Win32 without needing the .NET Framework installed on the user
machine?

yep.... it's a bummer!

If you don't want to force a 20MB upgrade on your clients then have a look
at thinstall.


Nov 21 '05 #5
Dwasifar,

Are you serious or do you want to create only again such a long discussion.

http://groups-beta.google.com/group/...fb225133b94186

Cor
Nov 21 '05 #6
Sorry, didn't know it had already been discussed at such length.

"Cor Ligthert" wrote:
Dwasifar,

Are you serious or do you want to create only again such a long discussion.

http://groups-beta.google.com/group/...fb225133b94186

Cor

Nov 21 '05 #7
"dwasifar" <dw******@discu ssions.microsof t.com> schrieb:
Well, crap. The packaging's a little misleading then, telling you you can
make Windows applications with it.
The .NET Framework is simply a huge library and execution engine, but the
applications created using VB.NET will still run on Windows if the .NET
Framework is installed.
So a VB program will still compile only for .NET Framework even if you
also
have C++ installed in Visual Studio, right?


Yes.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5726
by: Werner Merkl | last post by:
Hi, Python is really great, for small to big programs. For my colleagues and some circumstances I sometimes need to "compile" a script using py2exe. Cause I use Windows, I like to use the (Windows) ability, to add some version infos, comments, etc to the exe file. If I use explorer to check, these properties are visible and correct.
1
2604
by: sam++ | last post by:
Hi, I cd into examples/DLL/ and type "make", it failed to compile the example. The error is: # make make - -f DLL_Today.bor all make: don't know how to make all. Stop *** Error code 2 Stop in /usr/ports/devel/ace+tao/work/ACE_wrappers/examples/DLL.
3
2309
by: papaya | last post by:
hi all i download the gaim source code. http://gaim.sourceforge.net/ but i don't know how to compile it . i down the nsis-2.10.exe i load gaim-installer.nsi in nsis. env os windows 2k c++ compiler MinGWStudio nsis2.10
11
3232
by: Andrew Warren | last post by:
When I build my winforms exe using the IDE I have a perfectly functioning exe. If I try to build the same project using the .Net Framework csc compiler I get a seemingly valid exe produced (although it's only 44 Kb instead of 76 Kb). When I then run the csc-compiled exe I immediately get a "System.TypeInitializationException". What am I missing? I'm guessing there may be some batch
1
1501
by: BLACKDOG157 | last post by:
I tried to compile an existing program (which I want to modify). The program is written in C++. So I downloaded Microsoft's Visual C++ Express edition and I tried to compile the program. It failed to compile, and the error I got was that "windows.h" could not be found. I found a web page of things I was supposed to do to get the compiler to work with win32 applications. I did all those things - installing the Microsoft Platform SDK,...
1
5400
by: electrixnow | last post by:
Help!, I need to compile this code with static libs so it run on another XP machine that does'nt have MS Studio installed. When I compile now I get an ERROR: 1>------ Rebuild All started: Project: drawing_control, Configuration: Release Win32 ------ 1>Deleting intermediate and output files for project 'drawing_control', configuration 'Release|Win32'
8
2722
by: farseer | last post by:
Can someone please assist me in understanding why i am receiving this error: " error C2440: 'type cast' : cannot convert from 'LRESULT (__cdecl CMyToday::* )(HWND,UINT,WPARAM,LPARAM)' to 'LONG' " Here is the source snippet that is causing this compile error. The error is caused by the SetWindowLong line below. MyDataWin.h WNDPROC _hOldWndProc;
8
1757
by: Claus | last post by:
Hi all, I am new to C#, .NET and Visual Studio but I have been coding professionally for more than 10 years, so I am not a complete newbe :-) At my work we are now in the process of switching from Borland Delphi to Visual Studio and C#. We have a lot of applications that we do not have time to recode to .NET, so we are planning to do all "new" developments in C#. And this is where my question pop up:
3
3329
by: mislavb | last post by:
Can Dev-Cpp (Mingw) (under windows) compile network libraries: #include <unistd.h> #include <arpa/inet.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> and if yes, what do I have to do to do it?
0
9721
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9601
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10635
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10115
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9198
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7653
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.