473,387 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Call Notepad from aspx

No Java required here.

Check out:
http://www.devx.com/dotnet/Article/7914/0/page/2

Also look at the System.Diagnostics.Process
namespace. .Net has all the functionality you'll need.

Tim Stall
-----Original Message-----
How can I get a button on the ASPX returned HTML to open a local txt filefor edit?
I need the txt document to be editable from the client (txt file is on theclient 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 wouldhelp me on that venture?

Thanks!
Troy
.

Nov 17 '05 #1
4 4239
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." <ti******@hotmail.com> wrote in message
news:00****************************@phx.gbl...
No Java required here.

Check out:
http://www.devx.com/dotnet/Article/7914/0/page/2

Also look at the System.Diagnostics.Process
namespace. .Net has all the functionality you'll need.

Tim Stall
-----Original Message-----
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
.

Nov 17 '05 #2
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." <ti******@hotmail.com> wrote in message
news:00****************************@phx.gbl...
No Java required here.

Check out:
http://www.devx.com/dotnet/Article/7914/0/page/2

Also look at the System.Diagnostics.Process
namespace. .Net has all the functionality you'll need.

Tim Stall
-----Original Message-----
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
.

Nov 17 '05 #3
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 http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #4
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 http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kim | last post by:
Can ASP.NET apps be created using notepad ? I supposed the file needs to be compiled into .aspx extension but don't know how to go about doing it. Any suggestion ?
2
by: Ziver MALHASOGLU | last post by:
Hi, I produce a text file using my windows application written with c#. -- System.Text.Encoding encOutput=null; encOutput=System.Text.Encoding.UTF8; StreamWriter sw=new...
0
by: Tim S. | last post by:
No Java required here. Check out: http://www.devx.com/dotnet/Article/7914/0/page/2 Also look at the System.Diagnostics.Process namespace. .Net has all the functionality you'll need. Tim...
3
by: Matt | last post by:
X-No-Archive: yes What's the general opinion of matrix and notepad users vs. VS.Net users? I started VS.Net, had a problem with it, uninstalled it, and tried Web Matrix and Notepad. I liked...
1
by: RNDAS | last post by:
Hi, I have a DataGrid in my web page and there is a column in that grid which template column with linkButton. When Clicked the linkButton it should not refresh the page, rather it should open a...
7
by: kisshug | last post by:
hi i'm working on project.in that i have 2 call notepad.exe. i want to know how to call notepad.exe from a c program in unix environment -- kisshug Message posted via ...
3
by: forest demon | last post by:
for example, let's say I do something like, System.Diagnostics.Process.Start("notepad.exe","sample.txt"); if the user does a SaveAs (in notepad), how can i capture the path that the user...
7
by: Sheikko | last post by:
Hi all, i have an application and i wan to call another program into it, like notepad, so when i minimize the notepad, or maximize, it must rest in my application. thank you
35
by: jleslie48 | last post by:
I've written a cgi program in C using the borland 5.5 free compiler, and it runs just fine on an Apache server. My only issue is if I issue some system calls the cgi suspends until the call...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.