I believe you can achieve this through the use of windows API calls. There is detailed information about using the clipboard on the Microsoft MSDN web site:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard.asp The process is a matter of creating a function that calls the following API functions: OpenClipboard EmptyClipboard SetClipboardData CloseClipboard The functions will expect C data types, just use the equivalent MapBasic type and you should be fine. I've not used this part of the API before so do not know the exact process to follow, read through the documents provided by Microsoft and it should all become clear. Regards, Colin Henderson GI Consultant Ordnance Survey Tel: +44 (0)2380 792034 Mob: +44 (0)771 972307 Email: [EMAIL PROTECTED] Website: www.ordnancesurvey.co.uk -----Original Message----- From: Andrew Newman [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 10:22 To: [EMAIL PROTECTED] Subject: MI-L variable to clipboard Hi folks Does anyone know if it is possible to copy the contents of a MapBasic string variable to the clipboard so they can be pasted into other documents (eg word or excel) Thanks for any help in advance Andrew _______________________________________ Andrew Newman GIS Specialist, IDG, English Nature [EMAIL PROTECTED] (01629) 816660 _______________________________________ English Nature, Peak District & Derbyshire Office Endcliffe, Deepdale Business Park, Ashford Road Bakewell, Derbyshire, DE45 1GT --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 10028 This email and any attachments have been virus checked upon receipt at Ordnance Survey and are free of all known viruses. If you have received this email in error, please delete it immediately and notify the sender. This email may contain confidential information and if you are not the intended recipient, you must not copy, distribute or rely on it. As email is not a 100% secure communications medium, you accept that there are risks in communicating by email by doing so. We advise you to check that emails and attachments are virus-free before opening them. No contracts can be entered into on our behalf by email. Opinions expressed in this email are not necessarily endorsed by us unless otherwise specifically stated. We reserve the right to read and monitor any email or attachment entering or leaving our systems without prior notice. Ordnance Survey Romsey Road Southampton SO16 4GU Tel: 023 8079 2000 http://www.ordnancesurvey.co.uk --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 10029
