E
escher4096
If I attempt to do some automation from a web site (I do all of the
setup and what no so that it all runs) I have several documents that
will generate but will not look proper. I run the same code not under
a web context (from a little command line application wrapper) and the
resulting document does look proper. The only difference I notice in
the running of the 2 is that when I run it from my command line
program the Word application is visible and when I run it from the
website the Word application is not visible.
So I played with this a bit more. If from my command line program
(when the document is generated properly) I set 'wdApp.Visible =
False' then the document generated by the website and the command line
program look the same (and broken). So the issue has to be tied to the
visibility of the application some how.
I have 'wdApp.Visible = True' but the application never becomes
visible when run from the website. Does anyone know how to force the
application to be visible when running under my Application Pool user?
This user is a full user (has a profile, can login and all of that
type of stuff) it is just running the website.
Using VB.NET 2.0 on a Windows 2003 Server.
Any help / suggestions would be appreciated.
Thanks
-Cam
setup and what no so that it all runs) I have several documents that
will generate but will not look proper. I run the same code not under
a web context (from a little command line application wrapper) and the
resulting document does look proper. The only difference I notice in
the running of the 2 is that when I run it from my command line
program the Word application is visible and when I run it from the
website the Word application is not visible.
So I played with this a bit more. If from my command line program
(when the document is generated properly) I set 'wdApp.Visible =
False' then the document generated by the website and the command line
program look the same (and broken). So the issue has to be tied to the
visibility of the application some how.
I have 'wdApp.Visible = True' but the application never becomes
visible when run from the website. Does anyone know how to force the
application to be visible when running under my Application Pool user?
This user is a full user (has a profile, can login and all of that
type of stuff) it is just running the website.
Using VB.NET 2.0 on a Windows 2003 Server.
Any help / suggestions would be appreciated.
Thanks
-Cam