1
Eaê Personal.
I have this code to define a New Point for a Picturebox, but when running it does not work,...
Dim VarPbx As String = "PictureBox" & "2"
Dim pbx As PictureBox = CType(Me.Controls.Find(VarPbx, True).FirstOrDefault, PictureBox)
Dim ValorLocation As String = "324, 212"
pbx.Location = New Point(ValorLocation)
Did they find out? I’m a real lay person
I’ve tried other type of variables for(Valorlocation) but he of the expected error in some of the numbers, the right is the value to be Decimal right? Thank you for opening this post.
Thanks, is that in this part: Dim Varpbx As String = "Picturebox" & "2" this value two is in vdd here a variable that will change to change other Picturebox s
– Rodrigo BS