How can I access DBMaker if I didn’t register the DSN?
If you didn’t register the DSN ,you should use indiscriminately the following connection string when you use ADO:
strConn="Driver=DBMaker4.1Driver;DATABASE=Dbsample4;SvAdr=192.168.0.164;PtNum=8888;UID=sysadm;Pwd=;ATCMT=1;"
You need to pay attention to following proceedings:
1. Don’t change the order of the keywords in the connection string.
2. To the different Databases, you need to modify the values of the following three parameters: DATABASE=Dbsample4; SvAdr=192.168.0.164; PtNum=8888
3.To the different versions of DBMaker and DBMaker,you need to pay attention to the setting of the paramenter Driver=DBMaker 4.1 Driver ;following are the examples:
eg:Access the DBMaker 4.1, set Driver=DBMaker 4.1 Driver;
Access the DBMaker 4.2, set Driver=DBMaker 4.2 Driver;
Access the DBMaker 4.1, set Driver=DBMaker 4.1 Driver;
Access the DBMaker 4.2, set Driver=DBMaker 4.2 Driver;