Missing runtime files/libraries

fazy

New member
Local time
Today, 09:57
Joined
May 10, 2010
Messages
2
Hi,

this is my first post at this forum - regarding the folowing problem:

I inherited a VB6 application to maintain. I'm trying to install it on a "clean" system (Windows Server 2003 R2), that means no VB6 development env. was/will be/can be installed.

I've been getting several error messages when trying to make it run. I checked through Process Monitor 2.9 and found some missing filenames (comctl32.ocx for controls and msvbvm60.dll - virtual machine). Yet I'm still having a problem with following codepart (when commented, the application starts correctly):

Setupform.Checkbox1 = 0

For this part of code, I get the error message 3055 "Not a valid file name"

When I tried to see its definition in VBE (on another system - Windows Server 2000), first I wasnt allowed to since it was hidden. I unhid everything in Object Browser and now I get this: "Cannot jump to Checkbox1 because its in th elibrary "Unknown1", which is not currently referenced." Interesting is that yet it does run correctly after compiling on this system (either via .exe file or directly in VBE).

Do you please have any idea, what I've been missing?

Thanks a lot in advance!
 
how are you trying to install it?

did you create an install package?
 
Yes, I created a setup package via Package and Depl. Wizard. I let all the suggested files to be included in it.

I just spotted it shows an info for scrrun.dll - "the dependecny information is out of date". Does that mean the file itself is out of date or where's the dependency information stored? I run Package and Depl. Wizard on W2000 OS with VB6 installed on it and the appl. runs properly on this system.

Is the dependency information for a specific file stored in the project metadata? Could the problem be that it needs to be updated somehow? But in that case the appl. wouldn't run on any system, right?


how are you trying to install it?

did you create an install package?
 
I am having a very similar issue where an older Access 2000 program seems to work fine in Access 2003, but when opened in Access 2007 I get error messages like comctl32.ocx missing / link broken. I also have lost the ability to choose record details by clicking it. It always brings up record 1.

Is there a set process to overcome this and perhaps other 2003 to 2007 incompatibility?
 
it is really not a compatability issue as much as a deployment issue.

I always check the references in the VBA Editor and make sure all the libraries used are included in the install package.

If there are any missing references then your database probably will not function without issues.

I like to test my installer on a clean/new Windows install to be sure I am getting all the requied files properly installed.

This is a common issue with all software deployment. It is not limited just to Access deployments.
 
Point taken. Must be 15 years since I did any real programming....
Downloaded VB 6.0 Distribution packages from MS and dragged the final missing comctl32.ocx from another computer.
It's just an older database that two workers need access to so not to bothered about creating a nice install package.
No doubt you'll see my next question on the forum in the next few minutes.
 

Users who are viewing this thread

Back
Top Bottom