| Posted: February 21 2008 at 6:50am | IP Logged
|
|
|
Hi,
Just trying out the demo version in .NET and everytime I run my app I keep getting an error message saying that the ActiveX Control cannot be created.
I have checked the object is registered to the machine, and I have added the dll to my project. I can also navigate all the options by typing 'encoder.'.
Any ideas?
(Code below)
Imports System.data
Imports PDF417FontEncoderAxLib
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim Encoder As New PDF417FontEncoderAxLib.PDFFontEncoder
Dim Output As String
Dim lsMessage As String
lsMessage = "This is a test"
Output = ""
Try
Output = Encoder.Encode(lsMessage)
Catch ex As Exception
labBarCode.Text = ex.Message
End Try
If Output <> "" Then
labBarCode.Text = Output
End If
End Sub
End Class
Thanks.
Scot.
|