MrFancyteeth
Programmer
hello there,
I've created an exe & associated setup program which registers a custom filetype (filename.X9X)and associates them with my program with the default action of open. These files are essentially CSV files which my program exports and can view in a grid.
My client is really happy to have his own custom filetype but now wishes to double-click on the X9X files so they open the program and display in the grid.
Currently clicking a x9x file attempts to open the program but displays an error message of "No parameter statement found" which suggests to me there is a form method which is being passsed this filename as a parameter.
The assistance i require is how do i (or how does windows) pass the double clicked filename to the exe so i can use it? do i need code in the form init or startup.prg to collect this filename? in what form is the filename passed?
Mr Fancyteeth
p.s like the alias?
I've created an exe & associated setup program which registers a custom filetype (filename.X9X)and associates them with my program with the default action of open. These files are essentially CSV files which my program exports and can view in a grid.
My client is really happy to have his own custom filetype but now wishes to double-click on the X9X files so they open the program and display in the grid.
Currently clicking a x9x file attempts to open the program but displays an error message of "No parameter statement found" which suggests to me there is a form method which is being passsed this filename as a parameter.
The assistance i require is how do i (or how does windows) pass the double clicked filename to the exe so i can use it? do i need code in the form init or startup.prg to collect this filename? in what form is the filename passed?
Mr Fancyteeth
p.s like the alias?