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 


Visual basic (Help)

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

Joined: 20 Nov 2007
Posts: 287

PostPosted: Thu Dec 27, 2007 2:44 pm    Post subject: Visual basic (Help) Reply with quote

Hey everyone, I'm making a bat generator (bats can open multiple files at once) but im stuck...
How would i make it, so that it will create the bat on your desktop?
What path would i make it at? Confused

Please help!

_________________

Sciextron made the userbar up here, Rep him =D

[img]http://i145.photobucket.com/albums/r225/Michaell61/header.gif[/img] <---Visit theprocoders today!
Back to top
View user's profile Send private message
Devolve
How do I cheat?
Reputation: 0

Joined: 21 Sep 2007
Posts: 4

PostPosted: Thu Dec 27, 2007 2:46 pm    Post subject: Re: Visual basic (Help) Reply with quote

C:\Documents and Settings\All Users\Desktop
U can change the "all users" to a specific user
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Dec 27, 2007 2:48 pm    Post subject: Re: Visual basic (Help) Reply with quote

Devolve wrote:
C:\Documents and Settings\All Users\Desktop
U can change the "all users" to a specific user


won't work on vista

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

Joined: 06 Nov 2007
Posts: 106
Location: Ah... Don't look behind you.

PostPosted: Thu Dec 27, 2007 4:34 pm    Post subject: Reply with quote

google.com

Rep please.

_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Thu Dec 27, 2007 4:40 pm    Post subject: Reply with quote

Micchi wrote:
google.com

Rep please.


Why don't you search and give him the results?

You could use common dialog and specify where the person could save it, it's much more easier

_________________
Back to top
View user's profile Send private message
Elementality
How do I cheat?
Reputation: 0

Joined: 28 Dec 2007
Posts: 1

PostPosted: Fri Dec 28, 2007 11:46 am    Post subject: Reply with quote

Hmm usually to make life easier i create the file in c: then shortcut the c: docs on the desktop..:/ we all have different means and ways lol.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Dec 28, 2007 12:10 pm    Post subject: Reply with quote

You can use the %userprofile% envirnment variable. (Not sure if Vista has it though.)

So you could do (for example):

Code:
cd %userprofile% \Desktop

Which would change the directory to the current users desktop.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Fri Dec 28, 2007 2:16 pm    Post subject: Reply with quote

Wiccaan wrote:
You can use the %userprofile% envirnment variable. (Not sure if Vista has it though.)

So you could do (for example):

Code:
cd %userprofile% \Desktop

Which would change the directory to the current users desktop.

It's working on vista.
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