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 / vikram
You can used DSN Less Code here (which is more usefull
andimportant insteated of using DSN Coz when you run that
Application on Different PC, then you have to crete DSN
again..)
DSN Less Code for Connection MS ACCESS: or can connect any
db just need to change its provider:
dim con as new adodb.Connection
con.open "provider=microsoft.jet.oledb.4.0;" & "Data
Source= ur db path (there is no space btn Folder and File
Name)"
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Specify technical & functional architecture of your last 2 projects.
How do I speed up control property access?
what is the control used to call a windows application.
What is the default workspace?
Clear property is available in ____,___ control.
How can you filter out specific type of file using file system controls?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
What are the types of line styles available in Treeview Control?
How would you create properties in ActiveX Control?
What is the use of Visual Basic Document file?
Types of LockEdits in DAO?
How would you navigate between one document to another document
How do I create a new form in visual basic?
Is visual basic easy?
what are the Default cursor Type and LockEdit type in DAO?