This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Calling exe files from Aras through methods

ashu_vik - Monday, November 30, 2009 5:39 AM:

Hi All,

I am working on a scenario where I am trying to call an exe file on my machine from Aras Innovator.

I have created a method which i have attached to a workflow activity. Once the activity gets activated, it triggers a server event and the method is executed. The method code calls an exe file that resides on my machine. I tried to call 'calc.exe' but it did not work.

Below is the code I tried:

Dim RetVal
RetVal = Shell("C:WINDOWSSystem32calc.exe", 1)

Any suggestions?

Thanks,

Ashu