• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

how to start up an control panel applet?

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
Tia86
Asked:
Tia86
3 Solutions
 
raidosCommented:
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
 
Tia86Author Commented:
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
 
robert_marquardtCommented:
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
 
DeerBearCommented:
Hi,

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

HTH,

Andrew
0
 
TheLeaderCommented:
try to put it in windows System folder
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now