Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to handle Image/Data from Centralized SQL Server Pin
Hema Bairavan21-Jan-13 5:59
Hema Bairavan21-Jan-13 5:59 
GeneralRe: How to handle Image/Data from Centralized SQL Server Pin
Pete O'Hanlon21-Jan-13 6:06
mvePete O'Hanlon21-Jan-13 6:06 
GeneralRe: How to handle Image/Data from Centralized SQL Server Pin
Eddy Vluggen21-Jan-13 6:10
professionalEddy Vluggen21-Jan-13 6:10 
AnswerRe: How to handle Image/Data from Centralized SQL Server Pin
V.21-Jan-13 1:32
professionalV.21-Jan-13 1:32 
GeneralRe: How to handle Image/Data from Centralized SQL Server Pin
Hema Bairavan21-Jan-13 6:08
Hema Bairavan21-Jan-13 6:08 
GeneralRe: How to handle Image/Data from Centralized SQL Server Pin
V.21-Jan-13 6:15
professionalV.21-Jan-13 6:15 
AnswerRe: How to handle Image/Data from Centralized SQL Server Pin
jschell21-Jan-13 8:05
jschell21-Jan-13 8:05 
SuggestionRe: How to handle Image/Data from Centralized SQL Server Pin
Hema Bairavan21-Jan-13 19:14
Hema Bairavan21-Jan-13 19:14 
Questionfingerprint recognition Pin
yinyin8421-Jan-13 0:37
yinyin8421-Jan-13 0:37 
AnswerRe: fingerprint recognition Pin
Abhinav S21-Jan-13 0:59
Abhinav S21-Jan-13 0:59 
GeneralRe: fingerprint recognition Pin
yinyin8425-Jan-13 18:29
yinyin8425-Jan-13 18:29 
AnswerRe: fingerprint recognition Pin
Rahul Rajat Singh21-Jan-13 1:05
professionalRahul Rajat Singh21-Jan-13 1:05 
GeneralRe: fingerprint recognition Pin
yinyin8425-Jan-13 18:28
yinyin8425-Jan-13 18:28 
AnswerRe: fingerprint recognition Pin
Sivaraman Dhamodharan21-Jan-13 1:26
Sivaraman Dhamodharan21-Jan-13 1:26 
GeneralRe: fingerprint recognition Pin
yinyin8425-Jan-13 18:21
yinyin8425-Jan-13 18:21 
QuestionC# - Changing background of another form Pin
Steven Borges20-Jan-13 23:48
Steven Borges20-Jan-13 23:48 
AnswerRe: C# - Changing background of another form Pin
Pete O'Hanlon21-Jan-13 0:22
mvePete O'Hanlon21-Jan-13 0:22 
AnswerRe: C# - Changing background of another form Pin
BobJanova21-Jan-13 5:45
BobJanova21-Jan-13 5:45 
GeneralRe: C# - Changing background of another form Pin
Steven Borges21-Jan-13 8:08
Steven Borges21-Jan-13 8:08 
GeneralRe: C# - Changing background of another form Pin
BobJanova21-Jan-13 13:20
BobJanova21-Jan-13 13:20 
QuestionC# way to create and save a video from locally stored images Pin
codechek20-Jan-13 23:42
codechek20-Jan-13 23:42 
QuestionEDI Parsers Pin
FatCatProgrammer20-Jan-13 12:52
FatCatProgrammer20-Jan-13 12:52 
AnswerRe: EDI Parsers Pin
Simon_Whale20-Jan-13 23:10
Simon_Whale20-Jan-13 23:10 
GeneralRe: EDI Parsers Pin
FatCatProgrammer21-Jan-13 5:37
FatCatProgrammer21-Jan-13 5:37 
QuestionReflection with args.Lenght =0 Pin
PozzaVecia20-Jan-13 12:25
PozzaVecia20-Jan-13 12:25 
suppose I have the following code
C#
class Program
{
    static void Main(string[] args)
    { 
      if( args.Lenght==0){    
    System.Console.WriteLine("Hello, World!");
          }
      else
      {System.Console.WriteLine("Bye Bye, World!");}
    }

}


Using reflection I need to call "Hello, Word!", I try this:
// Load the assembly into the current appdomain
//Name of the above exe should be given as parameter.
System.Reflection.Assembly newAssembly = System.Reflection.Assembly.LoadFrom(@"C:\AppDomains.exe");

// Invoke the Main method.
newAssembly.EntryPoint.Invoke(null, new string[] { null });


But Bye Bye appears...I should look for a solution without changing my Program class of course.
Any idea?
Thanks

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.