Re: Document.Head.InnerHTML ??

From: McKirahan (News_at_McKirahan.com)
Date: 08/28/04


Date: Sat, 28 Aug 2004 01:46:24 GMT


"mayayana" <mayaXXyana1a@mindYYspring.com> wrote in message
news:mNPXc.729$JT3.332@newsread3.news.atl.earthlink.net...
> You mean that all the write calls work except with the variable?
> I don't know why that might be. If none of them worked it might
> be because it's still loading and needs a loop to wait for that.
>
> I don't know if I've ever tried to create an IE instance from
> within a webpage, so I'm not sure whether there are any issues
> with that. Is there any reason not to just use window.open?
>
> Dim Win1, s
> s = "hello world"
> Set Win1 = window.open("", null,
> "height=400,width=400,status=no,toolbar=yes, etc...")
> With Win1.document
> .Write "first line"
> .Write "second line"
> .Write s
> .close
> End With
>
> That does the same thing except that you have limited access
> to the actual IE object once the window is created. The 3rd
> parameter takes numerous IE properties when setting up the
> window, but what's returned in Win1 is a window object rather
> than an IE object.

[snip]

Thanks for the suggestion.

Though I couldn't get the example that I posted to work (perhaps it's a
timing issue as you suggested; I'll try again), I did get it (writing a
variable) to work in my production code.



Relevant Pages

  • Re: Why Continues asking to activate window XP?
    ... Tried your suggestion. ... Repair the registry entires for the .dll in safe mode. ... window XP keep prompt me to perform windows product ... >>1) Window XP Home Edition prompt to perform window product activation ...
    (microsoft.public.windowsxp.accessibility)
  • Re: deleting a weblink off my desktop - windows xp home
    ... Ron thank you for your kindness and reply. ... Trying the second suggestion via the control panel and display, ... > Click on the Desktop tab at the top of the window. ... At the bottom of the window you should see an option to Lock ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: deleting a weblink off my desktop - windows xp home
    ... > Ron, forgive my lack of knowlege, bvut what are you suggesting I do? ... 1st suggestion: ... Click on the Desktop tab at the top of the window. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: New windows opening small, suggested fixes not working
    ... I tried your suggestion and it appears to have solved the issue. ... For about the past week whenever I open a new window it opens very small, ... I've also tried the IE Maximizer fix, ... Start / Help and look for help on System Restore if unsure how ...
    (microsoft.public.windowsxp.general)
  • Re: How to send a fax from a scanned document?
    ... Maybe you found some settings were not done yet before my suggestion. ... And also tell me whether FAX monitor window popped up after you ... You have FAX modem V.92,Data fax Internal donny equipped in your PC. ... your scanner following File-Open of Word menu. ...
    (microsoft.public.windowsxp.print_fax)

Loading