Ask a Question related to ASP.NET General, Design and Development.
-
Jean-Yves #1
Open a link from within a Web Service ?
Hi.
I would like to open an ASP.NET page from a Web Method like this:
Form my WinForm App:
OpenLink("Select * From Customers",
"http://myserver/ReportApp/ShowReport.aspx")
<(Web Method)> _
Public Function OpenLink(ByVal sQuery As String, ByVal sURL As String) As
boolean
..... SomeCode to Open Internet Explorer with the URL
End Function
How to open that link from within the Web Method ?
Thanks.
Jean-Yves
__________________________________________________ ________________ Jean-Yves
Mr ICQ#: 36608088 Current ICQ status: + More ways to contact me
__________________________________________________ ________________
Jean-Yves Guest
-
How to open link in new tab using Spry?
Does anyone know how to open menu web links in a new tab (instead of opening a new window - IE7) using the Spry horizontal dropdown menu? I tried... -
URL link to open new window?
Hello, and thanks in advance for the help... I'm kind of new to Flash programming. I'm trying to get a link to a url to open a new window for... -
Force a link to open in IE
In an internal application. The user receives an email, checked with mozilla mail, and clicks on the link. I would like this link to direct the... -
Open a CSV file in MS-Excel via a link
How can I open a CSV file in MS-Excel via a link on an ASP page? I have an ASP page that allows a user to select a database table, view all of... -
Help - Open in New Link
Something has changed in my computer! I often want to open a photo in a new link by right clicking on the picture and select open in new link, I... -
Cowboy \(Gregory A. Beamer\) #2
Re: Open a link from within a Web Service ?
This would be bad design.
The standard idea is a WebMethod returns SOAP for a client call. The web
service is on a server, while the calling application is on a client. The
client may also be a server, but the main idea is the web service simply
serves up information in an XML format.
Sticking with good design, you could embed a command that will cause the
client to open a new page (JavaScript for standard web clients, for
example). But, you would not open a page on the server.
Am I missing the point?
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge
************************************************** **************************
****
Think Outside the Box!
************************************************** **************************
****
"Jean-Yves" <jeanyves@gmx.net> wrote in message
news:%23NKFPfcXDHA.536@TK2MSFTNGP10.phx.gbl...Jean-Yves> Hi.
> I would like to open an ASP.NET page from a Web Method like this:
> Form my WinForm App:
> OpenLink("Select * From Customers",
> "http://myserver/ReportApp/ShowReport.aspx")
>
> <(Web Method)> _
> Public Function OpenLink(ByVal sQuery As String, ByVal sURL As String) As
> boolean
> ..... SomeCode to Open Internet Explorer with the URL
> End Function
>
> How to open that link from within the Web Method ?
>
> Thanks.
> Jean-Yves
>
>
> __________________________________________________ ________________> Mr ICQ#: 36608088 Current ICQ status: + More ways to contact me
> __________________________________________________ ________________
>
>
Cowboy \(Gregory A. Beamer\) Guest
-
John Saunders #3
Re: Open a link from within a Web Service ?
"Jean-Yves" <jeanyves@gmx.net> wrote in message
news:%23NKFPfcXDHA.536@TK2MSFTNGP10.phx.gbl...Jean-Yves,> Hi.
> I would like to open an ASP.NET page from a Web Method like this:
> Form my WinForm App:
> OpenLink("Select * From Customers",
> "http://myserver/ReportApp/ShowReport.aspx")
>
> <(Web Method)> _
> Public Function OpenLink(ByVal sQuery As String, ByVal sURL As String) As
> boolean
> ..... SomeCode to Open Internet Explorer with the URL
> End Function
>
> How to open that link from within the Web Method ?
>
> Thanks.
> Jean-Yves
>
>
Who is meant to call this web method? The client? What sort of code is the
client running? Windows forms, or just IE?
When the web service (which is running on the server) opens IE with the URL,
on which display should IE display the HTML from the web site denoted by the
URL?
Are the client and the server running on the same machine? If not, how would
the web method (which is running on the server) going to do _anything_ on
the client?
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
John Saunders Guest



Reply With Quote

