PROBLEM WITH REGISTERING DLL (HELP!!!!!!!)

Hi there,

Pls would someone advise me on the following:

I have a Completed Visual Basic Program with 3 DLLs and an Exe file.

1.  In order to install the program for user testing purpose, I compiled the 3 DLLs and exe under the following names.  The names are as follow and the 3DLLs and Exe are saved in the folder TEST_SYSTEM


  Compute_Test.dll
  Project1_Test.dll
  Project2_Test.dll
  HT_Test.exe

2.  In order to have a live version of the same program, I have compiled another set of the 3 DLLs and Exe.  The names are as follow and the 3DLLs and Exe are saved in the folder
LIVE_SYSTEM

  Compute_Test.dll
  Project1_Test.dll
  Project2_Test.dll
  HT_Test.exe

PROBLEM:

In order to run the program, I did a setup.exe program. I then manually registered the DLLs for the TEST system using the following commands.

FOR THE TEST SYSTEM
regsvr32 C:\TEST_SYSTEM\Compute_Test.dll
regsvr32 C:\TEST_SYSTEM\Project1_Test.dll
regsvr32 C:\TEST_SYSTEM\Project2_Test.dll

RESULT: The TEST system works perfectly well


I then registered the 3DLLs in the LIVE_SYSTEM folder

FOR THE LIVE SYSTEM
regsvr32 C:\LIVE_SYSTEM\Compute_Live.dll
regsvr32 C:\LIVE_SYSTEM\Project1_Live.dll
regsvr32 C:\LIVE_SYSTEM\Project2_Live.dll

RESULT:The Live system is running well BUT if I try to run the TEST System an error message appeared: CLASS DOES NOT SUPPORT AUTOMATION. In order to run the Test system again,
I have to do the Dll registration again. i.e. the following commands that I have applied earlier.

FOR THE TEST SYSTEM
regsvr32 C:\TEST_SYSTEM\Compute_Test.dll
regsvr32 C:\TEST_SYSTEM\Project1_Test.dll
regsvr32 C:\TEST_SYSTEM\Project2_Test.dll

RESULT:This time the test system is WORKING but the LIVE SYSTEM faced the same error message that the TEST SYSTEM faced earlier.  So to run the LIVE SYSTEM, I NOW needs to
re-registered the DLL of the LIVE SYSTEM after which the
TEST system will have the AUTOMATION error message.

Can someone teach me a way of registering the DLLs for both
the TEST and LIVE system such that both can be set to working. i.e. I need not have to do the re-registering


Many thanks

Morgan
 
MCAIGTK3Asked:
Who is Participating?
 
srirambmConnect With a Mentor Commented:
Either change the names of the DLL's between live and test or install them in your windows system directory as shared.
0
 
MCAIGTK3Author Commented:
Edited text of question.
0
 
RandomTaskCommented:
Are they VB DLL's?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
MCAIGTK3Author Commented:
Yes, they are all VB6.0 DLLs

0
 
RandomTaskCommented:
Are both sets of DLL's compiled from the same project files, if so then the earlier references could possibly have been outdated.
0
 
MCAIGTK3Author Commented:
I have saved the projects in two different folders; LIVE and TEST.
0
All Courses

From novice to tech pro — start learning today.