Solved

how to start up an control panel applet?

Posted on 2003-11-21
7
207 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
ID: 9797838
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
ID: 9797867
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
ID: 9798078
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
ID: 9810240
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
ID: 9828789
try to put it in windows System folder
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

12 Experts available now in Live!

Get 1:1 Help Now