Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[VB6] hopefully a lil problem

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Tue May 06, 2008 12:01 pm    Post subject: [VB6] hopefully a lil problem Reply with quote

i made a modul

Code:
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


and now i want to download for example my avatar

Code:
URLDownloadToFile(0, "http://www.bildhoster.org/uploads/5aebafcceb.gif", "C:\Dokumente und Einstellungen\Admin\Desktop\Neuer Ordner\avatar.gif", 0, 0)


but then it says URLDownloadToFile isn't defined
maybe you can help me instead of insulting me for learning Sad
i know its nothing just to be able to make trainers and thats why im trying to advance

_________________


Last edited by 92Garfield on Tue May 06, 2008 12:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Tue May 06, 2008 12:10 pm    Post subject: Reply with quote

mas8rx8 wrote:
Put it in a form.

you mean on form load event? its currently on a button click event

_________________
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Tue May 06, 2008 12:14 pm    Post subject: Reply with quote

what do you mean with "in" then? Confused
_________________
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Tue May 06, 2008 12:49 pm    Post subject: Reply with quote

couldnt find declarations in form and on other forum i got told to make a modul its that:
http://imagehoster.us/uploads/2b16d997b1.jpg

_________________
Back to top
View user's profile Send private message
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Tue May 06, 2008 1:28 pm    Post subject: Reply with quote

Private declare function?
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Tue May 06, 2008 1:52 pm    Post subject: Reply with quote

[Psych] wrote:
Private declare function?

what is your question?
i thought that will define URLDownloadToFile as a function..

got it on a much easier way..

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Tue May 06, 2008 2:45 pm    Post subject: Reply with quote

Wiccaan wrote:
Locking this and any future posts you make that ask a question about something basic. Do yourself, and all of us, a favor and go read.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites