You are on the right track. Here is another example.
Process.start("Excel.exe","g:\mfg\input-spm.xls")
Tim Dines
Information Technology
Steel Parts Manufacturing, Inc.
801 Berryman Pike
Tipton, IN 46072
Direct: 765-675-5201
Cell: 765-437-1402
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Sean Toler
Sent: Tuesday, April 13, 2010 10:30 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Custom Buttons
Hello,
I would like to add a number of buttons to a few modules that will cause
one of our internal documents to be opened when one is pushed. The only
thing I have to go by is the example in the Event Wizard section of the
Advanced Customization chapter in the Epicor Tools User Guide.
The example shows how to add a button that will open Epicor's website.
The example code is as follows:
Process.Start("IExplore.exe","https://EPICweb.epicor.com/default.aspx")
So, since I basically have extremely limited knowledge with scripting, I
basically copied what they had and applied it to my situation. This is
what i wrote:
Process.Start("winword.exe","I:\Kosmo Machine Documents\Word
Format\Inspection Documents\Corrective Action Request Form.docx")
Unfortunately, my very basic attempt did not work.
Can anyone offer me some advice on how to get this to work?
[Non-text portions of this message have been removed]
Process.start("Excel.exe","g:\mfg\input-spm.xls")
Tim Dines
Information Technology
Steel Parts Manufacturing, Inc.
801 Berryman Pike
Tipton, IN 46072
Direct: 765-675-5201
Cell: 765-437-1402
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Sean Toler
Sent: Tuesday, April 13, 2010 10:30 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Custom Buttons
Hello,
I would like to add a number of buttons to a few modules that will cause
one of our internal documents to be opened when one is pushed. The only
thing I have to go by is the example in the Event Wizard section of the
Advanced Customization chapter in the Epicor Tools User Guide.
The example shows how to add a button that will open Epicor's website.
The example code is as follows:
Process.Start("IExplore.exe","https://EPICweb.epicor.com/default.aspx")
So, since I basically have extremely limited knowledge with scripting, I
basically copied what they had and applied it to my situation. This is
what i wrote:
Process.Start("winword.exe","I:\Kosmo Machine Documents\Word
Format\Inspection Documents\Corrective Action Request Form.docx")
Unfortunately, my very basic attempt did not work.
Can anyone offer me some advice on how to get this to work?
[Non-text portions of this message have been removed]