Imaginecorp
Sat Mar 25 23:52:52 CST 2006
Hello Janusz:
Sorry cant be of help. I am sure given time somebody will be of help,
otherwise post it on the Universal Thread etc.
Good luck
Mohammed
"Janusz Czudek" <jczudek@wordsoft.com.pl> wrote in message
news:eqivD8CUGHA.5044@TK2MSFTNGP09.phx.gbl...
> Hi Mohammed,
>
> Yes, I need to start my vfp app from Word, Excel, VB Script, custom
> applications written in e.g. Delphi etc. Even if it would be VFP -> VFP,
> the task is not easy one! Keep in mind that both applications are compiled
> to EXE.
>
> Janusz Czudek
> WORD Software
>
http://www.wordsoft.com.pl
>
> U¿ytkownik "Imaginecorp" <imaginecorp@msn.com> napisa³ w wiadomo¶ci
> news:uquGhrBUGHA.1576@tk2msftngp13.phx.gbl...
>> Hello Janusz;
>>> - start the application from another one (through code)
>> Do you want to start the application, I am assuming a VFP, from within
>> another VFP application or from word, excel etc?
>> If its VFP -> VFP , its easy, and you don't need Run, COM etc let us know
>> this first...
>> Mohammed
>> www.imaginecorp.com/whatwedo.htm
>>
>> "Janusz Czudek" <jczudek@wordsoft.com.pl> wrote in message
>> news:%23lAjjl9TGHA.4384@tk2msftngp13.phx.gbl...
>>> Paul,
>>>
>>> All what I need is:
>>
>>> - call some methods and fill some properties of that application
>>> - and finally present it to the user
>>> From now on the user works with this prepared application, as with
>>> "normally started" one.
>>>
>>> Look at automating an Excel. Using COM you can start it, create new
>>> spreadsheet, fill in data, do some formatting and, finally, show it to
>>> the user. That is what I need!
>>>
>>> I have considered starting application using RUN command and provide it
>>> command-line parameters, but unfortunately, this is only one-way. After
>>> starting this application I need check some of its properties and
>>> collect results of its methods.
>>>
>>> DDE is the option, but its really old technlogy ;) and needs a lot of
>>> work. Winsock relies on TCP/IP stuck and I don't know how it works if
>>> user has, for instance, no network adapter. And it also requres a lot of
>>> coding.
>>>
>>> COM technology is supported naturally in VFP and I just thought that
>>> creating COM/OLE Automation application will be a piece of cake :) But
>>> things appeared more complicated...
>>>
>>> Janusz Czudek
>>> WORD Software
>>>
http://www.wordsoft.com.pl
>>>
>>>
>>> U¿ytkownik "Paul Hemans" <pauln.o.s.p.a.m@laberg.com.au> napisa³ w
>>> wiadomo¶ci news:%231tw0i3TGHA.1572@tk2msftngp13.phx.gbl...
>>>> Don't know whether this appropriate to your problem or not but if you
>>>> need the application to act as a separate entity then I think you
>>>> should start it that way. Then the problem becomes how to communicate
>>>> with it. Check out winsock or DDE.
>>>>
>>>
>>>
>>
>>
>
>