Calling an executable on the local computer

5 views
Skip to first unread message

Keith

unread,
Nov 9, 2009, 12:45:14 PM11/9/09
to InterSystems: Zen Community
I'm trying to find an example of the code that would call an
executable program on the local computer and open it in a new window
on top of Cache. Does anybody have an example they could share?

Thanks,

Keith

Neerav Verma

unread,
Nov 9, 2009, 2:15:45 PM11/9/09
to intersys...@googlegroups.com
What exactly does your app do ?

I know of only two things which can be done by cache/ensemble
Ensemble productions or web apps

You should be able to open a web app by an executable.
Ensemble is also available on webapp .


Thank You,

Neerav Verma
http://www.linkedin.com/in/vneerav
------------------------------------------------------
Jonathan Swift  - "May you live every day of your life."

OldMster

unread,
Nov 9, 2009, 3:06:14 PM11/9/09
to InterSystems: Zen Community
No browser based application should be able to do that, running
arbitrary programs on the local machine is what hackers spend most of
their time trying to accomplish, and the browser developers spend a
lot of their time trying to prevent.
Mark


On Nov 9, 1:15 pm, Neerav Verma <vnee...@gmail.com> wrote:
> What exactly does your app do ?
>
> I know of only two things which can be done by cache/ensemble
> Ensemble productions or web apps
>
> You should be able to open a web app by an executable.
> Ensemble is also available on webapp .
>
> Thank You,
>
> Neerav Vermahttp://www.linkedin.com/in/vneerav
> ------------------------------------------------------
> Jonathan Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>

Keith

unread,
Nov 9, 2009, 3:06:39 PM11/9/09
to InterSystems: Zen Community
Neerav,

What I have is a program written in Visual Basic that displays jpeg
images of the shipping documents for pieces of equipment in the Cache
class. I got the program to launch using "$ZF(-1,"C:\BARCODE\E-
DOC.EXE")". This is great, but now I need to to save the value of the
'Equipment_No' text field into a file on my local computer so that the
program can use it as a parameter. Is there a way to save data to a
text file? The data needs to go into the file "C:\BARCODE\DATA
\PCN.TMP".

Keith

On Nov 9, 11:15 am, Neerav Verma <vnee...@gmail.com> wrote:
> What exactly does your app do ?
>
> I know of only two things which can be done by cache/ensemble
> Ensemble productions or web apps
>
> You should be able to open a web app by an executable.
> Ensemble is also available on webapp .
>
> Thank You,
>
> Neerav Vermahttp://www.linkedin.com/in/vneerav
> ------------------------------------------------------
> Jonathan Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
> - "May you live every day of your life."
>
>
>
> On Mon, Nov 9, 2009 at 12:45 PM, Keith <keith.o.b...@boeing.com> wrote:
>
> > I'm trying to find an example of the code that would call an
> > executable program on the local computer and open it in a new window
> > on top of Cache. Does anybody have an example they could share?
>
> > Thanks,
>
> > Keith- Hide quoted text -
>
> - Show quoted text -

Neerav Verma

unread,
Nov 9, 2009, 3:14:45 PM11/9/09
to intersys...@googlegroups.com
Yes there are FileOperations which do that - EnsLib.File.FileOutboundAdapter

Also you can look into %File methods to do it directly. I have always used adapters



Thank You,

Neerav Verma
http://www.linkedin.com/in/vneerav
------------------------------------------------------
Samuel Goldwyn  - "I'm willing to admit that I may not always be right, but I am never wrong."

Keith

unread,
Nov 9, 2009, 4:36:33 PM11/9/09
to InterSystems: Zen Community
Thanks Neerav,

I'm having trouble locating info about the
EnsLib.File.FileOutboundAdapter. I found the HTTP.OutboundAdapter, but
I am not writing to a web document, just to a regular file.

Keith

On Nov 9, 12:14 pm, Neerav Verma <vnee...@gmail.com> wrote:
> Yes there are FileOperations which do that - EnsLib.File.FileOutboundAdapter
>
> Also you can look into %File methods to do it directly. I have always used
> adapters
>
> Thank You,
>
> Neerav Vermahttp://www.linkedin.com/in/vneerav
> ------------------------------------------------------
> Samuel Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html>
> > > - Show quoted text -- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages