Home » Developer & Programmer » Forms » get the execel EXE path from
get the execel EXE path from [message #86006] Fri, 20 August 2004 07:16 Go to next message
Farhan
Messages: 5
Registered: April 2001
Junior Member
aoa

i need to run an excel file through a button my 'forms 6' form.DDE package functions does this for me

AppID := DDE.App_Begin('C:Program FilesMicrosoft OfficeOFFICE11excel.exe '||'C:myexcelfile.xls',DDE.APP_MODE_MAXIMIZED);

 

but i have to hard code the my excel exe path where it is installeed in the system.

my application is client server based therefore i cant hardcode the exe path. is there any method or package that can give me the excel exe path.

regards

farhan
Re: get the execel EXE path from [message #86050 is a reply to message #86006] Wed, 25 August 2004 13:44 Go to previous message
Moi
Messages: 15
Registered: August 2004
Junior Member
You could store in:

1, The database
2, The enviromental settings (windows)
3, Ask the user to find it for you
4, ensure your users have the same configuration
6, what happended to 5...
7, OK, I am running out of ideas now

I hope one of these is useful.
Previous Topic: Error: end-of-file on communication channel
Next Topic: priting with out any report
Goto Forum:
  


Current Time: Sun May 19 08:07:34 CDT 2024