Clipboard troubles

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
 
A

Adrian Jansen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top