Re: Using AXBrowser in a strong names assembly
From: Nak (a_at_a.com)
Date: 09/26/04
- Next message: Tim Anderson: "Re: Using AXBrowser in a strong names assembly"
- Previous message: scorpion53061: "Re: Beta Readers Wanted - Visual Basic 2005"
- In reply to: Nak: "Using AXBrowser in a strong names assembly"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 26 Sep 2004 20:36:44 +0100
Hi There,
I have the solution,
Using the Visual Studio .NET command prompt I ran "aximp", this created
2 interop assemblies.
aximp "C:\Windows\System32\SHDocVw.dll" /keyfile:"mykeyfile.snk"
/out:Interop.SHDocVw.dll
I then referenced these 2 assemblies in my project and then created the
browser in code rather than dragging and dropping from the toolbox. For
example,
Dim pAWBHelp as AxWebBrowser
pAWBHelp = New AxWebBrowser()
Call Me.Controls.Add(pAWBHelp)
^ This will create a new AxWebBrowser control and add it to the forms
control container, voila!
Thanks to those of you that helped! :-)
Nick.
"Nak" <a@a.com> wrote in message
news:%23l1IE36oEHA.2864@TK2MSFTNGP12.phx.gbl...
> Hi there
>
> I'm trying to use the Microsoft Web Browser within a strong names .NET
> assembly that I have written. Unfortunately I am getting the following
> linker problem as the Interop DLL that was created does not have a strong
> name,
>
> "Unable to emit assembly: Referenced assembly 'Interop.SHDocVw' does
> not have a strong name"
>
> Any ideas of work arounds for this? Thanks loads in advance.
>
> Nick.
>
>
- Next message: Tim Anderson: "Re: Using AXBrowser in a strong names assembly"
- Previous message: scorpion53061: "Re: Beta Readers Wanted - Visual Basic 2005"
- In reply to: Nak: "Using AXBrowser in a strong names assembly"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|