CLose application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • GeorgeK

    #1

    CLose application

    Hello guys,

    I'm writing a little application and I need to copy something into the
    clipboard and then close the application. When I terminate the app with END
    or Me.Close the clipboard gets cleared and I get nothing out of it.

    I'm sorry if this is too easy for you guys but I'm not a programmer. I'm a
    system administrator trying to work around a problem in an application with a
    little VB app.

    Thank you for your help!

    Have a great day.
  • GeorgeK

    #2
    RE: CLose application

    I found the answer.


    but in a few words, what Kerry wrote is this:

    "There is an overloaded version of SetDataObject that lets you specify
    whether or not the data should remain in the clipboard after your app closes:"

    Clipboard.SetDa taObject(templa te, True)

    And it worked!! :-D

    Have you all a great day!
    "GeorgeK" wrote:
    [color=blue]
    > Hello guys,
    >
    > I'm writing a little application and I need to copy something into the
    > clipboard and then close the application. When I terminate the app with END
    > or Me.Close the clipboard gets cleared and I get nothing out of it.
    >
    > I'm sorry if this is too easy for you guys but I'm not a programmer. I'm a
    > system administrator trying to work around a problem in an application with a
    > little VB app.
    >
    > Thank you for your help!
    >
    > Have a great day.[/color]

    Comment

    Working...