Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webrequest vb.net problem
31-08-2013, 03:10 AM,
Post: #1
Webrequest vb.net problem
Salam semua .. saya perlukan pertolongan semua untuk bantu saya dalam httpwebrequest di dalam vb.net harap ade yg sudi membantu Big Grin

Codenya dibawah ini .. code ini seperti tidak berfungsi ..

Code:
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("https://graph.facebook.com/" & ListBox1.SelectedItem & "/photos?url=" & TextBox1.Text & "&method=POST&message=" & TextBox2.Text & "&access_token=" & TextBox3.Text & "")
        
Dim response As System.Net.HttpWebResponse = request.GetResponse()

        Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())

        Dim newestversion As String = sr.ReadToEnd()
        Dim currentversion As String = Application.ProductVersion

        If newestversion.Contains("post_id") Then
            ListBox1.SelectedIndex += -1
            ListBox2.Items.Add(ListBox1.SelectedItem)
            ListBox1.SelectedIndex += 1
        Else
            MessageBox.Show("Failed!")
        End If
Reply
01-09-2013, 02:37 AM,
Post: #2
RE: Webrequest vb.net problem
what problem u got?
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Tolong]Regex code problem MyTeam 5 566 11-12-2013, 02:49 PM
Last Post: MyTeam
  [VB.NET]GetDelegateForFunctionPointer problem..mintak bantuan Neology 4 774 08-07-2011, 03:24 AM
Last Post: Neology

Forum Jump: