Solved

Visual Basic question

Posted on 1997-09-01
1
210 Views
Last Modified: 2013-11-25
We've developed an application which runs and installs fine on our development machine, the problem arises when we try to install on somebody elses machine.  During the setup stage (created by setup-wizard) we recieve several error messages:

Cannot load (or register) custom control GRAPH16.OCX
Cannot load (or register) custom control DAO2516.DLL
Could not read from file MSAJT200.DLL

We have definitely included these during compilation, what would give these kind of errors and how do we go about fixing it?

We are using Visual Basic V4.0
0
Comment
Question by:nikkkmp
1 Comment
 
LVL 1

Accepted Solution

by:
Jedi earned 100 total points
ID: 1433278
Been there !

Files needed to perform the registration of a OCX and DLL files are missing in the definition of software dependencies.

If the target computer does not have VB or VC installed the setup program will
fail to register the OCX,DLL files.

I'm sure you can get a complete file from somewhere, but as I view a compare between my old file and my working file these are the changes:

The files missing are: msvcrt.dll and msvcirt.dll

Add two sections somwhere in the file mine are located after
the "[MSVCRT40.DLL]" section as.

[MSVCRT.DLL]
Register=
Dest=$(WinSysPath)
Uses1=
[MSVCIRT.DLL]
Register=
Dest=$(WinSysPath)
Uses1=

Add these files under the "VB Runtime section" as

[VB Runtime 0409-32]
Register=
Dest=$(WinSysPath)
Uses1=VB40032.DLL
Uses2=ven2232.olb
Uses3=olepro32.dll
Uses4=msvcrt20.dll
Uses5=msvcrt40.dll
Uses6=ctl3d32.dll
Uses7=msvcrt.dll
Uses8=msvcirt.dll

But make a backup before, I dont want to destroy your system.
Hope this helps !
//Jedi
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…
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…

822 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