Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim executing_assembly As System.Reflection.Assembly = System.Reflection.Assembly.GetEntryAssembly()
Dim my_namespace As String = executing_assembly.GetName().Name.ToString()
'i'm stuck on this:
Dim xxx As ...? = executing_assembly.GetFile(my_namespace + ".file.exe")
Dim executing_assembly As System.Reflection.Assembly = System.Reflection.Assembly.GetEntryAssembly()
Dim my_namespace As String = executing_assembly.GetName().Name.ToString()
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim text_stream1 As Stream = executing_assembly.GetManifestResourceStream(my_namespace + ".index.htm")
If Not (text_stream1 Is Nothing) Then
Dim stream_reader1 As New StreamReader(text_stream1)
WebBrowser1.DocumentText = stream_reader1.ReadToEnd()
stream_reader1.Close()
End If
End Sub
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
Is there a way to get the url as i click a link in the browser?