Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Databases Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 11th, 2003, 11:19 PM
Authorized User
Join Date: Jun 2003
Location: rawalpindi, panjab, Pakistan.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to arshad mahmood
Default Connection with sql server

Hello sir
I want to know how to connect vb with sql server.
please answer me at arsh087@yahoo.com
I hope u will gsend me answer.

arshad mahmood
arshad mahmood
Reply With Quote
  #2 (permalink)  
Old June 19th, 2003, 10:53 PM
Authorized User
Join Date: Jun 2003
Location: , , .
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts

there are a few ways, I will list two of the most common for you.

Use the "Data Access Wizard" on the new project screen, this will ask a few questions concerning your database and generate the appropriate code.

the other way(a more manual(and imo preferrable)) way is to...
add the ADO data controls to your project, and set the properties appropriately to access your database, and they will take it from there.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server Connection MonkeyMan666 C# 2 November 14th, 2008 10:44 AM
Connection to SQL Server brijxp ADO.NET 1 November 18th, 2006 08:34 AM
connection string for sql server rj1406 ASP.NET 1.0 and 1.1 Basics 6 September 16th, 2004 02:49 PM
Sql server connection failed AcidHell2 All Other Wrox Books 0 February 26th, 2004 01:57 PM
SQL Server Connection mpeterson Classic ASP Databases 1 July 8th, 2003 09:50 PM

All times are GMT -4. The time now is 04:26 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.