>>I've created an "About App" form for my application and I'd like to inlcude a link to our webiste from this form. How should I go about doing this?
>
>Create a label and underline and and color it, ect. to make it look like a link, you can also change the cursor for it. Then, in the click event, do:
>
>
DECLARE INTEGER ShellExecute IN "Shell32.dll" INTEGER, STRING, STRING, STRING, STRING, INTEGER
>
>=ShellExecute(0,"Open","http://www.allanspage.com","","",0)
>
>and that will pop up the users default browser and go to your webpage.
Or if you don't want to use the WinAPI, add a Hyperlink object to your form and call the NavigateTo method from the label click.
Another option would be to take a look at the _hyperlinklabel class in the FoxPro Foundation Classes (FFC) in _hyperlink.vcx. The label look and feel is done for you.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao