Error At Bartender Code C# Follow

0
Avatar
Legacy Poster

Hi there. I was trying to call out my bartender 9.4 and print its label format via C# program.

I have referred the Bartender White Paper to help me starting it. Everything was fine until yesterday i tried to compile and run the program,it shows this error at this statement
[code]btApp = new BarTender.ApplicationClass();[/code]
suddenly.

COM Execption was unhandled.
Creating an instance of the COM component with CLSID {B9425246-4131-11D2-BE48-004005A04EDF} from the IClassFactory failed due to the following error: 80040112.

I have tried to create a new and rewrite all the codes again and test see.It still gives me this error and can't run the program.I have tried online search and yet still didn't have any clue about it.

Anyone having this issue before? Any help would be appreciated.Thanks.

2 comments

0
Avatar
Legacy Poster
Comment actions Permalink

I think i have known the reason already.I was using Bartender Automation Enterprise 9.4 Trial version for this and its trial period just finished yesterday.
So, i was thinking maybe it has lost its automation function due to it.

Anyone would clarify for me? Thanks.
0
Avatar
Shotaro Ito
Moderator
Comment actions Permalink

You're right, After Trial period has expired, you cannot execute BarTender from Automation project (ActiveX, .net SDK or Commander) and a COM Exception will be thrown in such case.
Please contact a regional distributor to procure a license, or [url="http://www.seagullscientific.com/aspx/contact_us.aspx"]contact our Sales[/url] in your region.

Please sign in to leave a comment.