Key in your email here
Font Products
 Barcode Fonts
  • Code 39 Barcode
  • Code 128 Barcode
  • UCCEAN Barcode
  • ITF14 Barcode
  • I2of5 Barcode
  • UPC/EAN Barcode
  • GS1 Databar Barcode
 Download ConnectCode
 MICR Fonts
  • MICR E13B
  • MICR CMC7
 Download MICR

Using the Fonts
  • With the Font Encoder
  • With Excel
  • With Access
  • With Word
  • With Crystal Reports
  • Application Integration
     • With C#
     • With Visual Basic
     • With WPF (C#)
     • With WPF (VB)
     • With Visual C++

SDK Products
 .Net Barcode SDK
 Download SDK

Software Products
 Barcode Software Imager
 Download Imager


Barcode FAQ
 Barcode
  • Barcode Symbology
  • Barcode FAQ
  • Barcode Images
  • Barcode Font
 RFID
  • What is RFID?
 Thermal Printers
 Barcode Scanners
 OCR & OCR Fonts
 MICR & MICR Fonts

Barcode Resources
 Web Resources
 The Barcode CD Project
 Mobile Barcode Project



Configuring Visual Studio 2005

Copying ConnectCodeBarcodeLibrary.dll

You will need to copy ConnectCodeBarcodeLibrary.dll to the PrivateAssemblies directory of Visual Studio 2005. The default directory is

C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\.

Editing RSPreviewPolicy.config to grant FullTrust permission

The RSPreviewPolicy.config is the Report Designer preview policy file. The default path for this file is

[VS2005Directory]\Common7\IDE\PrivateAssemblies\RSPreviewPolicy.config.

The following tag will need to be added to the RSPreviewPolicy.config file. It grants FullTrust permission to ConnectCodeBarcodeLibrary.dll for previewing in the Report Designer.

<CodeGroup class="UnionCodeGroup"
Name="BarcodeControl" version="1" PermissionSetName="FullTrust"
Description="This code group grants ConnectCodeBarcodeLibrary.dll
FullTrust permission.">

<IMembershipCondition class="UrlMembershipCondition"
version="1" Url="C:\Program Files\Microsoft Visual
Studio 8\Common7\IDE\PrivateAssemblies\ConnectCodeBarcodeLibrary.dll"/>
</CodeGroup>

When you edit the RSPreviewPolicy.config file file, you may notice several <CodeGroup> tags already exists and are nested inside one another. You may insert the above tag at the most inner level at the bottom. For example

<CodeGroup>

<CodeGroup>
<CodeGroup>
</CodeGroup>
.
.
.
[insert the CodeGroup tag here]
</CodeGroup>
</CodeGroup>

Configuring Visual Studio 2008

Copying ConnectCodeBarcodeLibrary.dll

You will need to copy ConnectCodeBarcodeLibrary.dll to the PrivateAssemblies directory of Visual Studio 2008. The default directory is usually located at

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies.

Editing RSPreviewPolicy.config to grant FullTrust permission

The RSPreviewPolicy.config is the preview policy file of the Report Designer. The default path for this file is

[VS2008Directory]\Common7\IDE\PrivateAssemblies\RSPreviewPolicy.config.

The following tag will need to be added to the RSPreviewPolicy.config file. It grants FullTrust permission to the ConnectCodeBarcodeLibrary.dll for previewing in the Report Designer.

<CodeGroup class="UnionCodeGroup" Name="BarcodeControl" version="1"
PermissionSetName="FullTrust"
Description="This code group grants ConnectCodeBarcodeLibrary.dll
FullTrust permission.">

<IMembershipCondition class="UrlMembershipCondition" version="1"
Url="C:\Program Files\Microsoft Visual Studio
9.0\Common7\IDE\PrivateAssemblies\ConnectCodeBarcodeLibrary.dll"/>
</CodeGroup>

When you edit the RSPreviewPolicy.config file file, you may notice several <CodeGroup> tags already exists and are nested inside one another. You may insert the above tag at the most inner level at the bottom. For example

<CodeGroup>

<CodeGroup>
<CodeGroup>
</CodeGroup>
.
.
.
[insert the CodeGroup tag here]
</CodeGroup>
</CodeGroup>

Back to Reporting Services page.

Back to .Net Barcode SDK page.

Back to Barcode Software main page.

Copyright (C) 2004-2012, BarcodeResource.com. All Rights Reserved.