|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Automation ErrorI 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 Mo wrote...
> I ran into the automation error in VB when I tried executing my DLL. Have you tried this...> > I instantiated the DLL: > > Public withevents objLogin as cLogin.Login > Set objLogin = new login 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 > > 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." -- Show quoteChris 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/ "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 > > |
|||||||||||||||||||||||