Results 1 to 4 of 4

Thread: Get HTML frame handle

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Brossard, Québec, Canada
    Posts
    241

    Question

    I have this CGI Application made in VB that send text (HTML code) to the standard Output (Screen) but I would like to output to a specific frame.... can it be done?

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Brossard, Québec, Canada
    Posts
    241
    For example, I have this code in my module:

    Code:
    Public Const STD_INPUT_HANDLE = -10&
    Public Const STD_OUTPUT_HANDLE = -11&
    
    hStdIn = GetStdHandle(STD_INPUT_HANDLE)
    hStdOut = GetStdHandle(STD_OUTPUT_HANDLE)
    I guess that if I provide the frame's handle instead of STD_OUTPUT_HANDLE then I could write to that specific frame instead of creating a full screen page.

    please help!

  3. #3
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    Use the scripting component and use vbscript (the tag elements INNERHTML and INNERADJACENTHTML INNERTEXT INNERADJACENTTEXT i think the names are correct)

    DocZaf
    {;->

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Brossard, Québec, Canada
    Posts
    241
    I need my application to be usable in IE and Netscape as well, isn't VB Script only for IE ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width