-
Dec 28th, 2013, 12:13 AM
#1
Thread Starter
Lively Member
[RESOLVED] How To Add referece directly to .vbp file?
I know I can add reference from the project>references, But in many computers,(Most Win 7 Or Greater versions) Some "error accessing the system registry" errors are popping up. I have read all the posts on the net and done all the things they have said. But having no success, I gave up. Now I want to know how to add reference to vbp files. I I I I must be able to compile/run on any computer regardless. Any Help. My Current .vbp file has these settings:
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINDOWS\system32\STDOLE2.TLB#OLE Automation
Reference=*\G{2A75196C-D9EB-4129-B803-931327F72D5C}#2.8#0#C:\Program Files\Common Files\System\ado\msado15.dll#Microsoft ActiveX Data Objects 2.8 Library
Reference=*\G{3F4DACA7-160D-11D2-A8E9-00104B365C9F}#5.5#0#C:\WINDOWS\system32\vbscript.dll\3#Microsoft VBScript Regular Expressions 5.5
Reference=*\G{420B2830-E718-11CF-893D-00A0C9054228}#1.0#0#c:\windows\system32\scrrun.dll#Microsoft Scripting Runtime
Reference=*\G{10010001-E260-11CF-AE68-00AA004A34D5}#8.0#0#C:\Program Files\Microsoft SQL Server\80\Tools\Binn\sqldmo.dll#Microsoft SQLDMO Object Library
Object={86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCT2.OCX
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX
Object={5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0; MSFlxGrd.Ocx
Anyone Explain How to get those numbers
-
Dec 28th, 2013, 12:23 AM
#2
Re: How To Add referece directly to .vbp file?
If your machines are as messed up as you report, then it won't help to hand-insert those references either.
This isn't a "Windows 7 or greater" issue (and you should probably throw in Vista as well since Win7 and Win8.x are really just point-releases based on Vista) because people are using those OSs without incident. More likely VB6 was never properly installed.
Not only do you have to run the installation properly, you should take some post-install steps to make sure the VB6 IDE always runs elevated and has Desktop Composition disabled.
As for where you get that information, why the registry of course! But if you've already trashed that by mis-installing you are sort of stuck.
Reformat the hard drive, reinstall Windows, and then try reinstalling VB6 properly. Even if you try a VB6 reinstall and sorta kinda get it to work you'll be left with crap all over your registry database to haunt you for years.
-
Dec 28th, 2013, 03:25 AM
#3
Thread Starter
Lively Member
Re: How To Add referece directly to .vbp file?
It is my client's computer. Therefore I cannot reinstall or shutdown the computer (because it has sql servers etc). When I modify my program, which is a group project with dll project,I make .dll file first and including it in the projects reference before Making the executable.
-
Dec 28th, 2013, 04:20 AM
#4
Re: How To Add referece directly to .vbp file?
Why do you need to open Visual Basic 6 projects on the client computer?
You only need to make sure that your development is properly installed. The client PC does not matter.
-
Dec 28th, 2013, 06:05 AM
#5
Re: How To Add referece directly to .vbp file?
Originally Posted by BlueFox
I know I can add reference from the project>references, But in many computers,(Most Win 7 Or Greater versions) Some "error accessing the system registry" errors are popping up.
What's that got to do with the your project .vbp?
Nothing.
Show us these errors, because it is from here that we must begin to understand what's wrong.
-
Dec 28th, 2013, 07:41 AM
#6
Thread Starter
Lively Member
Re: How To Add referece directly to .vbp file?
I usually take my source code when installing some updates or for fixing some errors with me. I will run it on the client computer (Yes, I have vb6 installed on to solve the issues on site. Many of client computers are win7/8. There I get the error while accessing the menu project>references; Here is a snapshot
http://social.msdn.microsoft.com/Forums/getfile/135094.
I have no problem adding reference to my projects from my development computer (XP).
-
Dec 28th, 2013, 08:19 AM
#7
Re: How To Add referece directly to .vbp file?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|