>>>>>I have to use some commands in FPW 26 in other programming languages.
>>>>>Like replace command , alter table etc. in say VB - 16 bit (VB 4.0) I want to use, what is the best way.
>>>>
>>>>You could write a FPW2.6 app to operate as a DDE server, then link to this app (using DDE) from VB. You would be able to program the DDE server to respond as required to whatever input messages you pass to it from VB.
>>>>
>>>>I think there is an example supplied with FPW 2.6
>>>
>>>Thanks Mark , for the information.
>>>
>>>Just one more question,
>>>How to create a DDE application ?
>>>Any more details , if you pl, mail to
>>>spvedula@hotmail.com
>>>
>>>Also want to know, if DDEInitiate() will start a new window ?
>>>
>>>Also , I have to use foxpro procedure, in VB (VB 4 , 16 bit) application. How do I do it ?
>>
>>It's been a while since I did this, but if I remeber correctly :-
>>1) A DDE app is simply a compiled FP2.6 .EXE When it starts is uses DDESetService() and DDESetTopic() to tell windows what requests it will accept.
>>
>>2) The FP application will not initially be visible (I think).
>>
>>The best answer is to look up the example that comes with 2.6 I think it is in the Samples subdirectory.
>
>Ya. I checked the samples, got some info. But got a doubt, whether I can create my own application( with my code in it), and that the exe can be used. I am checking it practically. I will inform you the result.
Once you get the framework running, you just use DDESetTopic to direct the incoming calls to the appropriate piece of your code.