I am trying to do something VERY simple. I want to use this:
http://www.codeproject.com/csharp/do...553#xx714692xx
to point to a web page.
I cannot use process.start because it opens the webpage in the last
opened IE window, not the window which is currently active. So, I am
trying to use the Microsoft Internet Controls COM.
I found out that I cannot simply add the COM reference and compile
it's objects. It wanted a strong name.
Being very new the below was the best I could do.
Best I can tell I made Interop.SHDocVwLib.dll a strong named library
accessible to the .net framework. But when I try and use it's objects
on most all it get is "equals" or "ReferenceEquals." I don't have
Navigate Object.
I need help. Please. All I want to do is load a url in the IE
instance whose window I am in. Thank you.
C:\Temp\.net\code\Bands\dotnetBandObjects_src\Samp leBars\bin\Release>sn
-k Sam
eBars.snk
Microsoft (R) .NET Framework Strong Name Utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Key pair written to SampleBars.snk
C:\Temp\.net\code\Bands\dotnetBandObjects_src\Samp leBars\bin\Release>tlbimp
Samp
leBars.dll /keyfile:SampleBars.snk /out:Interop.SampleBarsLib.dll
/namespace:Sam
pleBarsLib
Microsoft (R) .NET Framework Type Library to Assembly Converter
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
TlbImp error: The input file
'C:\Temp\.net\code\Bands\dotnetBandObjects_src\Sam p
leBars\bin\Release\SampleBars.dll' is not a valid type library
C:\Temp\.net\code\Bands\dotnetBandObjects_src\Samp leBars\bin\Release>tlbimp
SHDo
cVw.dll /keyfile:SampleBars.snk /out:Interop.SHDocVwLib.dll
Microsoft (R) .NET Framework Type Library to Assembly Converter
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Type library imported to
C:\Temp\.net\code\Bands\dotnetBandObjects_src\Samp leBar
s\bin\Release\Interop.SHDocVwLib.dll
C:\Temp\.net\code\Bands\dotnetBandObjects_src\Samp leBars\bin\Release>