Do you have microsoft data link? If you have you can use it to build your connection string. Failing that, if you intend to use ADO then you can create a ado recordset control on a vb6 form and use the properties section to create yourself a connection string.
I have managed to set up the connection string, i get the error message in my browser now saying cant find the ODBC driver. However i do have the Pervasive drive installed on my machine and on the web server.
You need to make sure that the DSN you're using (if you're using a DSN) is a System DSN. It cannot be a User of File DSN. If you're using a DSNless connection, post the Connection string and we'll take a look at it.
info@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
Hi
I hope I am not too late with my connectionstring.
Advice: For Pervasive 7.0 use the MS generic SQL driver:
Call conn.Open("Provider=MSDASQL.1;Persist Security Info=False;Extended Properties=DRIVER={Pervasive Software ODBC-32};DATAPATH=P:\Pam\Client;UID=;DDFPATH=P:\Pam\Client;BOB=;NullEnabled=no;FeaturesUsed=yes;LoginScript=;AccessFriendly=no;DateFormat=;TranslateDLL=;TranslateOption=;"
I suggest that you change the 2 paths P:\Pam\Client to your paths and it works
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.