Look at this: http://www.tek-tips.com/gthreadminder.cfm/lev2/4/lev3/31/pid/223, there is an entire section of code that might help you. Good luck, I know how you feel.[Peace]
I have a program that uses word, excel, acrobat5, VB6, and posts to the web. The program works with a DOA conection. I am trying to upgrade the project to do away with the DAO. I have upgraded this with a hard coded connection and I can load the form, but when I try to run the program I get an...
Why not hard code your connection in a module? Try this:
Option Explicit
'We'll have a single connection to service multiple
'commands and recordsets
Public conMyConnect As New ADODB.Connection
'commands
Public cmdCustomers As New ADODB.Command
Public cmdInventory As New ADODB.Command
Public...
Adobe5 and VB6 are NOT compatable. You have to have a PSPrinter to connect the two fo them. This creates a .ps extention from a word doc. You have to call the distiller to convert to a PDF. I use a VB program to read an excel spreadsheet, if pub col = yes then I open word, call the PSPrinter...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.