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 


need help with vb6

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
poppyu
Expert Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 147

PostPosted: Thu Mar 13, 2008 2:42 pm    Post subject: need help with vb6 Reply with quote

i need to open a file from a different location
eg-wordpad
can someone give me the code and i need to know
if the address of the wordpad was changed how would it automaticaly
be changed from the form
Back to top
View user's profile Send private message
OSIRIS
Grandmaster Cheater
Reputation: 0

Joined: 27 Aug 2006
Posts: 654

PostPosted: Thu Mar 13, 2008 2:46 pm    Post subject: Re: need help with vb6 Reply with quote

micksemps wrote:
i need to open a file from a different location
eg-wordpad
can someone give me the code and i need to know
if the address of the wordpad was changed how would it automaticaly
be changed from the form


Im not sure exactly what you mean about the last part.
Back to top
View user's profile Send private message
poppyu
Expert Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 147

PostPosted: Thu Mar 13, 2008 2:47 pm    Post subject: Reply with quote

if the default path of the worpad was desktop
and i moved it to my documents
how would i change this in the form automaticly
Back to top
View user's profile Send private message
OSIRIS
Grandmaster Cheater
Reputation: 0

Joined: 27 Aug 2006
Posts: 654

PostPosted: Thu Mar 13, 2008 2:48 pm    Post subject: Reply with quote

So you want the text to be displayed in the form automatically?
Back to top
View user's profile Send private message
poppyu
Expert Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 147

PostPosted: Thu Mar 13, 2008 2:50 pm    Post subject: Reply with quote

ok look:
i click on the button which loads wordpad from the desktop

i move wordpad to my documents

how would i change the adress in the form
Back to top
View user's profile Send private message
Golden Wing
Grandmaster Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 905

PostPosted: Thu Mar 13, 2008 2:52 pm    Post subject: Reply with quote

like open a program?

Code:
Shell ("notepad.exe")

_________________
Back to top
View user's profile Send private message
poppyu
Expert Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 147

PostPosted: Thu Mar 13, 2008 2:54 pm    Post subject: Reply with quote

yea i need to open a file
which my form detects automaticly
Back to top
View user's profile Send private message
Golden Wing
Grandmaster Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 905

PostPosted: Thu Mar 13, 2008 2:56 pm    Post subject: Reply with quote

so liek when the form load it open the program too?

Code:
Private Sub Form_Load()
Shell ("notepad.exe")
End Sub

_________________
Back to top
View user's profile Send private message
poppyu
Expert Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 147

PostPosted: Thu Mar 13, 2008 2:58 pm    Post subject: Reply with quote

yea thatll do
its not wat i wanted but so
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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