Re: how can you use mshtml DOM object to grab rendered asp.net page?
- From: "Randall Arnold" <randall.nospam.arnold@xxxxxxxxxx>
- Date: Tue, 3 Jan 2006 16:49:53 -0600
In general, my problem is that right off the bat I run into security
obstacles. I mentioned one, the inability to use IIS on my laptop to run an
aspx page. Searching on the subject led me to suggestions involving batch
files running CACL commands. Not a single CACL call I executed was
successful. Sigh. The suggestion to add a new user to machine.config
failed because the server didn't recognize the recommended username value.
Other recommendations all involve registry hacks, text file editing, etc etc
etc-- all very crude solutions IMO and not one tried has worked. So,
specifically, I still cannot execute aspx files on my development pc using
IIS.
I've already belabored the clipboard dilemma that has cost me countless
hours of deadend trial and error. I have a solution now that works, but I'm
still disgusted that there's no clean way to do what I wanted and that I had
to resort to a kludge that uses Word as a table-copying engine. Which
brings up another gripe: THAT solution won't run from my server. The error
is that Word can't be started. I assume this means Word needs to be
installed on the server (I had assumed the interop would create the instance
on the client machine-- oops). But I guarantee you the IT guys I have to
deal with on this will nix that. So now my solution is kaput. Back to
square 1: I still cannot copy a simple html table from a web page to a
Powerpoint application, a feature my application MUST have. That confounds
and astounds me.
These are just two examples of many. So far it's my experience that every
single hurdle I hit has Security as the crippling culprit. "Oh no," one MVP
tells me, "you NEVER want the clipboard to copy OBJECTS from web pages!"
Sure I do. I'm in an intranet. I'm not worried about malicious use. It's
not a factor. So why can't I have this capability, out of the box, in my
intranet app? I can copy bitmaps to the clipboard. I can copy raw text.
Just not a table. $%$%$@!
I understand the need for heightened security, and don't fault MS for
implementing it-- especially given the beating over publicized IE holes
(last week's big one to wit). But I also feel I should be able to pry the
hood open a little wider in an intranet.
Sorry to beat this dead horse-- but I have a project upon which key managers
have pinned high expectations and it's frustrating to me to hit so many
walls over what I had presumed to be minor details. I can create this app
in VB6. I can even create it in vb.net winforms. But for various reasons I
prefer asp.net webforms. And I hate having to call it quits, but it sure
looks like I'll have to. A shame. I was really excited at what I thought
asp.net could do.
Randall Arnold
"Jim Cheshire" <noemail@xxxxxxxx> wrote in message
news:uNxlvwKEGHA.3468@xxxxxxxxxxxxxxxxxxxxxxx
> Randall Arnold wrote:
>> It isn't an absolute lack of understanding, Jim. I wrote apps in VB6
>> that used the webbrowser control to work all sorts of magic. I've
>> designed web pages that had to perform all kinds of tricks (based on
>> customer requests) and for a while I was adept at javascript just out
>> of necessity (have since forgotten most of it due to lack of use).
>>
>> I would dearly love to
>> see a book that specifically addressed developing and deploying 100%
>> intranet solutions using asp.net/vb.net. I'd pay good money for such
>> a thing... but I'm not holding my breath. I'm utterly amazed at the
>> dearth of info on this subject. The technology *should* lend itself
>> very well to corporate intranets but it seems MS has relegated that
>> use to the backburner...
>
> Understood, but understand that working with the Webbrowser control is
> nothing like developing an ASP.NET application. ;)
>
> We certainly haven't ignored ASP.NET as an Intranet development tool. Many
> of the companies I work with are developing Intranet applications and all
> of our internal Web applications (and we use a TON of them) are ASP.NET
> apps purely because it is so well suited to that type of environment.
>
> Perhaps you can go into a bit more detail as to what makes you feel that
> ASP.NET doesn't lend itself well to Intranets and we can help with that
> specifically.
>
> --
> 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.
>
>
>
.
- Follow-Ups:
- 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?
- 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?
- Prev by Date: RE: Webresource.axd problem in asp.net 2.0
- Next by Date: Re: Windows 2003 Server
- 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
|