Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browser opening behind my application
Message
De
14/10/2002 16:49:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Browser opening behind my application
Divers
Thread ID:
00711121
Message ID:
00711121
Vues:
41
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??
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform