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

C#

 
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 
GeneralRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
SCADirector4-Feb-10 16:54
SCADirector4-Feb-10 16:54 
GeneralRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
SCADirector9-Feb-10 5:12
SCADirector9-Feb-10 5:12 
AnswerRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
gjak18-Feb-10 0:24
gjak18-Feb-10 0:24 
GeneralRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
SCADirector18-Feb-10 4:33
SCADirector18-Feb-10 4:33 
GeneralRe: FileSystemWatcher doesn't notice files downloaded to the watched directory via IE? Pin
gjak18-Feb-10 8:58
gjak18-Feb-10 8:58 
Questionip address Pin
mehrdad3334-Feb-10 6:38
mehrdad3334-Feb-10 6:38 
AnswerRe: ip address Pin
Ennis Ray Lynch, Jr.4-Feb-10 6:43
Ennis Ray Lynch, Jr.4-Feb-10 6:43 
AnswerRe: ip address Pin
Migounette4-Feb-10 6:47
Migounette4-Feb-10 6:47 
AnswerRe: ip address Pin
Richard MacCutchan4-Feb-10 8:51
mveRichard MacCutchan4-Feb-10 8:51 
QuestionVisual Studio 2008 C# / ASP.NET / MVC / LINQ Training Needed - AppDev? Pin
bdaoust4-Feb-10 5:55
bdaoust4-Feb-10 5:55 

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.