[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1803
  • Last Modified:

ShellExecite Problem in Windows Vista

I am useing ShellExecute(handle,'open','http://www.mysite.com.com/tutorial/index.htm',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.
Thanks
Grant
0
Grant Fullen
Asked:
Grant Fullen
1 Solution
 
RemkoEBCommented:
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: http://blogs.msdn.com/vistacompatteam/archive/2006/09/25/771232.aspx
0
 
KunfufaresiCommented:
I use shellexecute in Vista with no problem. What is the error you get?
0
 
Grant FullenAuthor Commented:
No error in vista it just simply does nothing. same code works great in any pre vista os i have.
Thanks
Grant
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now