Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically Create PictureBox 1

Status
Not open for further replies.

Terabithia

Programmer
Aug 31, 2004
70
0
0
US
I need to be able to create PictureBox controls at runtime in VB.net script, load an image to them from a file, position it relevant to the previous one, and size the PictureBox to fit the image, limiting it to the page size. I will have the path and name for the image file and know how to load that to the control. At design time I will not know how many of the PictureBox controls need to be created.

Can anyone point me in the right direction?
 
Wrong forum.
Try this: forum796

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Sorry, as this is VB script, not Visual Studio, I thought this was where I should be. I know what works in VB.Net in VS may not apply in the script.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top