Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27396

Namespace My

$
0
0
How/where is Namespace My declared?

e.g. I started a new, empty project, then added a module like this:

Code:

Module Module1
    Sub main()
        My.Computer.Clipboard.SetText("test my")
    End Sub
End Module

But I get an error message:

Quote:

'My' is not declared
So, what should I do in Visual Studio to cause the declaration to be built?

Viewing all articles
Browse latest Browse all 27396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>