tanveerhabib
Programmer
can i link or access a file present at some website like suppose abc.com/file.txt ??? if yes how can i do it in VFP
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
lox = CREATEOBJECT("InetCtls.Inet.1")
lcPage = lox.OpenURL("[URL unfurl="true"]http://www.example.com/index.htm")[/URL]
&& lcPage will now contain the contents of the specified file
I just want to link a file present at don't want to read any thing present
DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, ;
STRING cAction, ;
STRING cFileName, ;
STRING cParams, ;
STRING cDir, ;
INTEGER nShowWin
&& you only need to execute above command once per session
cFileName = "[URL unfurl="true"]http://abc.com/file.txt"[/URL]
cAction = "open"
ShellExecute(0,cAction,cFileName,"","",1)