Results 1 to 8 of 8

Thread: opening a jsb page using vb6

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    opening a jsb page using vb6

    Can somebody plzztell me how to open a jsp page using vb6 ?? Thanks in Advance .

  2. #2
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492

    Re: opening a jsb page using vb6

    It seems as if you're talking about a Java Server Page, if so, you'll need a WebBrowser Component.
    VB.NET MVP 2008 - Present

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    Re: opening a jsb page using vb6

    yes .... the jsp pagw will open in the web browser component only .... i only need to call the url from the vb page

  4. #4
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492

    Re: opening a jsb page using vb6

    Remember, you may run into problems trying to only run the jsp file - why not open the corresponding webpage that goes to the jsp. It would be better imho.
    VB.NET MVP 2008 - Present

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    Re: opening a jsb page using vb6

    yes .... but how do i call an html file from vb by click of a button ??

  6. #6
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492

    Re: opening a jsb page using vb6

    Use the WebBrowser's Navigate / Naivigate2 methods.
    VB.NET MVP 2008 - Present

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    Re: opening a jsb page using vb6

    can u plzz give me the code ... i dont know how to use objects in vb6 ...

  8. #8
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492

    Re: opening a jsb page using vb6

    OK, I'll spoonfeed you, if you don't want to even look up the hints I gave.

    Code:
      WB1.Navigate "http://www.whatever.com"
    It helps nothing if you just copy and paste code, and not to do any reasearch through google, this forum's search feature and MSDN.

    So, if it is not too mch trouble, please copy and paste this code into your project, as I will not design your entire program and add it as an attachment here, for you.
    VB.NET MVP 2008 - Present

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