473,804 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.SHDocVw Lib.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 "ReferenceEqual s." 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\co de\Bands\dotnet BandObjects_src \SampleBars\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\co de\Bands\dotnet BandObjects_src \SampleBars\bin \Release>tlbimp
Samp
leBars.dll /keyfile:SampleB ars.snk /out:Interop.Sam pleBarsLib.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\c ode\Bands\dotne tBandObjects_sr c\Samp
leBars\bin\Rele ase\SampleBars. dll' is not a valid type library

C:\Temp\.net\co de\Bands\dotnet BandObjects_src \SampleBars\bin \Release>tlbimp
SHDo
cVw.dll /keyfile:SampleB ars.snk /out:Interop.SHD ocVwLib.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\co de\Bands\dotnet BandObjects_src \SampleBar
s\bin\Release\I nterop.SHDocVwL ib.dll

C:\Temp\.net\co de\Bands\dotnet BandObjects_src \SampleBars\bin \Release>
Nov 18 '05 #1
2 1225
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.goo gle.com...
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.SHDocVw Lib.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 "ReferenceEqual s." 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\co de\Bands\dotnet BandObjects_src \SampleBars\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\co de\Bands\dotnet BandObjects_src \SampleBars\bin \Release>tlbimp
Samp
leBars.dll /keyfile:SampleB ars.snk /out:Interop.Sam pleBarsLib.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\c ode\Bands\dotne tBandObjects_sr c\Samp
leBars\bin\Rele ase\SampleBars. dll' is not a valid type library

C:\Temp\.net\co de\Bands\dotnet BandObjects_src \SampleBars\bin \Release>tlbimp
SHDo
cVw.dll /keyfile:SampleB ars.snk /out:Interop.SHD ocVwLib.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\co de\Bands\dotnet BandObjects_src \SampleBar
s\bin\Release\I nterop.SHDocVwL ib.dll

C:\Temp\.net\co de\Bands\dotnet BandObjects_src \SampleBars\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******* *******@tk2msft ngp13.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.goo gle.com...
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.SHDocVw Lib.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 "ReferenceEqual s." 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\co de\Bands\dotnet BandObjects_src \SampleBars\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\co de\Bands\dotnet BandObjects_src \SampleBars\bin \Release>tlbimp
Samp
leBars.dll /keyfile:SampleB ars.snk /out:Interop.Sam pleBarsLib.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\c ode\Bands\dotne tBandObjects_sr c\Samp
leBars\bin\Rele ase\SampleBars. dll' is not a valid type library

C:\Temp\.net\co de\Bands\dotnet BandObjects_src \SampleBars\bin \Release>tlbimp
SHDo
cVw.dll /keyfile:SampleB ars.snk /out:Interop.SHD ocVwLib.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\co de\Bands\dotnet BandObjects_src \SampleBar
s\bin\Release\I nterop.SHDocVwL ib.dll

C:\Temp\.net\co de\Bands\dotnet BandObjects_src \SampleBars\bin \Release>

Nov 18 '05 #3

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

Similar topics

1
2172
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 javax.swing.JApplet; import javax.swing.JOptionPane; import java.awt.Graphics;
1
2012
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 form i have a table with 3 rows (3 input text), in which user can enter values and then clik save. When he clicks the Save button, i'd like to be able to add the created items to the end of my table
0
2002
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 the DB I am using a DIV with a please wait message which is removed once the page is loaded. In addition I am using a global error handling using the Application_Error void in the Global.asax file. when the application is loading a page which...
4
2586
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 while its performing calculation... I'm using the below code...that i have got from following link http://aspfaq.com/show.asp?id=2498 but somehow it doesnt work and displays nothing....it display only for a second before the actual result is...
2
2419
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 http-equiv="Content-Type" content="text/html;
7
3626
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> </head> <style type="text/css">
4
3527
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 Fixpack on a test machine running ESE but encountered a serious error during the install. It started 'copying new files' but then stopped cold and displayed a dialog box asking me to "Please insert disk 1". (It all fit on one CD!) I clicked OK...
1
54545
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 we instruct our experts to ignore any such PMs completely Be sure to give the version of Access that you are working with and the Platform and OS if applicable.
0
9594
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10600
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10350
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9174
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6866
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5534
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4311
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.