Re: how can you use mshtml DOM object to grab rendered asp.net page?



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.



.



Relevant Pages

  • Re: is there a rule ...
    ... These need to be clearly distinguished from the user interface design. ... are part of their plan for buying CyclingNews anyhow. ... Suggestion: maybe change the shape of the Flash carousel. ...
    (rec.bicycles.racing)
  • Re: how can you use mshtml DOM object to grab rendered asp.net page?
    ... (instead of interops and vb.net server side) ... This was in order to allow IIS to execute aspx ... > use interop to automate Office from a Windows app. ... It's a design nightmare and a bad decision on their part in my ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: TDD: Test-Driven Design or Test-Driven Development?
    ... > I find that a particularly useless definition of design, ... OK ill refine my definition of "theoretically possible to automate": ... > terms which is even narrower than the common usage of the word. ... Well what are books and symphonies if not works of art. ...
    (comp.object)
  • Re: Word 2004 Deleted/Replaced Phrases
    ... shop shelf, one in coding, one in design. ... The new display does not suit me, but then I am a Technical ... Writer who can have literally thousands of detail-level changes in a ... I think sending Microsoft a suggestion for a Mac product ...
    (microsoft.public.mac.office.word)
  • Re: Still need help...
    ... > suggestion as to how to design better i would gladly ... >>might be and what type of data they are storing. ... >>MS Access MVP ... >>> can you please offer a suggestion instead of insulting ...
    (microsoft.public.access.queries)