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 use ShellExecuteEx

Posted on 2004-09-23
9
184 Views
Last Modified: 2013-11-20
How to use ShellExecuteEx to launch a browser and run an application?
0
Comment
Question by:krimser
  • 3
9 Comments
 
LVL 6

Accepted Solution

by:
Amritpal Singh earned 25 total points
ID: 12141489
0
 
LVL 2

Assisted Solution

by:samooo_vc
samooo_vc earned 25 total points
ID: 12146345
I have used ShellExecute
ShellExecute(NULL, "Open", path, NULL, NULL, SW_SHOWNORMAL);
and it runs/exeutes/opens the file located at "path" in its default associated application.
0
 
LVL 6

Expert Comment

by:Amritpal Singh
ID: 12572377
i think both of us gave accurate posts
0
 
LVL 6

Expert Comment

by:Amritpal Singh
ID: 12816516
hi dan
i gave the reply in previous post
n e ways same reply
both of us gave correct answers
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 12822481
I am sorry for these double posts amrit_82.  I'll check into the Cleanup bot code to see why it is not noticing the previous ping.
-- Dan
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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
Replacement selected text 2 63
Detect CR LF to each line 12 170
tripleUp challenge 7 86
matchUp  challenge 9 115
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 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