Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
QuestionComboBox Drop down Forcolor change in disabled mode (Black color) Pin
Abhlu10-Oct-06 13:55
Abhlu10-Oct-06 13:55 
QuestionRe: ComboBox Drop down Forcolor change in disabled mode (Black color) Pin
Anthony Mushrow10-Oct-06 14:32
professionalAnthony Mushrow10-Oct-06 14:32 
AnswerRe: ComboBox Drop down Forcolor change in disabled mode (Black color) Pin
Abhlu10-Oct-06 15:41
Abhlu10-Oct-06 15:41 
GeneralRe: ComboBox Drop down Forcolor change in disabled mode (Black color) Pin
Anthony Mushrow10-Oct-06 15:53
professionalAnthony Mushrow10-Oct-06 15:53 
GeneralRe: ComboBox Drop down Forcolor change in disabled mode (Black color) Pin
Abhlu10-Oct-06 16:19
Abhlu10-Oct-06 16:19 
QuestionHow to solve this strong name issue? Pin
kolu narayan10-Oct-06 13:10
kolu narayan10-Oct-06 13:10 
AnswerRe: How to solve this strong name issue? Pin
led mike10-Oct-06 13:48
led mike10-Oct-06 13:48 
GeneralRe: How to solve this strong name issue? Pin
kolu narayan11-Oct-06 3:45
kolu narayan11-Oct-06 3:45 
Thanks for your reply.

This is what happening, i had tried your suggestion as well. but unfortunately things didnt well.


I have a COM dll in C# which i had named 'MyWrapper.dll'. Now in this dll i am referencing other 3rd party dll's which are
'NCI.EasyObjects.dll' and
'Microsoft.Practices.EnterpriseLibrary.Data.dll'. Now when i tried to strong name my MyWrapper.dll it gives the following error.


error CS1577: Assembly generation failed -- Referenced assembly 'NCI.EasyObjects' does not have a strong name
error CS1577: Assembly generation failed -- Referenced assembly 'Microsoft.Practices.EnterpriseLibrary.Data' does not have a strong name



Now like what you said i had tried

C:\MyWrapper\bin\Debug>dir
10/10/2006 02:09 PM 20,480 DbConnection.dll
10/11/2006 09:27 AM 16,384 DTS_Access.dll
10/11/2006 09:27 AM 15,872 DTS_Access.pdb
12/17/2002 06:23 PM 131,072 Interop.DTS.dll
09/15/2006 02:07 PM 57,344 Microsoft.Practices.EnterpriseLibrary.Com
mon.dll
09/15/2006 02:07 PM 118,784 Microsoft.Practices.EnterpriseLibrary.Con
figuration.dll
09/15/2006 02:07 PM 86,016 Microsoft.Practices.EnterpriseLibrary.Dat
a.dll
10/11/2006 09:35 AM 596 MyKeyPair.snk
03/12/2006 03:45 PM 73,728 NCI.EasyObjects.dll
11/29/2005 12:44 AM 145,755 NCI.EasyObjects.xml



C:\MyWrapper\bin\Debug>tlbimp NCI.EasyObjects.dll /delaysign /publi
ckey:MyKeyPair.snk /out:Interop.NCI.EasyObjects.dll
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:\MyWrapper\bin\Debug\NCI.EasyObject
s.dll' is not a valid type library


C:\MyWrapper\bin\Debug>tlbimp Microsoft.Practices.EnterpriseLibrary
.Data.dll /delaysign /publickey:MyKeyPair.snk /out:Interop.Microsoft.Practices.
EnterpriseLibrary.Data.dll
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:\MyWrapper\bin\Debug\Microsoft.Prac
tices.EnterpriseLibrary.Data.dll' is not a valid type library




Bascilly why am i getting "is not a valid type library" error. Please help. How would i be able to strong name those dll's which are 3rd party.
GeneralRe: How to solve this strong name issue? Pin
kolu narayan11-Oct-06 5:21
kolu narayan11-Oct-06 5:21 
QuestionApp.Config and ConfigurationSection Pin
Jamie Nordmeyer10-Oct-06 13:07
Jamie Nordmeyer10-Oct-06 13:07 
AnswerRe: App.Config and ConfigurationSection Pin
led mike10-Oct-06 13:40
led mike10-Oct-06 13:40 
QuestionHow can I delete all files and subfolders within a directory ? Pin
Nadia Monalisa10-Oct-06 13:06
Nadia Monalisa10-Oct-06 13:06 
AnswerRe: How can I delete all files and subfolders within a directory ? Pin
led mike10-Oct-06 13:53
led mike10-Oct-06 13:53 
GeneralRe: How can I delete all files and subfolders within a directory ? Pin
Nadia Monalisa10-Oct-06 19:17
Nadia Monalisa10-Oct-06 19:17 
GeneralRe: How can I delete all files and subfolders within a directory ? Pin
Stefan Troschuetz10-Oct-06 21:52
Stefan Troschuetz10-Oct-06 21:52 
GeneralRe: How can I delete all files and subfolders within a directory ? Pin
led mike11-Oct-06 5:03
led mike11-Oct-06 5:03 
GeneralRe: How can I delete all files and subfolders within a directory ? Pin
hagarwal2-Mar-09 16:57
hagarwal2-Mar-09 16:57 
QuestionRe: How can I delete all files and subfolders within a directory ? Pin
led mike3-Mar-09 4:40
led mike3-Mar-09 4:40 
QuestionCD Product Key Pin
picasso210-Oct-06 12:18
picasso210-Oct-06 12:18 
AnswerRe: CD Product Key Pin
Guffa10-Oct-06 13:09
Guffa10-Oct-06 13:09 
GeneralRe: CD Product Key Pin
picasso210-Oct-06 17:59
picasso210-Oct-06 17:59 
QuestionUsing float.Parse(string) and language problems ! Pin
pe_chaut10-Oct-06 12:01
pe_chaut10-Oct-06 12:01 
AnswerRe: Using float.Parse(string) and language problems ! Pin
Guffa10-Oct-06 13:12
Guffa10-Oct-06 13:12 
QuestionSending commercial SMS Pin
Goalie3510-Oct-06 9:42
Goalie3510-Oct-06 9:42 
QuestionSensible way to scale and display large 1 bit Tiff G4!! Pin
abcxyz8210-Oct-06 8:36
abcxyz8210-Oct-06 8:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.