Solved

How to activate 'Hardware Update wizard' programmatically

Posted on 2009-04-08
3
289 Views
Last Modified: 2013-12-03
Is there a way to bring this wizard up on demand?
0
Comment
Question by:yossikally
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 24098179
Yes, you can just use
TCHAR* pCmd = _T("rundll32.exe shell32.dll,Control_RunDLL hdwwiz.cpl");
 
ShellExecute(NULL,_T("open"),pCmd,NULL,NULL,SW_SHOW);

Open in new window

0
 

Author Comment

by:yossikally
ID: 24098369
Thanks.  Is there a way to have it pre-select an INF file so that I won't have to browse for it?
0
 
LVL 86

Expert Comment

by:jkr
ID: 24098574
No, sorry, not that I am aware of - that "interface" is very sparse and not officially documented.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
post4 challenge 28 113
Runtime error 76: path not found error VB6 program on Windows 7 3 641
String manipulation in Visual Basic 7 82
Not needed 13 129
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

763 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