Solved

how to start up an control panel applet?

Posted on 2003-11-21
7
209 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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

821 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