Home All Groups Group Topic Archive Search About
Author
12 May 2005 5:53 AM
Mo
I ran into the automation error in VB when I tried executing my DLL.

I instantiated the DLL:

Public withevents objLogin as cLogin.Login
Set objLogin = new login
objLogin.User = "UserName"

It errors out on the Set ObjLogin = new Login
THis is the error:
Runtime error '-2147024770 (8007007e)'

Automation error
The specified module could not be found.

Here are the steps I took to attempt fix the problem:
recompiled dll
Remove the reference
Unregister dll
register dll
Added reference


Thankz
Mario

mo***@charter.net

Author
12 May 2005 12:31 PM
Tim
Mo wrote...
> I ran into the automation error in VB when I tried executing my DLL.
>
> I instantiated the DLL:
>
> Public withevents objLogin as cLogin.Login
> Set objLogin = new login


Have you tried this...
  Set objLogin = New cLogin.login



Show quote
> objLogin.User = "UserName"
>
> It errors out on the Set ObjLogin = new Login
> THis is the error:
> Runtime error '-2147024770 (8007007e)'
>
> Automation error
> The specified module could not be found.
>
> Here are the steps I took to attempt fix the problem:
> recompiled dll
> Remove the reference
> Unregister dll
> register dll
> Added reference
>
>
> Thankz
> Mario
>
> mo***@charter.net
>
>
Author
12 May 2005 2:58 PM
Veign
From a post by Jeff Johnson:

"You have posted this question individually to
multiple groups. This is called Multiposting
and it's BAD. Replies made in one group will
not be visible in the other groups, which
may cause multiple people to respond to your
question with the same answer because they
didn't know someone else had already done it.
This is a waste of time.

If you MUST post your message to multiple
groups, post a single message and select all
the groups (or type their names manually,
separated by commas) in which you want it to
be seen. This is called Crossposting and when
used properly it is GOOD."

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--
Read. Decide. Sign the petition to Microsoft.
http://classicvb.org/petition/


Show quote
"Mo" <mo***@charter.net> wrote in message
news:SbCge.7711$sV7.7227@fe02.lga...
>
> I ran into the automation error in VB when I tried executing my DLL.
>
> I instantiated the DLL:
>
> Public withevents objLogin as cLogin.Login
> Set objLogin = new login
> objLogin.User = "UserName"
>
> It errors out on the Set ObjLogin = new Login
> THis is the error:
> Runtime error '-2147024770 (8007007e)'
>
> Automation error
> The specified module could not be found.
>
> Here are the steps I took to attempt fix the problem:
> recompiled dll
> Remove the reference
> Unregister dll
> register dll
> Added reference
>
>
> Thankz
> Mario
>
> mo***@charter.net
>
>

AddThis Social Bookmark Button