Solved

How to activate 'Hardware Update wizard' programmatically

Posted on 2009-04-08
3
283 Views
Last Modified: 2013-12-03
Is there a way to bring this wizard up on demand?
0
Comment
Question by:yossikally
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now