Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 19th, 2007, 10:58 AM   #1
bilal12pk
Newbie
 
bilal12pk's Avatar
 
Join Date: Oct 2007
Posts: 1
Rep Power: 0 bilal12pk is on a distinguished road
.cpl File linking

Hello All buddys,
I want to call a Control Panel Extension From A Visual Basic 6 Program i was tried that with Shell but it does not work Example:
Shell "mmsys.cpl"

So have you any method or Code to do that for me i will be thankfull for Help
bilal12pk is offline   Reply With Quote
Old Oct 19th, 2007, 1:51 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Re: .cpl File linking

See here for a C program for enumerating or running these applets. Perhaps you can convert that.

This is how you do it from the command line:
Attached Images
File Type: gif controlpanel.gif (69.7 KB, 6 views)
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem processing file into a char array csrocker101 C++ 1 May 8th, 2007 11:50 PM
After execution - Error cannot locate /Skin File? wchar Visual Basic 1 Mar 5th, 2005 9:04 PM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM
Structure char field to a disk file ehab_aziz2001 C++ 0 Feb 10th, 2005 2:42 PM
Linking dll failure (file not found) amrfathy_egy Visual Basic 8 Feb 3rd, 2005 3:13 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:53 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC