By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

How do you auto run a Vb6 exe

yoda
100+
P: 291
I want to auto run a VB6 exe so, like when windows starts up the program shows up it would be a big help.

Thanks Yoda
Apr 13 '07 #1
Share this Question
Share on Google+
13 Replies


yoda
100+
P: 291
can anyone help me?
Apr 13 '07 #2

Dököll
Expert 100+
P: 2,364
can anyone help me?
Have you considered burning it to disc, leave the disc in there and hope it runs when you boot up :-)

Just being silly Yoda, this is way over my head. But I did search google for you and found something that looks promissing. Look at the bottom of the page:

http://www.vb-helper.com/tips3.htm

Let me know how it turns out.
Apr 14 '07 #3

yoda
100+
P: 291
Have you considered burning it to disc, leave the disc in there and hope it runs when you boot up :-)

Just being silly Yoda, this is way over my head. But I did search google for you and found something that looks promissing. Look at the bottom of the page:

http://www.vb-helper.com/tips3.htm

Let me know how it turns out.
not much help i'll keep looking or some one might help o well see ya later.
Apr 14 '07 #4

Dököll
Expert 100+
P: 2,364
not much help i'll keep looking or some one might help o well see ya later.
Hummm...That's weird, looks solid to me. I'll give it a whirl myself to be sure. I believe the same technique used on disc software is similar if not the same as booting up your machine and have a program run. Hopefully your week-end goes as planned:-)
Apr 14 '07 #5

Expert 5K+
P: 8,434
not much help i'll keep looking or some one might help o well see ya later.
Why not just put it in your Startup group, like any other program?
Apr 15 '07 #6

cjbrx3115
P: 93
Yeah, just put it in your Startup folder. Anything in that folder starts when Windows does.
Apr 15 '07 #7

yoda
100+
P: 291
Yeah, just put it in your Startup folder. Anything in that folder starts when Windows does.
yea thanks for the suggestion never thought of that i'm really new to programming most of my posts r questions, anyway thanks

Yoda
Apr 15 '07 #8

Expert 5K+
P: 8,434
Yeah, just put it in your Startup folder. Anything in that folder starts when Windows does.
Oops! I meant folder, of course - not group. Slipped back to Windows 3 thinking for a moment, there. :)
Apr 15 '07 #9

devonknows
100+
P: 137
Oops! I meant folder, of course - not group. Slipped back to Windows 3 thinking for a moment, there. :)
Just a comment on the startup directory... if you are going to be using the app on other programs for or OS's then the startup dir will be different for different users, my suggestion would be to use the registry

for that user:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Run"
or
for all users:
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Cur rentVersion\Run"

if you dont want to go through the aggro of making your own registry module then just open a file for output, put the reg vars in there and shell it rofl. I have a registry module i picked up from DevX, if need be, bit too big to be posting to be honest, plus if you use registry you can get it to automatically cahnge the settings alot easier if you move the application etc etc.

Hope This helps ya,
Kind Regards
Devon.
Apr 15 '07 #10

devonknows
100+
P: 137
And for some reason its put a space in the "Current" bit of the reg locations, just letting you know it doesnt actually have a space inside of it...

Wierd, Laters
Devon.
Apr 15 '07 #11

Expert 5K+
P: 8,434
And for some reason its put a space in the "Current" bit of the reg locations, just letting you know it doesnt actually have a space inside of it...
Yes, for some reason TheScripts inserts a space to break up long strings like this. It can be quite annoying at times.

Possibly using the CODE tag would prevent it, but I don't recall whether I've ever tried.
Apr 15 '07 #12

Denburt
Expert 100+
P: 1,356
You didn't specify which version of Windows I know WinXP not only looks at a specific users startup folder they also have:
"C:\Documents and Settings\All Users\Start Menu\Programs\Startup"
Apr 16 '07 #13

yoda
100+
P: 291
You didn't specify which version of Windows I know WinXP not only looks at a specific users startup folder they also have:
"C:\Documents and Settings\All Users\Start Menu\Programs\Startup"
thanks for the help everyone just haven't had time i'll get back to you guys.

Yoda
Apr 16 '07 #14

Post your reply

Sign in to post your reply or Sign up for a free account.