CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2011
    Posts
    20

    Post What is equivalent property of Window.document in vb.net?

    Hi All,

    What is equivalent property of Window.document in vb.net?
    Window.document it is the property in vb 6.0.What is equivalent property in vb.net?
    in vb.net Web browser.document property is available,but I want Window.document equivalent property in vb.net.

    Thanks,

  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: What is equivalent property of Window.document in vb.net?

    I have been working with vb6.0 for some years, but do not remember a "Window.document" property. Did you mean "window.document of Asp 3.0 (or vbScript)"? And did you mean how to translate it in Asp.Net? If so, look at Page object.
    By the way, from Asp3.0 to Asp.net, you can really have a hard time. But you're lucky, nowaday, as you couls switch to "Modern Asp Net" using RazorEngine. It will be less painful.

    In case I spotted it correctly, there is a forum dedicated to Asp Net:
    http://www.codeguru.com/forum/forumdisplay.php?f=15
    Last edited by Cimperiali; January 25th, 2012 at 05:20 AM.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  3. #3
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: What is equivalent property of Window.document in vb.net?

    Same here, been working with VB6 for years and never heard of a window.document property.

    If the post above does not help then you should explain what it is you are trying to do in a way that will allow us to offer proper advice.
    Always use [code][/code] tags when posting code.

  4. #4
    Join Date
    May 2002
    Location
    Boston
    Posts
    67

    Re: What is equivalent property of Window.document in vb.net?

    Hi,

    Are you refering to VBA?
    Or maybe you had a reference to the Word com object.

    vba ex:

    Code:
    ActiveWindow.Document.Close
    Curt

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

Featured