Shdocvw: "DLL in incorrect format"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-10-17 05:05 AM
I'm trying to create a C# code step which uses the Windows shdocvw component, yet when attempting to reference this assembly I receive an "incorrect DLL format" error message. Research indicates that since this is a COM component that it cannot be referenced within the list of .NET assemblies within a code stage. Is there any way to leverage this DLL within a Blue Prism code stage?
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-10-17 04:13 PM
I'm no coder but it should be possible, Blue Prism use a COM interface for their Excel and Word VBO's. I think more internet research may be required, I don't know if this helps: https://msdn.microsoft.com/en-gb/library/ms973800.aspx
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-10-17 08:01 PM
Yes, you should go to Initialize page of your object where you want to use this DLL and double click on rectangle with stage description. Go to Code Options and click on Add button and add dll there with full path to the library.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-17 03:48 PM
Look up ""Interop dlls - they are basically a .net wrapper for COM objects.The following links will help:
https://docs.microsoft.com/en-us/dotnet/framework/interop/how-to-genera…
https://docs.microsoft.com/en-us/dotnet/framework/interop/exposing-com-…
I'm wondering this particular wasteland myself, wish I could help more-
-rj
