Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Classic Visual Basic (VB 6 or earlier) » VBA(Excel, Word, etc...) » Writing to remote computer


Writing to remote computerExpand / Collapse
Author
Message
Posted 5/18/2011 1:19:50 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/20/2011 11:59:29 AM
Posts: 1, Visits: 5
I use the following code to write to another computer on my home network. Can someone please tell me how to similarly write to a remote computer on the internet? The variable written (TRAP) is a small string.

BFILE = "\\MANNANET\Documents\mojo.txt"
IFILENUM = FreeFile
Open BFILE For Output As IFILENUM
Print #IFILENUM, TRAP
Close #IFILENUM

Post #30391
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Mod, Mark, Keithuk

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 2:44am