call excel file or calculator by clicking a toolstrip button on MDI

call excel file or calculator by clicking a toolstrip button on MDI

Page 1 of 1

3 Replies - 3666 Views - Last Post: 07 April 2009 - 12:54 PM Rate Topic: -----

#1 meenasoni07  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 1
  • Joined: 07-April 09

call excel file or calculator by clicking a toolstrip button on MDI

Posted 07 April 2009 - 04:30 AM

hello.....

i m working on a payroll software, and for user facility i want to provide calculator and Microsoft excel file with our module, so there is no need to explciltly open the calculator,,whenever it is required,,,,,

i want the code that provide me calculator by clicking a tool strip button on mdiform

any help is appreciated


thanku
Is This A Good Question/Topic? 1
  • +

Replies To: call excel file or calculator by clicking a toolstrip button on MDI

#2 LemonMan  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 15
  • View blog
  • Posts: 170
  • Joined: 22-August 05

Re: call excel file or calculator by clicking a toolstrip button on MDI

Posted 07 April 2009 - 12:38 PM

To open the calculator, call this code:

Shell ("calc.exe")



For excel:

Shell ("excel.exe")


Was This Post Helpful? 0
  • +
  • -

#3 prabh  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 3
  • View blog
  • Posts: 381
  • Joined: 27-December 08

Re: call excel file or calculator by clicking a toolstrip button on MDI

Posted 07 April 2009 - 12:42 PM

View PostLemonMan, on 7 Apr, 2009 - 11:38 AM, said:

To open the calculator, call this code:

Shell ("calc.exe")



For excel:

Shell ("excel.exe")


but you provide full path
Was This Post Helpful? 0
  • +
  • -

#4 LemonMan  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 15
  • View blog
  • Posts: 170
  • Joined: 22-August 05

Re: call excel file or calculator by clicking a toolstrip button on MDI

Posted 07 April 2009 - 12:54 PM

You don't need the full path.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1