PDA

View Full Version : Registered file open more than one application



biosoftindore
10-04-2001, 07:52 AM
Hi all,
I have a java application which i am running on the win2000 machine, i have also registered my s/w files like aname.xyz so that when i double clicked on it , it will open in my application.
i have created the installer using the install anywhere 4.5 , which provide the registry option.
when i install it, the registry works fine but my problem is that every time when i double click the registered file it will launch new application.
But i want to open the file in the openes application
Can any body help me.

Thanks in advance
Vishal Neema

RWSchlatter
10-11-2001, 10:38 PM
"... have a java application which i am running ..." + "...But i want to open the file in the openes application..."
J would need to do some extra research, so this answer may not be quite exact (anybody correct me please):

J cannot tell you is this is possible within the envrionment of your Java VM.

As far as a native Windows program is concerned, the program has to be architected for the MDI standard (MDI = multiple document interface). Then at runtime it has to dynamically register with the OLE support in WIndows and specify that it is ready to accept requests to open further documents (as efined by the file extensions it can process). As far as J remember, this is a runtime feature only and cannot be preset in the registry.

______________
Regards - Richard