Click here to Skip to main content
15,905,877 members
Home / Discussions / C#
   

C#

 
QuestionCould not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Marat Beiner12-Feb-11 2:34
Marat Beiner12-Feb-11 2:34 
AnswerRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Henry Minute12-Feb-11 3:21
Henry Minute12-Feb-11 3:21 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Marat Beiner12-Feb-11 6:20
Marat Beiner12-Feb-11 6:20 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Henry Minute12-Feb-11 6:32
Henry Minute12-Feb-11 6:32 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT [modified] Pin
Marat Beiner12-Feb-11 8:32
Marat Beiner12-Feb-11 8:32 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Henry Minute12-Feb-11 8:58
Henry Minute12-Feb-11 8:58 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Marat Beiner12-Feb-11 9:10
Marat Beiner12-Feb-11 9:10 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Henry Minute12-Feb-11 9:59
Henry Minute12-Feb-11 9:59 
OK, now I'm really confused.

Your usings do not include System.Net nor System.Net.Sockets and yet you use, according to your code
C#
         private static TcpListener myList;
/pre>

That is not possible.

Either the usings you posted are incorrect or you have edited your code, not pasted it directly.
<div class="signature">Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
"I want to report a fraud. The government is lying to us all."
I wouldn't let CG touch my Abacus!
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.</div>

GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Marat Beiner12-Feb-11 10:39
Marat Beiner12-Feb-11 10:39 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Henry Minute12-Feb-11 12:20
Henry Minute12-Feb-11 12:20 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT [modified] Pin
Marat Beiner12-Feb-11 13:59
Marat Beiner12-Feb-11 13:59 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Henry Minute13-Feb-11 1:44
Henry Minute13-Feb-11 1:44 
GeneralRe: Could not load file or assembly or one of its dependencies. The given assembly name or codebase was invalid. exception from HRESULT Pin
Marat Beiner13-Feb-11 2:01
Marat Beiner13-Feb-11 2:01 
QuestionProblem with C# code to backup sql server 2005 database Pin
M Nasir Uddin12-Feb-11 1:36
M Nasir Uddin12-Feb-11 1:36 
AnswerRe: Problem with C# code to backup sql server 2005 database Pin
Mycroft Holmes12-Feb-11 2:06
professionalMycroft Holmes12-Feb-11 2:06 
QuestionMessage Closed Pin
11-Feb-11 21:19
wenlong8811-Feb-11 21:19 
AnswerRe: Not C# question! Pin
Richard MacCutchan11-Feb-11 21:21
mveRichard MacCutchan11-Feb-11 21:21 
GeneralRe: Not C# question! Pin
OriginalGriff11-Feb-11 22:22
mveOriginalGriff11-Feb-11 22:22 
Questionhow to change the colour of buttons through timer in c# window application Pin
aeman11-Feb-11 20:22
aeman11-Feb-11 20:22 
AnswerRe: how to change the colour of buttons through timer in c# window application Pin
DaveyM6911-Feb-11 22:11
professionalDaveyM6911-Feb-11 22:11 
GeneralRe: how to change the colour of buttons through timer in c# window application Pin
aeman11-Feb-11 22:34
aeman11-Feb-11 22:34 
GeneralRe: how to change the colour of buttons through timer in c# window application Pin
DaveyM6911-Feb-11 23:04
professionalDaveyM6911-Feb-11 23:04 
GeneralRe: how to change the colour of buttons through timer in c# window application Pin
aeman12-Feb-11 0:08
aeman12-Feb-11 0:08 
GeneralRe: how to change the colour of buttons through timer in c# window application Pin
DaveyM6912-Feb-11 0:20
professionalDaveyM6912-Feb-11 0:20 
GeneralRe: how to change the colour of buttons through timer in c# window application Pin
aeman12-Feb-11 1:02
aeman12-Feb-11 1:02 

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.