Note that there are some explanatory texts on larger screens.

plurals
  1. POblocked internet connection on terminal has internet in webbrowser?
    primarykey
    data
    text
    <p>I have a problem in my windows forms application. First of all you need to now that the client is working on a terminal where no internet connection can be made this is blocked by the network administrator. but in the beginning i didn't know so i created a web browser in a form to get information on a item. and it worked but when i was expanding the function it didn't work anymore so i went back to back-up version where it worked and its still working. so i copy and pasted the code from the backup in my current version but its still not working. And i was wondering if someone has a clue how this is possible. </p> <p>I did add the import statement Imports System.Net in the new version and removed it.</p> <p>Code I used in backup version</p> <pre><code> Dim value As String = TextBox9.Text Dim value As String = ComboBox5.Text Dim link As String = "link" &amp; value &amp; value &amp; ";lang=nl" If Groupbox1.Visible = True Then GetLink(link) End If Public Sub GetLink(ByVal url As String) Using client As New System.Net.WebClient() Dim html As String = client.DownloadString(url) If html.Contains("value") Then Groupbox1.Visible = True WebBrowser2.ScriptErrorsSuppressed = True WebBrowser2.Navigate(url) Else Groupbox1.Visible = False End If End Using End Sub Private Sub Button7_Click(sender As System.Object, e As System.EventArgs) Handles Button7.Click If Groupbox1.Visible = True Then Button7.Text = "value" Groupbox1.Visible = False Else Button7.Text = "Verbergen" Dim value As String = TextBox9.Text Dim value As String = ComboBox5.Text Dim link As String = "link" &amp; value &amp; value &amp; ";lang=nl" GetLink(link) Groupbox1.Visible = True End If End Sub </code></pre> <p>So the only thing i can think of is that it has something to do with System.net is this possible if not what else can be the problem.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload