Clipboard troubles

  • Thread starter Thread starter Drew
  • Start date Start date
D

Drew

ok im still havin problems with copying multiple text
boxes at once to the clipboard can anyone help me? heres
some of what i have:

If GlobalUnlock(hGlobalMemory) = 0 Then
If OpenClipboard(0&) <> 0 Then
Call EmptyClipboard
hClipMemory = SetClipboardData(CF_TEXT,
hGlobalMemory)
ClipBoard_SetText = FIRST
ClipBoard_SetText = LAST
ClipBoard_SetText = MI
ClipBoard_SetText = ADDRESS
ClipBoard_SetText = CITY
ClipBoard_SetText = ST
ClipBoard_SetText = ZIP(CloseClipboard)
End If

when im setting text im setting it to the text boxes in
the form
 
What exactly are you trying to achieve ? If you want to paste the data into
another application, maybe its better to do it with Automation, rather than
fooling around with the clipboard.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 
Back
Top