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

Expression is a value and therefore cannot be the target of an assignment.

$
0
0
Hello, I get this error when I run my code:

Expression is a value and therefore cannot be the target of an assignment.

This is my code.

MouseListener.Location.X = Screen.PrimaryScreen.Bounds.Width - MouseListener.Size.Width

What am I doing wrong?

Thanks, Andreas :-)

Viewing all articles
Browse latest Browse all 27376

Latest Images

Trending Articles



Latest Images

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