A VB6 application is being developed. Internally it uses VBA SDK version 7.1. The application is an Active X DLL. When the line of code 'Set Host = New MSAPC.Apc' is executed an exception is thrown. The exception reads "Class does not support Automation or does not support expected interface". Host is a class member defined like this "Public WithEvents Host As Apc". For all intents and purposes this code should work but does not and I can't find anything resolution.
VB6 - Making a new MSAPC.Apc crashes with 'Class does not support Automation or does not support expected interface'
1.4k views Asked by AudioBubble At
1
There are 1 answers
Related Questions in VBA
- Toggle "conversation view" in Outlook with VBA
- VBA query - sort text in alphabetical order in Word
- Excel - Visual Basic, macro with autofill "1"
- Getting Run-time error '13': Type Mismatch using .Find
- Getting website metadata (Excel VBA/Python)
- How to use VBA to bold just some text
- VBA Code to filter and get values from csv to excel worksheet
- Azure Batch for Excel VBA
- How can i printpreview multiple excel sheets, with the names of the sheets located in a range?
- Comparison the data of two row and unique number highlight and show below of it
- Is there a way to pass Today's date as a command line argument to Excel from a Windows Task Scheduler Job
- Xero Upload Invoice file using API
- Visual Basic For Application Related Question
- Trying to give color to column field headers in pivot table with vba
- General error handler: If any error in UserForm other than msgBox: Err.Description
Related Questions in VB6
- ORACLE: Tabs used for indentation converted to spaces in stored procedure when executing through DSN connection
- How to enable a menu that I added to external program on VB6
- microsoft from 2.0 controler textbox to retrieve the hindi content in vba
- VB6 compiled DLL giving CLASS_E_CLASSNOTAVAILABLE issue
- VB6 Project restore from Icon tray
- Can 64-bit Excel VBA use VB6 ActiveX?
- Separate batch of xml using vb6
- Translating decryption function from VB6 to C#
- No value given for one or more required parameters. in Vb6.0
- Read Text File Content from HTTPS Web using VB6
- Setting Working Directory for compiled VB6 application
- becubed oletool missing function call servertime.refresh
- VB6, Win10 x64, MS Office 2016, the Office (Excel) 16 reference is not available, VB, how to add?
- How to set a data comparing with row and column of msflexgrid in vb6
- What is the proper way to create a win32 toolbar on vb6 using win32 api?
Related Questions in APC
- Error sending snmptrap from zabbix to an APC
- why does zabbix output UPS APC and UPS HUAWEI options differently?
- APCU not appearing in an Azure Linux Docker Container
- Missing php_apcu.dll for PHP 8.2 / APCu 5.1.22?
- APCu: Cannot call key() on invalid iterator
- Windows SleepEx() doesn't resume when queueing an APC
- Nextcloud Problem with memcache after Updates
- Keeping mysql query results and variables set from the queries for use across pages and sessions
- Call to undefined function apcu_add()
- How to avoid Multi-user PHP Cache add up?
- Function Call in DLL not working as expected (QueueUserAPC)
- Cannot use apc_fetch to fetch a stored variable from the cache
- Yii2 Invalid Configuration: ApcCache requires PHP apc extension to be loaded
- User notification in SAPUI5 using AMC channels
- Effect of parameter $unused in method apcu_store
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You need to select reference as "Microsoft APC 7.1 Object Library" and not "Microsoft APC 6.2 Object Library". This will solve the problem.
Regards, Anagha