PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
[WB20] ShellExecute issue
[WB20] ShellExecute issue
Started by ARV, May, 09 2018 5:03 PM - 2 replies
Connect yourself…
ARV
#1
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on May, 09 2018 - 5:03 PM
hi everyone
I have a problem with this function the thing is that yes it prints the document I want, the bad part it's that it doesn't close word here is my code
IF
ShellExecute
(
"C:\Test.doc"
,
"print"
) =
True
THEN
//info("Open")
ELSE
Info
(
ErrorInfo
(
)
)
END
I can print the document with the default printer but the word shows up and doesn't open just execute the program and freeze then my printer print the document.
this is normal? I don't really want to have that word open I just want to print and then move on with my site.
Best regards
Jose
Message modified, May, 09 2018 - 5:03 PM
Report
0
0
ARV
#2
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on May, 09 2018 - 6:04 PM
hi
I also Deploy my site and then when I press my button on the server click event it doesn't show anything I don't know why
Best regards
Jose
Report
0
0
ARV
#3
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on May, 09 2018 - 6:29 PM
Hi everyone
I put the function ShellExecute on server and browser
on server it works I guess... It prints but the word shows an error and the doc never shows up
on broswer doesn't work just open a new tab on the explorer and do nothing, not even show word or something just an empy tab. In here I put the path of my doc but it looks like webdev see it like a URL or something I don´t know why
Any ideas?
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