Results 1 to 4 of 4

Thread: How to display J2EE HTTPResponse in VB.NET application ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2005
    Posts
    6

    How to display J2EE HTTPResponse in VB.NET application ?

    kleinma, Please help!

    I am new to VB.NET and the .NET technologies.

    We need to invoke a http request on a J2EE webserver. I know we can use the 'HttpWebRequest' class from the VB.NET appn. and read the HTML stream. Is there a way to dynamically display this html in a browser window (WebForm) from within the VB.NET appn. or do I need to write another ASP.NET application feeding the above 'html' to display in an ASP page.

    All responses greatly appreciated.
    Last edited by jagvb; Feb 8th, 2005 at 09:39 AM. Reason: resolved.

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: How to display J2EE HTTPResponse in VB.NET application ?

    displaying the data in a webform would require an ASP.NET app running on IIS... but I am not sure I understand what you are trying to do.. it might be simpler than you think though...

    The way I read what you wrote was this.

    You want to get an HTML stream from the J2EE webserver (which you say you can do) and then display this HTML in your VB.NET application? Is this correct??

    If so, you could use the activeX webbrowser control to do this... but if this is the case.. i don't know why you could not just have the webbrowser control connect to the URL on the J2EE server and display the data without any need to read the HTML stream...

    I guess I will have to wait and hear what you think...

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2005
    Posts
    6

    Re: How to display J2EE HTTPResponse in VB.NET application ?

    kleinma,

    Thanks for your reply.

    Now our other application team that works with VB has had the following documented problems with the ActiveX WebBrowser Controls in the past, and they have become reeeal apprehensive about using WebBroswer Control API:

    ==========================================================

    BeforeNavigate event no longer works
    http://support.microsoft.com/default...b;EN-US;325079
    http://support.microsoft.com/kb/327135/EN-US/

    PoastSoapData no longer works
    http://support.microsoft.com/?kbid=834489

    DocumentComplete event no longer fired after fix to Mshtml.dll.
    http://support.microsoft.com/default...b;en-us;316593

    Implementing Programatic web page authentication Fails
    http://support.microsoft.com/default...20153&SD=MSKB&

    CHtmlView Leaks Memory by Not Releasing BSTRs in Several Methods
    http://support.microsoft.com/default...;EN-US;Q241750

    The WebBrower Control Stops Working If You Click the Back Button After an Office Document Is Displayed in a Frame
    http://support.microsoft.com/kb/275452/EN-US/

    ========================================================

    The above documentation shows the hotfix releases after the initial release of the .NET Framework 1.1.

    My question is , does this mean all these fixes would have been rolled into the .NET Framework release 1.1 SP1 which has been released in Jan. 2005 ? Does anyone know how Microsoft's release policy works ?

    Thanks,
    jagvb.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2005
    Posts
    6

    Re: How to display J2EE HTTPResponse in VB.NET application ?

    Also , is there an option within WebBrowserControl API to specify (and freeze) the IE version with which the WebBrowserControl has to be created ?

    We run into problems whenever there is an update patch to IE that has impacted a WebBrowser Control API that we are using. Has anyone run into similar problems using WebBrowser Control API in VB ?

    Thanks,
    jagvb.

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