|
-
September 13th, 2008, 10:42 AM
#1
Exception from HRESULT : 0x80040461
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.
-
September 18th, 2008, 10:23 AM
#2
Re: Exception from HRESULT : 0x80040461
Can you please elaborate on your question, to me it seems quite unclear on what the actual problem is.
-
June 7th, 2011, 12:56 AM
#3
Re: Exception from HRESULT : 0x80040461
 Originally Posted by ur_emitra
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|