954,582 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Visual Basic Error message!

I just designed a nice little program that lets me scroll through a database I made with little fuss. Now I have bypassed the first error's I was getting (something to do with ADO) but now I face a new problem. I can easily run the .exe on my computer (then computer i designed the program on) but when I move it to another computer it comes up with a strange error message. So I changed some of the properties and put the database file in c:/database.mdb then I swapped computers and put the database in the right directory but I still get this strange error message. It is saying something like CLASS NOT REGISTERED CLSID, i'm baffled.

tom_h_500
Light Poster
46 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

What ADO version is installed in the 2nd PC? Try to install the thast MDAC there.

Also, try to post the complete first "strange error message".

Alvein
Junior Poster
104 posts since Jul 2005
Reputation Points: 12
Solved Threads: 4
 

Post the relevant section of code also, say form_load if that's the portion of the EXE that's generating the error.

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

Im not really sure whats causing it I think taking the option of getting the latest MDAC would be the right cause to take and the error message is something like this

Class not registered
Looking for object with CLSID (0000003000203040)

It's that but with different numbers

tom_h_500
Light Poster
46 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

I have found the problem now I need to make an installer.

tom_h_500
Light Poster
46 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

Please document your case the way others can benefit from your thread.

Alvein
Junior Poster
104 posts since Jul 2005
Reputation Points: 12
Solved Threads: 4
 

Yeah, If you fixed it, what did you do?

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You