Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

use of SHDocVw.dll in scripted functions

Avatar from Gravatar.com
Manuel Rozier de Linage
7 discussion posts
Hello,
I couldn't success in using SHDocVw.dll to perform such tasks as Opening a new tab in IE :
https://stackoverflow.com/questions/3838821/open-new-tab-in-ie

is there a way to import the necessary Reference and perform appropriate DllImports?
Jul 31, 2018 (modified Jul 31, 2018)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There is, but it's a bit over my head :)

I will assign this over to Thomas and he should be able to help out.

Thanks!
Aug 1, 2018  • #2
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
There is!

All you need to do is put the path to the DLL in the "References" textbox that is located below the code, then the script will compile with that resource. For SHDocVw.dll, you might need to do some extra steps and either make or find an Interop library so that .NET knows how to work with it.

I've attached a screenshot of the references text box for you :)

Thanks!
• Attachment: df-script-referneces-field.png [74,669 bytes]
df-script-referneces-field.png
df-script-referneces-field.png
Aug 13, 2018  • #3
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply