I want to print pricing barcodes from Access 2000. I have done a make table query to supply the data for a program called BarTender from Seagul. I want to be able to print the batch of barcodes in one go (hence the table) and then dump the data using a button on a form. Everything works fine, barcodes batch properly etc, and I can print them but when I return back to Access, I get the error message 438 that the object or method is not supported. How do I get rid of the error message. The code is: the last line is where it falls down (but it works anyway). Seagull supply an automation control which I have put in my references.
Private Sub Command115_Click()
Dim stDocName As String
stDocName = "Barcode"
DoCmd.RunMacro stDocName
Dim btApp As BarTender.Application
Set btApp = CreateObject("BarTender.Application")
Dim btFormat As New BarTender.Format
btApp.Visible = True
btFormat = btApp.Formats.Open("C:\My Documents\BarTender\Formats\bunnings.btw", False, "")
End Sub
I may have the wrong peice of code, as I used code form a VB.Net example.
Any ideas?
Private Sub Command115_Click()
Dim stDocName As String
stDocName = "Barcode"
DoCmd.RunMacro stDocName
Dim btApp As BarTender.Application
Set btApp = CreateObject("BarTender.Application")
Dim btFormat As New BarTender.Format
btApp.Visible = True
btFormat = btApp.Formats.Open("C:\My Documents\BarTender\Formats\bunnings.btw", False, "")
End Sub
I may have the wrong peice of code, as I used code form a VB.Net example.
Any ideas?