473,401 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Please help me with bandobjects

jm
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>
Nov 18 '05 #1
2 1204
I'm not understanding what you are trying to accomplish. Would you mind
re-explaining. I went to the link you posted and couldn't see any thing
relevant to what you were explaining.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"jm" <jo*************@yahoo.com> wrote in message
news:c6**************************@posting.google.c om...
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>

Nov 18 '05 #2
jm
Essentially, when one uses a COM object, in a .net application, it
doesn't have a Strong Name. I don't know what it wants me to do.
MSDN is so complex that I can't put it together. It claims VS .NET
will do it for me, but I can't figure it out. I also do not see the
relationship between a .snk keyfile, my solution that I am bulding and
how to put them together to get that keyfile so that I have a strong
name for my COM objects I am using.

It really doesn't have to be about the bandobjects, that is simply
where I first encountered the error because the Microsoft Internet
Control doesn't have a strong name;

Thinking back, and I apologize, the MS Inet control COM object really
doesn't have anything to do with the article. I was simply adding the
COM object to the project below to make the bandobject be able to
navigate to web pages, etc. instead of simply displaying a message
box.

I guess I don't really know what a Strong Name is.

BTW, process.start will not work properly as it always uses the last
session of IE open and not the current session the user is in, thus my
need for the COM object (I am not asking for help here, just giving
background.)

Thanks for all your help.

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message news:<Oe**************@tk2msftngp13.phx.gbl>...
I'm not understanding what you are trying to accomplish. Would you mind
re-explaining. I went to the link you posted and couldn't see any thing
relevant to what you were explaining.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"jm" <jo*************@yahoo.com> wrote in message
news:c6**************************@posting.google.c om...
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>

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Numberwhun | last post by:
Hello everyone! I am trying to learn java and have run into kind of a snag. Here is the code that I have so far: ------ <begin_code> ---------- import javax.swing.*; import...
1
by: HolaGoogle | last post by:
Hi all, Please help me with the following..it's realy urgent and i tried everything i could and i can't get it work properly!! Thanks in advance. Here's what i'm trying to accomplish: in my...
0
by: s_erez | last post by:
Hi, This is a realy tricky one. I have an ASP.NET application where some pages are reading data from a DB and presenting reports. In order for the user to wait while the page is reading data from...
4
by: dave | last post by:
Hi guys I display one page in popup window...that fetches some data from sql and perfom some calculation (tht approx 10 secs) and display result.... I am trying to display "Please wait ..."message...
2
by: rked | last post by:
I get nameSPAN1 is undefined when I place cursor in comments box.. <%@ LANGUAGE="VBScript" %> <% DIM ipAddress ipAddress=Request.Servervariables("REMOTE_HOST") %> <html> <head> <meta...
7
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
4
by: pshindle | last post by:
DB2 Team - I just downloaded and unzipped the new Fixpack 9 for DB2 ESE V8 for Windows (FP9_WR21350_ESE.exe). I then burned the unzipped Fixpack files to a CD. I proceded to install this...
1
PEB
by: PEB | last post by:
POSTING GUIDELINES Please follow these guidelines when posting questions Post your question in a relevant forum Do NOT PM questions to individual experts - This is not fair on them and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.