Microsoft Visual Basic Enterprise Edition 6.0  for PC
Problem for Microsoft Visual Basic Enterprise Edition 6.0 (361-00667)...

Creation of connection object




By guruk2k5 on May 27, 2009

" "
how can i create a connection object and recordset object to send a data from form(text box) to back end i.e.MS-Access. plz let me know connection provider(oledb) syntax

Solution #1

posted on Jul 14, 2009
Not Rated)

randyprevost

Rank: Wiz 
Rating: 81%, 167 votes
A connection string combines all the information your web application needs to connect to a database. Dreamweaver inserts this string in your page?s server-side scripts for later processing by your application server.
A connection string for Microsoft Access and SQL Server databases consists of a combination of the following parameters separated by semicolons:
Provider specifies the OLE DB provider for your database. For example, here is parameter for Access:

Provider=Microsoft.Jet.OLEDB.4.0;

For the parameter value of your OLE DB provider, see your provider vendor?s documentation, or consult your system administrator.

Here?s an example of a connection string that will create an ODBC connection to an Access database called trees.mdb:

Driver={Microsoft Access Driver (*.mdb)};
DBQ=C:\Inetpub\wwwroot\Research\trees.mdb

Here?s an example of a connection string that will create an OLE DB connection to a SQL Server database called Mothra located on a server called Gojira:

Provider=SQLOLEDB;Server=Gojira;Database=Mothra;UID=jsmith;
PWD=orlando8
Was this helpful?
Yes
No

Popular Solutions for Microsoft Visual Basic


Questions and Unsolved Problems for Microsoft Visual Basic


Do you recommend Microsoft Visual Basic Enterprise Edition 6.0 (361-00667) for PC?
Answer

Answer
I have downloaded matlab but when I try to run it it comes up with ''error starting desktop''

Answer
I open a link with word document and I get code execution has been interrupted, and it asks me if I... (More)

Answer
I need a to design an application that contain two protein sequences. The second and first sequence... (More)

Answer
i wish to preview a text base report before printing . i used rich text file but the out put is... (More)


Didn't find what you were looking for?

Describe your problem:

Select a Category:







Ask our Experts

 

Solve Your Problem Now!
Chat Live with an Expert
Chat Now
Browse popular Problems
More Common Problems
Most Common Problems for:
For Microsoft Visual Basic...:

Top Programming Tool Experts

Rank: Guru Guru  

Solutions: 1409
Member Since: July 2009

Experience: I have owned a computer networking sales and service company.

Ask Me
Find more Programming Tool Experts

Top Computer & Laptop Repair

(952) 890-7770
Zkarlo.com provides discount and used laptop parts...
Zkarlo.com

(513) 874-3306
We fix and repair laptop motherboard no video, no...
LaptopOnCall Inc.


       
Solve Your Problem Now!
Chat Live with an Expert
Chat Now

X
Continue
When the original poster rates a solution that was given to his own problem, that rating is locked!
X

Are you sure the solution content is Inappropriate?
   
Tech buddies can communicate directly to answer questions. Become a Tech Buddy and have direct access to your favorite expert for FREE!
Insert Link
Insert Image
Insert You-Tube clip
Insert List
Insert List
Spell Check

What is this?



Select