473,473 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

using web database hosting throug vb6

5 New Member
Hi,

I need someone who could help my problem in connecting the database from
Web Hosting Server using my vbapp.


Please Help!!!

Thanks
Nov 4 '08 #1
3 3640
Stang02GT
1,208 Recognized Expert Top Contributor
Whats your problem? What errors are you getting? You are going to have to provide us with more information.
Nov 4 '08 #2
alfaas
5 New Member
sir,
i have made a windows application in vb6 with database in ms access,
now i want to make my database centralised(means: it could be accessible from any where in the world using internet)......for this purpose some one has suggested me to place my database on web database hosting server...
and from there i could access my database using the url provided by the web hosting server provider...
but before that i am trying to access my localhost server present on IIS ,
there i have placed my database and accessing it from my vb6 application....
i have tried the followling code...
{ With Adodc1

.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\http:\\localhost\Soap3DocSamples\Database \Patient.mdb;Persist Security Info=False"



SQL_3 = "select PatientID,FirstName, LastName, Age, Sex, Address, City, State, Country, HomePhone, MobilePhone, PostalCode, Heridatery, Bio_history, Allergies from Patient where Patient.PatientID=" & Text6.Text

.RecordSource = SQL_3



.Refresh
End With)

but this code is giving error...{
"\\http:\\localhost\Soap3DocSamples\Database\Patie nt.mdb" is not a valid path.Make sure that path name is spelled correctly and that you are connected to the server on which the file resides" )

i also want to tell u that when i type "http:\\localhost\Soap3DocSamples\Database" on address bar of my internet explorer i am getting a HTML page on which a link for my database file "Patient.mdb" appears and on clicking that it gets open...

please tell me whether my approach is wrong or there is some error in codes......


also provide me with other alternatives to make my database centralised.......


thank you for your interest....
Nov 5 '08 #3
alfaas
5 New Member
Whats your problem? What errors are you getting? You are going to have to provide us with more information.


sir,
i have made a windows application in vb6 with database in ms access,
now i want to make my database centralised(means: it could be accessible from any where in the world using internet)......for this purpose some one has suggested me to place my database on web database hosting server...
and from there i could access my database using the url provided by the web hosting server provider...
but before that i am trying to access my localhost server present on IIS ,
there i have placed my database and accessing it from my vb6 application....
i have tried the followling code...
{ With Adodc1

.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\http:\\localhost\Soap3DocSamples\Database \Patient.mdb;Persist Security Info=False"



SQL_3 = "select PatientID,FirstName, LastName, Age, Sex, Address, City, State, Country, HomePhone, MobilePhone, PostalCode, Heridatery, Bio_history, Allergies from Patient where Patient.PatientID=" & Text6.Text

.RecordSource = SQL_3



.Refresh
End With)

but this code is giving error...{
"\\http:\\localhost\Soap3DocSamples\Database\Patie n t.mdb" is not a valid path.Make sure that path name is spelled correctly and that you are connected to the server on which the file resides" )

i also want to tell u that when i type "http:\\localhost\Soap3DocSamples\Database" on address bar of my internet explorer i am getting a HTML page on which a link for my database file "Patient.mdb" appears and on clicking that it gets open...

please tell me whether my approach is wrong or there is some error in codes......


also provide me with other alternatives to make my database centralised.......


thank you for your interest....
Nov 5 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: NohaKhalifa | last post by:
Dear All; I'm developing a web site and i need to make adminisration for this site it's a site for Real Estates . But I don't need the administration to be online .. I want them to fill data...
15
by: DesignGuy | last post by:
I've inherited a site that has 1000+ product pages that follow a similar layout. I would like to import these pages into a database for ease of future updating. The pages have the usual banners,...
8
by: peter | last post by:
I have taken over the website duties at work. I am still learning PHP and MySQL. I want to have a form where the user enters some finacial info and it is stored in a database. It, obviously,...
5
by: mikkel | last post by:
Hello, Im working on a project where I have to bring at production database in house for regression testing. The people who hosts the database (db2 version 7) has made a backup of the base...
12
by: Charlie | last post by:
Hi: My host will not allow me use a trusted connection or make registry setting, so I'm stuck trying find a way to hide connection string which will be stored in web.config file. If I encrypt...
4
by: Jeff | last post by:
We have multiple ASP.Net web apps in development. As a standard we are looking to go with SQL Server to hold state information. Can we have the multiple apps all point to a single State DB? Or...
1
by: craigkenisston | last post by:
I have an asp.net application that is fully database driven. It takes the parameters from the server name and according to the domain it display the proper information. So, I upload the same exact...
2
by: roychong | last post by:
Hi everyone, I'm keen to use Access as a client application to access data from a MySQL database. The reasons are Access for its strength in reports creation and MySQL for its stability and...
14
by: mistral | last post by:
Need php script to create mySQL database programmatically; since hosting configuration may not allow create database from script, script also need eliminate/rewrite all restrictions in appropriate...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.