?
Solved

how to connect to a remote .mdb file in a intranet and also internet

Posted on 2001-08-08
8
Medium Priority
?
287 Views
Last Modified: 2008-03-10
Hi.. all

   how to connect to a remote .mdb file in a intranet and also internet ...

   I am in developing an application and got struck with this problem...

   Thanks in advance..

   Srinu ;-)
0
Comment
Question by:smnssrinivas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 15

Expert Comment

by:lyonst
ID: 6363518
Hi,

This appears to be a good article on this subject ..

http://www.njnet.edu.cn/info/ebook/vbweb/ch09.htm

Cheers,

T.
0
 
LVL 14

Expert Comment

by:puranik_p
ID: 6363550
Dim Con
Set Con = Server.CreateObject("ADODB.Connection")

ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & yourmdbpath & ";Persist Security Info=False"

Con.Open ConStr

and thats it!
0
 
LVL 3

Expert Comment

by:cmgarnett
ID: 6363571
This site has lots of examples of connection strings that can be used for different purposes.

http://www.able-consulting.com/ADO_Conn.htm
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 6

Expert Comment

by:kahlean
ID: 6363579
what i would suggest is that you create a dsn in your pc that hold the connection to your remote system on the network.

And create the connection just like this

Dim cn As New ADODB.Conection
cn.Open "dsnYourName"

Regards


0
 
LVL 1

Expert Comment

by:loveneesh_bansal
ID: 6363689
Hi

Just few days back i have done the similar sort of project but instead of using mdb i used the sql server.

I pass the ipaddress of the server usernam eand password too to make the connection.


like the following

connMaster.Open "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=" & UserName & ";pwd=" & TrimPassword & ";Initial Catalog=" & Trim(DBName) & ";Data Source=" & Trim(ipaddress)
0
 
LVL 3

Expert Comment

by:modder
ID: 6410209
The smnssrinivas account has been suspended: the e-mail address provided is invalid and therefore smnssrinivas is not getting any notifications, and cannot participate on the site properly. Hopefully he'll contact us about this soon so we can get his account rectified.

Until then I have to assume that smnssrinivas will not be back, which leaves a number of open questions to be taken care of.

Perhaps, participants can agree what should happen with this question. Should someone get the points? Should it be deleted?

modder
Community Support Admin
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7199826
Hi smnssrinivas,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Save as PAQ -- No Refund.

smnssrinivas, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 7213416
Per recommendation, points NOT refunded and question closed.

Netminder
CS Moderator
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question