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

Search:

Type: Posts; User: hankdane

Page 1 of 15 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    22
    Views
    13,496

    Re: CHttp... Post with "action"

    You don't have to do anything to 'make it into one string.' Just change the form action type to POST.
  2. Re: Setting a control's position relative to the GroupBox

    There isn't a way in the plain windows API to make dialog controls move as a group. A child window will move with its parent, but a group control does not act as a parent window.

    I usually use...
  3. Replies
    4
    Views
    1,572

    Re: ATL COM w/ WININET

    When you say "service exe," do you mean you are running your process as a service? What happens if you set up your service to run under your own account instead of the system account?

    Do you use...
  4. Replies
    1,585
    Views
    265,429

    Re: AAAh A joke(Lets share Jokes)

    David, that was kind of a serious story for a joke! ;)

    In that vein, attached are a few pictures of interesting car wrecks. Enjoy.
  5. Re: how to get handle of menu bar of dexplore.exe

    It's probably using its own menu implementation, not built-in menus. Notice that the menu style is different too. Also notice that it's not using WM_COMMAND to signal the menu selections. You will...
  6. Replies
    1,585
    Views
    265,429

    Re: AAAh A joke(Lets share Jokes)

    Hey, that's me... but you know, if all the cars in the world were lined up like that, it would be perfectly safe to pass. :rolleyes:

    I liked #13 and the cat story. :thumb:
  7. Replies
    3
    Views
    810

    Re: Win32 API hooks and OS hardening

    Your client probably has a domain structure set up with policies completely different from those in place at your office.

    Try this:
    Have the client run your service as an administrator (not...
  8. Replies
    1
    Views
    1,270

    Re: tree view get info from selected item

    Why are you setting iImage and iSelectedImage? Set hItem only, since that is what you are searching on.
  9. Replies
    4
    Views
    1,572

    Re: ATL COM w/ WININET

    Looks like a multi-thread problem not necessarily related to ATL or WinInet.

    You should initialize a new WinInet session from scratch on each thread. Other than that, WinInet is thread safe. I...
  10. Re: hooking into WM_PAINT event of an application

    What I would do is:
    1. Subclass the application's main window.
    2. Look for WM_PAINT
    - Pass message to original window function, then add your own drawing afterwards.
    3. Pass on all other...
  11. Re: GDI, CDC, MFC.. Intuitive graphic programming nonexistant here?

    FWIW, Charles Petzold's books explain things in almost the exact manner Typewriter suggested. Highly recommended if you are looking for a comprehensive but comprehensible introduction.
  12. Replies
    1
    Views
    1,105

    Re: Regarding c++ & Just-In-Time Debugging

    Just-in-time debugging is only used to attach to an already running process. You can debug your program by just running the process in the debugger directly.

    Do you have VS? If not, and you...
  13. Replies
    2
    Views
    5,392

    Re: Managing Windows Firewall remotely

    Here's a link to the Windows firewall API:

    http://msdn2.microsoft.com/en-us/library/aa366415.aspx

    I wonder if you can fire off a WMI script remotely to modify the WF in the way you want.
    ...
  14. Replies
    2
    Views
    909

    Re: How can I view .dll file?

    It's not clear what you mean, but with Visual Studio, you can:

    1. Open a DLL in Binary mode, which will give you information about all its contents in binary form.
    2. Open the DLL in Resource...
  15. Replies
    3
    Views
    1,235

    Re: Vista and NT exports

    Quell,

    Regedit will give you the 'true' view of the registry, although it probably depends on the account you are running as.

    A good Vista compatibility overview can be found here: ...
  16. Replies
    1
    Views
    699

    Re: Writing cookies in Windows Vista

    I don't understand how your app can work, on Vista or anywhere else. A cookie is initiated by the server. A cookie set by the client will be ignored by the server.
  17. Replies
    3
    Views
    1,235

    Re: Vista and NT exports

    The key is probably created, but not where you think it's created. Vista uses virtualization, so that if you write to protected areas, such as under the HKLM registry root, or the Program Files...
  18. Replies
    4
    Views
    1,365

    Re: How do I get the size of a DC?

    That's correct. For an on-screen DC, the relevant size is that of the client area of the window. For an in-memory DC, the relevant size is that of the bitmap currently selected into the DC.
  19. Replies
    2
    Views
    1,610

    Re: GUIDs from ITypeLib

    I seem to recall having encountered the same frustration and concluded it wasn't possible. Let me know if you find a way.
  20. Re: GDI, CDC, MFC.. Intuitive graphic programming nonexistant here?

    Check out the Scribble sample.

    http://msdn2.microsoft.com/en-us/library/f35t8fts(VS.80).aspx

    It may be a good starting point for you, and you may also be able to lift portions of it wholesale...
  21. Re: URGENT - Visual C++ ADD-IN Developed for OFFICE 2000/2003 is not working for VISTA

    There could be any number of things going on. I suggest you go to the http://msdn2.microsoft.com/en-us/windowsvista/aa904987.aspx
    Application Compatibility web site and check out the "Cookbook"...
  22. Replies
    4
    Views
    1,365

    Re: How do I get the size of a DC?

    A Device Context doesn't have a size.
  23. Replies
    3
    Views
    4,406

    Re: DES encryption using CryptoAPI's

    Yes, getting two different modules to encrypt in the same way really can be frustrating, especially when the two modules are written in different languages. I've had to do that before, aligning...
  24. Replies
    3
    Views
    4,406

    Re: DES encryption using CryptoAPI's

    Shouldn't the "Final" parameter to CryptEncrypt() be TRUE?

    The code looks like it takes all defaults for parameters such as initialization vector, padding, mode, salt, etc. These are all...
  25. Re: How can i get "paste event" from the clipboard?

    Your basic problem is that there is no such thing as a "paste event." There is a command event, but a command that means "paste" to one app may mean "print" to another.

    There is a WM_PASTE...
Results 1 to 25 of 361
Page 1 of 15 1 2 3 4





Click Here to Expand Forum to Full Width

Featured