473,322 Members | 1,620 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,322 software developers and data experts.

Launching an App to open a file from a hyperlink

4
Hi,

If I enter "C:/Progra~1/Starbase/CodeWright/cw32.exe C:/test/test.c" from the command line I can open the file. In this case CW32 is launched and opens test.c.

So, how do I do this from a hyper link?

I tried:

<a href="C:/Progra~1/Starbase/CodeWright/cw32.exe C:/test/test.c">test.c</a>

But, it doesn't work.

Could I call a java script from the hyperlink that would do this?

If so, how? I don't know the scripting language.

GTR
Nov 13 '07 #1
1 1253
mrhoo
428 256MB
This isn't anything for javascript- javascript lives its whole life in a single thread, and becoming the command line for an executable is death for the script that calls it.

You need a multi threaded environment- look at java or server side code to run applications.
Nov 14 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Steve Barker | last post by:
Hi guys, I have written a web service, but I want clients to be able to consume it without having the .NET framework installed on their PC. The web service doesn't return any values; it is just...
1
by: David | last post by:
Hello. I've written a page for an intranet that gives the user the option of launching a Word or PowerPoint document. The code I used to force the hyperlink to launch the application rather...
2
by: David Zack | last post by:
Hello. I'm currently working on a tool for an intranet that allows a user to launch a Word document template from an HTML page on a corporate portal. I would now like to run a particular macro...
5
by: deko | last post by:
I use hyperlinks in a subform datasheet to display locally saved documents that are associated with individual database entries. A customer entry may have a list of invoices in pdf format, for...
1
by: campbellbrian2001 | last post by:
Thanks to all.... does anyone know how to automatically launch a webpage hyperlink when the hyperlink appears in the text box on a for. I don't want the user to use the mouse pointer to go to the...
4
by: John | last post by:
Hi, I generate a report in a comma delimited file and give it a name like MyReport.csv . I then set a Hyperlink control to point tp the file HyperLink1.text = "Download"...
3
by: sohan | last post by:
hi I have hyperlink column in a datagrid. The column contains the name of a text file. I am able to appendthe full path of the file. The file is on D drive on the server. But on clicking on...
0
by: microb0x | last post by:
Is there any difference in the way an Access .mdb file is launched from directly double-clicking the file through windows explorer versus using code within another Access file to launch the...
1
by: gtr | last post by:
Hi, If I enter "C:/Progra~1/Starbase/CodeWright/cw32.exe C:/test/test.c" from the command line I can open the file. In this case CW32 is launched and opens test.c. So, how do I do this from a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.