[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== WINCLIP - ARev and Windows XP (AREV Specific) ====
=== At 10 MAR 2004 11:22:13AM Dave Harmacek wrote: ===
{{tag>"AREV Specific"}}
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
[url=http://www.state-of-the-art.com.au/DAVEH.EXE]DAVEH.EXE[/url]
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
steve@state-of-the-art.com.au
----
=== At 17 MAR 2004 12:08PM Dave Harmacek wrote: ===
Works perfectly! Thanks!!
Dave
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=D35BF1DC1AF8EED185256E530059ECD6|View this thread on the forum...]]