GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
[WB20] Using Files on the PC of the user
[WB20] Using Files on the PC of the user
Iniciado por ARV, mai., 09 2018 9:52 PM - 2 respostas
Conecte-se…
ARV
#1
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em maio, 09 2018 - 9:52 PM
Hi
Theres a way to do this?
Because I need to open a .doc on the computer of the user and then print that document, all of the codes I see of PcSoft always point to the server of the app, and it's not that I want to do.
something like this:
Click on a button
From code I know the name of the doc and the path and then I search on the PC of the user
Execute another desktop app to open the file and then print
or:
click on button
search the path and file of the PC of the user
print the document
I seach everything on PCSoft Documentation but I haven't do the thing I want to do
is it possible?
Best Regards
Jose
Denunciar
0
0
François C.
#2
Membro registado
1.623 mensagems
Popularité : +100 (114 votes)
Publicado em maio, 31 2018 - 4:40 PM
Hey
If you know the exact path, you'll have to this in browser code (not in server code) :
BrowserOpen
(
"file:///<path_to_my_file>"
)
ex :
BrowserOpen
(
"file:///d:/MyFiles/MyDoc.doc"
)
This SHOULD work.. I didn't try it.
Denunciar
0
0
ARV
#3
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em junho, 13 2018 - 5:50 PM
Hi François C.
sorry for the late respond
I tried to use the code you provide me and the only thing this code do is open a new tab on the browser, in this case a blank one.
thanks for your help, maybe with the Version of 23 I can solve this problem I hope so for now I will keep searching for the 20ver.
--
Best Regards
Jose
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto