Copy to Clipboard - InfoPath Dev
in

InfoPath Dev

Copy to Clipboard

Last post 02-04-2006 01:33 AM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-01-2006 04:07 PM

    • lxhiss
    • Not Ranked
    • Joined on 12-11-2005
    • Posts 9

    Copy to Clipboard

    From my Infopath forms I want to be able to copy different fields to the windows clipboard using a button. This is primarily so I can create labels in a different application for the label printer. For example contact name field, address field, suburb field, zip code field needs to be copied to the clipboard in a formatted fashion so when I press ctrl V the information will paste on the label.

    Cheers
    Lucian
  • 02-02-2006 08:02 PM In reply to

    Hi Lucian,
    Have you looked into at writing some .NET code behind the form to do this?

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 02-02-2006 10:49 PM In reply to

    • lxhiss
    • Not Ranked
    • Joined on 12-11-2005
    • Posts 9
    Hey Patrick. I've been looking for snipets of code to give me an idea on how to grab data from fields on an infopath form and put them onto the clipboard but haven't had any luck. I basically plan on putting code behind a button and clicking it to put data onto the clipboard. Can you point me in a direction where I may get an idea of how to write this?
  • 02-04-2006 01:33 AM In reply to

    Hi again,
    I don't remember the method. Search the .NET documentation on MSDN for clipboard and it will probably have a method to put items on the clipboard. Sorry!

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.