RE: IE/OLE - properties & methods questions

2002-05-24 Thread Randy W. Sims
-Original Message- > Hello, > I'm using Win32::OLE to work with IE. I've looked through the docs at MSDN and the archives here, but I didn't find my answer so I don't know if these requests are possible or not. > 1) I'd like to disable "view source" via right click (w/o resorting to the Ja

Re: IE/OLE - properties & methods questions

2002-05-24 Thread Carl Jolley
On Fri, 24 May 2002, dss wrote: > > > dss <[EMAIL PROTECTED]> wrote: > and then disable right click so that a user can't right click to view source or >cut-and-paste. > > Of course, hiding HTML source is impossible...don't know what I was thinking :) > I'm not absoulutely convinced that h

Re: IE/OLE - properties & methods questions

2002-05-24 Thread dss
  dss <[EMAIL PROTECTED]> wrote: and then disable right click so that a user can't right click to view source or cut-and-paste. Of course, hiding HTML source is impossible...don't know what I was thinking :)Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience

Re: IE/OLE - properties & methods questions

2002-05-24 Thread dss
  Ron Grabowski <[EMAIL PROTECTED]> wrote: Try navigating to 'about':# untested$ie->Navigate("about: hello%20world ");Be careful because you can only send so much HTML that way. Longer pageswill have to be sent loaded via file:// Thanks, that does work, but I will need to load large pages. What

Re: IE/OLE - properties & methods questions

2002-05-24 Thread Ron Grabowski
> 3) Instead of using Navigate to get a URL or file, can I use HTML > that's stored in a scalar in my source code? Can you set the Document > to an html string? > > my $ie = WIn32::OLE->new('InternetExplorer.Application') or die 'Can't > create instance of IE'; > > my $html = > 'TestTest'; > # N