Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Running CPL applets C++
Name: Jeff Date: December 17, 2003 at 08:58:03 Pacific OS: WinXP CPU/Ram: 3.2 Ghz
Comment:
I'm making an app that runs a control panel applet, the code i used to use to do this was somethin like this: WinExec(rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl But this doesn't work in XP, so i've tried to use the ShellExecute function but this doesn't seem to do anythin. Any suggestions on how i can run a CPL file using C++ MFC.
Name: Zach Date: December 17, 2003 at 18:45:24 Pacific
Reply:
I dont think that you can run C++ on MS XP I have it and....well I was told that it dont work... ZDW
0
Response Number 2
Name: Craig Date: December 18, 2003 at 10:19:37 Pacific
Reply:
Zach: well to not be very mean I'll just say BS!
Jeff: does it compile or just not run correctly? I'll take a look at it, however if you can get it to work from the run prompt then it should work. I'll give it a try.
0
Response Number 3
Name: Sord Date: December 18, 2003 at 10:25:51 Pacific
Reply:
Jeff: if you try running appwiz.cpl in the run prompt alone, it works. Try: system("appwiz.cpl"); or if you like WinExec you could try running it from that as if it was a program.
Summary: First, right click on "My Computer" then click Properties. Go to the advanced tab and click "Environment Variables". In the frame towards the bottom (the 2nd one), click "Path" and then Edit. Go to th...
Summary: Private compilerPath As String, j2RE As String, javaFile As String Private Sub Command1_Click() ' Compile button On Error GoTo eh: Dim cmdLn As String, fileName As String, shRet As Double fileName ...