How do I configure Excel to open a new instance of Excel each time I open an existing spreadsheet. I am using Office 2010 on Windows 7.
Freddy, in some cases this does not work. It comes up with error dialog box and sheets cannot be opened. Suppose it might depend on LAN configuration among other things.
Elsewhere on web there are instructions about changing registry but if you on a locked down LAN you have to resort to opening separate Excel from desktop or start menu then file-open different file in each open instance of Excel.
To resolve this, go to 'excel options' > click on the 'advanced' tab > scroll down to general > check the ignore other applications that use 'Dyanamic Data Exchange (DDE)'
File > Options > Advanced > General > [CHECK] Ignore other applications that use Dynamic Data Exchange (DDE) > OK
Opening new Excel files will now open a new instance each time.
Related
I am opening a .txt file with my PyCharm IDE that contains multiple links among several other lines of text (actually these are logs from a continuously running script).
Like so:
----------------------- session start, Tuesday 12.10.2021, 12:48:53
>> some logs... -- 12:49:34
link: https://www.example.com/p/CU5Hn-RsSB9
>> more logs... -- 12:49:34
Now for convenience I would like to be able to click on that link rather than copy/pasting it to my browser - it seems like this should be a possible setting somewhere in PyCharm: But I cannot seem to find it and also not find any information on it on the web.
Anybody knows how to make links clickable in .txt files opened in PyCharm?
The ideal solution you are asking for would be configuring clickable URL links in the editor window but that is not currently supported by PyCharm.
That kind of configuration is hardcoded in the PyCharm IDE. For example, URLs are clickable if they're inside a Python comment or a Markdown file, but they can't be turned on/off; only the colors highlights can be configured (and thus the corresponding dialogues in the settings are an integral part of PyCharm that can't be changed.) Neither is there any way to create new file types with those configurations. You can see one such example by going to File > Settings > Editor > Color Scheme > Markdown and checking the Auto Link item in the list.
In these cases the alternative to your specification would be installing a plugin that implements the functionality. I searched the JetBrains Marketplace but I think no plugin is currently available that implements what you want. (A few are close, like TxtReader or Awesome Console but these still rely on sending the file/output to the console, they don't make the links clickable in the editor window.)
Having said that, the closest native alternative using vanilla PyCharm (without installing plugins) would be running the Terminal as an External tool to read the .txt file. This has the desirable advantage of opening the file inside the IDE and since PyCharm supports several terminals you get the flexibility of using the terminal specific settings you prefer.
Here's an example of configuring PyCharm's External Tool to open the .txt using Window's CMD. (Using the command line arguments /c more is terminal specific. Also notice the use of the $FilePath$ and $ProjectFileDir$ PyCharm specific macros.)
After your External Tool is configured you can use it by right clicking on the open file in the editor window or in the Project files view. In the terminal you can see the .txt file having the clickable URL.
Another alternative could be configuring the IDE's External Tool to launch a 3rd party text editor to open the .txt file; but the main drawback of that approach is it would open the file outside PyCharm.
For me, it looks like you can display a clickable link to a file, provided :
the file exists,
the file is a python file (ends with '.py'),
the file is in the project (the file owns to a directory inside the project)
for example, your file is "main.py" and your project root is "/Users/puiseux/GitHub/myproject" then the two lines
>>> filename = "/Users/puiseux/GitHub/myproject/main.py"
>>> print('File "%s", line %d' % (filename, 12))
will display a clickable link to the line 12 of file "main.py"
File "/Users/puiseux/GitHub/crypto/main.py", line 12
If you do not fulfill one of three conditions, it does not work
I'm new to Wireshark & Lua and I have a question that I can't seem to find the answer to by reading around online
Is there a way to open the Wireshark Lua console window on start up? Or even automatically open dialogs created by listeners on start up? I was hoping there were some commands or capability that would allow me to open (not just create) dialogs from within a script.
I've read about the exploit for the console in versions 1.6 and earlier, but I'm running 1.6.8 and I'd rather not use something that could potentially cause Wireshark to be unstable.
Modify the bottom of C:\Program Files\Wireshark\console.lua. Before the final "end", add:
run_console()
You can find an advanced option in the preferences dialog:
Open Preferences from the Edit menu
Navigate to Advanced
Filter for console
Change the value for gui.console_open to ALWAYS
I'm debugging an asp.net mvc app and while in debug VS10 started generating all these script block files one after another, why is this happening and how do I make it stop?
Run IE
On the Tools menu, click Internet Options.
In the Internet Options dialog box, click the Advanced tab.
In the Browsing category, check the Disable script debugging check box.
Click OK.
Close Internet Explorer and VS, to make this option take effect.
I use TeXnicCenter for LaTeX and would like to have the DDE controls working to easily view the pdf versions. Acrobat X seems to have changed the servername and this is breaking things.
I tried "AcroViewR10" or "acroviewR10" and other combination, but still it does not work.
As a work around, using command line argument "%bm.pdf" works, but I manually need to close the pdf everytime before recompiling. So, it takes an extra click or so.
Can anyone give some insight to solve the problem either by fixing DDE or how to close the pdf automatically when it is recompiled?
Actually, the answers from Martyn and Adam Nellis solved this problem. Thanks a lot, folks. I am just putting it step by step, so someone else can use it.
Step1: Adobe ReaderX
In Adobe Reader X, go to Edit>Preferences>General and uncheck "Enable Protected Mode at startup".
Step2: TeXnicCenter
Go to Build->Define Output Profiles-> choose "Latex to PDF" -> Viewer tab
2.1. For "View Project's Output" & "Forward Search"
Command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: AcroViewR10 Topic: control
2.2. For "Close Document"
Command: [DocClose("%bm.pdf")]
Server: AcroViewR10 Topic: control
(use this option even if you use Adobe Reader 11)
For those using Acrobat X pro, the server should be AcroviewA10 and the excecutable should be Acrobat.exe
For the newer version of Adobe [DocClose] doesn't work anymore. So you have to make updates. In texnicCenter hit Alt+F7, go to Viewer TAB and follow the example accordingly (works on Win7 with Adobe11):
in Executable path you have to have something like "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"
View Project's Output >>> Choose "command line argument" and enter
"%bm.pdf" in command
Forward Search >>> Choose "command line argument" and enter
"%bm.pdf" in command
And finally *THE MOST IMPORTANT OPTION*
Close Document Before Running (La)Tex >>> Choose "DDE" and enter
"[AppExit]" in command
"AcroViewR11" in Server
"control" in Topic
I realise this question is a little old, but I have just been struggling with this problem (not used TeXnicCenter for a wile, so hadn't noticed the problems when upgrading Adobe) and this thread is the only one that solved the problem for me. I had to use a combination of the above answers, though, so I thought I would document what worked for me.
I am using Windows Vista Business edition, TeXnicCenter 1.0, and Adobe Reader 10.0
Go to Build->Define Output Profiles-> choose "Latex => PDF"
1) In the viewer tab, change the executable location to point to
C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe
2) View project's output: Select DDE command and enter
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: arcroviewR10 Topic: Control
3) Forward search: Select DDE command and enter
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: arcroviewR10 Topic: Control
4) Close document before running (La)TeX: Select DDE command and enter
[AppExit]
Server: arcroviewR10 Topic: Control
In particular, it was point 4 that I needed to do, and despite searching a while, this is the only place I have found advice to switch the DDE command to [AppExit] and it worked a treat. Thanks Claudia!
I have not needed to change the Adobe Reader settings at all (i.e. it is still in Protected Mode at Startup).
My settings are:
Path of Executable: C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe
For "View Project's Output" & "Forward Search"
Command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: AcroViewR10
Topic: control
For "Close document"
Command: [DocClose("%bm.pdf")]
Server: AcroViewR10
Topic: control
That works for me except for two things:
When Acrobat Reader is closed and I press F5 it will open Acrobat Reader but will not open the document and will bring up an error message. If I close the error message and press F5 a second time (with Acrobat Reader now open) then it will open the document.
When I press F5, and the document opens, Acrobat Reader does not become the top window (the focus stays with TexnicCenter).
So not major problems but just small annoyances.
Edit:
Not sure if it makes a difference but in the windows registry the keys:
HKEY_CLASSES_ROOT\acrobat\shell\open\ddeexec\application
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\acrobat\shell\open\ddeexec\application
Both have values set to "AcroviewR10" (no quotes).
I use Acrobat Pro XI and have the following settings:
Path of Executable:
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe (for 32bit version) and
C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe (for 64bit version)
View Project's Output & Forward Search
"command line argument" and "%bm.pdf"
Close document
"DDE" and enter "[AppExit]" in command "AcroviewA11" in Server "Control" in Topic
Our company is working with a great Business Intelligence tool CorVu 4.2 to analyse the operational and strategic data. Since several years we are successfully working with Sharepoint 2007 to collaborate and share information with colleagues. Most of my colleagues are working with Internet Explorer 7, but step by step Internet Explorer 8 is implemented in the company.
We share a lot of CorVu files thought Sharepoint, but since we are using Internet Explorer 8, we have a problem that is new for us. If we click on a CorVu file in Internet Explorer 8 (not necessarily in Sharepoint) a pop-up shows how to open the file, if we save the file, there is no problem. But if we open the file, the file is shown in the browser and not in the CorVu client! See the screenshot below:
http://img169.imageshack.us/img169/5719/inbrowsershot.jpg
(I removed some unnecessary information)
So far my colleagues accept this 'feature' in Internet Explorer 8. But I we open and closes more CorVu files, multiple errors (more than 10) show up starting with:
(unable to place more hyperlinks)
By pressing Enter the errors disappear, but it's not professional! I contacted the creators of CorVu, but they don't have a solution for in their client. There may be a solution in Internet Explorer 8?
The extensions of a CorVu file can be a .sqy, .tab or .qrp. But is it possible to force the files to open in the standard client instead of the browser?
Check your Add-Ons and see if you can disable the one that is displaying that content.
Tools -> Internet Options -> Programs -> Manage Add-ons
Your screenshot appears to be Excel. You should be able to tweak Excel to remove the in-browser viewer.
Microsoft discusses how to configure the Office-in-browser viewers. There are methods for older computers as well.
If the browser is actually showing the CorVu program, then the CorVu program must have a plugin into IE when it was installed. Try uninstalling IE and reinstalling it without touching CorVu. That should purge all the custom stuff that CorVu did.