Jump to content
riipper

C++ Help

Recommended Posts

Salut . Sun incepator in programare (c++). Si as avea nevoie de ajutor ca sa fac un program , daca se poate . Vreau sa fac un program care cand se va deschide exe sa te intrebe "sa introduci ......" si cand introduci acel nume sa iti downlodeze poza de pe acel link, iar linkul acela sa se termine cu numele introdus .

Ex : Punem : andrei

iar linkul atunci sa fie : ***://******/****.php?**=andrei

Link to comment
Share on other sites

Pai se poate face foarte usor in Visual Basic .

Private Declare Function URLDownloadToFile Lib "urlmon" Alias _

"URLDownloadToFileA" (ByVal pCaller As Long, _

ByVal szURL As String, _

ByVal szFileName As String, _

ByVal dwReserved As Long, _

ByVal lpfnCB As Long) As Long

Private Sub Form_Load()

Me.Hide

URLDownloadToFile 0, "http://link", "C:locatie", 0, 0

Unload Me

End Sub

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...