6,695 questions
0
votes
0
answers
77
views
async function not executing via Word dynamic menu ribbon button
I have a dynamic menu button in our custom VSTO ribbon. I am loading content to it at runtime. That process is working fine. Dynamic drop down is creating fine. this is the code.
In Ribbon.xml
<...
-2
votes
1
answer
32
views
MessageBox doesn't show as owned by Microsoft Word Application in a VSTO Add-in under certain circumstances [closed]
I normally click a button to initiate a process on the `vsto` add-in. when the process is done, feedback is received is received in form of a `MessageBox`. now here is the issue. If I remain inside ...
1
vote
1
answer
46
views
How to Access Active Page Filters in Excel PivotTable using C# Excel Interop (VSTO)?
I understand that when there is only one filter active, I can easily obtain its value by accessing the cell adjacent to the page filter. However, when multiple filters are applied, Excel displays this ...
0
votes
0
answers
72
views
Word Interop Find.Execute() modifies the source Range object to a undesired value
I'm using Word Interop Libraries to identify bold text in a Word document and add comments to those sections. However, while running the code, I noticed an issue(from the Word UI): when a bold part or ...
0
votes
0
answers
62
views
Issue with UndoRecord.StartCustomRecord in VSTO add-in: Undo stack breaks after bullet/numbering
I am using UndoRecord.StartCustomRecord in Microsoft.Office.Interop.Word to create custom undo records in my VSTO add-in. However, I’ve encountered some unexpected behavior that makes the Word undo ...
-4
votes
1
answer
88
views
Using .NET how would you set a CheckBox to true within an array?
I have populated a column of check boxes, and attempted to set the value of them to true like so:
worksheet.CheckBoxes("Check").Value = True
This is my code:
Public Sub ...
0
votes
1
answer
47
views
Prevent VSTO .msi installation if Word is running (check winword.exe)
I'm developing a VSTO add-in for Microsoft Word and packaging it using a .msi installer (Visual Studio Installer Project). Before proceeding with the installation, I want to ensure that Word (winword....
0
votes
1
answer
61
views
how to identify "Comments" button VSTO identifier in windows word document
I have VSTO Addin in word document, and I want to identify the "Comments" button that is displayed on top right corner of the word document. provided a screenshot for reference.
The comments ...
0
votes
1
answer
48
views
Error : Reference in the menifest does not match the downloaded assembly PorjName.WPF.exe in Click Once VSTO VB.Net application
Project structure:
Solution
VSTO Project (Added WPF project as reference)
WPF Project
I got this error while installing VB.NET VSTO addin project which is created usng ClickOnce approch.
I've checked &...
0
votes
1
answer
426
views
C# VSTO/ClickOnce: unable to load dll msalruntime
I have a C# Excel VSTO addin which runs properly launched from VS, but fails to work when published with ClickOnce.
MSAL.Desktop.4.62.0.0.MsalClientException wam_runtime_init_failed
Microsoft....
1
vote
1
answer
52
views
Importing Task Usage view data to Excel
I'm developing a code that allows me to access the TASK USAGE view of any Ms Project file, and to be able to import that information to an Excel file.
I'm using VB .NET and VSTO, accessing through the ...
0
votes
1
answer
89
views
VSTO recipient X400 address
Currently I am experiencing a rare issue, where the Outlook recipient object does not seem to contain the SMTP information of a user. Only the X400 information is available, very difficult to ...
0
votes
1
answer
47
views
How to read emails in Outlook
I tried to read emails from an email Outlook account in a .pst/.ost file. The code is as follows.
Outlook.Application myApp = new Outlook.Application();
Outlook.NameSpace mapiNameSpace = myApp....
0
votes
1
answer
83
views
How to Increase ribbon button image size in vsto Excel addin
I have built a VSTO Excel addin with a simple button. I added an image to the button, but the image size in excel is always small:
I cant find a way to increase the image size, I would like the ...
0
votes
2
answers
111
views
Add Signature while replying using Selection c# vsto addin
I am new to C# VSTO Add-In development and am trying to add a signature at the cursor's location. However, I'm unable to insert HTML and can only add plain text. How can I append HTML instead?
I tried ...
0
votes
0
answers
33
views
Custom Shortcuts in VSTO Addin - Application.OnKey: procedure call throws an error: "macros disabled or not available in the workbook"
I'm creating a VSTO Excel Add-in using VB.NET. I am trying to create custom shortcuts. Application.OnKey function has 2 inputs: key and procedure, I entered "^q", which means Control + q. In ...
0
votes
0
answers
22
views
Manually Changed APP.CONFIG Not Reflected in APP
I have a Vb.NET VSTO project that has one setting in an App.Config file. Let's say the string setting is named TestSetting. I publish and install the project. When the application is not running, I ...
0
votes
1
answer
44
views
Monitoring all sent items folders in add in
So I have an add in that monitors the sent items folder and uploads emails to an azure storage when a new item hits it, if it meets certain criteria.
my issue is that it only works on the default ...
0
votes
0
answers
75
views
Why will my Excel VSTO Add-In only load If Excel is run under Administrator
I have an Excel VSTO add-in which utilises nlog. The nlog.config file is stored in the following folder:
C:\ProgramData\Company Name\Historian Client\Config
If I run Excel as non-admin, the Add-In ...
0
votes
0
answers
38
views
PowerPoint SlideZoom - Check on Shape
I like to check if there is a slide zoom object on a slide to set the property "Return to zoom" for all the "Slide zoom objects".
I saw this article - where they say, there should ...
0
votes
3
answers
408
views
Is there a method for creating Hyperlink without setting the hyperlink style
I am looking for a way to set an hyperlink a cell, but without setting the hyperlink style. so basically keep the existing cell formatting.
I know you can set another style, but the original ...
1
vote
1
answer
38
views
c# VSTO outlook - event save and check meetingitem body
I am using the following code when creating a meeting in outlook
private void ThisAddIn_Startup(object sender, EventArgs e)
{
//other code
Application.ItemSend += Application_ItemSend;
}
...
0
votes
1
answer
37
views
Outlook VSTO add-in get complete original email (headers, body, attachments) as sent by SMTP
Is there a way to get the complete original email message as sent in SMTP DATA?
I can get Outlook email body and bodyHTML, and I can get email headers with PR_TRANSPORT_MESSAGE_HEADERS.
Looking for eg:...
0
votes
0
answers
29
views
How to get a ContactItem with an Exchange formatted X509 email address?
I'd like to get an Outlook ContactItem using Exchange formatted X509 email address (a string). Is it possible or not?
0
votes
1
answer
52
views
Outlook VSTO (C#) mailItem.GetInspector.WordEditor returns the wrong email body after some number of email
I am trying to write a scrip in VSTO that can export attachments and the email (as pdf)
The goal is to export the pdf which has the same information as when you print to pdf (aka it should include ...