|  | 
|  08-10-2004, 07:01 PM | #1 (permalink) | 
| Addict | 
				
				Creating a custom file type and having it open in the same window by default?
			 I’m trying to design a file type [XPI] used by Firefox and other Mozilla products to auto-open when clicked on opening in any current browser window you have. I was successful in making the file type but getting it to open in the same window was a whole different story. Can anyone tell me how to correctly write the commands in Edit [Under Folder Options > File Types > then choosing the file type > Edit] so that they do in fact open in a current window than trying to open in a completely new one? Thanks. 
				__________________ Slowly but surely getting over the loss of TFP v. 3.0. Where the hell am I?.... Showering once a month does not make you a better person. "The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy." Martin Luther King, Jr. Last edited by oldtimer; 09-06-2004 at 02:55 PM.. | 
|   | 
|  08-11-2004, 06:27 PM | #2 (permalink) | 
| Addict | Okay... I've gone ahead and pulled the entries IE uses in the registry to open html files in the same window via the context menu: Code: [HKEY_CLASSES_ROOT\htmlfile\shell\open] @="Open in S&ame Window" [HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec] @="\"file://%1\",,-1,,,,," "NoActivateHandler"="" [HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Application] @="IExplore" [HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Topic] @="WWW_OpenURL" [HKEY_CLASSES_ROOT\htmlfile\shell\open\command] @="\"C:\\PROGRA~1\\INTERN~1\\iexplore.exe\" -nohome" Anyone? 
				__________________ Slowly but surely getting over the loss of TFP v. 3.0. Where the hell am I?.... Showering once a month does not make you a better person. "The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy." Martin Luther King, Jr. | 
|   | 
|  09-06-2004, 02:48 PM | #3 (permalink) | 
| Addict | Surely someone must know...   
				__________________ Slowly but surely getting over the loss of TFP v. 3.0. Where the hell am I?.... Showering once a month does not make you a better person. "The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy." Martin Luther King, Jr. | 
|   | 
|  09-08-2004, 10:36 AM | #5 (permalink) | |
| Addict | Quote: 
 
				__________________ Slowly but surely getting over the loss of TFP v. 3.0. Where the hell am I?.... Showering once a month does not make you a better person. "The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy." Martin Luther King, Jr. | |
|   | 
|  09-08-2004, 01:01 PM | #6 (permalink) | 
| I am not permanent. Location: Tennessee | I realize that this isn't really programming at all.  However, since you didn't seem to be having much luck here, I thought I'd bring that up as a possible alternative.  Since our programming forums won't work, have you tried <a href="http://www.neowin.net/forum">Neowin</a>?  There are alot of knowlegable people there as well.  If that doesn't yield a result, I'm afraid I'm out of ideas.   Sorry I coudln't be of more help. 
				__________________ If you're flammable and have legs, you are never blocking a fire exit. - Mitch Hedberg | 
|   | 
| Tags | 
| creating, custom, default, file, open, type, window | 
| Thread Tools | |
| 
 |  |