Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Instrukcja Użytkownika Strona 72

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 97
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 71
72
18.8 ShowInBrowser()
This function allows you to open a file in the Windows Explorer. If the extension of the file has
the application registered to open files with such extensions, it will launch.
For example, if Internet Explorer is registered to open files with extension *.htm, and the file
handle passed to the ShowInBrowser() function belongs to a file with such an extension, this
file opens in Internet Explorer.
Format : ShowInBrowser ( file_handle )
Parameters
file_handle File "handle"
Example
set html_file = 0;
html_file = OpenFile( "D:\\Log.htm" );
WriteString( html_file, "<html><head><title>LOG</title></head>" );
WriteString( html_file, "<body>" );
WriteString( html_file, "</body></html>" );
ShowInBrowser( html_file ); # Opens the file in Internet Explorer.
CloseFile( html_file );
Przeglądanie stron 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 96 97

Komentarze do niniejszej Instrukcji

Brak uwag