Windows 3.1 EXE with VB4 Pro for Windows 95 ? 
Author Message
 Windows 3.1 EXE with VB4 Pro for Windows 95 ?

Hi,
is it possible to generate an EXE file that will run under Windows 3.1
but that is developped with VB4 Pro for Windows 95 ?
If it is possible, how to do it ?
Thanks



Sun, 21 Feb 1999 03:00:00 GMT  
 Windows 3.1 EXE with VB4 Pro for Windows 95 ?

Bernard,

The VB4 Pro and Enterprise editions both come with a 16-bit version as well
as a 32-bit version. All you have to do is install the 16-bit version and
compile your project into an exe.  The 16-bit setup wizard will create the
necessary setup for win 3.1.

You should probably develop in 16-bit version because there are features
that are not available in the 16-bit rev, and you will avoid such problems
by developing in the 16 -bit version.

The only other gotchas occur if you are developing a project for with
32-bit and 16-bit release, if so you need to need to include conditional
compilation statements for any API calls, make sure all controls used are
available in both 16 and 32-bit versions and so forth.


Quote:
> is it possible to generate an EXE file that will run under Windows 3.1
> but that is developped with VB4 Pro for Windows 95 ?



Mon, 22 Feb 1999 03:00:00 GMT  
 Windows 3.1 EXE with VB4 Pro for Windows 95 ?


Quote:
> is it possible to generate an EXE file that will run under Windows 3.1
> but that is developped with VB4 Pro for Windows 95 ?
> If it is possible, how to do it ?

You must install the 16 bit version of VB 4.0, and compile the code with
that version of VB. Make sure you don't include any Win95 DLLs on your
install disk. I think VB 4.0 comes with a set of files that will work with
Win3.11

--
VB Info: http://home.sn.no/~balchen/vb/visual.htm
FAQ: http://home.sn.no/~balchen/vb/faq.htm
Knowledge Base: http://home.sn.no/~balchen/vb/kb.htm



Mon, 22 Feb 1999 03:00:00 GMT  
 Windows 3.1 EXE with VB4 Pro for Windows 95 ?

Visual Basic 4.0 comes with two versions on the CD.  16-bit version and
32-bit version.  There isn't a "Windows 95" version actually, unless you
mean the 32-bit version which is for Windows 95 and Windows NT 3.51 and
later.

If you install the 16-bit version of Visual Basic 4.0, you can create EXE
programs.  Other than having to ship the standard Visual Basic runtime
DLL's required to the run the EXE on a target machine, you also need to
ship OLE with your product.  This is because Visual Basic 4.0 programs use
OLE internally, even if your application doesn't, so OLE is required for
the program to run.  For Windows 95 and Windows NT this is not an issue
becuase OLE comes with the OS.  But you cannot assume that the your
customers Windows 3.1 system has OLE.  One way to get around this problem
is to have your customers install Microsoft Office first.  This will
install OLE on their computer.

Simply Solutions
Visual DLL
http://ourworld.compuserve.com/homepages/Simply



Quote:
> Hi,
> is it possible to generate an EXE file that will run under Windows 3.1
> but that is developped with VB4 Pro for Windows 95 ?
> If it is possible, how to do it ?
> Thanks



Thu, 25 Feb 1999 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Newbie: VB4, Windows 95 platform, Windows 3.1 target

2. Compile under Windows 3.1 different from compile under Windows 95

3. Windows 95 B, Setup Wizard Issues Setup.EXE on Windows 95 A

4. Windows 95 B, Setup Wizard Issues Setup.EXE on Windows 95 A

5. How to tell the difference between Windows 3.1 and 95, Please help

6. Maintain Application for Windows 3.1 and 95

7. Disabling Ctrl-Alt-Del in Windows 3.1/95

8. Restarting Windows 3.1, 95?

9. Shutdown windows (3.1 / 3.11 / 95)

10. Shutdown windows 3.1 / 3.11 / 95

11. DDE & VB4 - Windows 3.11 vs Windows 95

12. Registry and VB3 Pro in Windows 3.1

 

 
Powered by phpBB® Forum Software