The following code opens a form that displays a report in a webbrowers
control when used with VB2005 beta. When the same code is used in VS 2005
RC the form never opens. I am having problems with every form that uses the
web browser control.
If funBuildIDF(sqlIDFRept, strCurrentTable, x) Then
Response = MsgBox("Report saved to " & strHTMLFileName & vbCr & "
and " & strHTMLFileName & "." & vbCr & vbCr & _
"Would you like to view the report?",
MsgBoxStyle.YesNo, "Report Saved")
If Response = 6 Then
intFormPreview += 1
Dim Preview As New frmPreview
Preview.MdiParent = TAMS.frmMain
Preview.Show()
Me.Close()
End If
End If
Thanks,
Thomas
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access