Jump to content

problems whit the URL in UniPDFframe


Juancito

Recommended Posts

Good afternoon.

I comment my situation, make a project which deploys it in IIS. When I want to open the pdf, I get the address and the component automatically adds the path of the dll in front of the path that I provide, does anyone know how to solve it? or how to remove the path that concatenates me?

 

this is the code that i am using for open the PDF, is like the code in the Example.

folderUrl:= UniServerModule.FilesFolderURL + QR_Liquidaciones.FieldByName('nombrepdf').AsString;

UniPDFFrame.PdfURL:= folderUrl;

i want to open the PDF here \\192.168.0.150\Liquidaciones\

and the pdfurl is http://localhost/Prueba/pwug_cnf.dll///192.168.0.150/Liquidaciones/

 

this is the url that the componen concatenates http://localhost/Prueba/pwug_cnf.dll/

thanks.

 

 

Link to comment
Share on other sites

58 minutes ago, Sherzod said:

Hello,

First of all, please specify which edition and build of UniGUI are you using?

You can only link to local files located in the web directory...

Hello.

I am using the 1.90.00 buid 1555

I tried to go to the UniServerModule.FilesFolderURL, that is the "files" folder in the web directory, but i have the same result, firt it concatenates http://localhost/Prueba/pwug_cnf.dll/ and this make imposible to find the "files" folder

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...