User Profile

Collapse

Profile Sidebar

Collapse
desigan
desigan
Last Activity: Oct 16 '06, 02:30 PM
Joined: Sep 8 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • desigan
    started a topic Send Method in Socket Programming in C#
    in .NET

    Send Method in Socket Programming in C#

    Hi,

    I did a sample program in C# for Socket Programming - One simple server and one client class.

    Following lines of code send the data ("TEST") to the Server.

    byte[] byteData = System.Text.Enc oding.ASCII.Get Bytes("TEST");
    if(m_clientSock et != null)
    {
    clientSocket.Se nd (byteData);
    }

    Unfortunately my callback method in Server program,...
    See more | Go to post

  • desigan
    replied to Connecting to Oracle and DB2 from C#
    in .NET
    Thanks for the reply Girish.

    I am using Client Server application.

    I found that we can use the following ways to connect.

    1) ODBC
    2) OLEDB
    3) Vendor specific APIs (like the one provided with C# Oracle.DataAcce ss)

    I am fine with Oracle. But, for DB2 I am not able to find suitable driver. Hence, I am looking out for that.

    Also, I am thinking about the better way...
    See more | Go to post

    Leave a comment:


  • desigan
    started a topic Connecting to Oracle and DB2 from C#
    in .NET

    Connecting to Oracle and DB2 from C#

    Friends,

    My application needs to connect to both Oracle and DB2 from C#.

    What is the best way to do it? [I am from Java and new to C#. In Java we write a common code in java JDBC API. This API will be implemented by both Oracle and DB2. Hence, my same code will work fine for both Oracle and DB2. Does any similar things exist in C#?]

    Also, kindly pass me some URLs which might be useful in this regard....
    See more | Go to post

  • desigan
    replied to Two Main Methods in a single project
    in .NET
    Please read the above statement as "What is the way to run the other class in parallel in the same environment?"...
    See more | Go to post

    Leave a comment:


  • desigan
    started a topic Two Main Methods in a single project
    in .NET

    Two Main Methods in a single project

    Hi,

    I have a single project, which contains two class files. Each class file has a Main() method.

    I set up one project as a start up project (in Visual C# Expression Edition IDE) and I am able to run it.

    What is the way to run the other class in parallel?

    Is there a way to call either classes separately using some commands?

    Regards,
    Desigan
    See more | Go to post

  • desigan
    replied to Design and Deployment of C# Programs
    in .NET
    Hi,

    Thanks for the reply.

    This is the problem that I face in short. I have a singleton class and in that there is a global variable. Of course (as you mentioned), this variable is accessible by any classes.

    Now, my application has
    - a console application that updates this variable
    - a GUI which also update the same variable

    Now, console application works fine. Say, it has...
    See more | Go to post

    Leave a comment:


  • desigan
    started a topic Design and Deployment of C# Programs
    in .NET

    Design and Deployment of C# Programs

    Hi All,

    I am new to C# and I am facing a problem with respect to design and deployment of C# program.

    My application needs the following:
    a) A console program will do some data processing and will store the results in a static variable in Singleton class.
    [Imagine the logic like this - This program takes the list of absent employees and find their emailids from a database and store the emailids in a...
    See more | Go to post
No activity results to display
Show More
Working...