User Profile
Collapse
-
Thanks! I hadn't detected that glitch but I'm glad you pointed it out .. I went back and got the Javacript to work -- call me an Idiot (but not too loudly!) what would I do without you?... -
I was able to get (closer to) my objective with the proceeding code
[CODE}
Imports System.Diagnost ics
Partial Class _Default
Inherits System.Web.UI.P age
Protected Sub Button1_Click(B yVal sender As Object, ByVal e As System.EventArg s) Handles Button1.Click
'Shell("command .com /c c:\test.pdf", vbNormalFocus)
Process.Start(" c:\test.pdf")...Leave a comment:
-
Thanks for the guidance .. this is turning out to be more involved than I initially envisioned :) I appreciate your assistance !...Leave a comment:
-
...Code:Partial Class _Default Inherits System.Web.UI.Page 'To declare it, copy and paste this: Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long 'To use it, this lines would do for a pdf:Leave a comment:
-
The pdf files already exist - I am just trying to display their contents albeit in a new browser window once selected...Leave a comment:
-
Thank you for the code ... this was my first posting on this site and you've made that a good experience...Leave a comment:
-
-
How to Display a PDF in a new browser window :)
I am trying to re-work a Visual Basic (ASP .NET 2.0) application that delivers a PDF to a user based on requests. I have the appropriate MIME type (Application/pdf) specified but need to open the pdf in a new browser window. Any ideas? I appreciate any and all input
Thanks -
How to Display a PDF in a new browser window :)
I am trying to re-work a Visual Basic (ASP .NET 2.0) application that delivers a PDF to a user based on requests. I have the appropriate MIME type (Application/pdf) specified but need to open the pdf in a new browser window. Any ideas? I appreciate any and all input
Thanks -
Thank you ... as a 'newbie' to the site I'm still getting my bearings here :)...Leave a comment:
-
How to Display a PDF in a new browser window :)
I am trying to re-work a Visual Basic (ASP .NET 2.0) application that delivers a PDF to a user based on requests. I have the appropriate MIME type (Application/pdf) specified but need to open the pdf in a new browser window. Any ideas? I appreciate any and all input
Thanks
No activity results to display
Show More
Leave a comment: