Compiling to run on Windows 3.1 (newbie question) 
Author Message
 Compiling to run on Windows 3.1 (newbie question)

I am very new to Visual Basic (less than 1 week).  I wrote a very
simple program that a user inputs numbers.  The calculated output is
then displayed.  This program does something like converting 'inches'
to 'centimeters', etc.

I have Visual Basic 5.0 Pro running on Windows 95.  When I tried to
run the compiled .EXE on a Windows 3.1 machine, it gave a error
something like "cannot run in DOS mode".

What do I need to do so I can run it on Windows 3.1?  Copy specific
.DLLs?  Compile it differently?

Any response would be greatly appreciated.

Thanks



Sat, 11 Dec 1999 03:00:00 GMT  
 Compiling to run on Windows 3.1 (newbie question)

You can't.  VB5 is 32 bit only.  You need VB4 or below.

Quote:

> I am very new to Visual Basic (less than 1 week).  I wrote a very
> simple program that a user inputs numbers.  The calculated output is
> then displayed.  This program does something like converting 'inches'
> to 'centimeters', etc.

> I have Visual Basic 5.0 Pro running on Windows 95.  When I tried to
> run the compiled .EXE on a Windows 3.1 machine, it gave a error
> something like "cannot run in DOS mode".

> What do I need to do so I can run it on Windows 3.1?  Copy specific
> .DLLs?  Compile it differently?

> Any response would be greatly appreciated.

> Thanks



Sat, 11 Dec 1999 03:00:00 GMT  
 Compiling to run on Windows 3.1 (newbie question)

Quote:

> I am very new to Visual Basic (less than 1 week).  I wrote a very
> simple program that a user inputs numbers.  The calculated output is
> then displayed.  This program does something like converting 'inches'
> to 'centimeters', etc.

> I have Visual Basic 5.0 Pro running on Windows 95.  When I tried to
> run the compiled .EXE on a Windows 3.1 machine, it gave a error
> something like "cannot run in DOS mode".

> What do I need to do so I can run it on Windows 3.1?  Copy specific
> .DLLs?  Compile it differently?

> Any response would be greatly appreciated.

> Thanks

VB5 is strictly 32 bit


Sat, 11 Dec 1999 03:00:00 GMT  
 Compiling to run on Windows 3.1 (newbie question)

Quote:

> I have Visual Basic 5.0 Pro running on Windows 95.  When I tried to
> run the compiled .EXE on a Windows 3.1 machine, it gave a error
> something like "cannot run in DOS mode".

VB5 does not support 16 bit environments.

You need VB4 (Professional/Enterprise) or VB3 (or VB2, or VB1)

N Varacalli
--
The views expressed herein do not represent the views of my employer.

To reach me via e-mail, try (without the asterixes)

Pursuant to US Code, Title 47, Chapter 5, Subchapter II, Sec. 227,
any and all nonsolicited commercial E-mail sent to this address is
subject to a download and archival fee in the amount of $500 US.
E-mailing denotes acceptance of these terms.



Sat, 11 Dec 1999 03:00:00 GMT  
 Compiling to run on Windows 3.1 (newbie question)

Just in case your not clear on what the previous posts mean by VB5 being
32bit only,
Win 3.1 is a 16bit program and will not run 32bit software.
james



Quote:

> > I am very new to Visual Basic (less than 1 week).  I wrote a very
> > simple program that a user inputs numbers.  The calculated output is
> > then displayed.  This program does something like converting 'inches'
> > to 'centimeters', etc.

> > I have Visual Basic 5.0 Pro running on Windows 95.  When I tried to
> > run the compiled .EXE on a Windows 3.1 machine, it gave a error
> > something like "cannot run in DOS mode".

> > What do I need to do so I can run it on Windows 3.1?  Copy specific
> > .DLLs?  Compile it differently?

> > Any response would be greatly appreciated.

> > Thanks

> VB5 is strictly 32 bit



Sun, 12 Dec 1999 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

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

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

3. Compile VB 6 as Windows 3.1 app?

4. Compile in Win95=>can't run in Win 3.1

5. Will VB5 Programs run on Windows 3.1?

6. how to run Enhanced Mode Debug Windows 3.1?

7. *.EXE RUNNING IN WINDOWS 3.1

8. how to run Enhanced Mode Debug Windows 3.1?

9. Run Enhanced mode debug windows 3.1, How?

10. Running VB 5.0 apps with Windows 3.1 + Win32s 1.30

11. Netware 3.1 , Windows 3.1 and VB

12. Using WINAPI 3.1 call FindExecutable on Windows 3.1

 

 
Powered by phpBB® Forum Software