Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

Eric Haddan

@Eric Haddan
About
Posts
35
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Get the length of the path (not the filename)
    E Eric Haddan

    Gets the offset of the last backslash of a path. :omg: Enjoy!!

    int PathLen( LPCWSTR sWholePath)
    {
    CString sTmp(sWholePath),sTmp2;
    int iPos=sTmp.Find('\\'),iStart=iPos+1;
    while(1)
    {
    sTmp2=sTmp.Mid(iStart);
    iPos=sTmp2.Find('\\');
    if(iPos >= 0)
    iStart+=(iPos+1);
    else
    break;
    };
    return iStart;
    };

    The Weird and The Wonderful

  • The Azure Contest Winner Is...
    E Eric Haddan

    I emailed my info on the 20th, 2 days after the email. If you look at the number of entries, minus the unverified and entries after Dec 24th, there were only 109 eligible for the copy. I'm guessing it's still coming.

    The Lounge cloud

  • The Azure Contest Winner Is...
    E Eric Haddan

    Disappointed as well. :sigh: :(( I did however already receive my copy of Windows 7. :) Did you respond to the email and send all your mailing address info?

    The Lounge cloud

  • Why VB.Net Sucks Today
    E Eric Haddan

    Today??

    The Lounge csharp

  • I regret not attending the PDC
    E Eric Haddan

    Every full paid attendee except for microsoft and government employees received one. I heard government employees didn't receive one because they were not allowed to accept gifts. They were really skimping on other services, like no breakfasts and most snacks that they had between sessions. There was also no Universal Studios Night and no free bus trip back to the airport. So everyone was very excited when they found out we were getting the laptops. They are a little small, but bigger than a netbook and very cool.

    The Lounge com question

  • Rain, rain, come again!
    E Eric Haddan

    Go PNW!!!

    The Lounge javascript com question

  • Need A Registry Hack
    E Eric Haddan

    Why don't you just go into Control Panel -> Services and disable the "Windows Update" Service?

    The Lounge com windows-admin sales tools question

  • Lean and Mean article comp judging
    E Eric Haddan

    It's actually a little flattering that the judging is taking so long. I guess it's a tough competition. :-D

    The Lounge c++ architecture help

  • hey mister down-voter
    E Eric Haddan

    I'm glad that you now need to post a comment in order to score a 1 or a 2 on an article. Now I just get an occassional 3 where I know the bast#@rd would have given me a 1 before.

    The Lounge

  • Login from Windows 2003
    E Eric Haddan

    Well according to the documentation[^] 1311 is ERROR_NO_LOGON_SERVERS - There are currently no logon servers available to service the logon request. 1789 is ERROR_TRUSTED_RELATIONSHIP_FAILURE - The trust relationship between this workstation and the primary domain failed. Not sure how to fix it, but you may want to google ERROR_TRUSTED_RELATIONSHIP_FAILURE and see what you can come up with.

    C# database sysadmin windows-admin question

  • Using Code in a DLL
    E Eric Haddan

    You can try adding the path of the dll. I'm not totally sure if that works.

    C# csharp

  • Login from Windows 2003
    E Eric Haddan

    It would still help if you can tell me what method is actually failing. I'll assume it is LogonUser and I'll also assume that it is PInvoking to the Win32 API. After it fails by returning false, you can find the error code by calling Marshal.GetLastWin32Error().

    C# database sysadmin windows-admin question

  • Login from Windows 2003
    E Eric Haddan

    Where does it now work? any error messages?

    C# database sysadmin windows-admin question

  • Using Code in a DLL
    E Eric Haddan

    You would want to P/Invoke http://msdn.microsoft.com/en-us/magazine/cc164123.aspx[^]

    C# csharp

  • Starting text is disappeared if the rich textbox has no scroll bar
    E Eric Haddan

    Maybe you just need to add a vertical scrollbar :laugh:

    C# csharp question

  • button(visible&Enable) but CANNOT be pressed
    E Eric Haddan

    My guess is you should be creating the button in your m_dlg::OnCreate object, not in CTestView::OnCreate.

    C / C++ / MFC c++ help visual-studio com json

  • Violation of the Code Project Open License
    E Eric Haddan

    If you remember this, the author finally responded to me and said a colleague who was helping him provided the code and added my name back and provided links back to The Code Project. :-D

    The Lounge question

  • Violation of the Code Project Open License
    E Eric Haddan

    Thanks Sean! That's the best news I've heard today.

    The Lounge question

  • Violation of the Code Project Open License
    E Eric Haddan

    Wow, thanks for the info

    The Lounge question

  • Violation of the Code Project Open License
    E Eric Haddan

    I know what you're saying. It especially irritates me that their website beat out the codeproject's website in search rankings. Maybe I should yell at Google. ;)

    The Lounge question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups