SunQuest
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old July 27th, 2003, 01:38 PM
Larryl Larryl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Keene, NH
Posts: 2 Larryl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Larryl
Unhappy Using VB to access a MSAccess 2 database over the internet

I am trying to add some code to a program I am writing to access a database on my web site over the internet.

My ISP has supposedly set up a DSN for the database and I have read a bunch if different suggestions on how to do this but to no avail.


I am using VB6 and would like to basically open a database from multiple locations at the same time.

The database name is: netmanager.mdb and is an Access 2 database. I keep getting a server error and am not convinced that the ISP has everything set up right. Can someone give me some example code that points to an existing remote database toprove to me that this is even possible?

Any help would be greatly appreciated.

Reply With Quote
  #2  
Old July 27th, 2003, 03:07 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
If you are running the Visual Basic code from remote machines, you will need to set up the DSN on each remote machine to be able to access the MS Access database on your ISP's webserver.

Reply With Quote
  #3  
Old July 27th, 2003, 03:10 PM
Larryl Larryl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Keene, NH
Posts: 2 Larryl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Larryl
Do I get the DSN from my ISP?...I am very new to database programming..

Reply With Quote
  #4  
Old July 27th, 2003, 03:54 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
You will get the DSN parameter information from your ISP. Server ID, username, password port and any other pertinent information. Contact your ISP and tell them you need the information necessary to set up a DSN to communicate from your machine to their MS Access database.

Reply With Quote
  #5  
Old July 28th, 2003, 04:11 PM
iamtgo3 iamtgo3 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: USA
Posts: 312 iamtgo3 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 27 m 43 sec
Reputation Power: 7
Send a message via ICQ to iamtgo3 Send a message via AIM to iamtgo3 Send a message via MSN to iamtgo3 Send a message via Yahoo to iamtgo3
I am not sure if this helps but if you are using VB.NET I just got done doing an example of this but I am using a mySQL database, XML and PHP.

WebRequest XML Dataset Import

Description: This example shows you how to perform an asynchronous web request to retrieve data from a XML web service. It then parses the data and adds records to an OLE compliant datasource.

It is pretty cool I do a WebRequset from my program and the website sends me back XML which I then parse out and insert into my local database. Hope it helps with the concept
__________________
George - www.ipdg3.com
Helping Developers and Programmers Find Resources
Forums - Contests - Tutorials - Source Code
ORB - Wireless Site - Online Gear

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Using VB to access a MSAccess 2 database over the internet


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway