|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Activex ExeHi
I am calling my activex Exe from my standard exe like below statment. objexe.funct1 para1,para2 after the activex exe loading, i am doing some kind of calculation and i am closing the activex exe. after that i should get focus to my stardand exe. so for this kind of situation, what should i do? how to get the focus onmy standard exe, when my activex exe get close. thanks bala On Sun, 9 Oct 2005 18:28:01 -0700, "Bala"
<B***@discussions.microsoft.com> wrote: Show quoteHide quote >Hi Have you tried using the SetFocus method of the form that you wish to> >I am calling my activex Exe from my standard exe like below statment. > >objexe.funct1 para1,para2 > >after the activex exe loading, i am doing some kind of calculation and i am >closing the activex exe. after that i should get focus to my stardand exe. > >so for this kind of situation, what should i do? how to get the focus onmy >standard exe, when my activex exe get close. > >thanks >bala have the focus? HTH, Bryan _______________________________ Bryan Stafford New Vision Software newvision_don'tspam@mvps.org Hi,
thanks for the reply. The activex exe server program is the huge program, its contains mdi form and nearly 80 forms. the user will do lot of work on that and finally when he close the activex exe, I'll start some other work from the standard exe based on the results from active exe. I dont know where to put the setfocus. you mean when closing the acitve exe project, that time can I enable the standard exe program? thanks bala Show quoteHide quote "alpine" wrote: > On Sun, 9 Oct 2005 18:28:01 -0700, "Bala" > <B***@discussions.microsoft.com> wrote: > > >Hi > > > >I am calling my activex Exe from my standard exe like below statment. > > > >objexe.funct1 para1,para2 > > > >after the activex exe loading, i am doing some kind of calculation and i am > >closing the activex exe. after that i should get focus to my stardand exe. > > > >so for this kind of situation, what should i do? how to get the focus onmy > >standard exe, when my activex exe get close. > > > >thanks > >bala > > > Have you tried using the SetFocus method of the form that you wish to > have the focus? > > HTH, > Bryan > _______________________________ > Bryan Stafford > New Vision Software > newvision_don'tspam@mvps.org > Hi
I am calling the active Exe program like below from std exe. I want to run the msgbox code after ending the ActiveX exe. objAIR.LoadMenu para1,para2 msgbox "test" Thanks Bala Show quoteHide quote "Bala" wrote: > Hi, > > thanks for the reply. > > The activex exe server program is the huge program, its contains mdi form > and nearly 80 forms. the user will do lot of work on that and finally when he > close the activex exe, I'll start some other work from the standard exe based > on the results from active exe. > > I dont know where to put the setfocus. you mean when closing the acitve exe > project, that time can I enable the standard exe program? > > > thanks > bala > > "alpine" wrote: > > > On Sun, 9 Oct 2005 18:28:01 -0700, "Bala" > > <B***@discussions.microsoft.com> wrote: > > > > >Hi > > > > > >I am calling my activex Exe from my standard exe like below statment. > > > > > >objexe.funct1 para1,para2 > > > > > >after the activex exe loading, i am doing some kind of calculation and i am > > >closing the activex exe. after that i should get focus to my stardand exe. > > > > > >so for this kind of situation, what should i do? how to get the focus onmy > > >standard exe, when my activex exe get close. > > > > > >thanks > > >bala > > > > > > Have you tried using the SetFocus method of the form that you wish to > > have the focus? > > > > HTH, > > Bryan > > _______________________________ > > Bryan Stafford > > New Vision Software > > newvision_don'tspam@mvps.org > > How about AppActivate()?
AGP Show quoteHide quote "Bala" <B***@discussions.microsoft.com> wrote in message news:17DE5805-53F7-4686-B1E3-727052314AF2@microsoft.com... > Hi > > I am calling my activex Exe from my standard exe like below statment. > > objexe.funct1 para1,para2 > > after the activex exe loading, i am doing some kind of calculation and i am > closing the activex exe. after that i should get focus to my stardand exe. > > so for this kind of situation, what should i do? how to get the focus onmy > standard exe, when my activex exe get close. > > thanks > bala Hi
Thanks for the reply. How do my standard exe know when the actiex exe get closed. thanks bala Show quoteHide quote "AGP" wrote: > How about AppActivate()? > > AGP > > "Bala" <B***@discussions.microsoft.com> wrote in message > news:17DE5805-53F7-4686-B1E3-727052314AF2@microsoft.com... > > Hi > > > > I am calling my activex Exe from my standard exe like below statment. > > > > objexe.funct1 para1,para2 > > > > after the activex exe loading, i am doing some kind of calculation and i > am > > closing the activex exe. after that i should get focus to my stardand exe. > > > > so for this kind of situation, what should i do? how to get the focus onmy > > standard exe, when my activex exe get close. > > > > thanks > > bala > > > Are you sure that the ActiveX EXE was unloaded? It usually unload it self
when you Set objexe = Nothing. Look in the process list for your AX EXE and see if it's there. If it still there, then it has not unloaded some of it's forms. It works like a standard EXE where you have to unload all forms for it to exit. Show quoteHide quote "AGP" <sindizzy.***@softhome.net> wrote in message news:Oil2f.8$LX5.3@newssvr11.news.prodigy.com... > How about AppActivate()? > > AGP > > "Bala" <B***@discussions.microsoft.com> wrote in message > news:17DE5805-53F7-4686-B1E3-727052314AF2@microsoft.com... >> Hi >> >> I am calling my activex Exe from my standard exe like below statment. >> >> objexe.funct1 para1,para2 >> >> after the activex exe loading, i am doing some kind of calculation and i > am >> closing the activex exe. after that i should get focus to my stardand >> exe. >> >> so for this kind of situation, what should i do? how to get the focus >> onmy >> standard exe, when my activex exe get close. >> >> thanks >> bala > > Yes. I am sure the activex exe get closed. I just want to get the focus when
the activex exe get closed. Thanks Balakumar Show quoteHide quote "Someone" wrote: > Are you sure that the ActiveX EXE was unloaded? It usually unload it self > when you Set objexe = Nothing. Look in the process list for your AX EXE and > see if it's there. If it still there, then it has not unloaded some of it's > forms. It works like a standard EXE where you have to unload all forms for > it to exit. > > > > "AGP" <sindizzy.***@softhome.net> wrote in message > news:Oil2f.8$LX5.3@newssvr11.news.prodigy.com... > > How about AppActivate()? > > > > AGP > > > > "Bala" <B***@discussions.microsoft.com> wrote in message > > news:17DE5805-53F7-4686-B1E3-727052314AF2@microsoft.com... > >> Hi > >> > >> I am calling my activex Exe from my standard exe like below statment. > >> > >> objexe.funct1 para1,para2 > >> > >> after the activex exe loading, i am doing some kind of calculation and i > > am > >> closing the activex exe. after that i should get focus to my stardand > >> exe. > >> > >> so for this kind of situation, what should i do? how to get the focus > >> onmy > >> standard exe, when my activex exe get close. > >> > >> thanks > >> bala > > > > > > > On Sun, 9 Oct 2005 22:41:02 -0700, "=?Utf-8?B?QmFsYQ==?="
<B***@discussions.microsoft.com> wrote: >Yes. I am sure the activex exe get closed. I just want to get the focus when http://www.mvps.org/vb/code/ForceFore.zip>the activex exe get closed. Also, best get your AX EXE to tell your main AXE when it is expected to take focus.
.NOT My Views
How should one form call another? Why can't I test class functions from the Immediate window? advanced tooltip bubbles question Reverse Array order ? Cannot Load Form! How to handle data types in custom Max/Min function? Point me in the right direction - Mouse utility... Simulation! Insert ActiveX into HTML |
|||||||||||||||||||||||