Hi Tom,
Are you still monitoring this post?
I will get this post some research and give you some suggestion.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Tom" <
[email protected]>
| Sender: "Tom" <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
<
[email protected]>
<
[email protected]>
| Subject: Re: Sharing a C#User Control
| Date: Tue, 5 Aug 2003 05:04:46 -0700
| Lines: 59
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNbScNUPLEmDE2VQlG+5DDP1cklsg==
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:174249
| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Jeff:
|
| I'm still a little confused.
| OK I follow what you are saying. But my header control
| contains an image and some D/Html code for the naviagation
| menus.
|
| If I create a C# Class Library project, add my control to
| this new project, compile it. Then in my VB app make a
| reference to this new project, how do I get the image to
| appear?
|
| Tom
|
| >-----Original Message-----
| >
| >| >Jeff:
| >
| >Got a few questions. I understand about setting the
| >version number. But what do you mean when you say:
| >> 1. strong naming my assembly?
| >Means it has a name, version, culture, and a public key.
| These are
| >generally set in AssemblyInfo.cs.
| >
| >For creating the public key, use sn.exe provided in
| Program
| >Files\Microsoft Visual Studio .NET\FrameworkSDK\bin
| >
| >Once all of these 4 things are specified, you can have
| your Assembly
| >(.dll or .exe) added to the global assembly cache of
| any / all
| >machines.
| >
| >> 2. Put the control in a separate assembly. Do you mean
| a
| >> seprate project. If so what type?
| >A "class library project" would make the most sense. Put
| that one
| >control (or any other releated controls / classes) in
| there. The
| >output of a class library project is a .NET dll (an
| assembly)
| >
| >> 3. Give your vb guys the assembly. Which file?
| >The .dll created by the above project. Note, this is not
| a standard
| >windows dll, but rather a .NET assembly. Your vb guys
| either copy the
| >dll local to their project and do project | add
| references | pick your
| >dll.
| >
| >
| >.
| >
|