General ⇒ Vista starting new window when opening .tex
-
- Posts: 3
- Joined: Tue Apr 15, 2008 11:42 am
Vista starting new window when opening .tex
When I open a .tex-file windows vista starts a new texniccenter window - how can I open all files from the explorer in the same texniccenter window?
Vista starting new window when opening .tex
What you want is not the default behaviour of TeXnicCenter instalation and there is no option for this, AFAIK. However, it can be done with a registry tweak if you're not afraid of that sort of thing. Here's how to do it.
You need to change the command that it's used for opening .tex files. To locate that command in the registry see my other post in this thread.
You should have something like this:
Change it to:
This will use DDE interface of TeXnicCenter in the same way as for inverse search in Yap. I tested it by putting the above line in a batch file and drag-and-dropping some file onto it. It worked with the caveat that, when TeXnicCenter window was minimized, it wasn't activated (the same happened for inverse search in Yap, so it's probably some Vista incompatibility).
Caution! As others reported using TeXnicCenter's DDE will cause problems for file names that contain the apostrophe character ' so have that in mind.
Edit: added link
You need to change the command that it's used for opening .tex files. To locate that command in the registry see my other post in this thread.
You should have something like this:
Code: Select all
"C:\path\to\where\you\have\TEXCNTR.EXE" "%1"
Code: Select all
"C:\path\to\where\you\have\TEXCNTR.EXE" /ddecmd "[goto('%1', '1')]"
Caution! As others reported using TeXnicCenter's DDE will cause problems for file names that contain the apostrophe character ' so have that in mind.
Edit: added link
-
- Posts: 3
- Joined: Tue Apr 15, 2008 11:42 am
Re: Vista starting new window when opening .tex
thanks, but that doesn't realy work, the first tex-file is opened, the others don't show any reaction ...
Re: Vista starting new window when opening .tex


-
- Posts: 3
- Joined: Tue Apr 15, 2008 11:42 am
Re: Vista starting new window when opening .tex
its strange, my minimized TeXnicCenter doesn't crash ...
Re: Vista starting new window when opening .tex
That's probably because you forgot to install your Genuine Advantage Tool. I'm sure that this will fix that glitch and you will enjoy the same enhanced user experience as I do 
