I just uploaded some code that would launch any windows file, pdf files and
exe's included. just unip the files to the vantage/ud directory, and edit
one of the examples .w files to suit your fancy. JUST MAKE SURE THE .W FILE
BEGINS WITH "UD"
This solution runs the ShellExecuteA function in the windows API, rather
than launching dos, so you aren't limited to 8 characters.
Just a note though, if you don't have the latest patch, it may run slow.
For the 4GL gurus out there that want more info on this and other windows
API function, check out www.global-shared.com.
If you want to send command line arguments, call the ShellExecuteA function,
rather than the simplified LaunchFile function.
let me know if you have any ?'s
Best Regards,
Thaddeus Jacobs <mailto:tjacobs@...>
Database Support
Kinematic Automation, Inc.
Sonora, CA
-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Tuesday, August 28, 2001 11:40 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Vantage menu item for PDF document - Solved
The email editor tried to resolve some of the code in the examples below
into file links which the yahoogroup display made confusing. The references
to file and such below are wrong. The command should read
OS-COMMAND Silent START <file path and name of file to be opened>
Sorry about that I should have realized it would try to be turned into a
hyperlink.
-Todd C.
-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Tuesday, August 28, 2001 11:32 AM
To: 'vantage@yahoogroups.com'
Subject: [Vantage] Vantage menu item for PDF document - Solved
Last week I had a question about putting a PDF document on the regular
Vantage menus (not in favorites). THANKS! to suggestions from several
people I now have this working. Since the last messages did not spell out a
working solution in one place I'll put what I have done here. (Note: this
is on V4.0 and uses V4 directory locations).
1. In epicor\vantage\ud create a file starting named UDxxxxxx.w (fill in
x's with whatever)
2. In the file place the commands:
OS-COMMAND silent START <file://%3C/> \\<server>\epicor\<pdf file
location>\<filename>.pdf
In this example I have our <server> name and a <folder> for all the pdf
files - substitute for <...> as needed
I found that because the command runs in a DOS window (suppressed by SILENT)
it also must have DOS naming convention (8 characters). The DOS START
command fires off the Windows program associated with the file. I also
could not use drive mapping so specificed \\server <file://\\server> .
3. In Vantage menu maintenance add the item and reference the ud\udxxxxxx.w
file
This is working very well. I am experimenting with the /max parameter on
the START command to open in full screen. The file associations in Windows
are obeyed (.pdf activates Acrobat Reader) so I suspect any Windows program
would work. This would be very handy for posting documents or spreadsheet
work assignments, etc...
-Todd Caughey
Harvey Vogel Mfg. Co.
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=210544.1579977.3132570.1261774/D=egroupweb/S=17050071
83:HM/A=776675/R=0/*http://ads.track-star.com/adspace.ts?ts=1;2;217;107_220_
105_264> Lose 20 lbs by November 5th
<http://us.adserver.yahoo.com/l?M=210544.1579977.3132570.1261774/D=egroupmai
l/S=1705007183:HM/A=776675/rand=222826151>
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
exe's included. just unip the files to the vantage/ud directory, and edit
one of the examples .w files to suit your fancy. JUST MAKE SURE THE .W FILE
BEGINS WITH "UD"
This solution runs the ShellExecuteA function in the windows API, rather
than launching dos, so you aren't limited to 8 characters.
Just a note though, if you don't have the latest patch, it may run slow.
For the 4GL gurus out there that want more info on this and other windows
API function, check out www.global-shared.com.
If you want to send command line arguments, call the ShellExecuteA function,
rather than the simplified LaunchFile function.
let me know if you have any ?'s
Best Regards,
Thaddeus Jacobs <mailto:tjacobs@...>
Database Support
Kinematic Automation, Inc.
Sonora, CA
-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Tuesday, August 28, 2001 11:40 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Vantage menu item for PDF document - Solved
The email editor tried to resolve some of the code in the examples below
into file links which the yahoogroup display made confusing. The references
to file and such below are wrong. The command should read
OS-COMMAND Silent START <file path and name of file to be opened>
Sorry about that I should have realized it would try to be turned into a
hyperlink.
-Todd C.
-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Tuesday, August 28, 2001 11:32 AM
To: 'vantage@yahoogroups.com'
Subject: [Vantage] Vantage menu item for PDF document - Solved
Last week I had a question about putting a PDF document on the regular
Vantage menus (not in favorites). THANKS! to suggestions from several
people I now have this working. Since the last messages did not spell out a
working solution in one place I'll put what I have done here. (Note: this
is on V4.0 and uses V4 directory locations).
1. In epicor\vantage\ud create a file starting named UDxxxxxx.w (fill in
x's with whatever)
2. In the file place the commands:
OS-COMMAND silent START <file://%3C/> \\<server>\epicor\<pdf file
location>\<filename>.pdf
In this example I have our <server> name and a <folder> for all the pdf
files - substitute for <...> as needed
I found that because the command runs in a DOS window (suppressed by SILENT)
it also must have DOS naming convention (8 characters). The DOS START
command fires off the Windows program associated with the file. I also
could not use drive mapping so specificed \\server <file://\\server> .
3. In Vantage menu maintenance add the item and reference the ud\udxxxxxx.w
file
This is working very well. I am experimenting with the /max parameter on
the START command to open in full screen. The file associations in Windows
are obeyed (.pdf activates Acrobat Reader) so I suspect any Windows program
would work. This would be very handy for posting documents or spreadsheet
work assignments, etc...
-Todd Caughey
Harvey Vogel Mfg. Co.
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=210544.1579977.3132570.1261774/D=egroupweb/S=17050071
83:HM/A=776675/R=0/*http://ads.track-star.com/adspace.ts?ts=1;2;217;107_220_
105_264> Lose 20 lbs by November 5th
<http://us.adserver.yahoo.com/l?M=210544.1579977.3132570.1261774/D=egroupmai
l/S=1705007183:HM/A=776675/rand=222826151>
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/