PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
[WB20] Using Files on the PC of the user
[WB20] Using Files on the PC of the user
Started by ARV, May, 09 2018 9:52 PM - 2 replies
Connect yourself…
ARV
#1
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on May, 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
Report
0
0
François C.
#2
Registered member
1,623 messages
Popularité : +100 (114 votes)
Posted on May, 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.
Report
0
0
ARV
#3
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on June, 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
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text