Hi,
I've got a VB6 application that takes data from an ADO recordset and copies it to an invisible Excel spreadsheet using the Windows clipboard. I've read that this is the fastest way to copy large datasets into an Excel worksheet. My problem is that while this application runs, my users are also using the Windows clipboard in other applications. Thus they can inadvertently change the contents that are pasted into the hidden spreadsheet or are surprised when the data that they are manually pasting is changed to the data that's destined for the spreadsheet. Am I forced to give up on using the clipboard for this data transfer or is there a way of protecting the clipboard contents? Thanks in advance.
Bill
This message was edited by billsox on 2002-04-07 18:54
I've got a VB6 application that takes data from an ADO recordset and copies it to an invisible Excel spreadsheet using the Windows clipboard. I've read that this is the fastest way to copy large datasets into an Excel worksheet. My problem is that while this application runs, my users are also using the Windows clipboard in other applications. Thus they can inadvertently change the contents that are pasted into the hidden spreadsheet or are surprised when the data that they are manually pasting is changed to the data that's destined for the spreadsheet. Am I forced to give up on using the clipboard for this data transfer or is there a way of protecting the clipboard contents? Thanks in advance.
Bill
This message was edited by billsox on 2002-04-07 18:54