I've searched the list and I cannot find a solution to a problem. In foxpro I'm opening word document and manipulating them. Whilst doing this I place various data on the clipboard but office has the Multiple Clipboard and it gets full up to the point that my program stops responding because word will throw up a messagebox asking me if I want to allow the data in the clipboard to remain there once I have closed word down. I think the easiest thing to do would be to empty the clipboard, but when I try that I cannot empty it! I've tried the following code to no avail Declare integer OpenClipboard in user32 integer hwnd declare integer CloseClipboard in user32 declare integer emptyclipboard in user32 declare long FindWindowA in WIN32API string class, string table hwd=FindWindowA("OpusApp","new.doc - Microsoft Word") openclipboard(hwd) emptyclipboard() closeclipboard() There is also no code in VBA to empty the clipboard that I can find for office 2003 as microsoft kindly removed this facility. Has anyone got any ideas???
Cheers Tristan -------------------------------------------------------------------------------------------------------------- This email was sent to [EMAIL PROTECTED] Unless otherwise agreed expressly in writing by Marine Software Limited, this communication and attachments are to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it was sent. If you are not the intended recipient of this communication you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error. [EMAIL PROTECTED] Marine Software Limited. Registered in England & Wales. No 2576494 Regsitered Office. Unit3, Aylesham Business Pk, Aylesham. Kent. UK ------------------------------------------------------------------------------------------------------------------ _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.