473,467 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How do you auto run a Vb6 exe

yoda
291 Contributor
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
13 3611
yoda
291 Contributor
can anyone help me?
Apr 13 '07 #2
Dököll
2,364 Recognized Expert Top Contributor
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
291 Contributor
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
2,364 Recognized Expert Top Contributor
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
Killer42
8,435 Recognized Expert Expert
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
93 New Member
Yeah, just put it in your Startup folder. Anything in that folder starts when Windows does.
Apr 15 '07 #7
yoda
291 Contributor
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
Killer42
8,435 Recognized Expert Expert
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
137 New Member
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
137 New Member
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
Killer42
8,435 Recognized Expert Expert
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
1,356 Recognized Expert Top Contributor
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
291 Contributor
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

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

Similar topics

2
by: Manlio Perillo | last post by:
Hi. This post follows "does python have useless destructors". I'm not an expert, so I hope what I will write is meaningfull and clear. Actually in Python there is no possibility to write code...
1
by: Glabbeek | last post by:
I'm changing the layout of my site. Instead of using tables, I will use DIVs. It's working fine, except for 1 thing: In IE6 some DIVs are not the correct width. Mozilla and Opera are showing the...
5
by: Robert Downes | last post by:
I'm using the following in a page that I'm testing in Mozilla: p.actionLinkBlock {border: 1px #000000 dashed; padding: 0.2cm; width: auto} But the dashed border is extending to the right-edge...
20
by: Vijay Kumar R. Zanvar | last post by:
Hello, Unlike register, auto keyword can not be used to declare formal parameter(s). Is there any specific reason for this? Kind regards, Vijay Kumar R. Zanvar
6
by: Alpha | last post by:
I retrieve a table with only 2 columns. One is a auto-generated primary key column and the 2nd is a string. When I add a new row to the dataset to be updated back to the database. What should I...
5
by: Samuel | last post by:
Hi, I am running into a problem of mixing UICulture = auto and allowing users to select culture using a dropdown list. I am detecting a querystring, "setlang", and when found, setting the...
5
by: maya | last post by:
at work they decided to center divs thus: body {text-align:center} #content {width: 612px; text-align:left; margin: 0 auto 0 auto; } this works fine in IE & FF, EXCEPT in FF it doesn't work if...
22
by: nospam_news | last post by:
I currently get asked about my usage of "auto". What is it for? The keyword is clearly superflous here. In contrast to the huge majority of C/C++ developers I write definitions very explicitly...
2
by: Piotr K | last post by:
Hi, I've encountered a strange problem with Firefox which I don't have any idea how to resolve. To the point: I've <divelement with a style "height: auto" and I want to retrieve this value...
21
by: JOYCE | last post by:
Look the subject,that's my problem! I hope someone can help me, thanks
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.