Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 20th, 2006, 12:04 AM   #1
linxis
Programmer
 
Join Date: May 2006
Location: USA
Posts: 52
Rep Power: 0 linxis has a little shameless behaviour in the past
Send a message via ICQ to linxis
Remote SQL

Hey does anyone know how to use vb 2005 express to connect to a remote sql server. I can get a local sql but i want to make a game to connect to an sql server to make it like a mmo
__________________
Get programming and game creation tutorials and discuss apon you peers at
http://s14.invisionfree.com/tsoft
We also accept custom software requests and new mods will be needed soon
linxis is offline   Reply With Quote
Old Aug 20th, 2006, 12:30 AM   #2
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 5 BlazingWolf is on a distinguished road
In your connection string change "Data Source" or "Server" to the IP or domain name of the SQL server.
__________________
_______________________________
BlazingWolf
BlazingWolf is offline   Reply With Quote
Old Aug 20th, 2006, 2:10 PM   #3
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 242
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
better make sure your priveledges are set up right also or you're in for some headaches while you try to figure out where you went wrong in your code while the answer lies on your server.
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Aug 20th, 2006, 5:31 PM   #4
Random Spirit
Unverified User
 
Join Date: Aug 2006
Posts: 88
Rep Power: 0 Random Spirit is on a distinguished road
If you look at the Visual Studio feature comparison table you will find that VB.net 2005 Express only has tools to work with local databases. Of course that does not mean you cant work with a remote sql server, but its just not as easy as it would be in the standard and pro versions.

http://msdn.microsoft.com/vstudio/products/compare/

I suggest you do some research in the msdn docs on how to connet to a remote server in your code. Its not that hard. If you want to do well at programming you will have to get used to searching documentation to get what you want. If you get problems when connecting then post a question here with some code. Then you will get a better response from people. Your question is far too general so no one will be motivated to give a good answer.
Random Spirit is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Screen Capture/SpyCatcher bigguy Visual Basic .NET 3 Jun 19th, 2006 2:20 AM
Remote Python Dietrich Python 6 May 1st, 2006 11:39 AM
Remote shell & stdout & stderr Discoboy C 2 Jun 6th, 2005 2:32 PM
Remote controling handyandy Visual Basic 5 Apr 3rd, 2005 8:39 PM
Using ODBC to connect to a remote database in a C program bigi C++ 1 Mar 8th, 2005 3:19 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC