Accessing Windows Clipboard

  • Thread starter Thread starter Ottercove
  • Start date Start date
O

Ottercove

Guest
I'm trying to port some of my applications from VB6 to Visual Studio 2019.

Making pretty good progress but am stuck on accessing the Windows Clipboard

the code is:


My.Computer.Clipboard.SetText(Artist)

Error message is:



Severity





Code





Description





Project





File





Line





Suppression State





Error





BC30451





'Computer' is not declared. It may be inaccessible due to its protection level.





Project1





d:\Users\OtterCove\source\repos\Project1\Form1.vb





170





Active





I've spent hours searching for a solution. Every example of using the clipboard is exactly as I have it.

Help appreciated.

Continue reading...
 

Similar threads

N
Replies
0
Views
159
NachoShaw
N
Z
Replies
0
Views
102
ZenForAll
Z
J
Replies
0
Views
203
John_tay
J
Back
Top