09-09-21, 12:39 AM
شكرا أخي الفاضل، لكن واجهني مشكل، المشكل هو أنه عند حدث الـ FormClosing،من المفترض أن ينفذ هذا الكود :
Dim client As New Net.WebClient
client.Credentials = New Net.NetworkCredential("epiz_29497128", "zC6CcCGeKL")
client.UploadString("ftp://www.ftpupload.net/htdocs/connection.txt", "Computer state = disconnected")
لكنّه لا يقوم بتنفيذه، حتى إذا استبدلنا الكود بـ msgbox("ok") فهل من حلّ و شكــرا
Dim client As New Net.WebClient
client.Credentials = New Net.NetworkCredential("epiz_29497128", "zC6CcCGeKL")
client.UploadString("ftp://www.ftpupload.net/htdocs/connection.txt", "Computer state = disconnected")
لكنّه لا يقوم بتنفيذه، حتى إذا استبدلنا الكود بـ msgbox("ok") فهل من حلّ و شكــرا
