Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by WilliamGS

  1. WilliamGS

    String encryption

    Hello everybody. I need to encrypt a CString, I saw some classes but it gives me different results (for the same original string) in different computers, I need the same result for the same original string in any computer, also, it must be ANSI and UNICODE compliant. Thanks in advance, William
  2. WilliamGS

    Reading ANSI string from UNICODE app.

    Hello everybody. I have to read a string from registry, this string is ANSI, when I read it with ANSI version of my app, all is fine, but if I read it with UNICODE version of my app, the string obtained is wrong, so, how can I read a ANSI string (from registry) from a UNICODE app?. Thansk in...
  3. WilliamGS

    Obtaining program files dir

    Hello everybody. I need the default program files directory ("C:\Program Files" or "C:\Archivos de programa" in spanish Windows), there are funtions to obtain another system dirs like GetCurrentDirectory(), GetSystemDirectory(), GetWindowsDirectory(); is there a function to obtain the program...
  4. WilliamGS

    VC6 DLL and NET clients.

    Hello, I have some VC6 DLLs and I want to use them with NET EXEs (MFC 7.0), but the linker give me many errors, especially in functios with CStrings (parameters or return); How can I fix it? or have I to recompile the DLLs in NET? Thanks in advance, William GS
  5. WilliamGS

    How to make networking using Windsock API

    Hello, look at this: http://www.codeproject.com/internet/ndk.asp They are good classes. William GS
  6. WilliamGS

    Problem with CFileDialog

    Hello, I have a CFileDialog with multiple selection and open mode, when I select the files with click on the first one then shift+click on the last one and close the dialog with “Open” button, DoModal() returns IDCANCEL!!!, but when I select the files with Ctrl+Click it works fine. I work with...
  7. WilliamGS

    MDI apps

    Hi all, please help me with: 1) How can I change the app tittle? (not the project tittle), that tittle showed in the tittle bar, in the AfxMessageBox tittle, etc. I changed the IDR_MAINFRAME resource but it does not work. 2) How can I restore the normal state of a minimized view...
  8. WilliamGS

    Date format and ...

    Hi all, please help me with: 1) I get the date format from Windows Control Panel with 'GetLocaleInfo()', these formats are: dd/MM/yyyy dddd, dd' de 'MMMM' de 'yyyy But I have mi date in a COleDateTime object and COleDateTime::Format() does not work with these date formats, ¿How can I format...
  9. WilliamGS

    Obtaining the regional Cfg.

    Hi all, How do I obtain the regional cfg from control panel? I need the date format, the money format, the real numbers format, etc. Thanks in advance, William GS
  10. WilliamGS

    Problem with modeless dialog

    Hi all. I have a modeless dialog (whithout tittle bar, without 'OK' and 'Cancel' Button) and I want to hide it when it loses focus or when the user clicks outside the dialog, I tried to catch WM_KILLFOCUS message, but it only is called when the dialog appears the first time, not when the dialog...
  11. WilliamGS

    Service Pack for VC6.0

    Hi all, do you knoe where can I dowload the Services Packs for Visual Studio 6.00? Thanks in advance. William GS
  12. WilliamGS

    COM+ and DCOM manuals.

    Hi all. I am looking for COM+ and DCOM manuals for beginners (with Visual C++); do you know some site? Thanks in advance, William G.S.
  13. WilliamGS

    COM+ and DCOM manuals

    Hi again. I need COM+ and DCOM manuals for Visual C++. Thanks, William G.S.
  14. WilliamGS

    COM+ and DCOM manuals

    Hi all. I am looking for COM+ and DCOM manuals for beginners; do you know some site? Thanks in advance, William G.S.
  15. WilliamGS

    CBitmapButton

    Hi, I think CBitmapButton is not very good. Use this: http://www.codeproject.com/buttonctrl/cbuttonst.asp It is a great button class. William G.S.

Part and Inventory Search

Back
Top