Can not add reference to an ActiveX control
Author: boreland
Creation Date: 11/8/2016 11:05 PM
profile picture

boreland

#1
I'm trying to add a reference to Microsoft Internet Controls so I can use the shDocVw.dll, but while I can this this through Visual Studio I can not seem to find it using the add reference tab in WLP. If i try to add the shDocVw.dll directly i get a message saying that it expects an assembly manifest?

I'm trying to use:

CODE:
Please log in to see this code.


Also

System.Data.SQLite

I can do this with visual studio but not by clicking on the "reference" button.

What am I doing wrong?
profile picture

Eugene

#2
QUOTE:
ActiveX

ActiveX/COM is not supported in the WL.NET Editor. It might work if you created a COM wrapper for the library first but making no promises.

http://stackoverflow.com/questions/3345687/c-in-what-assembly-is-shdocvw-webbrowser-v1-defined
http://stackoverflow.com/questions/20845140/add-reference-shdocvw-in-c-sharp-project-using-visual-c-sharp-2010-express

QUOTE:
System.Data.SQLite

Choose "Other assemblies to reference" for this (as most likely SQLite isn't in the GAC).

QUOTE:
so I can use the shDocVw.dll

Let's start with why do you think you need it? If his #4 rank on StackOverflow is worth something, see Hans Passant's definitive answer in this thread:

https://social.msdn.microsoft.com/Forums/windows/en-US/2ed65b9d-c601-4ca8-bde1-64584fc87515/how-to-make-c-webbrowser-equivalent-to-ie-browser?forum=winforms
profile picture

Cone

#3
fwiw, make sure you're running 32-bit Wealth-Lab if you're using COM.
profile picture

boreland

#4
Eugene:

I've downloaded the 64 bit version SQLite

https://system.data.sqlite.org/downloads/1.0.103.0/sqlite-netFx20-setup-bundle-x64-2005-1.0.103.0.exe

and referenced the DLL but I'm getting an error saying it can not find the assembly. It compiles without any errors, but generates the assembly error when I try to run the program.

added using System.Data.SQLite;

Are the any examples in the forum where SQLite may have been used?

profile picture

Eugene

#5
QUOTE:
Are the any examples in the forum where SQLite may have been used?


Here's a trick for full-text search: prepend your Google query with site:www.wealth-lab.com/Forum/Posts/. In other words your search query on google.com should look like site:www.wealth-lab.com/Forum/Posts/ sqlite
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).