-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-
Reproduced source http://www.study01job.com PB article library BBS in PB free electronic books
According to the following steps:
1, use the oledb way to connect to the database, each set options as follows:
1) Profile Name: whatever the Name
2) the Provider: select sqloledb (link in addition to the SQL server database, select the corresponding project)
3) data source: the IP address of the database server
4) user id and password is needless to say,
5) location: don't fill in the content
6) extended: for example, the database name is' RSGL, fill in that database=RSGL
Set in the PB development environment, make sure you are able to connect to the database, then copy these configuration parameters to the Application
Object Open event, if you have any questions, that the base is not enough of you, don't ask me more detailed questions, the
Has enough meticulous,
2, the compilation of PB procedure, form the PBD and exe files;
3, under the PB installation path search the following file (individual files need to Windows directory search), will these files
And 2 of the files in the same directory,
The 2004-06-25 13:06 356352 libjcc. DLL
The 2004-06-25 13:06 32768 libjlog. DLL
The 2003-03-19 came about 499712 msvcp71. DLL
The 2003-02-21 battle overtook 348160 msvcr71. DLL
The 2004-06-25 7 61440 pbcomrt100. DLL
Finally, 2004-06-25 2732032 pbdwe100. DLL
Finally, 2004-06-25 379904 pbdwr100. DLL
Why do 193024 pbdwr100. 2004-06-25 PBD
The 2004-06-25 131072 pbjag100 michal. DLL
The 2004-06-25 60928 pbjvm100 michal. DLL
Finally, 2004-06-25 466944 pbodb100. DLL
The 2004-06-25 13:07 70374 pbodb100. Ini
The 2004-06-25 used 409600 pbole100. DLL
Finally, 2004-06-25 798720 pbrtc100. DLL
The 2004-06-25 946176 pbshr100 michal. DLL
Finally, 2004-06-25 39424 pbtra100. DLL
Finally, 2004-06-25 4094464 pbvm100. DLL
After the above steps with respect to OK, the client does not need to configure the ODBC, do not need to install any program, as long as we form
PB program and the above documents and some additional documents (such as pictures, configuration files, etc.) copy to the user at a
A directory, click on the file can work properly connected to the database,
The process I PB and database in not installed the client software of Windows server 2003, Windows xp
And the Windows 2000 test is successful,
CodePudding user response:
Novice to look good, to helpCodePudding user response:
I have a question, I use the OLE DB connection SQL SERVER2000 database, but some tables in 2000 operating system can retrieve the data, some not, but you can see in the XP operating systemCodePudding user response:
Already ok, because conditions are differentCodePudding user response:
I am curious to ask, you can use the OLEDB the ASA?