I'm using the code below to save a file from my fax program I am making, but I have a problem it will save a new file ok, but it won't overwrite an old file instead it creates a new one with a double extension.
IE : If I save a file as test.fxm, open the file in my program and ...
I have set up the file association so that clicking on the file and the program opens, the file assocation has by default added "%1" for the file path part.
But I'm clicking on a file to open my program I need a way for my program to know what the path and filename I have just clicked on then I can set the gadgets with values.
basically . . .
if user clicked file get filename and path read file and set gadget values ...
Sorry if the title to the thread is not correct, did not know what to call it, lol.
Anyway want I want to be able to achieve is this . . .
I have created a program that will print a fax header ready to be faxed on a fax machine, I have managed to get the program to save the faxes which is ...