Questions tagged [com-automation]

The use of COM IDISPATCH interface to enable dynamic invocation of component functions or access to properties, using names instead of addresses in virtual tables.

Many COM components allow other programs to access their functions, not only by a defined specific interface, but also through the IDIspatch interface, which provide invoke service to access a property or call a function, using its DISPID (an internal dispatch identification) and also a service to get DISPIDs from names.

70 questions
0
votes
1 answer

Outlook error Retrieving the COM class factory

We have a functionality to add contacts to outlook. I simply want to do it to existing outlook process if one is running or open if not running. I get error: Retrieving the COM class factory for component with CLSID …
0
votes
1 answer

Error in MATLAB COM Automation

Anyone knows how to do MATLAB COM autiomation in VB.NET? Since I really can't make my program works using the NE builder. I tried using the COM automation as documented here:…
elvinguitar
  • 149
  • 3
  • 6
  • 15
0
votes
0 answers

Why does Excel sometimes force a COM Automation Server to restart?

I've written a COM automation server for excel that works as expected but sometimes gets restarted by excel. Does anyone know why this is, what's the best way to handle this and if there is anything I can do to prevent this? It's an RTDServer. As…
Pat Mustard
  • 1,852
  • 9
  • 31
  • 58
-1
votes
1 answer

is there anyway to embed an OLE object in Word under macos and use an external program to process the OLE object when double clicking?

guys! we are developing a formula editor. we want to insert our formula in Word (the formula image is normally displayed in Word) and edit again, just like xlsx files. when double clicking, we want to launch our editor program to edit the formula…
sam
  • 9
  • 2
-1
votes
1 answer

VBA or powershell script to extract email details (sender,recipient,subject) from sent items and all its subfolders based on a date range

I would like to ask if anyone has a ready snippet or can provide a working one which would do the below: VBA or powershell script to extract email details (sender,recipient,subject,time stamp) from sent items and all its subfolders based on a date…
Bobby
  • 1
  • 1
-1
votes
1 answer

Why I get the excepton "System.io.filenotfoundexception: retrieving com class factory component CLSID excel" only on one machine?

I made a very simple c# program for testing the access to some file path for different users. For everyone the program works fine, but for one user the program return the exception System.io.filenotfoundexception: retrieving the COM class factory…
TemoZat
  • 23
  • 1
  • 5
-1
votes
1 answer

Send Outlook Email Via Python with hidden / different senders name?

I am on a business project with python, where my team will send out an automated report in some teams. The code for sending it out works quite well: import win32com.client as win32 outlook = win32.Dispatch('outlook.application') mail =…
PV8
  • 5,799
  • 7
  • 43
  • 87
-2
votes
1 answer

Ways to automate Outlook Application

After every patching we test basic Outlook functionality like able to send email etc, wanted to check if there is any way to automate the Outlook UI.
-2
votes
2 answers

Reading text file and sending mails to outlook using Python

I am reading .txt file in Python code and I should get the same mail body what I have in my text file. It is working fine but hyperlinks not displayed in my outlook email, it displays only as text in outlook email. Below is the code: Mail_Content =…
Shruthi
  • 1
  • 2
-2
votes
1 answer

Python to search email body in outlook by specific word and save as pdf in sharepoint or shared drive

Am new to Python and wanted to try to automate a manual process. Iterate through outlook folders and search by key word "Approved" or "Approve" or "approved" or "approve" in the email body. When found, convert to pdf and then save the pdf in a…
Vbanovice
  • 1
  • 2
1 2 3 4
5