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
Solved

How to activate 'Hardware Update wizard' programmatically

Posted on 2009-04-08
3
286 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to adjust sheet 1 90
Problem to open Excel file 15 173
PL SQL Developer 7 52
Increment column based of a FK 8 31
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…

809 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