Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browser opening behind my application
Message
From
14/10/2002 16:49:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Browser opening behind my application
Miscellaneous
Thread ID:
00711121
Message ID:
00711121
Views:
40
In my Help menu i would like to place an item that would launch my companies website in the users browser.

I tried this by creating a menu item/procedure of:

declare INTEGER ShellExecute in shell32 INTEGER handle, STRING @ oper, STRING @ ifile, STRING @ iparam, STRING @ ipath, INTEGER showcmd
shellexecute(0,"open",'http://www.mycompany.com',"","",1)



this works great except that it always, without fail, opens the web browser behind my application. THe user has to be very observant to notice that anything happened at all. And is forced to click on the toolbar to make it the current window, or minimize my application.

any ideas??
Next
Reply
Map
View

Click here to load this message in the networking platform