CONNECTIVITY OF SQL 2000 + VB USING ODBC.
steps i Follow-
1) Go to Control panel-->Admintrative Tools-->Double -click
Data sources(ODBC)-->click Add button-->I choose SQL server
(last option), Is it right or wrong option for connecting
to SQL 2000.Then a new screen appears Create a New
dataSource-->in name textbox,we can write anyname--Right or
wrong. suppose i enter sonia, & my server name is .,so I
enter . in server & click next button-->On the Next screen
i have checked the option With Sql server authentication--
>Login Id-sa, Password-->Blank-->Click next button-->Next--
>Finish-->Then I click on button Test Data source-->Mesage
Comes TESTS COMPLETED SUCCESSFULLY-->OK-->OK-->Ok.
These steps we have to do or not for Connectivity using
ODBC.
If yes,then what after these steps we have to do??Plz reply
me early ??Thx in advance.
Answer Posted / deepak g
You have to use this DSN name (in your case it is sonia) in
your VB code wherever you wish to establish a connection
between your VB application and your SQL server 2K database.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is understand in resource tracking?
What is ActiveX Dll and ActiveX Exe?
How would you create properties by using class Builder Wizard?
___,___ and __ are difference between image and picture controls.
What is the use of Data Form Wizard?
Is there any Edit method in ADO Data Access method?
Explain OLE Drag and Drop?
How do I make the mouse cursor invisible/visible?
What are the uses of List View Control?
What are the Internet tools available in VB6.0?
How do I create a new form in visual basic?
Types of LockEdits in DAO? 51 .Types of Recordsets.
What is the need of tabindex property is label control.
I'm getting error message "Reserved Error [-nnnn] ("There is no message for this error")" from Jet Engine 2.0.Why?
what is the Difference between Linked Object and Embedded Object?