Home Page link  

DLL Created using vb.net 2.0... Could not create object.

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here

 Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
DLL Created using vb.net 2.0... Could not create object. KJ 07-20-2006
Posted by KJ on July 20, 2006, 10:31 am
Please log in for more thread options
Hi all,

I created a simple DLL for use with the begin tender hook in the POS. I get
a message when the event fires saying "Attempt to execute COM object
'blah.blah' failed. Could not create object." Has anyone else experienced
this or know why and can you point me in the right direction? Probably has
something to do with how I created my DLL...just a guess.

KJ

Posted by Glenn Adams [MVP - Retail Mgmt on July 20, 2006, 11:01 am
Please log in for more thread options
It's probably because you haven't gotten your dll registered properly
for COM. I've done it with VS2003, but VS2005 may have changed
something. You used to use REGASM to register the assembly so that COM
applications could find it. I suspect that is still the same, but
again, I haven't tried in VS 2005. Check MSDN for info on registering
you assembly for COM...

Glenn Adams
Tiber Creek Consulting
http://www.tibercreek.com
glenn@tibercreek.com
----------------------------------------------
Please DO NOT respond to me directly but post all responses here in the
newsgroup so that all can share the information.


KJ wrote:
> Hi all,
>
> I created a simple DLL for use with the begin tender hook in the POS. I get
> a message when the event fires saying "Attempt to execute COM object
> 'blah.blah' failed. Could not create object." Has anyone else experienced
> this or know why and can you point me in the right direction? Probably has
> something to do with how I created my DLL...just a guess.
>
> KJ

Posted by KJ on July 20, 2006, 11:44 am
Please log in for more thread options
Hi Glenn, Thanks for the quick reply...I will check out MSDN.

"Glenn Adams [MVP - Retail Mgmt]" wrote:

> It's probably because you haven't gotten your dll registered properly
> for COM. I've done it with VS2003, but VS2005 may have changed
> something. You used to use REGASM to register the assembly so that COM
> applications could find it. I suspect that is still the same, but
> again, I haven't tried in VS 2005. Check MSDN for info on registering
> you assembly for COM...
>
> Glenn Adams
> Tiber Creek Consulting
> http://www.tibercreek.com
> glenn@tibercreek.com
> ----------------------------------------------
> Please DO NOT respond to me directly but post all responses here in the
> newsgroup so that all can share the information.
>
>
> KJ wrote:
> > Hi all,
> >
> > I created a simple DLL for use with the begin tender hook in the POS. I get
> > a message when the event fires saying "Attempt to execute COM object
> > 'blah.blah' failed. Could not create object." Has anyone else experienced
> > this or know why and can you point me in the right direction? Probably has
> > something to do with how I created my DLL...just a guess.
> >
> > KJ
>

Posted by clabadie on July 20, 2006, 5:09 pm
Please log in for more thread options
I have created 2005 DLL's, but I could only get them to work on my machine
that had vb.net 2005 installed unless I created an install package and ran
the install package on other machines. REGASM didn't seem to cut it in 2005.

Chris
LANAC Technology
clabadie@lanactech.com

"KJ" wrote:

> Hi Glenn, Thanks for the quick reply...I will check out MSDN.
>
> "Glenn Adams [MVP - Retail Mgmt]" wrote:
>
> > It's probably because you haven't gotten your dll registered properly
> > for COM. I've done it with VS2003, but VS2005 may have changed
> > something. You used to use REGASM to register the assembly so that COM
> > applications could find it. I suspect that is still the same, but
> > again, I haven't tried in VS 2005. Check MSDN for info on registering
> > you assembly for COM...
> >
> > Glenn Adams
> > Tiber Creek Consulting
> > http://www.tibercreek.com
> > glenn@tibercreek.com
> > ----------------------------------------------
> > Please DO NOT respond to me directly but post all responses here in the
> > newsgroup so that all can share the information.
> >
> >
> > KJ wrote:
> > > Hi all,
> > >
> > > I created a simple DLL for use with the begin tender hook in the POS. I get
> > > a message when the event fires saying "Attempt to execute COM object
> > > 'blah.blah' failed. Could not create object." Has anyone else experienced
> > > this or know why and can you point me in the right direction? Probably has
> > > something to do with how I created my DLL...just a guess.
> > >
> > > KJ
> >

Posted by KJ on July 21, 2006, 10:58 am
Please log in for more thread options
I was able to create a couple DLL's and get cashier, transactions etc...but
in order for RMS to find the DLL's they have to be in the "Store Operations"
directory. Is there something I have missed? I thought I would be able to
create a directory under "Store Operations" called "AddIns" and put the
plugins I create in there...

KJ

"clabadie" wrote:

> I have created 2005 DLL's, but I could only get them to work on my machine
> that had vb.net 2005 installed unless I created an install package and ran
> the install package on other machines. REGASM didn't seem to cut it in 2005.
>
> Chris
> LANAC Technology
> clabadie@lanactech.com
>
> "KJ" wrote:
>
> > Hi Glenn, Thanks for the quick reply...I will check out MSDN.
> >
> > "Glenn Adams [MVP - Retail Mgmt]" wrote:
> >
> > > It's probably because you haven't gotten your dll registered properly
> > > for COM. I've done it with VS2003, but VS2005 may have changed
> > > something. You used to use REGASM to register the assembly so that COM
> > > applications could find it. I suspect that is still the same, but
> > > again, I haven't tried in VS 2005. Check MSDN for info on registering
> > > you assembly for COM...
> > >
> > > Glenn Adams
> > > Tiber Creek Consulting
> > > http://www.tibercreek.com
> > > glenn@tibercreek.com
> > > ----------------------------------------------
> > > Please DO NOT respond to me directly but post all responses here in the
> > > newsgroup so that all can share the information.
> > >
> > >
> > > KJ wrote:
> > > > Hi all,
> > > >
> > > > I created a simple DLL for use with the begin tender hook in the POS. I get
> > > > a message when the event fires saying "Attempt to execute COM object
> > > > 'blah.blah' failed. Could not create object." Has anyone else experienced
> > > > this or know why and can you point me in the right direction? Probably has
> > > > something to do with how I created my DLL...just a guess.
> > > >
> > > > KJ
> > >

Similar ThreadsPosted
Need help on: "Attempt to execute COM object 'MyTest.MyTest' failed. Could not create object." July 12, 2005, 4:26 am
C# addin cannot create object January 9, 2007, 7:58 am
Active X Component Can't Create Object December 9, 2006, 6:58 pm
ActiveX component can't create object February 26, 2007, 10:35 am
RMS - 'Could not create object' in Custom Extension September 3, 2008, 10:37 pm
"Runtime Error 429: ActiveX can not create object" March 27, 2007, 7:03 pm
Runtime error 429 Active X component can't create object June 6, 2007, 1:49 am
serial number can not be created in POS June 29, 2005, 12:51 pm
tare weight - how are these created? July 24, 2005, 10:07 pm
Items Created at the Store September 19, 2005, 6:35 am

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap