Solved

Conditional Compiling VB4.00 32 Bit to 16 Bit

Posted on 1997-10-14
3
188 Views
Last Modified: 2012-06-21
I would like to make VB exe-files for 16-Bit computers;
I use VB4.00 32Bit. I tried to re-install VB 4.00; the 16-bit version. Every time I get the mention "wrong run-time
DLL.
My question:
A. How can I create 16-BIT programs in VB 32-BIT or
B. What do I have to do to install the VB 16-BIT without
this "wrong run-time DLL" (Which Files do I have to erase first so that it works properly)

Toon Kuipers Netherlands
0
Comment
Question by:toonk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Author Comment

by:toonk
ID: 1437665
Edited text of question
0
 
LVL 9

Expert Comment

by:cymbolic
ID: 1437666
Perhaps it is a variation of the following problem with v 3.0:

- Standard and Professional Editions of Microsoft Visual Basic for

  Windows, version 3.0

SYMPTOMS
If a copy of an executable is running on your computer, and you try to create a new executable with the same name, you'll receive this error:
  Wrong version of runtime DLL.
followed by another error:
   Unexpected error quitting.
CAUSE
This error is caused by the fact that Windows doesn't load a new copy of a module if it thinks the module is already in memory. Because one instance of your .EXE file is running already, attempting to run the re-compiled version really just increments the usage count of the .EXE that is already running.

The Visual Basic error occurs because VBRUN300.DLL tries to open the .EXE file and read resources out of it. But the .EXE file you're reading from is different from the .EXE file that is actually running

The solution is to try your install on your system first thing, before you run anything that would install and leave installed the .dll that is causing the conflict.  
0
 
LVL 3

Accepted Solution

by:
vmpn earned 200 total points
ID: 1437667
Microsoft instructions for installation of for both 16 and 32 is located in Readme.txt in the root of install CD or first disket.  It stated that both versions must be installen in same directory and VB4.0 16 bit should be installed first.

Sincerely,
VMPN
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question