To call the form is simple:
Dim aform As New ImageForm
aform.Show()
For ImageForm, I did everything on design time. Below are the codes from
"Windows Form Designer generated code":
Dim resources As System.Resources.ResourceManager = New
System.Resources.ResourceManager(GetType(ImageForm))
Me.PictureBox1 = New System.Windows.Forms.PictureBox
Me.SuspendLayout()
'
'PictureBox1
'
Me.PictureBox1.Image =
CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
Me.PictureBox1.Location = New System.Drawing.Point(72, 16)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(75, 75)
Me.PictureBox1.SizeMode =
System.Windows.Forms.PictureBoxSizeMode.AutoSize
Me.PictureBox1.TabIndex = 0
Me.PictureBox1.TabStop = False
'
'ImageForm
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(226, 113)
Me.ControlBox = False
Me.Controls.Add(Me.PictureBox1)
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.Name = "ImageForm"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Please Wait ..."
Me.ResumeLayout(False)
Thanks.
Li
> Li
>
> Can you show some code because there are endles methods to do what you want
> to achieve.
>
> Cor
"Jeffrey Tan[MSFT]" - 31 Oct 2005 10:38 GMT
Hi Li,
Does my reply make sense to you? Is your problem resolved? Please feel free
to tell me, thanks
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.