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.
#DEFINE wdSeekPrimaryFooter 4
LOCAL oWord,loDoc
oWord = CREATEOBJECT('word.application')
loDoc = oWord.documents.add()
oWord.ActiveWindow.ActivePane.View.SeekView= wdSeekPrimaryFooter
WITH oWord.selection
.InlineShapes.AddPicture("C:\Documents and Settings\MIKE_G\My Documents\My Pictures\spongebob.jpg")
ENDWITH
oWord = createobject('word.application')
odocument=oWord.Documents.Open('c:\all products') && Multiple page document.
oDocument.Repaginate && Just to make sure the page count is right.
DO WHILE oWord.selection.Information(3)<> oWord.Selection.Information(4)
MESSAGEBOX( "The selection is on page " +TRANSFORM(oWord.selection.Information(3)) + " of page "+;
TRANSFORM(oWord.Selection.Information(4)))
oWord.Browser.Next && Skip a Page
ENDDO