Solved

how to start up an control panel applet?

Posted on 2003-11-21
7
205 Views
Last Modified: 2010-04-05
i have a problem.
i have create a control panel applet program.
this applet MUST run when windows startup.
for this i have added a value in the registry (HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN)
eg. "C:\my programs\mycpl.cpl"

under NT work perfectly BUT under win9x the cpl aren't loaded!
why??


Thanks.
0
Comment
Question by:Tia86
7 Comments
 
LVL 3

Expert Comment

by:raidos
Comment Utility
does it run under win9x if you doubleclick it from explorer ?

Maybe you're trying to use an API that doesn't exist in Win9x

Regards
//raidos
0
 

Author Comment

by:Tia86
Comment Utility
yes, with double click the cpl work.

i have find a solution (i think, i can't test it now):

rundll32.exe shell32.dll,Control_RunDLL mycpl.cpl


is good?

bye

0
 
LVL 11

Assisted Solution

by:robert_marquardt
robert_marquardt earned 25 total points
Comment Utility
Yep, but watch the blanks.
I recall that such a command line needs a blank somewhere or the other way round it does not allow a blank somewhere.
0
 
LVL 5

Assisted Solution

by:DeerBear
DeerBear earned 50 total points
Comment Utility
Hi,

The control panel applets are controlled by "control.exe" program.
Use that to run them.

HTH,

Andrew
0
 
LVL 2

Accepted Solution

by:
TheLeader earned 50 total points
Comment Utility
try to put it in windows System folder
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now