Solved

Conditional Compiling VB4.00 32 Bit to 16 Bit

Posted on 1997-10-14
3
177 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

829 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