Copy content of partslist to clipboard

Hello again!

 

I've got another problem. I would like to copy the content of a partslist to the clipboard.

At the moment i let the user copy it:

 

        Clipboard.Clear()

        Do Until Clipboard.ContainsText()
            If MsgBox("Bitte Inhalt der Stückliste kopieren," & vbLf & "und anschließend auf OK klicken.", MsgBoxStyle.OkCancel) = MsgBoxResult.Cancel Then Exit Sub
        Loop

 

Is there a way to copy the content without this "user interaction"?

 

Thanks for your replies

 

Posted by: Christian Kunkel
Post date: 10/17/2013 4:27:09 PM

1 REPLY

Copy content of partslist to clipboard

Hello,

 

i found the solution.

 

CopyToClipboard() was my thing. I was a little bit confused because in the GUI there are two commands for the right click "Copie" and "Copie Content". The normal "Copy" from the GUI was not what i searched.

 

Thanks

Christian

 

Posted by: Christian Kunkel
Post date: 10/22/2013 8:48:59 AM