• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

Microsoft.mshtml.dll

Dear Experts,

I have a project in vb.net with Microsoft.mshtml.dll as a reference.

I initially built and deployed the project excluding the reference.

It installed and opened with no issue but as soon as the dll was needed I got an error.

When I include the dll in the install there is no problem.

Is there another way to get around this as I don’t think 9mb is appropriate for my application.

Cheers,

Tom
0
TommyTwoPints
Asked:
TommyTwoPints
  • 5
  • 5
1 Solution
 
Jojo1771Commented:
Theres no way around not needing the dll unless you can exclude the refrence to it in your app. And whats wrong with  9mbs. Your app will take more than that in ram when it loads the framework on a cold start.
0
 
TommyTwoPintsAuthor Commented:
So every application of mine that uses this dll will need to include it in the install?

This seems very sloppy and space wasting,
0
 
Bob LearnedCommented:
Tom,

What .NET version are you using?

Bob
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
TommyTwoPintsAuthor Commented:
Im using Visual Studio .NET 2002
0
 
Bob LearnedCommented:
In 2003, that DLL is installed with the .NET framework.  Are you saying that with 2002, it is an external dependency?

Bob
0
 
TommyTwoPintsAuthor Commented:
Hi Bob,

When i add the project output for my application to a setup project, the microsoft.mshtml.dll is added as part of the project output which is  why i could exclude it from the setup.

I think its time to change versions.

Cheers,

Tom
0
 
Bob LearnedCommented:
Tom,

What I am trying to say is that .NET references to DLLs don't need to be included in the setup project, if they are installed when the .NET framework is installed.

Yes, you need at least 2003.  There were some pretty significant changes.  2005 is a stretch, because so many people complain about how slow the IDE is.  You would have to make that decision on your own for 2005--I personally have qualms with what they have changed, and how much benefit there is in WinForms.  I am really looking forward to ASP.NET 2.0, though, when our development team finally gets to make the switch (later).


Bob
0
 
TommyTwoPintsAuthor Commented:
Bob,

I went to a microsoft Tech-ed last year in singapore and saw 2005 demo'd. I was very impressed but im still at a beginner level so you could say im easily impressed.

The main reason for my issue with this is that if im creating a small application of under 100kb it installs to 9mb which is a significant increase.

Would creating a setup project just for the dll work? This way the dll would only need to be installed once.

Cheers,

Tom
0
 
Bob LearnedCommented:
Tom,

I feel like my words are going off into the air, and not landing anywhere.  We don't seem to be on the same wavelength here.  

Are you trying to tell me that when the 2002 .NET framework is installed on a computer, that the MSHTML dll is not included?

Bob
0
 
TommyTwoPintsAuthor Commented:
I have the following framework versions intsalled;

1.0.3705
1.1
1.1 SDK
1.1 Hotfix

I add the .net reference just as you do any other.

This error actually happened on  a friends pc, both my pcs have the above frameworks installed.

I asked what framework they have and the reply was 2.0.

Sorry if you feel i am wasting your time,

Cheers,

Tom
0
 
Bob LearnedCommented:
Are you saying that the only framework version they have is 2.0?

Bob
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now