Saltar al contenido principal

Búsqueda

Búsqueda

Additional References Required?

Comentarios

11 comentarios

  • Avatar
    Domingo Rodriguez
    Moderador

    In your Visual Studio project, make sure to add the reference via the "Project > Add Reference" dialog.

     

    If it's COM (ActiveX Automation) you're using, select the "COM" tab and add the reference to the corresponding "BarTender" object.

     

    If it's .NET (using the SDKs) then select the ".NET" tab and add the reference to "Seagull.BarTender.Print" 

    0
  • Avatar
    Legacy Poster

    Thanks for the response.  I'm using the .net (SDK) and I've already added the reference to the "Seagull.BarTender.Print" assembly and other classes, and methods work fine.  I'll continue to investigate, and if you have any additional suggestions I'd appreciate it.

    Thanks again

    RB

    0
  • Avatar
    Domingo Rodriguez
    Moderador
    What exact Edition, Version and Build of BarTender do you have?

    I take it that you'll find "Interop.BarTender.dll" under the Windows GAC (C:\Windows\assembly)? If yes, of what version is it?
    0
  • Avatar
    Legacy Poster

    I'm running Enterprise Automation Trial Version 10.1 SR@ Build 2945.  Using the trial version during our "Proof of concept" of development.

    0
  • Avatar
    Domingo Rodriguez
    Moderador

    I take it that you'll find "Interop.BarTender.dll" under the Windows GAC (C:\Windows\assembly)? If yes, of what version is it? 

    0
  • Avatar
    Legacy Poster
    I'm getting the same error here using the following:
    Bartender Enterprise Edition Version 10.1 SR2
    Build 2945
     
    Interop.Bartender.dll verison = 10.1.2.1
     
    I have confirmed this problem happens in VS2010 and VS2012.
     
    What do I do to fix this?
    Is this a .dll problem or is it me?
     
    Code for reference.
    Imports Seagull.BarTender.Print
     
    Public Class Form1
     
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            Using btengine As New Engine
                Dim labelf As New LabelFormat("C:\Test.btw") <----FAIL
            End Using
        End Sub
     
    End Class
    0
  • Avatar
    Legacy Poster

    Tried opening the Task Master Sample  print server SDK program and I'm getting the same problem.

     

    Help.......

    0
  • Avatar
    Domingo Rodriguez
    Moderador

    I've sent a message to our development team on this. I get exactly the same problem as you when trying to run the Task Master example.

    0
  • Avatar
    Legacy Poster

    Domingo R,

     

    Thank you for your response.

    Please let me know when your development team has fixed this issue.

    0
  • Avatar
    Domingo Rodriguez
    Moderador

    With regards to the Task Master example, it has an error on it, because it needs to reference to BarTender.Interop.dll and it currently doesn't. The same will apply to the different projects you've been trying to compile and which failed.

     

     

    1) Close the TaskMaster project.

    2) Using an editor (such as Notepad++) edit the TaskMaster.vbproj file.

    3) Scroll down until you see the following chunk of text.


    <ItemGroup>
        <Reference Include="Seagull.BarTender.Print, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
          <SpecificVersion>False</SpecificVersion>
          <HintPath>..\..\..\Seagull.BarTender\bin\Release\Seagull.BarTender.Print.dll</HintPath>
        </Reference>
        <Reference Include="System" />
        <Reference Include="System.Data" />
        <Reference Include="System.Deployment" />
        <Reference Include="System.Drawing" />
        <Reference Include="System.Windows.Forms" />
        <Reference Include="System.Xml" />
      </ItemGroup>
     

    Below the <ItemGroup> tag add:

    <Reference Include="Interop.BarTender, Version=10.1.2.1, Culture=neutral, PublicKeyToken=109ff779a1b4cbc7, processorArchitecture=MSIL" />
     

    The section should now look like:

    <ItemGroup>
        <Reference Include="Interop.BarTender, Version=10.1.2.1, Culture=neutral, PublicKeyToken=109ff779a1b4cbc7, processorArchitecture=MSIL" />
        <Reference Include="Seagull.BarTender.Print, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
          <SpecificVersion>False</SpecificVersion>
          <HintPath>..\..\..\Seagull.BarTender\bin\Release\Seagull.BarTender.Print.dll</HintPath>
        </Reference>
        <Reference Include="System" />
        <Reference Include="System.Data" />
        <Reference Include="System.Deployment" />
        <Reference Include="System.Drawing" />
        <Reference Include="System.Windows.Forms" />
        <Reference Include="System.Xml" />
      </ItemGroup>

     

     

    4) Save the file.

    5) Reload the TaskMaster VB.NET project.

    The project should now compile.

    0
  • Avatar
    Ian Cummings
    Moderador

    Check out BarTender 2016, now supporting x64 and .NET framework 4.0: http://www.seagullscientific.com/downloads/label-software/barcode-label-printing-software-download/

    0

Iniciar sesión para dejar un comentario.