![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi Folks: I can open a Word Pro 97 file using the SEND EVENT script (with the relative path of the file stored in a text field as Account/File1.doc)) as long as I open the FMPro 7 database within its directory. If I place a shortcut on the desktop and open the database the relative file reference does not work. I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc as the full path ... with no luck. Any help would be greatly appreciated in resolving this problem. Regards, Al Lawrance |
#3
| |||
| |||
|
|
Try the open URL script step with full path |
|
Ursus "AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) .. Hi Folks: I can open a Word Pro 97 file using the SEND EVENT script (with the relative path of the file stored in a text field as Account/File1.doc)) as long as I open the FMPro 7 database within its directory. If I place a shortcut on the desktop and open the database the relative file reference does not work. I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc as the full path ... with no luck. Any help would be greatly appreciated in resolving this problem. Regards, Al Lawrance |
#4
| |||
| |||
|
|
Hi Folks: I can open a Word Pro 97 file using the SEND EVENT script (with the relative path of the file stored in a text field as Account/File1.doc)) as long as I open the FMPro 7 database within its directory. If I place a shortcut on the desktop and open the database the relative file reference does not work. I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc as the full path ... with no luck. Any help would be greatly appreciated in resolving this problem. Regards, Al Lawrance |
#5
| |||
| |||
|
|
On Windows for the full path you have to use filewin:/C:/Program Files/FMDatabase/Account/File1.doc This will work Error Message 100 no longer appears but WORD does not open the File1.doc |
| Jeroen Aarts *-*-*-*-*-*-*-*-*-*-* Tasty Bytes www.tastybytes.be *-*-*-*-*-*-*-*-*-*-* "AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> wrote in message news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) .. Hi Folks: I can open a Word Pro 97 file using the SEND EVENT script (with the relative path of the file stored in a text field as Account/File1.doc)) as long as I open the FMPro 7 database within its directory. If I place a shortcut on the desktop and open the database the relative file reference does not work. I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc as the full path ... with no luck. Any help would be greatly appreciated in resolving this problem. Regards, Al Lawrance |
#6
| |||
| |||
|
|
"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message news:426e2256$0$38797$dbd43001 (AT) news (DOT) wanadoo.nl... Try the open URL script step with full path Tried the URL approach ... same result as SEND EVENT script discussed below. Ursus "AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) .. Hi Folks: I can open a Word Pro 97 file using the SEND EVENT script (with the relative path of the file stored in a text field as Account/File1.doc)) as long as I open the FMPro 7 database within its directory. If I place a shortcut on the desktop and open the database the relative file reference does not work. I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc as the full path ... with no luck. Any help would be greatly appreciated in resolving this problem. Regards, Al Lawrance |
#7
| |||
| |||
|
|
Read your question again. If I now understand correctly you want to open a shortcut, pointing to a file. not the file itself. |
|
Now pointing to a link does change sthe filename. You no longer point to c:\MyMap\MyDoc.doc, but have to ad dot lnk to it, opening the file c:\MyMap\MyDoc.doc.lnk Ursus "AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht news:6Xube.1136406$Xk.113959 (AT) pd7tw3no (DOT) .. "ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message news:426e2256$0$38797$dbd43001 (AT) news (DOT) wanadoo.nl... Try the open URL script step with full path Tried the URL approach ... same result as SEND EVENT script discussed below. Ursus "AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) .. Hi Folks: I can open a Word Pro 97 file using the SEND EVENT script (with the relative path of the file stored in a text field as Account/File1.doc)) as long as I open the FMPro 7 database within its directory. If I place a shortcut on the desktop and open the database the relative file reference does not work. I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc as the full path ... with no luck. Any help would be greatly appreciated in resolving this problem. Regards, Al Lawrance |
#8
| |||
| |||
|
|
"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message news:426fd867$0$13442$dbd43001 (AT) news (DOT) wanadoo.nl... Read your question again. If I now understand correctly you want to open a shortcut, pointing to a file. not the file itself. No ... when I open the database file by double-clicking the file name in its directory the SEND EVENT script works because the doc files are nested in folders inside the database's folder. However, if I make a desktop shortcut of the database file ... and launch the application from this shortcut residing on the desktop, the SEND EVENT script does not open the doc file like it did when the database was opened in its folder. It comes up with an error 3 when filewin:/c:/DatabasefolderName/Accounts/Account1.doc is used as the absolute path in Windows. Al Now pointing to a link does change sthe filename. You no longer point to c:\MyMap\MyDoc.doc, but have to ad dot lnk to it, opening the file c:\MyMap\MyDoc.doc.lnk Ursus "AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht news:6Xube.1136406$Xk.113959 (AT) pd7tw3no (DOT) .. "ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message news:426e2256$0$38797$dbd43001 (AT) news (DOT) wanadoo.nl... Try the open URL script step with full path Tried the URL approach ... same result as SEND EVENT script discussed below. Ursus "AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) .. Hi Folks: I can open a Word Pro 97 file using the SEND EVENT script (with the relative path of the file stored in a text field as Account/File1.doc)) as long as I open the FMPro 7 database within its directory. If I place a shortcut on the desktop and open the database the relative file reference does not work. I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc as the full path ... with no luck. Any help would be greatly appreciated in resolving this problem. Regards, Al Lawrance |
![]() |
| Thread Tools | |
| Display Modes | |
| |