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

  • Home
  • SEARCH
  • 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 3230580
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:56:37+00:00 2026-05-17T16:56:37+00:00

I have a third party dll that I am trying to reference in my

  • 0

I have a third party dll that I am trying to reference in my Silverlight project. I am able to use this dll and reference it in a test WPF application. Trying to reference this same dll in my silverlight application is not working. I am using the automationFactory class to get a handle on the dll but I am not sure if I am doing this correctly.

dynamic btApp = AutomationFactory.CreateObject("BarTender.Application");

By putting Bartender.Application as the argument in the CreateObject method I am able to get a handle on a dll, but Im afraid it is not the correct dll. How do I reference a particular dll that I need to use.


Code

dynamic btApp = AutomationFactory.CreateObject("BarTender.Application"); 
//dynamic btMessages = null; 
dynamic btFormat = btApp.Formats.Open("c:\\Temp/Format1.btw", false, "");
btFormat.SetNamedSubStringValue("testing", barcodeValue); 
btFormat.Print("Job1");
btFormat.Close(2);
  • 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-17T16:56:38+00:00Added an answer on May 17, 2026 at 4:56 pm

    Silverlight is a complete different framework from wpf. You need to get a the dll built for the silverlight runtime.

    Reason: WPF is more integrated into windows/.net framework. This Dll may reference system calls. Silverlight has its own framework (very small subset of the .net framework).


    Silverlight 4:

    If shipping the library: This guy explained it here.


    I do not suggest usint COM integration for this purpose (I see something about Print(). Maybe that DLL requires the full .net framework. Not all users of silverlight will have that. Its best if you go WPF.

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

Sidebar

Related Questions

I have a third-party .net DLL that I installed and registered, and appears in
A website I'm working on is using a third-party assembly, let's say A.dll. This
I have a class in third party DLL. Class A { } I need
I have two different libraries critical to my application that are dependent on different
I have a Windows Forms application and am deploying that application through ClickOnce deployment.
I have a Windows Forms application and am deploying that application through ClickOnce deployment.
So I'm left maintaining a proprietary codebase from a third-party vendor. The vendor is
I have to call functions from a custom dll from BizTalk orchestrations (similar to
I am writing an R extension that includes C code that relies on a

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.