Quantcast
Channel: Get current URL in vb.net - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Sandeep Suthar for Get current URL in vb.net

Try this..Html Page<div><h1> Url: </h1> <asp:Label ID="Label1" runat="server" Text=""></asp:Label></div>in .Vb Pageprotected void Page_Load(object sender, EventArgs...

View Article



Answer by Fabin Antonio Salgado Seplveda for Get current URL in vb.net

VB.NET Imports System.Net.DnsImports System.NetDim host As String = HttpContext.Current.Request.Url.HostDim hostname As IPHostEntry = Dns.GetHostEntry(host)Dim ip As IPAddress() =...

View Article

Answer by the_lotus for Get current URL in vb.net

There's a few properties that can give you the information. Here's an example.Dim url As String = HttpContext.Current.Request.Url.AbsoluteUriDim path As String =...

View Article

Get current URL in vb.net

I am making a website in visual studio 2010 (in visual basic) and I really need to know how to get the URL from a VB statement (in the aspx.vb file, on page load).

View Article
Browsing all 4 articles
Browse latest View live




Latest Images