home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 May
/
PCWorld_1999-05_cd.bin
/
NOVINKY
/
WDweb
/
WDWEB16
/
Install.exe
/
WordWeb.lss
< prev
next >
Wrap
Text File
|
1998-03-06
|
742b
|
31 lines
Option Public
Declare Function ShowModalWordWeb Lib "WWeb32.DLL" Alias "ShowModalWordWeb" (Byval Ins As String, Byval Outs As String, Byval CloseOnCopy As Long, Byval AWindow As Long) As Long
Sub Main
Dim OutS1 As String * 255
On Error Goto ShowUnSet
OutS1 = String$(255,0)
.SelectWord
Str1$=.Text.GetText(366,1)
If Len(Str1$)<2 Then
.Type("[Left][Left]")
.SelectWord
Str1$=.Text.GetText(366,1)
If Len(Str1$)<2 Then Str1$=""
End If
On Error Goto Err2
If ShowModalWordWeb(Str1$, OutS1, 1, 0) Then
If Len(Str1$)>1 Then .Type("[CtrlLeft]")
.Text.DeleteChars(Len(Str1$))
.Type(OutS1)
End If
Goto IsEnd
ShowUnSet:
Call ShowModalWordWeb("", out, 0, 0)
Err2:
Resume IsEnd
IsEnd:
End Sub