473,498 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

database connection,URGENT

1 New Member
my name is stella,im developing a simple application using vb6 and sql,im trying to connect to the database using ADO, my problem is, UNDER WHAT EVENT DO I CONNNECT TO THE DATABASE
Aug 21 '06 #1
3 3497
Hemant Pathak
92 Recognized Expert New Member
Hi Stella.

if you are useing ADO control then Click right mouse button opun the control go the properties option here u have 3 option to connect the database.1DSN,ODBC,Connection String.what u like u can choose.
if any problem u can mail me
pathak.pathak@gmail.com
Aug 21 '06 #2
sashi
1,754 Recognized Expert Top Contributor
Hi Stella,

kindly refer to below attached link.. take care my fren..

http://www.thescripts.com/forum/thread525605.html

p.s/ using the word URGENT is greatly not adviced as it's not a 'good title' :)
Aug 21 '06 #3
rabbani
2 New Member
if you are using adodc1 as a reference then use the following

ConnectionString = "Provider=Microsoft Jet 4.0 OLE DB Provider;Data Source=c:\YourDatabasePath.mdb;Jet OLEDB:Database Password=YourPassword"
Aug 31 '06 #4

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

Similar topics

1
2794
by: Pragati | last post by:
Hi ! I have an SQL query which im developing on the click of a command button on a form. but am stuck up in creating a recordset of that query. how should one connect to database? use adodb...
1
1239
by: Hiten | last post by:
Hi I am stucked at Connection with Database in My .Net program When i connect with Northwind SQL db it connects easily no errors but when i try to connect with my own created Database it gives me...
5
2792
by: igotyourdotnet | last post by:
I'm trying to add a web part to my page and when I run my page with the web part I get this error: An error has occurred while establishing a connection to the server. When connecting to SQL...
10
3207
by: rup | last post by:
Hello, This is my first application on socket programming in vc++. I am facing problem that how to make connection to server, & make GET/POST request by HTTP. Please help me. Its urgent.......
4
1284
by: prashant | last post by:
Hi all, i am working with .net 2.0 and sql server managment studio of version--9.00.1399.00 for getting a xmldocument from a xml data in sqlserver .. their is no error in this program but...
0
1709
by: teju | last post by:
Hi all, I am trying to populate tree view from the database. Till two levels i can populate it fine but when it reaches third level it doesn't expand. Below is the code, it has been taken from the...
1
1078
by: gyanendra | last post by:
I want to connect the access database with vb.net2003 But the database selection is dyanmic means user has freedom to select database I am passing the whole path in a variable in connection string...
0
2209
by: toyin | last post by:
hello, pls help look through this code its not inserting the record in dataset into the another database. i want to insert the row in the dataset into another table in another database. pls help....
7
1726
by: =?Utf-8?B?TWF4R3J1dmVu?= | last post by:
I have a DLL that implements the Business and Data Layers for a number of different websites. That DLL uses a Strongly Typed DataSet to interface to the Data Source which is SQL Server. There...
0
831
by: sarabonn | last post by:
hallo everyone, I have created a project in visual c# and database with access database. Now if i want to run the executable file (i mean .exe) in the bin should i also...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.