09-11-2013 01:30 AM
Hello,
I trying to connect to remote Database.
I don't want use ADO or ODBC provider.
How can connect? It is possible?
I am trying write DbConnect("xxx:xxx:xxx:xxx;UID=myNaMe;PWD=MyPassword"); but it not working.
Best Regard
Boris
09-11-2013 05:50 PM
Hi Boris,
I have a few questionss
1) Why do you not want to use ADO or ODBC?
2) Is there another toolkit you are using other to connect to the server?
3) Which version of CVI are you using?
4) Depending on the version of CVI and what modules you have installed for the software, there should be an example located here:
C:\Documents and Settings\All Users\Documents\National Instruments\CVI\samples\sql\simple\connect.cws
This performs a simple connect I am curious to see if you get any errors from it
5) What is the error you are getting?
Best,
-KP
09-12-2013 02:10 AM
09-13-2013 10:01 AM - edited 09-13-2013 10:03 AM
Hey Boris,
What kind of database is it? We will still need to connect to it through some kind of database driver, did you have another one in mind? What kind of errors will your users get? Are you able to connect to the database through some other means? What specific parameters in ODBC are you refering to?
There are a few forum posts that may be useful. Look at DaveC's comment in this one
-KP
Edit: Upgrading to 2013 show not be problematic.
Also, what is the version of the database software you are using and what operating system are you developing on?