General information
Category:
Coding, syntax & commands
Hi
Turns out that a simple
cFiletoopenx = strtran(filetoopenx,CHR(13),"")
does the trick. Works a treat now.
Thanks to both of you for your help.
>I'm trying to open a PDF using _shellExecute which is added to my own form class. Normal this works 100% OK (will all file types). But in passing a file name gathered from selected text from a memo field which itself is opened in a child form, I'm getting a retval value 2 (= 'bad association' error code). Any clues! Many thanks.
Denis,
Can you pass
rtrim(MemoField)
to the _shellExecute ?
Gregory
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only