Abrir PDF armazenado no servidor AS

Dicas do Oracle Forms Builder - Blocos, Itens, LOV, Canvas, Triggers, comandos, PLL, d2kwutil, FMB, Alert, menus, etc
Responder
markkin21st
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Mensagens: 10
Registrado em: Qui, 17 Dez 2009 8:44 pm
Localização: São Paulo-SP

Pessoal, estou com um problema

tenho um sistema onde ao clicar em um item da toolbar, abre um arquivo em pdf armazenado em uma pasta na rede.
COm o sistema cliente/servidor funciona perfeitamente.

Estou migrando pro 10g web e não tenho idéia de como fazer isso.

O pdf está armazenado em uma pasta do servidor(Linux)

No client/server eu faço assim :

AppID := DDE.App_Begin(var_path||'AcroRd32.exe '||var_path||'xxxx.pdf',DDE.App_Mode_Maximized);

Como fazer isso na web?

Obrigado.
Avatar do usuário
gpilger
Rank: Programador Júnior
Rank: Programador Júnior
Mensagens: 29
Registrado em: Qua, 21 Abr 2010 3:34 pm
Localização: Novo Hamburgo - RS
Gilson Pilger
"Por não saber que erra impossível, ele foi lá e fez" autor desconhecido

Meu amigo, tenta usar a build-in abaixo.

Sintaxe:

Selecionar tudo

WEB.SHOW_DOCUMENT(url,target);
Valores de target :

_SELF Causes the document to load into the same frame or window as the source document.
_PARENT Causes the target document to load into the parent window or frameset containing the hypertext reference. If the reference is in a window or top-level frame, it is equivalent to the target _self.
_TOP Causes the document to load into the window containing the hypertext link, replacing any frames currently displayed in the window.
_BLANK Causes the document to load into a new, unnamed top-level window.

Exemplo:

Selecionar tudo

WEB.SHOW_DOCUMENT('http://www.site.com.br/download/arquivo.pdf',_BLANK);
Grupo Herval
www.herval.com.br
Responder
  • Informação
  • Quem está online

    Usuários navegando neste fórum: Nenhum usuário registrado e 11 visitantes