PC Review


Reply
Thread Tools Rate Thread

Connecting remote database

 
 
NagaKiran
Guest
Posts: n/a
 
      10th Aug 2004

Hi

I need a help.
I have a VB code
In that I want to connect to a remote database thru VB
code.

Can we connect a Access database which is located in a web
server thru VB?
If so how can we connect?

If not, Can we connect a SQL server database which is
located in a web server thru VB?
If so how can we connect?

please provide code or any URL that helps to know about
it...

Thanks in advance

bye


 
Reply With Quote
 
 
 
 
ciruliz ciruliz
Guest
Posts: n/a
 
      10th Aug 2004
You can use .udl file to specify connection information (create blank
text file & name it blablabla.udl, then view properties)
and in VB use `connection string` property of ADODB.Connection
set it to "FILE NAME=X:\some path\blabla.udl"

NagaKiran wrote:

> Hi
>
> I need a help.
> I have a VB code
> In that I want to connect to a remote database thru VB
> code.
>
> Can we connect a Access database which is located in a web
> server thru VB?
> If so how can we connect?
>
> If not, Can we connect a SQL server database which is
> located in a web server thru VB?
> If so how can we connect?
>
> please provide code or any URL that helps to know about
> it...
>
> Thanks in advance
>
> bye
>
>

 
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to remote sql database Russ Green Microsoft Dot NET Compact Framework 4 27th Dec 2008 09:23 AM
Connecting to remote access database Alexander Dong Back Kim Microsoft VB .NET 1 28th Sep 2007 04:49 AM
connecting to remote database without using database links simisantu Webmaster / Programming 0 26th Jul 2007 12:22 AM
CF and remote connecting to database amateur Microsoft Dot NET Compact Framework 6 16th Aug 2004 08:49 AM
ASP.NET/C# Problem connecting to a remote database Paul Ballatti Microsoft Access 1 8th Apr 2004 05:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 PM.