Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21120

Upload Pictures on a Remote url

$
0
0
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.

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

Im suposed to switch the "App.Path & "\myPic", vbDirectory" for the url im sending the img?

Viewing all articles
Browse latest Browse all 21120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>