Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 12th, 2004, 01:44 AM
Registered User
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Display html on another computer

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.I have try many forum,but all the reply is not what i want.My project due date is coming,i trerribly need help from expert.Thank in advance.This is my sample code.

        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
                        'strPath contain URL path for html page
                        Me.RegisterStartupScript("Page", "<Script
Language=javascript>window.open('" & strPath & "','show')</script>")
                    End If
            End Select
Old October 12th, 2004, 02:02 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts

I don't understand. The user that clicked the link button will not get the result, instead the result will be sent to someone else?

Old October 13th, 2004, 02:15 AM
Registered User
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

yes it will.The result(HTML Page) will be sent to another computer instead of local computer.For exmple a user click on Com A and the result which is the html page will be sent to com B.

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML code from XML to display using XSL koenige XSLT 6 October 27th, 2008 08:11 AM
display out of order html elements? chobo XSLT 2 April 1st, 2008 02:28 AM
Display as HTML austinf XSLT 1 March 6th, 2008 09:27 AM
How to display an html file inside Iframe --need u vishnu108mishra BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 November 16th, 2007 04:52 AM
Html Table Display with images Jorge HTML Code Clinic 8 April 13th, 2005 12:21 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.