WINCLIP - ARev and Windows XP (AREV Specific)
At 10 MAR 2004 11:22:13AM Dave Harmacek wrote:
Does anyone remember WINCLIP? This allowed ARev to pass up to 191 characters from a variable into the Windows Clipboard.
I recently upgraded someone from a Windows 98 OS to Windows XP and WINCLIP no longer works. Ancient software, I know, but if someone found a workaround or can suggest a way to push a string into the Clipboard from ARev in W XP it would be helpful.
Thanks
Dave
At 10 MAR 2004 05:42PM Steve Smith wrote:
Dave,
The best I can do is to give you a substitute VB6 routine
Standard VB 6 exe, source:
Private Sub Form_Load()
Dim intFreeFilehandle As Integer
Dim filecontents As String
intFreeFilehandle=FreeFile
Open Trim(Command()) For Input As intFreeFilehandle
filecontents=Input(LOF(intFreeFilehandle), intFreeFilehandle)
Close intFreeFilehandle
Clipboard.Clear
Clipboard.SetText filecontents
Unload Me
End Sub
which accepts a single parameter (a DOS filespec) which the DAVEH.EXE reads and then places in the clipboard.
From AREV TCL, I tested it with (on one line)
EVAL OSWRITE "A big hello Dave Harmacek" TO "C:\TOCLIP.TXT" ; FLUSH ;
PERFORM "SUSPEND EXIT DAVEH.EXE C:\TOCLIP.TXT"
Then open notepad and Ctrl-V
Hope this helps,
Steve
At 17 MAR 2004 12:08PM Dave Harmacek wrote:
Works perfectly! Thanks!!
Dave