473,466 Members | 1,298 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Link

This is not really an ASP.Net Question, but still I hope that it can be
answered here...

I have a link which when clicked invokes a program which invokes a program
which generates a PDF file and show it in the web page.

The link looks something like this
http://pacsdd/ibiweb.exe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&amp&EN VIRON=P&&ECHO=OFF&CLICKED_ON=''&RPT_NBR=RF 0002

The DNS name of PACS will no longer point me to this EXE. I have changed it
to something which looks like this...

\\kcpaxx01\APPS\ibi\client45\conf\web\cgi\ibiweb.e xe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&amp&ENVIRON=P& amp;&ECHO=OFF&CLICKED_ON=''&RPT_NBR=RF0002

Now when I click on the link, it attempts to download the file rather then
invoking the program.

What can I do to change this behavior?

Thanks in advance for your assistance!!!

Mar 15 '07 #1
2 2503
In order to invoke the exe as CGI, you have to use an URL rather than a UNC
path. With the UNC path, the EXE is seen as an unknown MIME type rather than
CGI. It might be possible to make EXE a MIME type on your server and tweak
the server to use it the way you previously were, but that would open all
sorts of potential for mayhem.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"JimHeavey" wrote:
This is not really an ASP.Net Question, but still I hope that it can be
answered here...

I have a link which when clicked invokes a program which invokes a program
which generates a PDF file and show it in the web page.

The link looks something like this
http://pacsdd/ibiweb.exe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&amp&EN VIRON=P&&ECHO=OFF&CLICKED_ON=''&RPT_NBR=RF0002

The DNS name of PACS will no longer point me to this EXE. I have changed it
to something which looks like this...

\\kcpaxx01\APPS\ibi\client45\conf\web\cgi\ibiweb.e xe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&amp&ENVIRON=P& &ECHO=OFF&CLICKED_ON=''&RPT_NBR=RF0002

Now when I click on the link, it attempts to download the file rather then
invoking the program.

What can I do to change this behavior?

Thanks in advance for your assistance!!!
Mar 15 '07 #2
On Mar 15, 4:57 pm, JimHeavey <JimHea...@discussions.microsoft.com>
wrote:
This is not really an ASP.Net Question, but still I hope that it can be
answered here...

I have a link which when clicked invokes a program which invokes a program
which generates a PDF file and show it in the web page.

The link looks something like thishttp://pacsdd/ibiweb.exe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&&ENVIR ON...

The DNS name of PACS will no longer point me to this EXE. I have changedit
to something which looks like this...

\\kcpaxx01\APPS\ibi\client45\conf\web\cgi\ibiweb.e xe?IBIF_ex=MSSETUP&FOC_PG*M=RPTSAMPL&amp&ENVIRON=P &amp;&ECHO=OFF&amp;CLICKED_ON=''&RPT_NBR=RF0002

Now when I click on the link, it attempts to download the file rather then
invoking the program.

What can I do to change this behavior?

Thanks in advance for your assistance!!!
I think you can't call it in this way (\\share\ibiweb.exe?
querystring), because it's a CGI application and has to be served by a
web server.

Mar 15 '07 #3

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

Similar topics

3
by: Matt Adams | last post by:
As well known I could specify the text color in the body tag like: <BODY TEXT=WHITE LINK=WHITE VLINK=RED ALINK=WHITE> What I want to achieve now is that always (!) the text of the last visited...
26
by: Harrie | last post by:
Hi, After Brian mentioned the use for <link rel=..> for navigational purposes in another thread, I've been looking into it and found that HTML 3.2 has two other recognized link types than HTML...
4
by: Franklin | last post by:
WITHOUT KNOWING ANYTHING ABOUT THE CURRENT COLORS, I want to swap the foreground/background colors of a link when someone hovers over it. Is this possible with HTML, CSS, DOM, & JavaScript? If...
8
by: sudhirlko2001 | last post by:
How to swap two nodes of doubly Linklist
14
by: Steve McLellan | last post by:
Hi, Sorry to repost, but this is becoming aggravating, and causing me a lot of wasted time. I've got a reasonably large mixed C++ project, and after a number of builds (but not a constant...
1
by: sri2097 | last post by:
Hi all, I have written a Link list implementation in Python (Although it's not needed with Lists and Dictionaries present. I tried it just for the kicks !). Anyway here is the code - # Creating...
8
by: Steve | last post by:
Hi; I had a big link checking job to do and it has been years since I have done anything like that so I found a test page to use that I knew had bad links on it( a friends site ) and I decided...
7
by: gehegeradeaus | last post by:
Can someone help me to make a regular expression for this sort of replacement : text with {link:pagehref}a link{/link}. replace to -> text with <a href="pagehref">a link</a> I tried...
7
by: Kurda Yon | last post by:
Hi everybody, I cannot understand the following thinks. The last line of the fillowing code produces a message about mistake (not a valid MySQL- Link resource): $link = mysql_connect(...
4
by: perryche | last post by:
Is this possible? Instead of using the link wizard, can the FE/BE link be established any other way that users can simply type the link path? Thanks, Perry
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
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.