Connect To Lib:// File Through Vbs?
Hi Everyone,
We are migrating to Librarian as our layout-management solution. Several of our layouts use VBS to connect to and retrieve data from local files (e.g. use ADODB/OLEDB to connect to an Access file in VBS). Since adding files other than BarTender-Formats to Librarian seems to work without problems, we were hoping to also again connect to these files within Librarian.
As for now, our VBS code yields an error, saying that "lib://Data/datasource.mdb" (example) is not a valid path (hard to blame VBS... ;)).
So I guess my question is: How can I connect to a Librarian file from within a BarTender layout (preferably through VBS)?
Thanks
-
Shotaro Ito
★ BarTender Hero ★
There's no good way of doing that. OLEDB/ODBC doesn't support librarian. (OLEDB's made by Microsoft, so they know nothing about Librarian.)
I would store database in the SQL server instead of Access - though need to create another database than the system database.
0 -
Legacy Poster
★ BarTender Hero ★
Thanks for your answer;
Just to be clear: I don't necessarily need OLEDB/ODBC; any way of connecting to the file through VBS will do - but as I understand, there is no such way since VBS cannot interact with Librarian, correct?
0 -
Shotaro Ito
★ BarTender Hero ★
You're right - Librarian can only be accessed from BarTender suite or .net Librarian SDK. BarTender's VB script is run through WSH (windows scripting host) and that doesn't have access to Librarian.
0 -
Legacy Poster
★ BarTender Hero ★
Ok, makes sense.
Many thanks for your support.
0 -
Legacy Poster
★ BarTender Hero ★
how i can make a new PDF417 code with data i have mobile phone IMEI
i want minimum 20 IMEI in one PDF417 Code but i dont know how to put data and how to generate new code
anybody can help me or send me PDF417 Code Symbol
I am Using barcode 10 with license0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare