Asked by:
Member not found (Exception from HSRESULT : 0x80020003(DISP_E_MEBERNOTFOUND)

Question
-
the error when i export data to Excel from DatagridView in visual basic 2008.
error name:
Member not found (Exception from HSRESULT : 0x80020003(DISP_E_MEBERNOTFOUND)
Thanks any one help me!
my email: k23phien@yahoo.com
Wednesday, August 27, 2014 3:15 AM
All replies
-
Wednesday, August 27, 2014 3:38 AM
-
Hi,
>>Member not found (Exception from HSRESULT : 0x80020003(DISP_E_MEBERNOTFOUND)
Ref to MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ms221432(v=vs.85).aspx
>A member or parameter with the specified DISPID and matching cArgs cannot be found, and the parameter is not optional.
>The member is a void function, and the caller did not set pVarResult to Null.
>The member is a read-only property, and the caller set wFlags to DISPATCH_PROPERTYPUT or DISPATCH_PROPERTYPUTREF.
Could you please provide code snippets for troubleshooting? Please also provide the information of OS, .NET and Excel version.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by IssueKiller Monday, September 1, 2014 6:40 AM
- Marked as answer by Franklin ChenMicrosoft employee Wednesday, September 3, 2014 10:10 AM
- Unmarked as answer by Franklin ChenMicrosoft employee Wednesday, September 17, 2014 9:22 AM
Thursday, August 28, 2014 6:10 AM -
Hello,
One possibility for this exception comes from writing Excel code using late binding with Option Strict Off. Check out my Excel article for the base of writing Excel automation with early binding.
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.
- Proposed as answer by IssueKiller Monday, September 1, 2014 6:40 AM
- Marked as answer by Franklin ChenMicrosoft employee Wednesday, September 3, 2014 10:10 AM
- Unmarked as answer by Franklin ChenMicrosoft employee Wednesday, September 17, 2014 9:22 AM
Thursday, August 28, 2014 11:34 AM -
Thanks! I fixed the error.Monday, September 1, 2014 12:19 AM
-
Thanks! I fixed the error.
Did one or more of the posts above solve your problem or maybe help solve your problem? If so you should mark it or them as answers or vote them as helpful. Thanks. 8)If you say it can`t be done then i`ll try it
Monday, September 1, 2014 12:27 AM -
How did you fix this error please?Saturday, December 12, 2020 6:24 PM