ShellExecite Problem in Windows Vista

Posted on 2007-10-13
Last Modified: 2012-08-13
I am useing ShellExecute(handle,'open','',nil,nil,SW_SHOWNORMAL);
to open a link. Problem is ShellExecute, Is not supported in VISTA . I need a replacement method for ShellExecute to work in VISTA.
Question by:Grant Fullen
    LVL 3

    Accepted Solution

    ShellExecute is still possible in Windows Vista!
    If you want to run ShellExecute with elevated permissions you can specify runas on the lpVerb parameter.

    See here for more info:
    LVL 3

    Expert Comment

    I use shellexecute in Vista with no problem. What is the error you get?

    Author Comment

    by:Grant Fullen
    No error in vista it just simply does nothing. same code works great in any pre vista os i have.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
    Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
    This video discusses moving either the default database or any database to a new volume.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    733 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

    23 Experts available now in Live!

    Get 1:1 Help Now