Solved

visual basic 6 works on one machine not the other - both windows 7 64 bit

Posted on 2014-02-04
13
40 Views
Last Modified: 2016-06-13
I have two Windows 7 64 bit computers running Visual Basic 6.

On computer 1, vb6 works fine - the reference is "Visual Basic for Applications" vba6.dll .

On computer 2, vb6 is not working properly but same reference "Visual Basic for Applications" is shown as msvbvm60.dll .

As a start on my debugging I need to have computer #2 referencing vba6.dll but can't remove the offending reference msvbvm60.dll -- I get a warning that it is in use.

I attach print screens ...

Any ideas would be helpful.

The working referencethe Not working Reference
0
Comment
Question by:RalphGM
  • 6
  • 3
13 Comments
 
LVL 15

Expert Comment

by:Jagadishwor Dulal
Comment Utility
The Second one does not have Autocad 2007 type library it's ole automation. Did try scrolling down and adding library? And you are not sure that the first pc have installed vb 6 in 32 bit and second one in 64 bit. See your image and get the path have (x86).
0
 

Author Comment

by:RalphGM
Comment Utility
I can add the autocad type library but that makes no difference.  I can communicate with autocad on computer 2 but some methods do not work on computer 2 - which I believe is caused by the difference in the references I noted.
0
 
LVL 15

Expert Comment

by:Jagadishwor Dulal
Comment Utility
That's the problem of your os the first computer is using 32bit for vb and second one is using 64 bit in vb see my previous answer again updated. And now manage the dll file path.
0
 

Author Comment

by:RalphGM
Comment Utility
How can I get vb6 on computer 2 to use 32 bit then?
0
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 500 total points
Comment Utility
I think you need to reinstall vb6 in 32 bit in second computer.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:RalphGM
Comment Utility
I can try re-installing vb6 in computer 2 - but I don't recall it ever asking to install as 32 bit or 64 bit.

Both Help screens in both computers indicate the vb6 application is 32 bit.  Not sure how vb6 would install differently in one computer and not the other.

I think we are close to a solution- I just don't see how a 32 bit application can install as a 64 bit application.
0
 
LVL 5

Expert Comment

by:advfinance
Comment Utility
There is no 64-bit version of VB6. Does the referenced file - "C:\Program Files (x86)\Microsoft Visual Studio\VB98\VBA6.DLL" - exist on the second machine?

--
Chris
0
 

Author Comment

by:RalphGM
Comment Utility
The vba6.dll is in c:\program files (x86)\microsoft visual studio\vb98 directory
0
 

Author Comment

by:RalphGM
Comment Utility
I am aware that vb6 is 32 bit - but not sure how it can install as a 64 bit application.
0
 

Assisted Solution

by:RalphGM
RalphGM earned 0 total points
Comment Utility
I RESOLVED this by re-installing vb6  -Thanks for the Help
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
squareUp  challenge 22 104
scoresAverage challenge 8 75
bunnyEars challenge 6 62
countHi challenge 25 84
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now