Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 8th, 2004, 10:43 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 121
Thanks: 1
Thanked 0 Times in 0 Posts
Default Reading information from remote PC on the network

Hi everybody!
Is any way to read an information from the Share from the remote computer on the network programmatically if you do not know the MAP letter on the remote PC, but you know the network computer name and Share name ?
           -Dmitriy ;)
 
Old January 8th, 2004, 10:48 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, use \\ComputerName\ShareName\Filename, for example:

Code:
Open "\\ComputerName\ShareName\Filename.txt" For Input As #1
Or
Open "\\IPAddress\ShareName\Filename.txt" For Input As #1
And that is all there is to it!

Regards
Owain Williams
 
Old January 8th, 2004, 11:04 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 121
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks Owain,
I'll try.
         -Dmitriy





Similar Threads
Thread Thread Starter Forum Replies Last Post
VC++ 2005 PC ERROR @ PC STARTUP -JUST IN TIME DBUG CPPGUY Visual C++ 2005 0 October 3rd, 2008 12:52 PM
How to run a .NET .exe on a remote PC vikas67k C# 5 August 26th, 2008 01:52 AM
Reading the GAC of remote system vikingsunil C# 2005 0 November 6th, 2006 06:25 AM
Reading xml string from remote server niravp Classic ASP XML 2 June 10th, 2006 02:37 PM
Accessing network files from IIS PC badgolfer ASP.NET 1.0 and 1.1 Basics 3 March 2nd, 2004 07:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.