Click to See Complete Forum and Search --> : Exception from HRESULT : 0x80040461


ur_emitra
September 13th, 2008, 10:42 AM
Hello All,
I am working on customization of a SP3D (A 3D CAD software) using VB 6.0.
Now I am trying to shift to VB.Net.
In VB we use to access the VB 6.0 command by ProgID.
When I call a VB.Net command from SP3D I get a message Exception from HRESULT : 0x80040461.
Syntax for the command - Assy.Name, Namespace.ClassName
But when I export the Assy. to a Type Library and call the same command using ProgID it works fine.
Please help me to solve this problem.
Thanking you in advance.

HanneSThEGreaT
September 18th, 2008, 10:23 AM
Can you please elaborate on your question, to me it seems quite unclear on what the actual problem is.

guiabegoon
June 7th, 2011, 12:56 AM
Hello All,
I am working on customization of a SP3D (A 3D CAD software) using VB 6.0.
Now I am trying to shift to VB.Net.
In VB we use to access the VB 6.0 command by ProgID.
When I call a VB.Net command from SP3D I get a message Exception from HRESULT : 0x80040461.
Syntax for the command - Assy.Name, Namespace.ClassName
But when I export the Assy. to a Type Library and call the same command using ProgID it works fine.
Please help me to solve this problem.
Thanking you in advance.

Hi, check if Enable optimizations checkbox if this was unchecked. If it was checked, then this might be the cause. This checkbox can be found by going to project's properties->Compile->Advanced Compile Options.