Hi, I have some functions that are sending requests to my webserver in order to obtain data,
however when those functions are called, form is freezing up because it's not run via backgroundworker.
Now I need to know what is the easiest way to call them functions without freezing a form.
Public Sub PreSave()
Dim response As New String(SendRequest("presavecheck.php?id=" & PCID & "&date=" & TodaysDate))
If response = "SAVENEWRECORD" Then
ElseIf response = "UPDATEEXISTINGRECORD" Then
Maybe there is a way to create and start a backgroundworker with a functions name to run. For example:
so it would do whatever the function has to do and then after that I could run something like: