Go Back   Windows Vista Forum | Vista Babble > Windows Vista > Vista Bugs and Problems

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-12-2007, 09:50 AM
Junior Member
 
Join Date: Oct 2007
Posts: 2
Murali is on a distinguished road
Displaying control panel dialogs


Hi,
when i tried to show the network connection dialog programatically as follows
HMODULE hModule = LoadLibrary("Shell32.dll");
if (hModule)
{
pEntryPoint = (PFUNCTION_ENTRYPOINT) GetProcAddress (hModule, "Control_RunDLLW");
}

if (pEntryPoint)
{
pEntryPoint(hParent, hInst, ncpa.cpl, SW_SHOW);
}


Its not working....But if i give the .cpl name as Run command its works....

please provide me some solutions

regards,
mkrstvm@yahoo.co.in

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Sponsored Links
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:13 PM.



Page generated in 0.11357 seconds with 9 queries

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23