Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
105 views

I am writing a function to find hidden text in a Word document and tagging them with comments. I am using Word find to do this. When a hidden text is found inside a table, after the comment is ...
ApsSanj's user avatar
  • 579
0 votes
0 answers
83 views

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 <...
ApsSanj's user avatar
  • 579
0 votes
0 answers
37 views

I created a new C# VSTO Word-Add in (Framework 4.8.1) in Visual Studio 2022. Made no modifications at all and then tried to start it (F5), but it ends with this error message: -------------------------...
Tobias Krasinger's user avatar
0 votes
1 answer
63 views

VSTO is unable to capture nested groups within PowerPoint slides. For example, consider this structure: Group1: ├── Group2: │ ├── Rectangle1 │ ├── Rectangle2 │ └── Line (connecting ...
D.Galaxy's user avatar
1 vote
1 answer
56 views

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 ...
Robin Dieu's user avatar
1 vote
1 answer
52 views

I would like to add an item to the context menu of an appointment in the reminder(s) window in outlook classic: Is this possible in a VSTO add-in, and if so, what is the identifier of the context ...
dieckie's user avatar
  • 111
0 votes
0 answers
75 views

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 ...
Kasun Nimantha's user avatar
0 votes
2 answers
119 views

Problem Summary I have a critical issue with my SDK-Style generated VSTO Outlook add-in when deployed via WiX MSI installer. The same VSTO files work perfectly when installed directly (double-click ....
Mirec J.'s user avatar
  • 129
0 votes
0 answers
65 views

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 ...
Kasun Nimantha's user avatar
3 votes
1 answer
171 views

I'm trying to convert a classic VSTO Outlook add-in project to SDK-style format while maintaining full VSTO functionality. Both csproj project files compile successfully and produces a working .dll, ...
Mirec J.'s user avatar
  • 129
-4 votes
1 answer
100 views

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 ...
Lloyd Thomas's user avatar
0 votes
1 answer
73 views

I am implement a function to do below two tasks. User have the ability to either run both or run a single task only (handle via check boxes). Task 1 : Replace multiple spaces into a single space on a ...
ApsSanj's user avatar
  • 579
0 votes
1 answer
55 views

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....
Ankur Gupta's user avatar
0 votes
1 answer
91 views

TL;DR: I want to programmatically enable the "Always use these values regardless of sign-in to Office" setting found in File > Options > General in Microsoft Word. Does any Word API ...
Kasun Nimantha's user avatar
0 votes
1 answer
73 views

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 ...
Balaji Sundaram's user avatar
0 votes
0 answers
79 views

I recently updated and migrated my backend from SOAP WCF to a REST API (C#). This backend is utilized by an Outlook add-in (desktop version) to save documents, including emails and attachments, to a ...
Mihai Zotescu's user avatar
0 votes
1 answer
55 views

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 &...
Rahul Shiyani's user avatar
0 votes
1 answer
62 views

I created an automation script that's creating e-mails from a template e-mail file (.oft) and saving them to the Drafts folder for me to eventually send them manually. In Outlook I set an option to ...
AxD's user avatar
  • 3,282
0 votes
1 answer
475 views

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....
gooopil's user avatar
  • 17
0 votes
0 answers
55 views

I have this code in VB .NET and VSTO that accesses a MS Project file and exports the information from the RESOURCE USAGE view to Excel, but when taking the information about the work distributed over ...
Jhorbam's user avatar
  • 23
1 vote
1 answer
61 views

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 ...
Jhorbam's user avatar
  • 23
0 votes
2 answers
60 views

does any one know if there is an event some other trigger for the opening of the Backstage window? I tried already using the ribbonUI, and am currently looking for windowhooks on childwindows in Excel....
MyExcelDeveloper.com's user avatar
0 votes
1 answer
101 views

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 ...
usselite's user avatar
  • 816
2 votes
0 answers
70 views

I am looking for a way to get the delta, percentage or position of the scrollbar in pixels or points if a user moves around the worksheet. But Excel only gives the position of the scrollcolumn/row of ...
MyExcelDeveloper.com's user avatar
0 votes
1 answer
49 views

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....
John Lee's user avatar
  • 171
0 votes
1 answer
130 views

I am managing an Excel VSTO add-in that works on specific files and does not support inserting/deleting columns. I would like to prevent the user from being able to do so in order to secure data in ...
Cedt's user avatar
  • 351
0 votes
1 answer
87 views

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 ...
Programnik's user avatar
  • 1,549
0 votes
0 answers
71 views

I am working on a VSTO Add-In for Outlook where I need to add a signature to an email when it is ready for composition. Specifically, this should happen only once when the email is opened for replying ...
Ramakrishnan Ramar's user avatar
0 votes
2 answers
122 views

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 ...
Ramakrishnan Ramar's user avatar
1 vote
0 answers
67 views

I am developping a VSTO Add-In for Microsoft Office using C# and WPF. The framework is .NET framework 4.8. The Add-In consists of several buttons in the ribbon and several task panes that can be ...
Gradlon's user avatar
  • 121
0 votes
0 answers
33 views

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 ...
Urveel Parmar's user avatar
0 votes
0 answers
62 views

I'm exploring the feasibility of implementing the following use case in OneNote Desktop (M365 2410) and would appreciate your insights. Unfortunately, I couldn't find sufficient information in the ...
Marc Alves's user avatar
0 votes
0 answers
23 views

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 ...
Grant's user avatar
  • 1
0 votes
1 answer
53 views

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 ...
Zorbacles's user avatar
0 votes
1 answer
62 views

I'm developing the Outlook VSTO add-in that interacts with the third-party Outlook VSTO add-in. The third-party Outlook add-in is stateful and I can't force it to reload its configuration that was ...
Dmitry Kosovets's user avatar
0 votes
0 answers
79 views

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 ...
Paul Johnson's user avatar
0 votes
1 answer
79 views

I need to decrypt a mailitem, save it as .msg, then re-encrypt it, so the original mail seems unaltered. OUTLOOK VSTO ADDIN C# // Decrypt the mail item const string PR_SECURITY_FLAGS = "http://...
Rahul Gouri's user avatar
0 votes
0 answers
48 views

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 ...
Roger Heckly's user avatar
2 votes
0 answers
61 views

I make a c# add-in for an MS Office desktop app. It uses WPF for front end UI. I want the background of the forms in the add-in to match the Office app colors. Microsoft recently launched a brand-new ...
Kenny Arnold's user avatar
0 votes
3 answers
452 views

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 ...
MyExcelDeveloper.com's user avatar
0 votes
1 answer
59 views

I am currently trying to edit the html body of a mail item in the mailitem.open event. This works fine with rather short mails, but the longer the mail itself the more the screen flickers until it's ...
AnDan's user avatar
  • 5
1 vote
1 answer
45 views

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; } ...
Gadzhik's user avatar
  • 43
0 votes
1 answer
88 views

When you have a dependent in Excel (1), so cell is used by formula on other sheet, it shows it with an icon (2). Now I was wondering if that's also possible via code. I have tried using range....
MyExcelDeveloper.com's user avatar
0 votes
1 answer
46 views

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:...
Steve Shoemaker's user avatar
1 vote
0 answers
31 views

I have created a VSTO AddIn in C# - with a ribbon and a taskpane. My goal is, to store some manual created shapes in the POTX which I can read out from my AddIn and provide to be inserted in a slide. ...
Roger Heckly's user avatar
0 votes
0 answers
33 views

I'd like to get an Outlook ContactItem using Exchange formatted X509 email address (a string). Is it possible or not?
Sturmer's user avatar
  • 57
0 votes
4 answers
84 views

I have an Excel VSTO add-in written in vb.net. I want to write a message to the active workbook and active sheet when the user unloads the add-in. I get a COMException HRESULT: 0x800AC472 when I try ...
NeilK's user avatar
  • 11
0 votes
1 answer
55 views

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 ...
ZQ G's user avatar
  • 1
1 vote
7 answers
269 views

I need a very fast method to get an array or a list of all cell addresses in a range. So Suppose i have a range "A2:B4" I need an array A2, A3, A4, B2, B3, B4. Now i can do this by looping ...
MyExcelDeveloper.com's user avatar
0 votes
1 answer
101 views

Can anyone help me out with the above issue?. I have checked the Visio VSTO websites and could not find any codes that accesses the needed page properties. I need to access the "page setup" ...
Fairoz's user avatar
  • 45

1
2 3 4 5
134