I use SystemUtil.Run straccdbfilename, "", "", "" which invokes a msaccess based application
On Sun, May 15, 2016 at 10:49 AM, Prasad Bandaru <[email protected]> wrote: > The below will never fails: > > > Function FuncLaunchAppName(AppName,AppDirectory) > Dim oShell > Set oShell=CreateObject("Wscript.Shell") > oShell.Run("cmd.exe") > oShell.AppActivate "cmd.exe" > oShell.SendKeys "cd "&AppDirectory > oShell.SendKeys "{ENTER}" > oShell.SendKeys "FILENAME" > oShell.SendKeys "{ENTER}" > oShell.SendKeys "Exit" > oShell.SendKeys "{ENTER}" > Set oShell=Nothing > End Function > > > Regards, > > *Prasad Bandaru,* > > 669 233 5113. > > On Wed, May 11, 2016 at 1:46 AM, Monica santoshi <[email protected] > > wrote: > >> Hi >> >> can somone pleae tell hwo to invoke desktop application >> i am using this method SystemUtil.Run "C:\abc\xyz.exe","","" >> but it giving error message of "Invalid procedure call or argument" >> >> Thanks! >> >> >> >> >> -- >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "QTP - HP Quick Test Professional - Automated Software Testing" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Regards, Ganesh Muralidharan 'God Never Forgets' -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
