Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
64bit Excel Office 2010: Automation error %1 is not a valid Win32 application.visual basic 4 / 5 / 6
Posted 18 November 2012 - 10:35 PM
This function works on Microsoft Office 32bit. But when transferring to 64bit, the error "Automation error %1 is not a valid Win32 application" occured.
Private Function CreateUsingManifest(nameOfClass As String) As Object
Dim actCtx As Object
Set actCtx = CreateObject("Microsoft.Windows.ActCtx")
On Error GoTo InvalidManifest
Set CreateUsingManifest = actCtx.CreateObject(nameOfClass) 'Error here
Set actCtx = Nothing
On Error GoTo 0
Err.Raise "Automation error %1 is not a valid Win32 application."
Posted 18 November 2012 - 11:45 PM
I'm a System developer at XLENT Consultant Group mainly working with SugarCRM.
Please DO NOT send mail or PM to me with programming questions, post them in the appropriate forum instead, where I and others can answer you.
Posted 19 November 2012 - 07:44 AM
1- did you check for the library to be present?
2- did you try to import it into your project?
3- are your O.S and .NET framework installed in 64 bit version? cause they will not interact ( 32bits with 64 bits ) in runtime from .NET unless you do ... Assembly synchronization
Posted 19 November 2012 - 05:53 PM
Posted 20 November 2012 - 06:45 AM
My MineCraft server site: http://banishedwings.enjin.com/