D
Dick Sutton
I am so close, yet oh so far! Here's the problem: I want to load a string
variable that contains HTML into an instance of SHDocVw.InternetExplorer.
Here's what I have so far:
Function ShowMonTaxes(ByVal bTax As Boolean) As Integer
Dim oIE As New SHDocVw.InternetExplorer
' set Internet Explorer properties...
oIE.Left = 225
oIE.Top = 75
oIE.Width = 680 ' width of dialog...
oIE.Height = 600
oIE.MenuBar = True
oIE.ToolBar = 1
oIE.StatusBar = False
oIE.AddressBar = False
oIE.Resizable = True
oIE.Navigate("About:blank")
While oIE.Busy : End While ' wait for page to load...
' load html into the oIE page ---
' **** what do I put here???*****
' with IE/html loaded, define assorted objects...
oIE.Visible = True
' return result
ShowMonTaxes = 0
End Function
I have a string (i.e. strHTML) that is already constructed that contains the
valid HTML results. What I'm attempting to do here is to display those
results. I am using the SHDocVw.InternetExplorer because webbrowser control
doesn't allow me to use a ToolBar (I need this so that I can easily print
the page if I so desire).
Any help would be appreciated.
Thanks in advance.
Dick
variable that contains HTML into an instance of SHDocVw.InternetExplorer.
Here's what I have so far:
Function ShowMonTaxes(ByVal bTax As Boolean) As Integer
Dim oIE As New SHDocVw.InternetExplorer
' set Internet Explorer properties...
oIE.Left = 225
oIE.Top = 75
oIE.Width = 680 ' width of dialog...
oIE.Height = 600
oIE.MenuBar = True
oIE.ToolBar = 1
oIE.StatusBar = False
oIE.AddressBar = False
oIE.Resizable = True
oIE.Navigate("About:blank")
While oIE.Busy : End While ' wait for page to load...
' load html into the oIE page ---
' **** what do I put here???*****
' with IE/html loaded, define assorted objects...
oIE.Visible = True
' return result
ShowMonTaxes = 0
End Function
I have a string (i.e. strHTML) that is already constructed that contains the
valid HTML results. What I'm attempting to do here is to display those
results. I am using the SHDocVw.InternetExplorer because webbrowser control
doesn't allow me to use a ToolBar (I need this so that I can easily print
the page if I so desire).
Any help would be appreciated.
Thanks in advance.
Dick