VB.NET: Internet


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: VB.NET: Internet

  1. #1
    Join Date
    Jun 2005
    Location
    Wouldn't YOU Like to know??
    Posts
    26

    VB.NET: Internet

    I am trying to design a program which can access the internet in the background (ie. Not in a web browser on the form).
    In Visual Basic 6.0, I was able to use Inet and Winsock, but these do not seem to work in .NET.
    Is there any equivalent with the simplicity of Inet?
    I need to perform GET and POST, meaning the program should be able to perform Logins, et cetera.
    I tried this:
    Code:
    Dim Net As New System.Net.WebClient
    txtHTML.Text = System.Text.Encoding.ASCII.GetString(Net.DownloadData("http://www.someurl.com/"))
    This downloads the HTML fine (I see it as an equivalent of Inet.OpenURL("http://www.someurl.com/"))
    But I don't know how to do POST.
    I have done searches, but nothing seems to be able to log me in....
    Any help would be appreciated.
    ...I have arrived, to attempt to conquer the world with my nefarious schemes!!! You. All of you!! You shall all bow... bow, to ME!!!!

    MUWAHAHAHAHAHA!!!!!!!!!

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Is VB.Net difficult or not - OR - How difficult?
    By Michael Culley in forum .NET
    Replies: 6
    Last Post: 06-19-2002, 10:11 AM
  2. Replies: 12
    Last Post: 06-13-2002, 09:12 PM
  3. VB.NET Compatibility Check
    By Tuomas Salste in forum dotnet.announcements
    Replies: 0
    Last Post: 05-31-2001, 02:01 PM
  4. Why I like VB.NET
    By Tom Cabanski in forum .NET
    Replies: 74
    Last Post: 03-14-2001, 04:30 PM
  5. VB.NET: 3 points of view
    By David Kroll in forum .NET
    Replies: 33
    Last Post: 02-13-2001, 11:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center