Hey, i have been trying to figure out how to make an associated file open a MMF application with the correct commandline properties to link to the original file being opened.
Sorry for the crap explanation, heres an example:
I use the YASO object to associate the file extension *.j34 with my application. Now whenever you double click on a file with the extension *.j34 then it opens up my application, but how do i find out what file was clicked on so my application can load it? I have looked in the commandline and find nothing, any help or examples out there as i have tried lots!!
Thanks guys, Si xx
edit: here is an example file, first open the exe, then close it, then open the .j34 file and it will launch the application, but i cant find any command line or anything indicating what file to load! http://x-volt.com/software/problem.zip
Are you using Commandline objects Associate function? In any case, the associasion is incorrectl... if you check the .a33 extension you see that it only executes the exe, it doesn't add the file itself as an commandline... in short, the problem is where you associate the file extension, not where you open the file...
I've even assigned my EXE file by going into folder options, finding the file name, then actually going to BROWSE and FINDING my EXE, then assigning it. And it STILL didn't want to open up my EXE, let alone make it so that I can detect the name of the file that opened it. I'm at a total loss here, I have no clue what it's doing.
Have you tried using the browse thing with a different exe?
Just if you assigned it wrong the first time, using the browse thing might not fix it. So try it with a different exe. If that doesn't work then your computer is probably messed somehow, I dont know