怎样把vb里的数据以 form  /form  形式提交给某个网页,比如asp的, 然后在该网页里以request.form 获取?关键是如何提交,(已知下一个网页的url地址)

解决方案 »

  1.   

    Option Explicit
    Dim URL As StringPrivate Sub Form_Load()
    Dim stemp As String, pagecode As String
    Inet1.Execute "http://login.cn.yahoo.com/config/mail?.intl=cn", "post", "login=12345667&passwd=sdfovd"Do Until Inet1.StillExecuting = False
        DoEvents
    LoopURL = "http://cn.f151.mail.yahoo.com/ym/ShowFolder?YY=53682&box=Inbox&YN=1"
    Inet1.Execute URL, "GET"
    Do Until Inet1.StillExecuting = False
        DoEvents
    Loop
        stemp = Inet1.GetChunk(1024)
        Do While stemp <> ""
            pagecode = pagecode + stemp
            stemp = Inet1.GetChunk(1024)
        Loop
    Text1.Text = pagecode
    End Sub
      

  2.   

    http://login.cn.yahoo.com/config/mail?.intl=cn", "post", "login=12345667&passwd=sdfovd"
    好像网页不支持呀!我试了不行的。