Ask a Question related to ASP.NET General, Design and Development.
-
Tim S. #1
Call Notepad from aspx
No Java required here.
Check out:
[url]http://www.devx.com/dotnet/Article/7914/0/page/2[/url]
Also look at the System.Diagnostics.Process
namespace. .Net has all the functionality you'll need.
Tim Stall
a local txt file>-----Original Message-----
>How can I get a button on the ASPX returned HTML to open(txt file is on the>for edit?
>I need the txt document to be editable from the clientinstead launch notepad.>client machine) and not launch in the browser, butsnippet that would>I am sure that will require Java, so can someone post a>help me on that venture?
>
>Thanks!
>Troy
>
>
>.
>Tim S. Guest
-
passing a token from pageA.aspx to pageB.aspx
I am trying to get pageA.aspx gridView to pass a key (say deptID) to pageB.aspx which will use the value passed as a filter in it's own griView... -
InDesign CS HELP comes up as a HELP.HTML in NOTEPAD
Clicking on InDesign CS HELP (or F1) brings up a help.html file in Notepad. It works OK in the other components of CS. ??? What to do? Is this... -
Prints to ASC II in Notepad?
I have Windows XP; Acrobat 6.0. It has been behaving strangely lately. If I click on print to PDF it prints to Notepad in ASC II. I then have to open... -
I need a nice PHP notepad program
Hello ng, I'm currently doing my PHP work in Notepad. It works, but I was wondering if there's a software program around that would aid me in my... -
Notepad Question
I want to use the new feature of Notepad in XP, "Go to". The option is always grayed out. I really wan this feature. How do I get it to work. -
Troy Murphy #2
Re: Call Notepad from aspx
It needs to be at the client side. I don't expect the clients to have the
..NET framework. My interpretation of the article you directed me to is an
article to wait for an external process at the server to complete.
Requirement: I need to add a links or buttons to the HTM file that is
generated on the fly that will open text documents in notepad for edit. I
will also need to open a PDF in the full version of acrobat (if installed on
the client) so comments can be added to that document. I assume this will
require java script to launch a specific application or application by
association. Can anyone please point me to a sample solution of doing
something like this?
Troy
"Tim S." <timstall@hotmail.com> wrote in message
news:00f801c34a2e$61279180$a401280a@phx.gbl...> No Java required here.
>
> Check out:
> [url]http://www.devx.com/dotnet/Article/7914/0/page/2[/url]
>
> Also look at the System.Diagnostics.Process
> namespace. .Net has all the functionality you'll need.
>
> Tim Stall
>> a local txt file> >-----Original Message-----
> >How can I get a button on the ASPX returned HTML to open> (txt file is on the> >for edit?
> >I need the txt document to be editable from the client> instead launch notepad.> >client machine) and not launch in the browser, but> snippet that would> >I am sure that will require Java, so can someone post a> >help me on that venture?
> >
> >Thanks!
> >Troy
> >
> >
> >.
> >
Troy Murphy Guest
-
Troy Murphy #3
Re: Call Notepad from aspx
It needs to be at the client side. I don't expect the clients to have
the .NET framework. My interpretation of the article you directed me to
is an article to wait for an external process at the server to complete.
I need to add a links or buttons to the HTM file that is generated on
the fly that will open a text document in notepad for edit. I will also
need to open a PDF in the full version of acrobat (if installed on the
client) so comments can be added to that document. I assume this will
require java script to launch a specific application or application by
association. Can anyone point me to a sample solution of doing
something like this?
Troy
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Troy Murphy Guest
-
Steve C. Orr, MCSD #4
Re: Call Notepad from aspx
The main problem is that this is a security violation. Do you want web
sites taking control of your computer and launching programs
indiscriminately? I know I don't. That's why browser security settings
usually prohibit this.
If the browser security settings have been adjusted to allow this, then you
could use a WSH script or a COM CreateObject command to launch a client side
app.
To adjust the browser security, the setting you'll most likely need to
adjust can be found on the Internet Options dialog under the Tools dropdown
menu in Internet Explorer. Go to the security tab. With local Intranet
selected (assuming this is an intranet app), click the "Customize Level."
button. Find the setting titled "Initialize and script ActiveX controls not
marked as safe" and change the selection to either "enable" or "prompt."
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Troy Murphy" <troy@solutionsoft.cc> wrote in message
news:%23mjg0HiSDHA.212@TK2MSFTNGP10.phx.gbl...> How can I get a button on the ASPX returned HTML to open a local txt file
> for edit?
> I need the txt document to be editable from the client (txt file is on the
> client machine) and not launch in the browser, but instead launch notepad.
> I am sure that will require Java, so can someone post a snippet that would
> help me on that venture?
>
> Thanks!
> Troy
>
>
Steve C. Orr, MCSD Guest
-
Troy Murphy #5
Re: Call Notepad from aspx
I guess that makes sense. So, how can I allow the browser to open content
for edit? I suppose I cannot use an edit region on an HTML page without the
IIS engine?
I know this question goes a bit beyond the scope of this newsgroup, but the
need is derived from an ASP.NET solution.
This is the requirement:
The user connects to our web application to generate an HTML file and a
series of PDF documents. These are are then transfered to a removable media
that will then be opened from workstations that do not have network
connections. These computers are controled and custom applications are
restricted. The HTM file generated contails a link to the PDF, a
description of the document, and a comment section. The user needs the
ability to update this information so the changes can later be migrated back
to our web site. How can I accomplish this?
Troy
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
news:uLdxPdjSDHA.2480@tk2msftngp13.phx.gbl...you> The main problem is that this is a security violation. Do you want web
> sites taking control of your computer and launching programs
> indiscriminately? I know I don't. That's why browser security settings
> usually prohibit this.
> If the browser security settings have been adjusted to allow this, thenside> could use a WSH script or a COM CreateObject command to launch a clientdropdown> app.
> To adjust the browser security, the setting you'll most likely need to
> adjust can be found on the Internet Options dialog under the Toolsnot> menu in Internet Explorer. Go to the security tab. With local Intranet
> selected (assuming this is an intranet app), click the "Customize Level."
> button. Find the setting titled "Initialize and script ActiveX controlsfile> marked as safe" and change the selection to either "enable" or "prompt."
>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>
> "Troy Murphy" <troy@solutionsoft.cc> wrote in message
> news:%23mjg0HiSDHA.212@TK2MSFTNGP10.phx.gbl...> > How can I get a button on the ASPX returned HTML to open a local txtthe> > for edit?
> > I need the txt document to be editable from the client (txt file is onnotepad.> > client machine) and not launch in the browser, but instead launchwould> > I am sure that will require Java, so can someone post a snippet that>> > help me on that venture?
> >
> > Thanks!
> > Troy
> >
> >
>
Troy Murphy Guest
-
Yan-Hong Huang[MSFT] #6
Re: Call Notepad from aspx
Hello Troy,
Using System.Diagnostics.Process can't work as you want since it only launches application in server side and maybe in
another desktop since asp.net is a service program.
The method I could think of is to use Client side script to do so. In asp.net, you could use Page.RegisterStartupScript Method
to allow ASP.NET server controls to emit client-side script blocks in the Page. For how to write such scripts, you could post
the question in public.scripting group.
You could also refer to [url]http://www.whirlywiryweb.com/q%2Flaunchinie.asp[/url] for another method. Hope it helps.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!From: "Troy Murphy" <troy@solutionsoft.cc>
!References: <#mjg0HiSDHA.212@TK2MSFTNGP10.phx.gbl> <uLdxPdjSDHA.2480@tk2msftngp13.phx.gbl>
!Subject: Re: Call Notepad from aspx
!Date: Tue, 15 Jul 2003 10:06:14 -0700
!Lines: 66
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <ORXOpNvSDHA.1684@TK2MSFTNGP11.phx.gbl>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!NNTP-Posting-Host: 206.40.220.138
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:159303
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!I guess that makes sense. So, how can I allow the browser to open content
!for edit? I suppose I cannot use an edit region on an HTML page without the
!IIS engine?
!
!I know this question goes a bit beyond the scope of this newsgroup, but the
!need is derived from an ASP.NET solution.
!
!This is the requirement:
!The user connects to our web application to generate an HTML file and a
!series of PDF documents. These are are then transfered to a removable media
!that will then be opened from workstations that do not have network
!connections. These computers are controled and custom applications are
!restricted. The HTM file generated contails a link to the PDF, a
!description of the document, and a comment section. The user needs the
!ability to update this information so the changes can later be migrated back
!to our web site. How can I accomplish this?
!
!Troy
!
!"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
!news:uLdxPdjSDHA.2480@tk2msftngp13.phx.gbl...
!> The main problem is that this is a security violation. Do you want web
!> sites taking control of your computer and launching programs
!> indiscriminately? I know I don't. That's why browser security settings
!> usually prohibit this.
!> If the browser security settings have been adjusted to allow this, then
!you
!> could use a WSH script or a COM CreateObject command to launch a client
!side
!> app.
!> To adjust the browser security, the setting you'll most likely need to
!> adjust can be found on the Internet Options dialog under the Tools
!dropdown
!> menu in Internet Explorer. Go to the security tab. With local Intranet
!> selected (assuming this is an intranet app), click the "Customize Level."
!> button. Find the setting titled "Initialize and script ActiveX controls
!not
!> marked as safe" and change the selection to either "enable" or "prompt."
!>
!> --
!> I hope this helps,
!> Steve C. Orr, MCSD
!> [url]http://Steve.Orr.net[/url]
!>
!>
!> "Troy Murphy" <troy@solutionsoft.cc> wrote in message
!> news:%23mjg0HiSDHA.212@TK2MSFTNGP10.phx.gbl...
!> > How can I get a button on the ASPX returned HTML to open a local txt
!file
!> > for edit?
!> > I need the txt document to be editable from the client (txt file is on
!the
!> > client machine) and not launch in the browser, but instead launch
!notepad.
!> > I am sure that will require Java, so can someone post a snippet that
!would
!> > help me on that venture?
!> >
!> > Thanks!
!> > Troy
!> >
!> >
!>
!>
!
!
!
Yan-Hong Huang[MSFT] Guest



Reply With Quote

