A1VBCode Forums

Writing to remote computer


http://www.a1vbcode.com/vbforums/Topic30391.aspx

By Coyote Paul - 5/18/2011

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