L
Lionel Neo
I have a datagrid that whenever a user click the link button,the system
will go to the database retrieve the url path and display the particular
HTML page on another computer instead of local computer itself.So how am
i going to implement that in Vb.net.This is my sample code of displaying
on local machine.My problem is i need to display on another computer
instead of local computer.i have no ideal how to do it.Anyone can help
me.Thank in advance
Dim strPath As String
Dim i As Integer
Select Case e.CommandName
Case "ViewHTML"
i = e.Item.ItemIndex
Dim DownDs As New DataSet
DownDs = Session("dsPresentation")
If Not DownDs Is Nothing Then
strPath = DownDs.Tables(0).Rows(i)("FOLE_PATH")
strPath = strPath.Replace("\", "/")
'IP Address is 172.20.129.7
'Response.RedirectLocation("")
Me.RegisterStartupScript("Page", "<Script
Language=javascript>window.open('" & strPath & "','show')</script>")
End If
End Select
will go to the database retrieve the url path and display the particular
HTML page on another computer instead of local computer itself.So how am
i going to implement that in Vb.net.This is my sample code of displaying
on local machine.My problem is i need to display on another computer
instead of local computer.i have no ideal how to do it.Anyone can help
me.Thank in advance
Dim strPath As String
Dim i As Integer
Select Case e.CommandName
Case "ViewHTML"
i = e.Item.ItemIndex
Dim DownDs As New DataSet
DownDs = Session("dsPresentation")
If Not DownDs Is Nothing Then
strPath = DownDs.Tables(0).Rows(i)("FOLE_PATH")
strPath = strPath.Replace("\", "/")
'IP Address is 172.20.129.7
'Response.RedirectLocation("")
Me.RegisterStartupScript("Page", "<Script
Language=javascript>window.open('" & strPath & "','show')</script>")
End If
End Select