Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 131,569 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,120 people online right now. Registration is fast and FREE... Join Now!




HELP TO CONNECT VB EXPRESS TO SQL

 
Reply to this topicStart new topic

HELP TO CONNECT VB EXPRESS TO SQL

POOJA_76
post 31 Jul, 2006 - 01:47 AM
Post #1


New D.I.C Head

*
Joined: 31 Jul, 2006
Posts: 1


My Contributions


WHEN I ADD NEW SQL DATABASE FRON ADD NEW ITEM IN PROJECT AN ERROR COMES TIMEDOUT EXPIRED, TIMEDOUT EXPIRED PRIOR TO COMPLETION OF THE OPERATION OR THE SERVER IS NOT RESPONDING
SQL SERVER 2005 EXPRESS IS INSTALLED & IS ENABLE AUTOMATIC IS ADMINISTRATIVE TOOL SERVICES
I AM ATTACHING IN IMAGE FILE OF ERROR
User is offlineProfile CardPM

Go to the top of the page


Jayman
post 31 Jul, 2006 - 08:56 AM
Post #2


Student of Life

Group Icon
Joined: 26 Dec, 2005
Posts: 6,819



Thanked 38 times

Dream Kudos: 500

Expert In: C#, VB.NET, Java

My Contributions


Are you trying to form a connection to the database or just include it in your project?

I don't think you can include it in your project since it needs the SQL server in order to run. What you need to do is just form a connectin the database.

PS. You forgot to include error image.

This post has been edited by jayman9: 31 Jul, 2006 - 08:56 AM
User is offlineProfile CardPM

Go to the top of the page

rp2007
post 26 Mar, 2007 - 07:01 AM
Post #3


New D.I.C Head

*
Joined: 26 Mar, 2007
Posts: 3


My Contributions


Hey,
i am trying to connect mysql database to vb 2005 express too but i have no idea on how to do this from scratch basically! does anyone have any tips on how i can do this?

i have never done this before so any websites, tutorials or even examples would be highly appreciated!

thanks!
User is offlineProfile CardPM

Go to the top of the page

tody4me
post 26 Mar, 2007 - 08:46 AM
Post #4


Only Jenny Craig makes thin clients...

Group Icon
Joined: 12 Apr, 2006
Posts: 1,251



Thanked 3 times

Dream Kudos: 100
My Contributions


check out www.connectionstrings.com. Add a SqlConnection object to your code somewhere (something like Dim MyConnection as System.Data.Sql.SqlClient.SqlConnection), then open the connection with the connection string. This allows you to use the connection that you established in DataReaders and DataAdapters. If you want more information, check out msdn2.microsoft.com and do a search for Connections and VB.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/20/08 03:12AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month