Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enlaces
Message
From
20/04/2003 09:34:32
 
 
To
19/04/2003 18:24:47
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00779540
Message ID:
00779609
Views:
10
>Como puedo crear un enlace desde un formulario de un programa de VFP para que abra la pagina en el navegador?

Puedes usar Windows API,como te ha indicado Dmitry.
O puedes usar Windows Script Host (WSH):
#define SINCRONICO .T.
#define ASINCRONICO .F.
#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 3
cUrl = "www.levelextreme.com"
oShell = createobject("WScript.Shell")
oShell.Run(cUrl,SW_SHOW_MAXIMIZED,ASINCRONICO)
o puedes usar las clases de "Hyperlink" que vienen en VFP FoxPro Foundation Classes (FFC).
Estas las encuentras a través del Component Gallery (Galería de Componentes) o también en el Task Pane en VFP8.

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform