User Profile

Collapse

Profile Sidebar

Collapse
khaing
khaing
Last Activity: Jun 29 '10, 03:19 AM
Joined: Apr 19 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • khaing
    replied to How to find the dates between two dates
    It is not a school homework.
    I try to write and I did it.
    Here is the code.
    The startDate and endDate comes in dd-MM-yyyy format and the 'Days' variable contains the days (eg.,'Monday Wednesday Friday').


    Code:
    public ArrayList BetweenDates(string startDate, string endDate)
            {
                DateTime sdt = DateTime.ParseExact(startDate, "dd-MM-yyyy", System.Globalization.CultureInfo.InvariantCulture);
    ...
    See more | Go to post
    Last edited by Niheel; May 10 '10, 11:22 AM. Reason: code tags

    Leave a comment:


  • khaing
    started a topic How to find the dates between two dates

    How to find the dates between two dates

    How can I get the dates between two dates depending on days?
    For example, if I give the start date '10-05-2010' and end date '24-05-2010' and days are Mon, Wed, Fri , the result should be '10-05-2010', '12-05-2010', '14-05-2010', '17-05-2010', '19-05-2010', '21-05-2010', '24-05-2010'.
    See more | Go to post

  • khaing
    replied to Transparent Button in C#
    I found why my procedures doesn't work for transparent button.
    It's my thinking wrong.

    The back color of my form is white. I add a label and set it's image. I put the transparent button onto that label. It's normal that I can see only white color because the form's back color is white.

    When I put a transparent button onto something, I think wrong I can see anything what's at the back of it (in this case, the color...
    See more | Go to post

    Leave a comment:


  • khaing
    started a topic Transparent Button in C#

    Transparent Button in C#

    I have a button in c# windows forms and set the image property of that button as menubtn.png (i want the transparent image)
    But it doesn't work and show white color.
    I also set the BackColor property to Transparent and it also shows white color.
    How can I get the transparent button?
    See more | Go to post

  • khaing
    started a topic net use in c#

    net use in c#

    hello,
    i'm a new programmer so please understand if my question is too easy.
    What's the meaning of /c in following statements which is discussed in "System.Diagnos tics.ProcessSta rtInfo to start a session" article.
    Code:
    public void InitiateSession(string server,string userName, string passWd
    )
    {
    //To start the command
    System.Diagnostics.ProcessStartInfo psi = new
    System.Diagnostics.ProcessStartInfo();
    ...
    See more | Go to post
    Last edited by tlhintoq; Apr 19 '10, 03:56 PM. Reason: [CODE] ...Your code goes between code tags [/CODE]
No activity results to display
Show More
Working...