Connect a computer over LAN network
Connect a computer over LAN network
Connect a computer over LAN network
Connect a computer over LAN network
Connect a computer over LAN network
Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network
Connect a computer over LAN network Connect a computer over LAN network
Connect a computer over LAN network
Go Back  Xtreme Visual Basic Talk > > > Connect a computer over LAN network


Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2014, 02:08 AM
ram003 ram003 is offline
Newcomer
 
Join Date: Jan 2014
Posts: 2
Default Connect a computer over LAN network


Hi Team,

I have developed a rating project using VB.net and MS Access.

My database have no password and it is saved in on the LAN remote computer with username and password protected.

I have tried giving username and password of the shared desktop in the connection string , but it doesn't worked.

let say the shared computer username is "admin", and password is "welcome"

Public con As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\199.102.54.20\ABC\CDE\XYZ_Database.mdb;Persist Security Info=False;")

All the users have to poll there result and cannot shared the remote computer username and password to all.

Need help to get me a VB.net code.
Reply With Quote
  #2  
Old 01-22-2014, 03:14 PM
sgm sgm is offline
Junior Contributor
 
Join Date: Aug 2003
Location: AlBayda, Libya
Posts: 305
Default

Hi,
you need to be able to connect to the shared folder from another computer. If the share is on a Win7 PC then you need to allow access to the share check the advanced sharing settings and make all necessary adjustments.
allow file and printer sharing and turn off password protected sharing.

as soon as you can access the share you need to include the path to the share in your connection string. the path should look like this
\\pc name\share name\dbfile.mdb

cheers
Reply With Quote
  #3  
Old 01-23-2014, 03:47 AM
ram003 ram003 is offline
Newcomer
 
Join Date: Jan 2014
Posts: 2
Default

Quote:
Originally Posted by sgm View Post
Hi,
you need to be able to connect to the shared folder from another computer. If the share is on a Win7 PC then you need to allow access to the share check the advanced sharing settings and make all necessary adjustments.
allow file and printer sharing and turn off password protected sharing.

as soon as you can access the share you need to include the path to the share in your connection string. the path should look like this
\\pc name\share name\dbfile.mdb

cheers
Hi,
Thanks for your reply.
I am looking the solution with VB.Net code. Is it possible?
Reply With Quote
Reply

Tags
lan, network, network share, remote


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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Connect a computer over LAN network
Connect a computer over LAN network
Connect a computer over LAN network Connect a computer over LAN network
Connect a computer over LAN network
Connect a computer over LAN network
Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network Connect a computer over LAN network
Connect a computer over LAN network
Connect a computer over LAN network
 
Connect a computer over LAN network
Connect a computer over LAN network
 
-->