A1VBCode Forums

dll registering


http://www.a1vbcode.com/vbforums/Topic815.aspx

By shivsam - 7/5/2004

Hi friends,

I have added a dll reference (COM) from my VB program. When I register this dll, say from a batch file and if I start my VB appln (exe), its working fine. But if I register this dll (resvr32 /s dll_name) from my exe that is inside my vb code ( without calling that batch file outside) and if I run the exe :

It throws error :

error 91: Object variable or with block variable not set.

Please give a suggestion for the above.

It throws error in the below vb line code ( 'SET' line ) :

dim objec as new com_dll_name.interface_name

......

SET objec = com_dll_name.interface_name

Thanks in advance,
Sam
By Job_Foe - 5/15/2011

Hi ...All

I am newbie Programmer in Vb ..

is any one know How to declare *.dll example quartz.dll in vb code....?



I need your help on it...

Thanx First.









[color=#ffff00]Little Programmer[/color]