Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #2695
| From | "Jamal" <vodotnet_nospam@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Shellexecute with " in parameters |
| Date | 2011-12-15 13:21 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <jcdds5$2cj$1@dont-email.me> (permalink) |
| References | <4680c18e-c52a-465c-b373-10a95c4ee40a@ct2g2000vbb.googlegroups.com> |
Grzegorz, Use [ ] to surround your text. [htmltools.exe -breakpagebytext "end-of-page" d:\input.html d:\outputpdf] Jamal "Grzegorz Ramotowski" wrote in message news:4680c18e-c52a-465c-b373-10a95c4ee40a@ct2g2000vbb.googlegroups.com... Dear Friends To avoid any report generator program I made my VO produce HTML file and (want) use an external converter to PDF calling it with Shellexecute(): ShellExecute(NULL, PSZ(_CAST,"open"), PSZ(_CAST,"htmltools.exe"), PSZ(_CAST,"d:\input.html d:\outputpdf"), NULL, SW_SHOWNORMAL) this works fine until I must use a parameter which need double quote marks like that htmltools.exe -breakpagebytext "end-of-page" d:\input.html d: \outputpdf I tried to make an outer string with " and inner with ' and also to use chr(34) "htmltools.exe -breakpagebytext "+chr(34)+"end-of-page"+chr(34)+" d: \input.html d:\outputpdf but it does not work - ie program starts but ignores paramters. How shall I pass the " to Shellexecute? Or maybe I shall do another way? Every help much appreciated Gregory
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Shellexecute with " in parameters Grzegorz Ramotowski <ramotny@tlen.pl> - 2011-12-15 08:55 -0800
Re: Shellexecute with " in parameters dlzc <dlzc1@cox.net> - 2011-12-15 10:03 -0800
Re: Shellexecute with " in parameters "Jamal" <vodotnet_nospam@yahoo.com> - 2011-12-15 13:21 -0500
Re: Shellexecute with " in parameters malcolm gray <malcolm.gray@ntlworld.com> - 2011-12-17 08:40 +0000
Re: Shellexecute with " in parameters "Heli-Team.pl Portal" <admin1@heli-team.pl> - 2011-12-22 14:30 -0800
csiph-web