Solved

Conditional Compiling VB4.00 32 Bit to 16 Bit

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

740 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