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

Search:

Type: Posts; User: Mike Pliam

Page 1 of 5 1 2 3 4

Search: Search took 0.08 seconds.

  1. CFileDialog mulitple selection limit - is there a workaround ?

    In my attempt to capture multiple files using CFileDialog I discovered that there is a limit on the number of characters in the file name buffer. See http://support.microsoft.com/kb/179372

    I...
  2. Re: How to capture a folder address with drag and drop ?

    While those references are generally informative, they don't really tell you how to get a folder address when you drag a folder onto a window. In fact, there so wordy and convoluted and lacking in...
  3. How to capture a folder address with drag and drop ?

    I am certain that this is possible, but cannot figure out how to do it.

    Any ideas greatly appreciated.
  4. Replies
    28
    Views
    831

    Re: deployment catch 22

    Stupid of me, of course!!

    Thank you once again. This works:



    size_t nchars = 0;
    wchar_t wbuf[1024];
    memset(wbuf, 0x00, 1024 * sizeof(wchar_t));
    errno_t ent = mbstowcs_s(&nchars,...
  5. Replies
    28
    Views
    831

    Re: deployment catch 22

    Thanks. I'll try that. Please note that I edited my last post regarding Unicode just as you posted your last comment.

    When I use devenv ueberkrypt.exe from the VS command prompt, a new VS 2010...
  6. Replies
    28
    Views
    831

    Re: deployment catch 22

    Thanks, Igor. Yours is a far more sophisticated approach than mine and seems to work quite nicely. I removed the single break point in your code, but it still hangs when I attempt to run in debug...
  7. Replies
    28
    Views
    831

    Re: deployment catch 22

    Thanks for that idea, Igor. It occurred to me also, but I was unable to get the text from memory -- the void * szTemp buffer made it quite difficult for me and my attempts to trace it returned...
  8. Replies
    28
    Views
    831

    Re: deployment catch 22

    Paul, I do try to use GetLastError whenever I encounter a runtime problem. But getting the error message out is never pleasant, a fact attested to by the many complaints voiced on the internet...
  9. Replies
    28
    Views
    831

    Re: deployment catch 22

    Do you ever get the feeling that you're wandering in circles?

    Even though I finally got InternetOpen and InternetOpenUrl to work to download and read the update file from the website, it will not...
  10. Replies
    28
    Views
    831

    Re: deployment catch 22

    Thanks, Martin. The InternetOpenUrl error is:

    Don't know how to properly initialize WinINetAPI.

    Testing the target url file with a browser, it readily downloads the file, but that is not what...
  11. Replies
    28
    Views
    831

    Re: deployment catch 22

    In fact, there are reliable programs that place dlls, exe's and whathaveyou in the User directory, e.g., Juniper Networks/Setup Client. But that is not the issue here. I agree that it would be much...
  12. Re: Could use some help with this interface

    Thanks alot Arjay,

    This works after making some minor changes. It is somewhat confusing which panes belong to which CSplitterWnd because there is only 1 column with 2 rows and the upper right...
  13. Could use some help with this interface

    I have been working with a MDI 3-way child splitter that works pretty well - but I cannot figure out how to precisely control the split windows.

    The basic idea is to split each child window as...
  14. Replies
    28
    Views
    831

    Re: deployment catch 22

    In order to compare the user's version with the latest and greatest version, the user would have to use his browser to go to the website to check a recent posting, a cumbersome task, or obtain 'the...
  15. Replies
    28
    Views
    831

    Re: deployment catch 22

    I misspoke about the dll. No dll is placed in the User directory. Sorry. But the *.exe is a simple Win32 CheckForUpdates.exe that the Main App runs via a ShellExecute to do what it's name...
  16. Replies
    28
    Views
    831

    deployment catch 22

    I have dialog app that requires two external *.exe s to function properly. The most important of these is Init.exe which copies a couple of needed files from the main app root (installation)...
  17. Windows Service in Win7 would be nice ... but ...

    Through courtesy of:

    A basic Windows service in C++ (CppWindowsServ​ice)
    This code sample demonstrates creating a basic Windows Service application in VC++...
  18. Re: How to circumvent Windows security when app is installed in Program Filew (x86) ?

    Igor, thankyou for your most valuable input. I have recalled all the problems I ran into in the past trying to install and run a shared program on a network. Many of the problems are similar. One...
  19. Re: How to circumvent Windows security when app is installed in Program Filew (x86) ?

    sorry about the caps. i was in a hurry and once i started, was too lazy to rewrite.


    That presents a bit of a problem using the windows installer setup program - I havn't figured out how to do...
  20. How to circumvent Windows security when app is installed in Program Filew (x86) ?

    THERE IS A PROBLEM WITH WINDOWS 7 ULTIMATE SECURITY WHEN YOUR PROGRAM IS DEPLOYED IN Program Files (x86):
    - IT WILL NOT LET YOU DOWNLOAD A FILE
    - IT WILL NOT LET YOU CREATE A NEW DIRECTORY IN THE...
  21. Re: How to modify the System Menu to execute a function

    I agree. But I came across a little app that does exactly that and it seems to work just fine and the System Menu of the dialog is very clean and customized without minimize and move, yet the app...
  22. Re: Worked on this C++ function assignment for about 8 hours!!! Please post solution.

    Nice. But I think my approach is more instructive for a student because it's so modular. Your methods, while more elegant, assume some prior knowledge of number theory beyond just knowing what a...
  23. Re: Worked on this C++ function assignment for about 8 hours!!! Please post solution.

    Take a look at the attached console program I wrote. Let me know if you have questions. I did this because it's an interesting problem.
  24. Re: How to modify the System Menu to execute a function

    One final question related to the System Menu of a Dialog app. Is it possible to remove the Move and Minimize items from the menu WITHOUT eliminating that functionality completely when user drags...
  25. Replies
    6
    Views
    387

    Re: Annoying problem with F1 help

    Igor, I don't see much difference between your OnMyHelp code and this one - which doesnt work (note that I cannot use '+' to concatenate strings in my code).




    wcscat_s(szHelpPath, MAX_PATH,...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width