Navigate

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > Browser >

Navigate

Description

It switches into the passed browser pager and open a Internet Explorer window on a passed url.

Remarks

warning

The browser must be open.
The file SCHEMA\DBWIEDEF.TXT must exists (see details in the specific help topic).

Syntax

call DBWShell("Navigate sheetTabTitle url")

Parameters

sheetTabTitle

the tab to switch in (as defined in DBWIEDEF.TXT file)

url

a url to show in the selected tab

See also

Internet Explorer Browser Pages help topic

Example

Suppose you have a DBWIEDEF.TXT defined in this way:

TITLE MechWorks.com

URL http://www.MechWorks.com
TITLE FreePage
URL http://localhost
TITLE Solidworks.com
URL http://www.Solidworks.com

 

Sub Main()

 DBWInit(TRUE)
 sheetTabTitle="FreePage"
 url="http://www.google.com"
 Call DBWShell("Navigate " & sheetTabTitle & " " & url)
End Sub