Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6736555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:08:36+00:00 2026-05-26T11:08:36+00:00

I am developing app in VB.NET that should have HTML requests and getting responses

  • 0

I am developing app in VB.NET that should have HTML requests and getting responses as string.

Now I am using this code:

    Dim URL as String = "http://domain.com/page.php"
    Dim webClient As System.Net.WebClient = New System.Net.WebClient()
    Dim result As String = webClient.DownloadString(URLL)

But when I run this code, my program froze for a little bit, until this URL content is loaded.

I searched over google and I didn’t find anything about this.
I tried using Classes and Modules, but with both of those it’s frizzing again.

Can someone explain me how to run this in background, so program won’t froze, and when it get’s downloaded to return data?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:08:37+00:00Added an answer on May 26, 2026 at 11:08 am

    I believe what you’re looking for is the BackgroundWorker Class. This will allow you to spin the request off on a separate thread without freezing the UI. It’s a pretty common thing.

    Here’s a couple of examples:

    VB.NET BackgroundWorker Use

    BackgroundWorker Demo

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a MySQL Web App using ASP.net and I have heard that
I'm developing an ASP.NET app (C#) that connect to SQL Server 2008 using ADO.NET
I have an app that I am now developing multiplayer for. However I do
I'm developing a WinForms app in VB.NET, that handles sets of style data, and
I have been developing an app in VB.NET which requires a control object (for
I have a VS 2008, .NET 3.5 targeted MVC.NET app. I am developing on
I'm using Windows Vista x64 with SP1, and I'm developing an ASP.NET app with
We're developing this ASP.NET web app with multiple users on different browsers. One of
I am developing a small app for a Motorola 9090-G using .net compact framework
So I have been developing a small ASP.NET web app in C# for my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.