Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'Basically i'm trying to get my program to copy a file from a location and send it over a series of ip addresses, i've commented each individual bit, but in short it just doesn't copy the...
Imports Microsoft.VisualBasic.FileIO
Imports System
Imports System.IO
Imports System.Text
Public Class CopyPastFile
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If Textbox1.Text = "" Then
MsgBox("No file has been selected!")...
Basically i'm trying to get my program to copy a file from a location and send it over a series of ip addresses, i've commented each individual bit, but in short it just doesn't copy the file even tho it exists in the location
Public Class CopyPastFile
Private Sub Button1_Click(sender As...
So I need help copying one file to another system on a different network heres my code so far
Try
Dim fso, WshNetwork
Const OverwriteExisting = True
WshNetwork = CreateObject("Wscript.Network")
fso =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.