AnsweredAssumed Answered


Question asked by USForestServiceAdmin on Aug 6, 2012
Latest reply on Aug 6, 2012 by USForestServiceAdmin
Hello All,

I am using the following code to control where my form displays on screen:

Dim pfrm As frmDisplayImage = New frmDisplayImage pfrm.PictureBox1.ImageLocation = subFolder.path & "\sk_" & fName pfrm.Text = "sk_" & fName pfrm.SetDesktopLocation(x:=0, y:=0) pfrm.Show()

This does not seem to have any impact on where the form shows up.  I'm using Visual Studio 2008 with Visual Basic.
Is there an easy way to control where a form displays on screen?  In the code above I'm trying to display the form in the
Upper right corner of the screen.