CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: battula32

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    3,296

    Re: Windows Service Won't Stay Up

    Hi,

    Check Administrator tools/ Event viewer windows logs/ application.

    Here you will why this service is stopped

    Regards
    Ravi.
  2. Replies
    8
    Views
    6,722

    Re: What is WRONG with this code?

    One more thing
    If you use more than one case statement, these case statements should end with break or continue or goto etc.
    ex:
    case "NW":
    case "nw":
    case "Nw":...
  3. Replies
    8
    Views
    6,722

    Re: What is WRONG with this code?

    few things I found

    rand = new Random(); // I guiess rand instance you crated properly
    battlechance = Random.Next(1, 100); this should be rand not Random
    randtwo should of type Random not int
    ...
  4. Replies
    1
    Views
    2,467

    Re: Hashtable v.s. Dictionary

    http://www.codeproject.com/script/Forums/View.aspx?fid=1649&msg=2585464
  5. Replies
    6
    Views
    5,484

    Re: Communication Between Two WCF Services

    Hi

    I solved it. Actually the problem is not with coding or configuration. The proble is with security settings.Earlier I launched this server as Local system account. Now I changed to Administator...
  6. Re: I cant figure out why this isnt animating >=/

    Hi

    Check, Whether time is enable or not,

    Check after loading the form or at the time of loading form

    Regards
    Ravi.Battula
  7. Re: Can a program control or access data from another?

    Remoting will do.

    google it!..
  8. Re: How do i add EventHandlers to my Inherited or custom classes?

    Hi,
    If you want to creare totally new custom event handler,
    First create a public event class like this



    public class clsCustomEvenArgs : EventArgs
    {
    public string m_sEvent1;
    ...
  9. Replies
    4
    Views
    948

    Re: Printing in C#

    Google it, You can find lot of samples in Datagrid printing

    http://www.codeproject.com/cs/miscctrl/DataGridPrinter.asp


    Regards
    Ravi.Battula
  10. Replies
    6
    Views
    5,484

    Re: Communication Between Two WCF Services

    This Service is not GUI type of service.

    Client can able talk with this service. If client calls any method of that service, Sevice has to invoke a method in other service using WCF service...
  11. Replies
    6
    Views
    5,484

    Re: Communication Between Two WCF Services

    No,

    I am not using WEb service, It is windows service and I am using netTcpBinding.

    Regards
    Ravi.Battula
  12. Replies
    6
    Views
    5,484

    Re: Communication Between Two WCF Services

    Hi,

    I am getting this exception

    {System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout...
  13. Replies
    6
    Views
    5,484

    Communication Between Two WCF Services

    Hi,
    I have two WCF Services say Ser1 and Ser2. Both services are running in two different machines and both services are Windows services. I want to communicate those two services. Is it possible?....
  14. Replies
    27
    Views
    2,735

    Re: variable shared between threads

    I used this concept to solve my purpose, Here I handled more than 100 threads



    ///
    private object locker = new object();
    public delegate void EventTable(object sender, clsEventTableArgs e);...
  15. Replies
    5
    Views
    1,103

    Re: Main Method, Threading & GUIs

    You can Instantiatea class object instead of from, In application.Run(..);

    something like this


    static class Program
    {
    /// <summary>
    /// The main entry point for the...
  16. Replies
    3
    Views
    700

    Re: Date Formatting Problem

    The format what you are using is correct.
    Try This

    DateTime dt = DateTime.Now;
    string stemp=dt.ToString("MMMM dd yyyy");

    Regards
    Ravi.Battula
  17. Re: New to C#, having trouble with an event not firing...

    Hi,

    If you r using some of control properties inside the background worker thread DoWork event, It won't work properly. I faced same type of issues using other control properties inside DoWork...
  18. Replies
    7
    Views
    1,848

    Re: How to erase a line

    HI

    One option is chage line color to background control color.

    Regards
    Ravi.Battula
  19. Re: VS Addin. Detecting when Debugging Starts

    HI

    If I understand properly, This is the solution

    first check DEBUG in project properties. This part of code will only run in debug mode



    #if DEBUG
    Assembly a = Assembly.LoadFrom (...
  20. Replies
    1
    Views
    745

    Form Resizing problem??

    I have some strange problem.

    This prbolem is occurred when I click on Maximize and restore buttons.
    If I click on Maximize button, form is maximized, If I click on restore buttom Form_resize...
  21. Replies
    6
    Views
    2,623

    Re: Find Functionality in Notepad

    Thanks Charu

    I will use SetForegroundWindow(...)

    Thanks and Regards
    Ravi.Battula
  22. Replies
    6
    Views
    2,623

    Re: Find Functionality in Notepad

    If I call it as non-modal dialog, If I select the flexgrid, then Find window is going behind the Flexgrid form(Main window).

    But in case of notepad after selecting notepade text also, find window...
  23. Replies
    6
    Views
    2,623

    Find Functionality in Notepad

    Hi All,

    I am working on flexgid, Here I need to find some of the strings populating in flexgrid. I designed find dialog layout just like Notepad find dialogbox.

    But I didn't get the total...
  24. Re: Calling Form controls from Other classes

    Hi
    Thanks for the reply. I got it. I missed making the control as public.

    Regards
    Ravi
  25. Calling Form controls from Other classes

    Hi All,

    Here I have some problem. my main form become too bit, It has lot of controls, And one timer is running in it, for loading and performing some tasks it is taking time, For that I want to...
Results 1 to 25 of 108
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured