Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: "Randall Arnold" <randall.nospam.arnold@xxxxxxxxxx>
- Date: Thu, 5 Jan 2006 11:00:43 -0600
Ok, I'm breathing easier now.
I figured out how to add the user permissions in order to run aspx pages on
my laptop under IIS.
I have also determined that I can achieve my reporting goal by utilizing mht
(html archive) pages as the common denominator. I will add an asp.net
mht-generator component to my solution and layout web pages exactly as they
should appear within the published destinations (rendering some elements
invisible at time of export if need be). I will use vbscript client-side
(instead of interops and vb.net server side) to instantiate Word,
Powerpoint, et al and load the generated mht along with some scripted
formatting where needed.
Not exactly what I was shooting for, but it will work. I think. Tests so
far are good.
Thanks for putting up with my exasperated rants.
Randall Arnold
"Jim Cheshire" <noemail@xxxxxxxx> wrote in message
news:OcUNKCNEGHA.3904@xxxxxxxxxxxxxxxxxxxxxxx
> Randall Arnold wrote:
>> The suggestion to run CACLS was in the form of numerous commands that
>> added user rights via a batch file run on the desktop, not from the
>> web page per se. This was in order to allow IIS to execute aspx
>> pages on the desktop. I don't recall the exact error, but a google
>> search on it led me to (brace yourself) an MSKB article that
>> purported to have the fix. I dutifully performed the suggested steps
>> (create DOS batch file with CACLS commands) that Microsoft
>> delineated. Each execution was followed by a system message that
>> nothing happened. The other suggestion was to add the username
>> attribute. Visual Web developer's server says the attribute is
>> invalid.
>
>
> Can you tell me what KB article? I'll have a look and get it updated or
> pulled if it's misleading.
>
>
>>
>> As for Office not being designed to be automated as I am attempting,
>> then what are Interops for? What's with all the advertisements
>> alluding to such a capability? Where is Office going next-- seeing
>> as how at least one (ahem) MS competitor is poised to offer this sort
>> of thing (and then some)?
>
>
> Interop is for calling COM components from managed code. You can certainly
> use interop to automate Office from a Windows app. However, Office
> applications are not designed for automation in a non-interactive
> environment. If a competitive product is going to offer that, I'd watch
> out. It's a design nightmare and a bad decision on their part in my
> opinion. Applications with a UI should not be automated via a Web
> application.
>
> One other thing you might want to keep in mind. Web applications should
> ALWAYS be designed to run with no one logged in at the console. Give that
> a thought and you might understand better what I'm talking about. This is
> not an ASP.NET design issue. :)
>
> --
> Jim Cheshire
> ================================
> Blog: http://blogs.msdn.com/jamesche
>
> Latest entry:
> Getting the PID and TID of a COM Call
>
> Describes how to get the PID of the
> dllhost process a COM call is executing
> in and how to locate the thread as well.
>
>
>
.
- References:
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Randall Arnold
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Jim Cheshire
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Randall Arnold
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Jim Cheshire
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Randall Arnold
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Jim Cheshire
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Randall Arnold
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Jim Cheshire
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Randall Arnold
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: Jim Cheshire
- Re: how can you use mshtml DOM object to grab rendered asp.net page?
- Prev by Date: Re: Blank page after dropdownlist selection??
- Next by Date: Re: Thread not working
- Previous by thread: Re: how can you use mshtml DOM object to grab rendered asp.net page?
- Next by thread: Re: how can you use mshtml DOM object to grab rendered asp.net page?
- Index(es):
Relevant Pages
|