Click here to Skip to main content
15,922,512 members
Home / Discussions / C#
   

C#

 
AnswerRe: Inheritance/Polymorphism Pin
Wamuti4-Feb-10 21:58
Wamuti4-Feb-10 21:58 
AnswerRe: Inheritance/Polymorphism Pin
PIEBALDconsult5-Feb-10 3:19
mvePIEBALDconsult5-Feb-10 3:19 
GeneralRe: Inheritance/Polymorphism Pin
Sundeepan Sen5-Feb-10 7:04
Sundeepan Sen5-Feb-10 7:04 
GeneralRe: Inheritance/Polymorphism Pin
PIEBALDconsult5-Feb-10 7:50
mvePIEBALDconsult5-Feb-10 7:50 
GeneralRe: Inheritance/Polymorphism Pin
Sundeepan Sen5-Feb-10 9:24
Sundeepan Sen5-Feb-10 9:24 
AnswerRe: Inheritance/Polymorphism Pin
Keith Barrow5-Feb-10 5:23
professionalKeith Barrow5-Feb-10 5:23 
GeneralRe: Inheritance/Polymorphism Pin
Sundeepan Sen5-Feb-10 10:05
Sundeepan Sen5-Feb-10 10:05 
QuestionWindowsAPICodePack GlassForm Question Pin
harsimranb4-Feb-10 17:06
harsimranb4-Feb-10 17:06 
AnswerRe: WindowsAPICodePack GlassForm Question Pin
#realJSOP5-Feb-10 0:17
professional#realJSOP5-Feb-10 0:17 
GeneralRe: WindowsAPICodePack GlassForm Question Pin
harsimranb5-Feb-10 9:14
harsimranb5-Feb-10 9:14 
GeneralRe: WindowsAPICodePack GlassForm Question Pin
#realJSOP5-Feb-10 9:37
professional#realJSOP5-Feb-10 9:37 
GeneralRe: WindowsAPICodePack GlassForm Question Pin
harsimranb5-Feb-10 14:45
harsimranb5-Feb-10 14:45 
GeneralRe: WindowsAPICodePack GlassForm Question Pin
#realJSOP5-Feb-10 22:28
professional#realJSOP5-Feb-10 22:28 
QuestionHow would i get the current Index ID of the currently displayed record Pin
tonyonlinux4-Feb-10 15:51
tonyonlinux4-Feb-10 15:51 
AnswerRe: How would i get the current Index ID of the currently displayed record Pin
PIEBALDconsult4-Feb-10 16:39
mvePIEBALDconsult4-Feb-10 16:39 
QuestionUsing objects written in C++ Pin
irc07a4-Feb-10 10:38
irc07a4-Feb-10 10:38 
AnswerRe: Using objects written in C++ Pin
AspDotNetDev4-Feb-10 11:35
protectorAspDotNetDev4-Feb-10 11:35 
QuestionUnable to start the remoting service Pin
indian1434-Feb-10 8:31
indian1434-Feb-10 8:31 
Hi,
I made a sample remoting library and a simple windows application to run and stop the remoting service. When I start for the first time it is starting fine, but when I stop and start it it is giving me following error.
Only one usage of each socket address (protocol/network address/port) is normally permitted Can anybody help me inthis regard.
My code is as below.
private void Run()
{
    ArkClass.running = true;
    channel = new HttpServerChannel(1111);
    ChannelServices.RegisterChannel(channel, false);
    RemotingConfiguration.RegisterWellKnownServiceType(typeof(ArkClass),
        "ArkClass", WellKnownObjectMode.Singleton);
}
private void btnRun_Click(object sender, EventArgs e)
{
    try
    {
        Run();
        MessageBox.Show("Server is Running", "Info", MessageBoxButtons.OK,MessageBoxIcon.Information);
        btnRun.Enabled = false;
        btnShutdown.Enabled = true;
    }
    catch (Exception ex)
    {
        MessageBox.Show("An error has occured", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
        Console.WriteLine(ex.Message);
    }
}
private void btnShutdown_Click(object sender, EventArgs e)
{
    MessageBox.Show("Server is shutting down", "Info", MessageBoxButtons.OK, MessageBoxIcon.Information);
    btnRun.Enabled = true;
    btnShutdown.Enabled = false;
    ArkClass.running = false;
}


Thanks & Regards,

Md. Abdul Aleem
NIIT technologies

AnswerRe: Unable to start the remoting service Pin
Super Lloyd4-Feb-10 16:46
Super Lloyd4-Feb-10 16:46 
QuestionFileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
SCADirector4-Feb-10 8:25
SCADirector4-Feb-10 8:25 
AnswerRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
AspDotNetDev4-Feb-10 11:43
protectorAspDotNetDev4-Feb-10 11:43 
GeneralRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
SCADirector4-Feb-10 13:51
SCADirector4-Feb-10 13:51 
AnswerRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
Dave Kreskowiak4-Feb-10 15:14
mveDave Kreskowiak4-Feb-10 15:14 
GeneralRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
SCADirector4-Feb-10 15:58
SCADirector4-Feb-10 15:58 
GeneralRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
Dave Kreskowiak4-Feb-10 16:42
mveDave Kreskowiak4-Feb-10 16:42 

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.