Greetings VBforums and users, i need some help trying to upload a picture on a file in a remote url using vb6.0.
Im able to save images on the App.Path file easily, however i have no clue about storing the same img on a url.
im using this syntax correct me if im wrong, please.
Im suposed to switch the "App.Path & "\myPic", vbDirectory" for the url im sending the img?
Im able to save images on the App.Path file easily, however i have no clue about storing the same img on a url.
im using this syntax correct me if im wrong, please.
Code:
Private Sub cmdSavePic_Click()
If Dir(App.Path & "\myPic", vbDirectory) = "" Then MkDir (App.Path & "\myPic")
Set Me.Image1.Picture = hDCToPicture(GetDC(modWebCam.hHwnd), 0, 0, 320, 240)
SavePicture Image1.Picture, App.Path & "\myPic\" & Format(Date, "dd_MM_yyyy") & " " & Format(Time, "hhmmss") & ".bmp"
End Sub