Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I would like to know if I can open 2 different diagrams using MS Visio and each diagram have its own window. I've tried in several ways, but I always end up with 1 Visio window ...
I'm using a triple monitor setup and I'd like to put one diagram to each side of my main monitor.
[]'s
André Casteliano
PS: I'm using Visio 2007 here.
This allows you to open two or more instances of Visio so that you can view different Visio docs at the same time without going through the process to stretch the Visio window across two screens. I found this to be a simpler method and a bit easier to manipulate. If it doesn't work on your first try recheck the registry setting. It changed back on me a couple of times before it took.
To implement the new behaviour, follow the following registry trick:
Open Microsoft Visio.
Go to Tools -> Options -> Advanced or File -> Options -> Advanced in newer versions.
Check the Put all settings in Windows Registry option.
Close Microsoft Visio
Run Registry Editor (regedit).
Navigate to the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Visio\Application\
Note: The value 12.0 in the key can be different.
(i.e: for Visio 2010: 14.0, Visio 2019: 16.0)
In the right pane, right click on SingleInstanceFileOpen, and then select Modify. Update the value of SingleInstanceFileOpen from 1 to 0
If the value SingleInstanceFileOpen doesn't exist, it can be created as a type REG_SZ.
Visio 2005 allows you to open visio multiple times - does this not work in 2007? Try opening a visio document, and then starting another instance of visio from the Start-->Programs menu.
If not, read on...
Visio is an MDI interface - you'll need to stretch the whole visio window across the two monitors in question, then choose the "Window" menu and select "Tile" after you've opened your two documents.
Alternately, in the upper right hand corner just below the application minimize, restore and close buttons you'll find the document minimize, restore and close. Choose restore, and you can manipulate the windows inside the main visio app.
Hope this helps!
-Adam Davis
Seems like my installation of Visio is the problem. I've tried on another computer here and it allow me to open 2 instances of the software.
Related
How do you prevent Visual Basic from setting the default find (Ctrl+F) text to whatever iss selected?
For clarity: In Visual Basic for Applications if you bring up a Find box it automaticaly sets the "Find What:" text to whatever you have selected in the code window. Idealy, if I closed the find box it would reopen with the find text I had last used (like every other program).
Visual Basic for Applications 7.1
Microsoft Excel 365
I've checked all the standard menus, there's not many and I'm not sure where else an option like that could be stored.
While this is technically in the Visual Basic for Applications on an Excel file I've also observed the behavior in the other office applications.
Conclusions, you can't.
After looking further and feed back from others it appears you can't change the behavior of the Find What input box within Microsoft Visual Basic for Applications. However, if you're looking to repeat a search pressing F3 to Find Next while your cursor is in the code window accomplishes much of the same thing.
Thanks JohnM, I think this is as close to an answer as I'm likly to get.
This question already has answers here:
Microsoft Excel ActiveX Controls Disabled?
(11 answers)
Closed 8 years ago.
I'm working with excel macro-enabled files,
Today I just found out the button i made was not working-cannot be click- which was working yesterday.
And digging up the matter,
I found out that other Activce X controls is not working also, and I cannot event insert Activce X controls.
when i try to insert Activce X controls (just normal basic button)
excel give me "Cannot insert object" message box.
And It's same with my colleague's computer.
Is only us having this problem today?
and was there had any MS-updates related to this issue yesterday?
https://social.technet.microsoft.com/Forums/office/en-US/94d0b004-3303-421d-9ed2-351683b89d08/sudden-problems-with-inserting-activex-basic-controls-such-as-command-buttons?forum=officeitproprevious
found out the solution.
Quit Excel.
Start Windows Explorer.
Select the system drive (usually C:).
Use the Search box to search for *.exd
Delete all found files.
(Thanks to Excel MVP RoryA for this tip)
Regards, Hans Vogelaar (http://www.eileenslounge.com)
The same thing happened to me today. Not only could I not insert the activex object, but the one I had used for a number of years would not work. Apparently both answers are correct. Microsoft advised to find and delete the *.exd files or use the fix-it tool under for symptom 1 in their Office Configuration Analyzer Tool 1.2 (which I downloaded). I used the fix-it tool, which worked.
So the credit must go to Stackoverflow.
Thanks
I was not able to find .exd files in C:\, but used Microsoft Office Configuration Analyzer Tool 1.2 and fixed it. When you run the tool for Excel, you will see critical, warning and informational. One of the warning shows or relates the symptom like "Cannot insert object" error in an ActiveX custom Office solution after you install the MS14-082 security update. I used the "Fix It" button under Resolution for symptom 1. It worked.
I have looked at ActiveControlList but unfortunately it wasn't a reliable way to tell the active ribbon.
Specifically, I am looking for a reliable way to tell if Equation Tools ribbon is active in OneNote.
Do you have any suggestions ?
The ribbon is not a normal control and can be hard to work with from plain VBA or ahks built-in COM but you can use Microsoft's Active Accessibility API
You Can use the Acc lib so you don't need to know all the dll calls
But you still need to know what parts you need, and also what to look for to really use it. You can use jethrows AccViewer it will tell you the elements Role, State, ChildCount and more, so when you have found the item you're after, you can use the Tree or path that the accViewer gives.
Word ribbon path Example: 4.3.4.1.4.1.4.1.4.1.4.13.1.1
OneNote: 4.3.4.1.4.1.4.1.4.1.4.10.1.1
Here is an example using Acc_get() to show the current ribbon Name in OneNote PP 2010 when you press F6
f6::
name := Acc_Get("Name", "4.3.4.1.4.1.4.1.4.1.4.10.1.1", 0, "Ahk_class Framework::CFrame")
tooltip % name
return
Note: that this path is for when the ribbon is pinned i.e always visible
Forum topic with images
As far as I know there are no specific commands for Ribbon GUIs.
Use ImageSearch to detect changes in Ribbon GUI. You can search with ImageSearch image of activated Equation Tools control and if it finds it, it will set ErrorLevel to 1.
Also, always use AutoHotkey and its documenatation from http://ahkscript.org/ (current uptodate version, new official website)! AutoHotkey and its documentation from autohotkey.com is outdated and you may have some problems using them!
I know this is probably not the right place to ask this question, but I don't know where else to turn. I tried google, but it hasn't helped me this time.
I have Visio 2007 Professional. I am trying to create a database model, complete with primary keys, foreign keys, and relationships. The problem is that I can't figure out how to get the database properties window to show. I tried double clicking the table entity, as well as the relationship entity, but nothing shows up. I tried running the script on this page, but it didn't work for me.
Any suggestions?
TIA!
Close Visio, and open again, this time go through home page choosing the Data Model Diagram template. If you try opening the template from the Shapes window it sometimes doesn't show up. Closing and restarting worked for me :)
Click on the database tab at the top, and check/uncheck database properties.
Try Tools > Options > Advanced and confirm that the Enable Automation Events checkbox is checked.
I've found that this happens when I open the document as a different type. For example, I typically like to include the UML diagrams and Database diagrams for a project in the same document.
Unfortunately, I've found that the Model Explorer and UML menu won't show in a database templated file, and the Database Menu and Database Properties window won't show when creating a UML templated file.
All I can suggest is to ensure you're opening the right type of template, and you should be ok.
Right-click an entity or object in your drawing, and then click Database Properties.
source: http://support.microsoft.com/kb/826419
I found this question looking for an answer for Visio 2013 and the suggestions here led me to an answer:
* Select the entity
* On the Format tab, click the "Select Contents" option
* Right click on the entity and "Set Primary and Foreign key" options are both available
I've had the same the problem. As I use multiple monitors and I've dragged the tab to the secondary monitor and when returning to a single one, the tab would disappear. I had to turn both of them on again in order to find and drag the tab to the main view.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Right now, I'm getting it in Excel 2007, but I've gotten the same error in pretty much every version of Excel I've used since 97. The only discernable similarity is that happens on my office PC. It's never bothered me on my home PC.
In Excel 2003, I was able to mess around in the clipboard options until it went away. In 2007, though, the options seem to be seriously limited and generally useless. Google wasn't much help, either.
check this tip. worked for here
http://mobeer.blogspot.com/2009/01/excel-2007-cannot-empty-clipboard.html:
This might save somebody some time and headaches if google picks it
up. I was getting a 'Cannot empty the Clipboard' error every time I
moved cells around in Excel - eventually I mucked around with the
settings and made it go away. Here's how; In the excel main menu
(glass globe w/logo), click Excel options, then Advanced, then turn
off 'Show paste options buttons'
How exciting was this as my first post of the year?
Update: I still haven't found a permanent solution but I found another
thing that seems to help. In Excel 2007, from the "home" tab, the
first thing on the left is the clipboard tool panel. Expand the panel
to view the clipboard and in the clipboard you might find "cannot
empty clipboard" as an entry. Empty the clipboard, keep the panel open
for a second or two while you do a few cut and pastes/drags etc. and
then the bogey seems to go away.
I call this the cable dance because back in the day I had a printer
that only worked if you unplugged the cable, shook it out and plugged
it back in.
Good answers by Paul Simon and Steve Homer, I shut down team viewer and that did the trick.
Skype or other programs may trigger the same glitch, but in this instance, I recalled the problem occurred when I tried to cut n paste a 2MB file from remote system through windows right click rather than using "File Transfer function in TV. An error message appeared, then the problem with Excel "'Cannot empty clipboard' message.
This problem occurs when you are working on a remote system. After copying and pasting a huge amount of data it shows the error. I have found the solution to this problem.
Go to remote systems task manager and perform the following task
Go to Task Manager > Processes
Look for "rdpclip.exe"
End that process
Your problem will be solved.
I found this advice:
There are a few steps to solve your
problem:
First thing to do is Clear items from
the Office Clipboard. If the Microsoft
Office Clipboard is not displayed in
the task pane, click Office Clipboard
on the Edit menu. On the Office
Clipboard task pane, do one of the
following: To clear all items, click
Clear All .
Next thing is to switch off the
clipboard show option. To do this,
what you can do is to again display
the Clipboard menu (select Office
Clipboard from Edit Menu). And in the
selection button "Options" at the
bottom of the screen, select this
particular option: "Collect Without
Showing Office Clipboard"
and now, you are relieved of the bug.
Hope this helps.
here. I have the problem, but it's sporadic. I just tried the technique, and I don't see the problem, but since it's sporadic I won't know for a while if it's gone for good.
I got rid of the problem by unchecking the option for "Alert before overwriting cells" in Excel options. I'm using Excel 2007
If you can't find the clipboard, then close that excel sheet and reopen it again. This will solve your problem.
Try http://support.microsoft.com/kb/207438
which will work for 2007 if you follow v12.0 in the registry.
Are you running Skype? This has been the best solution I have found to get rid of the "cannot empty the clipboard error" in Excel 2007 & 2010. Delete the Skype add-on in IE and/or Firefox and good-bye annoying error!
In reply to rjacobs7 post on February 28, 2011
Cannot clear clipboard error - Windows 7, Excel 2010 -
This error occurs nearly every time a drag and drop of cell contents is attempted. I've had this same error over the past 10 years on older computers and older versions of Windows and Office. It has now reoccurred with a new laptop running Windows 7 64 bit and Office 2010. The issue can be replicated only if a browser - IE or Firefox - is open at the same time that Excel is open. Having Word and/or Outlook open at the same time will not cause the problem to occur unless a browser is also open. This error is extremely irritating and no solutions from Microsoft or other posts on this issue resolve it.
I have a solution - at least for me! Delete the Skype add-in in IE and Firefox and the "cannot clear clipboard" error after a drag and drop goes away when IE and/or Firefox are running. Apparently some sort of memory-management issue with Skype, Office and the browsers.
I've read lots of blogs on this subject going back to 2005!!
I'm sure that Paul Simon is right (see his submission to this thread) and it's a question of finding which program on your machine is locking the clipboard. I do not run the programs listed in various solutons suggested (eg on Microsoft website) nor am I in a networked or virtual environment so for me those aren't the locking programs (but might be for you). Similarly I don't have the RDP task going in my processes. For me the locking program is the Skype Add-in.
I am not a sophisticated user and am scared of altering my registry so didn't want to go there.
I have now been able to reproduce accurately the "cannot clear the clipboard" message by turning on and off the skype addins in internet explorer. This is easy for amateurs to do and might be one of the more common clipboard locking programs:
I first confirmed that I can turn on/off the problem in Excel by opening/closing internet explorer.
Then I disabled the skype addins:
Internet Explorer: Tools menu --> Internet Options ; Programs Tab ; Manage Add-ons button; Toolbars and Extensions selected in panel on left - scroll down to find skype add ons. Press Disable button.
NB have to restart Internet explorer before this works.
.... 4 days later.... it's still working
I copied a picture (instead of text) that I had in my excel 2007 file and that solved the problem for me. The picture copied to the (then empty) clipboard. I could then copy cells normally even after clearing the clipboard of the picture. I think a graph object should also do the trick.
I have seen various answers which say when I uninstalled this or that it worked. I think that the uninstall is probably just sorting out an issue in the registry, rather it being an issue with the particular application that is being uninstalled.
I have also seen cases of people saying kill the RDP task but I don't have that and I still have the error.
I have seen cases of people saying clear the clipboard in Excel, but that doesn't work for me - nor does changing the settings in the Clipboard.
I believe that the issue is that an application has a lock on the clipboard and that application is not releasing it. The clipboard is a shared resource, so that implies that each application has to get a lock on it before changing it and then release the lock once it has completed the change, however, it looks like sometimes the lock is not released.
I found that the following cured it. Close down all MS applications including IE and Outlook. Check Task Manager processes to make sure that they are all gone.
Then restart the application where you had the Copy and Paste issue and it will probably then work.
Regards
Paul Simon