Title explains most of it.
I have a tab control in my Main Form which has 2 tab pages, each of which are a different form. I create them as:
Then set them up via:Code:Dim UserManagementForm As New UserManagement() Dim FileManagementForm As New FileManagement()
I have a PrintForm component on my form and I am trying to send the currently active tab page to the print form and then send it to the appropriate dialog. However, I keep getting the document contains no images. Any ideas how I pass the tab page to the print form component?Code:UserManagementForm.TopLevel = False UserManagementForm.Parent = TabControl1.TabPages(0) UserManagementForm.FormBorderStyle = FormBorderStyle.None UserManagementForm.Dock = DockStyle.Fill UserManagementForm.Show() FileManagementForm.TopLevel = False FileManagementForm.Parent = TabControl1.TabPages(1) FileManagementForm.FormBorderStyle = FormBorderStyle.None FileManagementForm.Dock = DockStyle.Fill FileManagementForm.Show()


Reply With Quote