473,385 Members | 1,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

meaning of arguments in odbc connectivity using VB6.0

hi i want to know the meaning of false,false in the following code for odbc connectivity using vb6.0.
Expand|Select|Wrap|Line Numbers
  1. set db=opendatabase("dsn",false,false;"odbc;uid;pwd;dsn")
  2.  
Aug 28 '10 #1
3 2110
MrMancunian
569 Expert 512MB
There are 4 parameters for the opendatabase method. The first one is "name" and that one is mandatory. The second and third are "options" and "readonly" and they are optional. The last one is "connect" and that one is mandatory again. So the "false, false" means that there are no additional options and it's not readonly.

Steven
Aug 30 '10 #2
thank you Steven for your response
Aug 30 '10 #3
MrMancunian
569 Expert 512MB
You're welcome.
Aug 30 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Alex | last post by:
I have developed a VB application that uses Oracle 8i database for backend. The database server is on the local network. From my development machine, the application connects (via ODBC) to the...
0
by: Ike_strong | last post by:
Can anyone help me to figure out why each time I try to access my database using: c:\mysql\bin\inmysql -root -p and afterwards:(i.e. after inputting my at the password prompt) Enter...
0
by: mcast | last post by:
How do I modify Tables/Database's though ODBC without using Dynasets? Can point me in the right direction or show me some sample code. I'm new to Visual C++ programming.
3
by: Niks | last post by:
Hi, I need to connect to SQL server Database using a System DSN. Can anyone tell me how to connect to SQL Server using DSN in ASP.NET (VB.Net). Using a Try Catch block. Does anyone know how to...
2
by: SKB | last post by:
Hi, I am absolutely new to this area. I am getting the following difficulty : Access denied for user 'ODBC'@'localhost' (using password: NO) when I try the mysql command from within the...
0
by: naiduG | last post by:
Hi all, How to create Shadow ODBC connectivity for DB2 for ETLs Can any one help out in this??? Thanks in advance Naidu.
4
kaleeswaran
by: kaleeswaran | last post by:
i am creating login form using jsp..i try to connect data base using sql.. i hve an error like this: Data source name not found and no default driver specified and this is my code: <%@ page...
3
by: Tanay | last post by:
How can I connect my C++/VC++ program to a database using ODBC?
1
by: NMDevi | last post by:
hello, I am working on VB 6.0 & oracle, i don't known how to give ODBC connectivity. Can any body help me in connecting VB with Database.
81
MMcCarthy
by: MMcCarthy | last post by:
Hi everyone I am using this as a test question to test the new Rate up/down feature for threads and posts. For anyone looking for a legitimate answer to this question please check out this...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.