Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7091763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:13:42+00:00 2026-05-28T08:13:42+00:00

My silverlight application will have print capability, the printing module is created in separated

  • 0

My silverlight application will have print capability, the printing module is created in separated csharp project, and call the module using this code:

m_ComPrinterContoller = AutomationFactory.CreateObject(“ComPrinter.Application”);

My printing module is separated c# project and will create let say ComPrinter.dll, inside of it there is select default printer and printing for every forms that need to print.

In development laptop I will build the printing module and then I run my application smoothly, but in hardware machine it error, first the error is progId is not registered, so I register my ComPrinter.dll using RegAsm, because I cannot register it using regsvr32, and now the progId is registered, there is my dll name in HKCR (I run regedit and expand the HKEY_CLASSES_ROOT).

Now it already registered, but there is new error, a dialog message: “ComAutomation_CreateInstance”.

And when I install visualStudio and build the ComPrinter project, and then I run my application (not from visual studio, but from the application directly), and the application is run smoothly.

What is .net did when build and create .dll? it’s kind of registering the .dll but different from regsvr32 or regAsm. Or anyone have ever meet situation? how to register .Net dll COM and call it from silverlight application, and run it not in development computer

There is similar link that ask the same question: http://support.leadtools.com/CS/forums/35174/PrintPost.aspx, but it still not have answer.

Regards,
Imam

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T08:13:43+00:00Added an answer on May 28, 2026 at 8:13 am

    Use Regasm’s /codebase option as Hans Passant said

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a .NET application that will have both a WinForms and a Silverlight
I have a silverlight application which users will be running in various time zones
I have a Silverlight application that will run out of the browser. I want
I have a Silverlight application that has a DataGrid. I need to print the
I am using silverlight 4.0 in my application. I have a method in my
I have a Silverlight application architected using an MVVM approach. In my ViewModel it
I have read that silverlight application will be downloaded as a XAP file on
I have a application built in Silverlight, which will run on a ATOM processor
I have a Silverlight application that has three regions that will host the same
I have a Silverlight application that I am maintaining. I am currently using Visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.