How to read a wap page ?

Discussion in 'Questions (Windows Mobile)' started by thestronger, Nov 2, 2008.

  1. thestronger

    thestronger New Member

    First ,i'm sorry for my bad English !
    I can use "http.dll" to read a "www "type page ,e.g."www.yahoo .com".But I cannot read a"wap" type page(wml),e.g."wap.yahoo.com".Why ?
    How can I do it in Basic4PPC?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The following code works fine:
    Code:
    Sub Globals
        
    'Declare the global variables here.

    End Sub

    Sub App_Start
        req.New1(
    "http://wap.yahoo.com"'req is a WebRequest object
        res.New1 'res is a WebResponse object
        res.Value = req.GetResponse
        
    Msgbox(res.GetString)
    End Sub
     
  3. N1c0_ds

    N1c0_ds Active Member Licensed User

    My guess is that you pointed your app to "www.wap.yahoo.com" instead "wap.yahoo.com". It won't work on your computer neither.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice