Thanks a lot Sumit. It worked. Here my concern is little bit different. I want to open the form via .Net application (Say using c# code).
I am trying to run Axapta form using .Net application (C# coding). I am able to run ax32.exe from .Net but unable to open PurchTable form (not only this form, other form also) with specified value (say Vend account). I am using a Ax class which takes two parameter - one is Form name(purchTable) and any Value(Say vendaccount). I am calling this class via .Net. But unable to open the form. I tested my class using job. It is working fine. Pls give me any suggestion. Thanks Suyesh --- In Axapta-Knowledge-Village@yahoogroups.com, "Sumit Loya" <[EMAIL PROTECTED]> wrote: > > Hi, > > Do you mean to say that you want to open an instance of AX and then purchase > order form should be opened automatically in the AX instance. > > Then you can open the AX instance through AX32.exe as you said. Before doing > that you can write this small piece of code in startupPost() method of > Application class > > FormRun fr = new FormRun(new args(formstr(PurchTable))); > ; > > fr.init(); > fr.run(); > fr.detach(); > > This will automatically open the Purchase order form when AX instance is > opened. > > Hope this is what you were looking for. > > Regards, > Sumit > > On 6/30/07, mit <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > There is no way to do this in Axapta besides using old technology. > > You must create a Dynamic Data Exchange (DDE) "server" in Axapta. > > We have created a small server which can run some specific forms with > > parameters as input. > > > > DDE however is not going to be supported in future versions. It might be > > possible to create and ActiveX server in Axapta which can receive > > TCP/Winsock commands. > > > > Kind Regards > > EG Utility > > Michael Troelsen > > > > _____ > > > > From: Axapta-Knowledge-Village@yahoogroups.com<Axapta-Knowledge- Village%40yahoogroups.com> > > [mailto:Axapta-Knowledge-Village@yahoogroups.com<Axapta-Knowledge- Village%40yahoogroups.com>] > > On Behalf Of suyesh_ahke > > Sent: 26. juni 2007 09:20 > > To: Axapta-Knowledge-Village@yahoogroups.com<Axapta-Knowledge- Village%40yahoogroups.com> > > Subject: [Axapta-Knowledge-Village] Running Axapta 4.0 from other > > application. > > > > Hi Friends, > > I would like to know that , can we run Ax 4.0 and open the AOT form > > (e.g. purchase order form) automatically using other application > > like .Net > > Say, .Net application will run Ax32.exe file will open axapta , > > then will open Purchase order form automatically (navigating > > automatically). Is this scenario possible??? > > Pls give me any Idea or any kind of help.....!!! > > > > Thanks in Advance > > Suyesh > > > > [Non-text portions of this message have been removed] > > > > > > > > > [Non-text portions of this message have been removed] >