Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Class doesn't support automation (error 430)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

I create a .exe for my VB application. I use the .exe on another computer. All is ok, but when I try to click on the add button of one form, it gives me that error...class doesn't support automation...why?? Anyone can help me please?

Thanks
 
That's only half the story, so I'll guess the rest.

Is your VB app (.exe) is using dll's of any kind (e.g. some.ocx or thing.dll) then you need to package your application and install it on the new machine before you use it.

If you know which dll's you are using and you have VB on the new machine then
1.copy the dll(s) into the system directory (C:\winnt\system32 or something)
2.register the dll(s) in DOS command (regsvr32 C:\winnt\system32\myactivex.dll)
3. run VB open the project and change dll(s) in project references

Ciao
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top