You're a star, It works like a charm!! For Ax 2.5 I had to alter a little bit the code, (had to initialize a new args object)
Thanks and cheers! Carl Complete code for Axapta 2,5: formrun fr; args args; ; if (curUserId() == "myUser") { args = new Args(formStr(custTable)); fr = classFactory.formRunClass(args); fr.init(); fr.run(); fr.detach(); } --- In Axapta-Knowledge-Village@yahoogroups.com, <mni_...@...> wrote: > > ...no in 2.5 it's not possible. > > I dont know what is possible with startparameters in 2.5, but you can try > following in \Classes\Application\startupPost (3.0 it works) > > if (curUserId() == "myUser") > { > args.name(formstr(custTable)); > fr = classFactory.formRunClass(args); > fr.init(); > fr.run(); > fr.detach(); > } > > > From: surfing2alien > Sent: Friday, January 22, 2010 10:49 AM > To: Axapta-Knowledge-Village@yahoogroups.com > Subject: [Axapta-Knowledge-Village] Re: Autostart form when starting Axapta > > > > Hi Michael, > that sure looks good. > However I'm not sure if I can get it working under Axapta 2.5 > Yes I know still old version.... > I tried some setups but until now w/o good results > Any ideas if or ifnot possible under 2.5?? > > Thanks > > --- In Axapta-Knowledge-Village@yahoogroups.com, <mni_col@> wrote: > > > > Hi, > > > > perhaps > > http://gurudynamicsax.spaces.live.com/Blog/cns!F6C101CEB694FB4E!190.entry > > can help you. > > > > best regards > > Michael > > > > > > > > From: surfing2alien > > Sent: Thursday, January 21, 2010 3:42 PM > > To: Axapta-Knowledge-Village@yahoogroups.com > > Subject: [Axapta-Knowledge-Village] Autostart form when starting Axapta > > > > > > > > Hi, I want to start a form automatically when Axapta starts, for some > > computers. > > the login is already automatic, now I need to open a specific form > > automatic. > > Can somebody tell me how? > > >