I can toggle an bookmark in code when the project isn't running. But when it is, the toggle bookmark button in toolbar is disabled. Only next/prev. bookmark buttons works. Doesn't matter if it's running or paused.
The service pack 6 is installed. I have some add-ins and components installed and loaded too: "Component Services Add-In for VB 5.0/6.0", "Mz-Tools 3.0", "MouseWheel Fix" and "BookmarkSave VB6 addin".
Does anyone already saw this?
The "BookmarkSave VB6" addin disables the button on runtime.
Removing / disabling it fixes the problem.
Related
I work on an add-in for Microsoft Outlook, and we’ve noticed that in the Outlook Web App our Add-in cannot open at all when we attempt to open it from the “More Add-ins” button. The menu that lists more add-ins will open, but then clicking our add-in closes the menu with nothing happening.
We used to have our Add-in’s ribbon menu open when it was clicked here. We first encountered the broken behavior yesterday (7/28/22).
We’ve checked if this is happening to all Add-ins with a list of ribbon commands, and this seems to be the case for all Add-ins. To reproduce this error, we’ve implemented Microsoft’s example for Add-in commands (https://github.com/officedev/outlook-add-in-command-demo) by uploading to https://officeapp.s3.amazonaws.com/command-demo-manifest.xml and installing from URL.
Clicking the “Add-In Command” closes the menu, and nothing happens.
The expected behavior is a list of commands should show:
Additional Note: The ribbon command menu correctly appears if the Add-in is pinned to the toolbar via Settings->Mail->Customize actions->Toolbar. This is how we were able to take a screenshot to demonstrate the expected behavior.
Thank you.
Thank you for reaching out. This is a known issue within the Outlook web client. We are working on a fix for this issue, but do not have a timeline to share at this moment.
I am following the tutorial on https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/excel-quickstart-jquery?tabs=visualstudio
When I run the add-in from VS2022 in debug mode (F5), the add-in does not load (error "This
add-in could not be started. Close this dialog to ignore the problem or click "Restart" to try again")
When I run the add-in from VS2022 without debugging (CTRL-F5), the add-in works fine...
In both cases, the page on https://localhost:xxxx/Home.html is working fine, it's only Excel that refuses to load the plugin while using VS Debug Mode.
I have another computer on which it both ways are working fine. Both computers have a similar software setup.
Where should I start looking for the cause of this?
Thanks
OK. I got this to run on my machine, it took a bit of time to figure out but steps are documented here - https://learn.microsoft.com/en-us/office/dev/add-ins/develop/debug-office-add-ins-in-visual-studio
Here is a hint - You write the plugin code in JavaScript, it gets loaded in legacy WebView (EdgeHTML) control in Excel IDE. How would you debug the code?
Here is what I tried and it worked -
Launch your project from VS IDE, this should launch excel window.
Click on 'Home'-'Show Taskpane' button. If it is not visible, the Taskpane window should appear on the right side. This is where add in is loaded.
This is the WebView control that loads your HTML UI + associated javascript code.
Right click on it, click on the 'Inspect' menu. This should launch the Developer Tools that you normally get when debugging web pages.
Put your break points in the JS code and hit the button. The debugger should break in associated JS code.
I'm using wix (3.11) to create a msi installation for a WPF application. The application icon is correctly working on program launch, in the program list (apps and features), and in my program menu and desktop shortcuts. The only issue is that when I search for the application after pressing the windows key, the older, stale icon that I used a few weeks ago appears. I'm almost certain that this is some windows caching issue as I have removed the stale icon from the application altogether, rebuilt the installer and reinstalled, and still the old icon appears during search. I'm curious if other members have encountered this issue and what they did to remedy it. Thanks!
Not sure if you need to rebuild the icon cache or fix indexing issues.
For Indexing:
Type "indexing" in the start menu (or internationalized equivalent word), Click open.
Click the Advanced button.
In the Index Settings tab, click the Rebuild button under Troubleshooting. OK to confirm.
Index rebuilding should start. This Indexing applet is also available from the old-style control panel in "icons" view. Just search for "control panel" or equivalent internationalized words.
One liner code (one effective line and boiler) to refresh icons: https://github.com/crazy-max/IconsRefresh
IE8 has a feature that pops up a dialog box that informs me when a web page stops responding that's a bit annoying when debugging as it steals focus from visual studio. Is there a way to disable that feature?
This was just covered on the IEBlog here.
From the blog:
While we continue to track the
telemetry, if you are debugging IE
either with the IE Developer Tools or
a debugger, and you attempt to
interact with the IE window, there is
a chance that you will see this
dialog. Although this will not impact
your debugging it may be more
convenient to turn this dialog off. Or
if you’re running Win7 RC and are
seeing this prompt more than you
should or would want to, you can turn
it off by changing the following
registry key:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main!HangResistance, DWORD, 0
We are experiencing this annoying problem where we have a context menu on our tray icon, if we display this context menu we have to SetForegroundWindow and bring it to the front. This is really annoying and not at all what we want.
Is there a workaround, I notice that Outlook MS Messenger and other MS apps do not suffer this, perhaps they are not using a standard menu and have had to write their own ... why dont they release this code if they have?
This article describes the 'as design' behaviour: Menus for Notification Icons Do Not Work Correctly
EDIT
We are using C++/Win32 not forms, so we use TrackPopupMenu.
Are you using ContextMenu or ContextMenuStrip?
Your saying that opening the ContextMenu on a trayicon focuses all app forms?
I have not experienced that, though I use the newer ContextMenuStrip class, not ContextMenu for my trayicons.
EDIT: Would be nice to know if you are using Windows.Forms or WIN32, or MFC or what.