D
Dick Sutton
Hi all,
I just made the mistake of posting this question in the
Microsoft.Public.VB.General.Discussion group. I was told that VB 2005
Express is NOT VB. Oh, well, must have touched a nerve. Anyway, here's the
situation.
I am using VB 2005 Express to build a program and I have found that the
easiest way to generate a 'text page' (for viewing and/or printing) for my
app is to create an HTML page using the IE document object. I know, it's
crude, but serves my purpose well (I use this technique extensively in VB
Script). Here's my problem: I can get it to work by using 'late' binding
as such:
Dim oIE As Object
' instantiate Internet Explorer
oIE = CreateObject("InternetExplorer.Application")
oIE.left = 225
oIE.top = 75
oIE.width = 680 ' width of dialog...
oIE.height = 600
oIE.menubar = True
oIE.toolbar = True
oIE.statusbar = False
oIE.addressbar = False
oIE.Resizable = True
oIE.navigate("about:blank")
etc...
However, as you can see, I'm employing late binding. As such,VB 2005
Express requires me to turn off "Strict". I want to use 'early' binding,
but I can't find a reference for it. I guess I don't know what I'm looking
for.
Does anyone have the solution for me?
Thanks in advance...
Dick
I just made the mistake of posting this question in the
Microsoft.Public.VB.General.Discussion group. I was told that VB 2005
Express is NOT VB. Oh, well, must have touched a nerve. Anyway, here's the
situation.
I am using VB 2005 Express to build a program and I have found that the
easiest way to generate a 'text page' (for viewing and/or printing) for my
app is to create an HTML page using the IE document object. I know, it's
crude, but serves my purpose well (I use this technique extensively in VB
Script). Here's my problem: I can get it to work by using 'late' binding
as such:
Dim oIE As Object
' instantiate Internet Explorer
oIE = CreateObject("InternetExplorer.Application")
oIE.left = 225
oIE.top = 75
oIE.width = 680 ' width of dialog...
oIE.height = 600
oIE.menubar = True
oIE.toolbar = True
oIE.statusbar = False
oIE.addressbar = False
oIE.Resizable = True
oIE.navigate("about:blank")
etc...
However, as you can see, I'm employing late binding. As such,VB 2005
Express requires me to turn off "Strict". I want to use 'early' binding,
but I can't find a reference for it. I guess I don't know what I'm looking
for.
Does anyone have the solution for me?
Thanks in advance...
Dick