Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

brussell brussell
  • Implementing a 28-hour day

    SlackmasterK wrote:
    Technically speaking, one day is 23 hours, 56 minutes, 2 seconds, ~400ms. Why not go with this technically-correct number instead? It even eliminates the necessity for leap day.


    How would removing 4 minutes from each day remove the need for an extra day to be added every four years?

  • DateTime.Day problem in C++.NET

    Just realized I was in Release build and wasn't using the variable anywhere yet so it was being optimized away.

    I have switched my code to: String* sDate = dt.ToString( "yyyyMMdd" );

    Thanks!

  • DateTime.Day problem in C++.NET

    Yeah, I realized that.
    Month and date should be double digit always.
    I am looking to get 20051107.

    That doesn't change the problem I am having with the date.

  • DateTime.Day problem in C++.NET

    I am trying to get the current date in the format of YearMonthDay (2005117) in C++.NET.

    I have tried all sorts of ways, but can't get the date on it.

    I have tried to take dt.Year and concat dt.Month and dt.Day, but end up with 200511.

    I have tried taking the int dt.Day and pass it into an array of string versions of dates.
    The command window gives me a good value, but string pointer it is returning to is bad.

    The last thing I just tried was
              
                DateTime dt = DateTime::Now;
                String* delimStr = S"/";
                Char delimiter[] = delimStr->ToCharArray();
           
                String* saDate[] = dt.ToShortDateString()->Split( delimiter );
                String* sDate = saDate[2];
                sDate = String::Concat( sDate, saDate[0] );
                sDate = String::Concat( sDate, saDate[1] );

    and that gets me 200511 also.

    Any ideas? This doesn't make any sense.
    Year and month work fine, but no matter what, I can't get a date...

  • .BATs in C++.NET

    How do I run my .bat from my C++.NET program?

    I thought I had done this before, but I don't remember how.

  • Table columns move

    W3bbo wrote:
    brussell wrote:I am having a problem with my site.
    It is writtin in ASP.NET.

    I have a table that has three rows.
    The top row is for a header, the bottom for a footer.
    Those each have one column.

    The middle row has two columns.
    The left one is for a menubar.
    It is supposed to be set to a width of 170 pixels and not move.
    The right one is the content for that page.


    BURN THE HERETIC!


    Saw that coming. Smiley

  • Table columns move

    Well, that looks better, thanks.

    The problem with that is it puts the right column right against the menubar in the left column.

    But I can use CellPadding to put a little space back in.


  • Table columns move

    I am having a problem with my site.
    It is writtin in ASP.NET.

    I have a table that has three rows.
    The top row is for a header, the bottom for a footer.
    Those each have one column.

    The middle row has two columns.
    The left one is for a menubar.
    It is supposed to be set to a width of 170 pixels and not move.
    The right one is the content for that page.

    In Visual Studio, everything looks great.
    In IE, on some pages, the left column expands based on the width of the browser.
    The main page had looked fine in IE until I removed the last line of text (no tags, just text) from the right column of the middle row.
    I put it back and the page was fine again.
    I viewed source on both versions (with and without the line) and the only difference in code was the line...

    I don't get what is going on. I don't want that cell to expand.

    Can anyone please help?

    Edit: and before anyone says it's a problem with IE, it happens in Firefox too.

  • Microsoft flips off its users

    out180 wrote:
    This drives me INSANE with my test bed.  I can no longer test against specific patch levels because in order to run Windows Update I need to pass WGA but in order to pass WGA I need to activate Windows.

    I, of course, just disable the add-in in order to continue my efforts but it is a load of crap in the end.  I'm not proud of how I get the job done but it is all MS has left me with.

    I guess I could just activate every test box I build.  Yeah, in a week my XP activations would get bumped to phone activation and eventually the activation people would question what was going on.  Actually, while I can't find it at the moment, MSDN docs recommend you not activate if you are using an OS install for testing less than 90 days.  That's just peachy if you want an RTM, pure SP1 or SP2 machine.  No fully up to date boxes, especially no non-critical patches.  Not without activating / passing WGA..


    Why not get a volume license install CD that lets you install for a whole company and doesn't require each computer to be activated?
    That is what we have here so we don't have to worry about that for test machines and we can install as many times as we want on the test machines
    To make it even faster and easier now, we install once as plain, then Ghost it and don't have to worry about installing it again anyway.

  • Quit locking threads

    It looks to me like it was locked because it is almost a year old and was brought back to advertise a product and there are other, more current threads on the first page of Coffee House.