Creating a normal link in an application

Hi there,

I want to create just a nomal link like <a href="filename.pdf" target="_blank">pdf-file</a> in an Intraweb application. Without the need to write code into an OnClick event that takes the pdf-file and sends it to the client because :
some users have told the browser not to open a new window (popup blocker) when using WebApplication.NewWindow  or the browser opens the pdf-reader inside the browser window when using WebApplication.SendFile and then the intraweb application is no longer accessible (back button in browser does not wok).

I'm using Intraweb 8 and Delphi2006 Enterprise.

Thanks for you help.

Greetings from germany

Michael

Edited by: Michael Adamovic on Sep 23, 2008 4:50 AM

Edited by: Michael Adamovic on Sep 23, 2008 5:13 AM
0
Michael
9/23/2008 12:14:15 PM
embarcadero.delphi.intraweb 3901 articles. 1 followers. Follow

2 Replies
578 Views

Similar Articles

[PageSpeed] 13

> I want to create just a nomal link like <a href="filename.pdf" 
> target="_blank">pdf-file</a> in an Intraweb application. Without 
> the need to write code

Where will the file come from? Are you serving it from the files directory?
0
Chad
9/25/2008 2:38:25 AM
> {quote:title=Chad Hower wrote:}{quote}
> > I want to create just a nomal link like <a href="filename.pdf" 
> > target="_blank">pdf-file</a> in an Intraweb application. Without 
> > the need to write code
> 
> Where will the file come from? Are you serving it from the files directory?

Sorry for the late reply. I didn't see that you have answered to my question.
I have solved the problem by creating a calculated field and using a TIWDBText component.

The value of the field is set to '<a style="text-decoration: none;" href="'+GServercontroller.FilesURL+Filename+'" target="_blank"><img style="border: none;" src="'+GServercontroller.URLBase+'/files/pdf_ico.gif" height="32" width="32"></a>'

Edited by: Michael Adamovic on May 27, 2009 11:46 AM

Edited by: Michael Adamovic on May 27, 2009 11:47 AM
0
Michael
5/27/2009 10:47:53 AM
Reply:

Similar Artilces:

Creating keystrokes from a Delphi application
I am trying to use Delphi to read the output from a barcode scanner on COM1. What I would like to do is read the COM1 port and send this data to Windows as a key string, so that a user can scan a barcode directly into an edit box in some application. I have components to read the COM port but I don't know how to create a keystring and send it to Windows. Would anyone know how to do this from a Delphi 7 application? Pier Pier Nardin wrote: > I am trying to use Delphi to read the output from a barcode scanner > on COM1. What I would like to do is read the COM1 port a...

Creating Link to Application Icon
Can someone help me here. I have successfully installed Thunderbird and it's working fine. I have successfully created a "Link to Application" that also works from the Desktop Folder. A Silly problem, all i have as an icon is a Question Mark. Question, How do i give this "Link to Application" the thunderbird image / icon in place of the question mark? Mark -- akwe-xavante ------------------------------------------------------------------------ [QUOTE=akwe-xavante] Can someone help me here. I have successfully installed Thunderbird an...

How to Create/Free normal delphi forms
We need to use existing code form a normal VCL form. Is there any way to Create / Free normal VCL forms from intraweb events? Thanks in advance! <lemez zoltan> schreef in bericht news:517252@forums.embarcadero.com... > We need to use existing code form a normal VCL form. > Is there any way to Create / Free normal VCL forms from intraweb events? If you have an existing Delphi application and want to bring it lock-stock-and-barrel to the web, you could try D2W. See news:489584@forums.embarcadero.com (2 aug 2012; http://84.86.145.75). Tom > We need to use existi...

Combined Delphi forms application and Intraweb
Is it possible to combine a standard Delphi application with Intraweb? How can I then send information to the Delphi form? E.g call the follwing from Intraweb: {code} procedure TIWForm2.IWButton1AsyncExit(Sender: TObject; EventParams: TStringList); begin form1.Label1.Caption := timetostr(now); end; {code} Regards Tom You can create a VCL form, and manage it the way you like, but of course, you will not be able to view it. Sometimes this is needed when you require certain functions from a VCL. > {quote:title=Mohamed Hammady wrote:}{quote} > You can create a VCL...

Create Web Interface for Existing Delphi Application
I have a Delphi VLC application that connects to a SQL Server database. It is a huge program so rewriting it is not an option. I would like to create a web interface for the application that can be used though a web browser by users on the web. The application already has the code to do all the work and I want to re-use this code. I just want to create the 'interface', preferably usig Delphi code only. What would be my best option? If rewriting is not an option, maybe IntraWeb is. IntraWeb (aka VCL for the Web) let you make web applications the Delphi way. Bob Swart has written...

Link Link Link
geiler Link: http://tagestipps.info/fclick/fclick.php?12 ...

Link Link Link
geiler Link: http://tagestipps.info/fclick/fclick.php?12 ...

Creating a web debugger application in Delphi XE2?
Hi folks, Just downloaded Delphi XE2 and am trying to create a Web Services SOAP application that I can run in the web app debugger. But this option seems to have gone! I create an app File -> New -> Other. Select SOAP Server Application and I get 4 options: standalone VCL, console app, ISAPI DLL or CGI. In previous versions there was also the option to create a web debugger app (I know, because I used it), but this seems to have gone. If this a bug in XE2? The documentation suggests this feature should still be there. Anyone else seeing this, or do I have a dodgy download? ...

Creating Icons and Launchers for Delphi Mobile Applications
About a year ago, I blogged about a free utility (EXE and source) I created for generating all of the mobile icons, spotlights, settings and launchers for Delphi Android and iOS applications. With some help from Graham Murt, it has been updated for XE7. You can read about it and get the exe and source here: http://blogs.riversoftavg.com/index.php/2015/02/07/creating-icons-and-launchers-for-delphi-mobile-applications-redux/ Tom ...

Link Link Link
geiler Link: http://tagestipps.info/fclick/fclick.php?12 ...

How do I create a Delphi 2009 standalone application exe?
Hi, I have struggled with creating a D2009 standalone application exe. Hope you will help me. Michael <Michael Lewis> wrote in message news:244274@forums.embarcadero.com... > I have struggled with creating a D2009 standalone > application exe. Hope you will help me. Make sure Runtime Packages is turned off in the Project Options. -- Remy Lebeau (TeamB) > {quote:title=Michael Lewis wrote:}{quote} > I have struggled with creating a D2009 standalone application exe. Hope you will help me. To expand on Remy's answer: 1. Use File->New->VCL Fo...

Simple reply from an Intraweb handler to a delphi application
Hi, I am trying to make a simple intranet handler that can service a delphi program. Goal: to call an Intraweb SA application by using indy og ip*works HTTP components, and return a simple string. e.g. It could be returning the number of new records in a database. The Intraweb should do the following: accept the incomming URL request (to a handler?), create a string and return it to the caller and then kill the session. It seems quite simple, but I cannot get it to fly. I have implemented the "GiveMeSomeXML" handler example, but when I try to call the URL I get an unexpect...

Link Link Link
geiler Link: http://tagestipps.info/fclick/fclick.php?12 ...

Link Link Link
geiler Link: http://tagestipps.info/fclick/fclick.php?12 ...

Web resources about - Creating a normal link in an application - embarcadero.delphi.intraweb

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

The Bachelor 2016 application process can get explicit - Laurina Fleure
CHANNEL Ten is calling on singles to sign up for a chance to find love on The Bachelor , but willing applicants have to open a lot more than ...

Perth man’s Afghan wife slapped with 10-year visa application ban - PerthNow Search Search
A MAN’S three-year struggle to have his wife live with him in Australia has ended in heartache after his spouse was slapped with a 10-year ban. ...

Application developers struggle to adapt to changing licensing models
Application producers are aware of rapid change impacting their ability to make money from their software products, but they're not adopting ...

MBA: Mortgage Applications Decrease in Latest MBA Weekly Survey, Purchase Applications up 30% YoY
From the MBA: Mortgage Applications Slightly Decrease in Latest MBA Weekly Survey Mortgage applications decreased 0.2 percent from one week ...

Elon Musk Requests Applications For Autopilot Software Engineers On Twitter
... and more quickly achieve “generalized full autonomy.” So, if you ever wanted to work for Tesla in such a [&hellip Elon Musk Requests Applications ...

Mortgage applications down 0.2%
Mortgage interest rates haven't moved much in the past three weeks, but they are holding at a higher level than for all of 2015.

Number Of Daily Applications To French Military TRIPLES Overnight
Number Of Daily Applications To French Military TRIPLES Overnight

LED market saturation to drive industry to seek profits in new applications in 2016, says LEDinside
According to LEDinside, LED makers had an especially tough year in 2015. "Despite rising LED lighting market demand and the large scale replacement ...

Windows 10’s broken fall update removes user-installed applications without asking first
Microsoft's latest Windows 10 update is causing problems for at least some users, and uninstalling programs without the user's consent or evidence ...

Resources last updated: 12/6/2015 4:02:24 PM