Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

call html from fpw 26a 1

Status
Not open for further replies.

DontKnowHow

Technical User
Apr 29, 2003
1
NO
How can I launch an HTML program from within FPW?

Thanks for your suggestions. DKH
 
By "launch an HTML program" do you mean invoke Internet Explorer or Netscape Navigator?

You should be able to use the RUN command. [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br> [/sig]
 
This program assumes you are using Win9x or WinNT or Win2K
[tt]
procedure RunHtmlExe
lcHtmlExe = IsFileInReg(&quot;HTMLPROGRAM.EXE&quot;)
if empty(lcHtmlExe)
wait window &quot;Can Not File The HTML Program in Your Windows Registry&quot;
return
endif
= RunExe(lcHtmlExe , &quot;HTMLFILENAME&quot; , 1)
return
[/tt]

Look in the FAQ area for the souce code to
IsFileInReg() and RunExe() [sig]<p>David W. Grewe<br><a href=mailto:Dave@internationalbid.net>Dave@internationalbid.net</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top