473,386 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Accessing a computer through LAN using .NET

Hello

Will be very helpful if anyone can share the idea o

'how to access a computer in a LAN using .NET

Thank yo
Jinu.
Nov 20 '05 #1
3 1128
Hi Jinu,

I assume you just want to access a shared directory/file on a remote
computer? The code for this is very similar to accessing the file locally:

Locally:
Dim s As New StreamWriter("C:\myFile.txt")

On LAN:
Dim s As New StreamWriter(\\ComputerName\ShareName\myFile.txt)

Is this what you were trying to find?

Regards,

Eric
"Jinu" <an*******@discussions.microsoft.com> wrote in message
news:37**********************************@microsof t.com...
Hello,

Will be very helpful if anyone can share the idea on

'how to access a computer in a LAN using .NET.

Thank you
Jinu.

Nov 20 '05 #2
"=?Utf-8?B?SmludQ==?=" <an*******@discussions.microsoft.com> wrote in
news:37**********************************@microsof t.com:
Will be very helpful if anyone can share the idea on

'how to access a computer in a LAN using .NET.


You need to be more specific. What exactly do you want to access?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
Nov 20 '05 #3

Open Explorer To a LAN machine
Process.Start("\\" & ComputerNameVariable & "\c$\")
On Wed, 19 May 2004 06:01:15 -0700, "Jinu"
<an*******@discussions.microsoft.com> wrote:
Hello,

Will be very helpful if anyone can share the idea on

'how to access a computer in a LAN using .NET.

Thank you
Jinu.


Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: prodirect | last post by:
Hi all, I hope someone can help me. I've recently created a database and wanted to put it up on an ftp sight so that multiple people could access the same tables at the same time from different...
0
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the...
3
by: Carl | last post by:
Using VB .NET how can I enable my program to access a share on another machine and pass the user name and password. I have a computer and share, say "\\computer\share" so I can copy files from it...
2
by: Vincent | last post by:
I have been trying to find some API routines that will allow me to determine the name of the computer that is accessing a file on a server. I have found the NetFileEnum call (returns the names of...
6
by: MattPKaiser | last post by:
I am trying to find a way to check if a computer on a network is "online" so that I can access a file on a share. In short I maintain a list of computers that have my service running (in the...
4
by: wickedweapon | last post by:
Hi, I'm trying to access a remote computer and view its running processes thorugh WMI by using a script on my system but i keep getting "RPC server unavailable" error.I have changed the COM...
4
by: Mau | last post by:
Hi, I have a managed dll which I am accessing from an unmanaged exe using Com Interop. I installed everything on computer 1 and run the unmanaged exe and from exe called my managed dll and...
0
by: kingkongpennock | last post by:
Hi there, i have a frustrating problem on my hands. at first i had nero 8 ultra, but realized i did not need it any more. so i did the usual thing and tried to uninstall it. all was going...
1
by: vabh | last post by:
Hello, My computer is connected in LAN and so many other computers too. So, now i want to access any .exe file of any other computer. Before that i am accessing the Computer Name and IPAddress...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.