>Hi All,
>
>There is a XML file formatted invoice. I can open it from IE and Firefox and print manually. How can I open and print it from command line parameter or winapi function?
>
>Actually this's not a VFP job, it's an Axapta job... :)
>
>I can open it with :
>
>winAPI::shellExecute("iexplore.EXE"," "+FileNameSaveXml);
>
>How can I just print and go without open browser window or is there any simple way to print?
ShellExecute has a parameter for Print, default is Open. It also has a parameter to not show the program you start.