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.
var
myString
endVar
myString = "C:\\Program Files\\Microsoft Office\\OFFICE11\\winword.exe "
+
"\"C:\\My Documents\\Holder Admission.doc\"" ; argument
view(myString) ; see the entire command line statement
execute(myString) ; make it go
uses "Shell32.dll"
ShellExecuteA( hWnd CLONG, lpOperation CPTR,
lpFile CPTR, lpParams CPTR,
lpDirectory CPTR, nShowCmd CWORD ) CLONG
endUses
method pushButton(var eventInfo Event)
var
strDir,
strDoc String
liRetVal longInt
endVar
strDir = "c:\\docume~1\\username\\mydocu~1\\"
strDoc = "holder~1.doc"
if not isFile( strDir + strDoc ) then
msgStop( "Can't Open File", "Reason: Can't find a file named " +
strDir + strDoc + "\"; please check the name." )
else
ShellExecuteA( 0, "open", strDoc, "", strDir, 0 )
endIf
endMethod