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!

Search results for query: *

  • Users: WilliamGS
  • Content: Threads
  • Order by date
  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

    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...
  6. 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...
  7. 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...
  8. 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
  9. 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...
  10. 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
  11. 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.
  12. 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.
  13. WilliamGS

    COM+ and DCOM manuals.

    Hi all. I am learning COM+ and DCOM (with VC++), but I have manuals for advanced users, I need manuals for beginners, do you know where can I find it? Thanks in advance, William GS
  14. WilliamGS

    Problem with ADO.

    Hi all. I have an app (VC 6.00) that works with an Access database and ADO, this app has worked fine, but it has problems only in one PC. My code is: CoInitialize(NULL); _ConnectionPtr con(__uuidof(Connection)); con->Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=dbTest.mdb"); //Here is...
  15. WilliamGS

    Image and CListCtrl

    Hi all. ¿How do I put and change an image in a CListCtrl?, It already has a CImageList. Thanks in advance, William GS.
  16. WilliamGS

    Access DB and ADO, C++

    Hi all. I have a Microsoft Acces database without password, I manage it with ADO and a C++ app; How can I open this DB (with ADO) if I put a password?; Is there another way to protect my access DB?. Thanks in advance. William GS.
  17. WilliamGS

    Help with CString::Format()

    Hi all. I am using CString::Format() to convert a double to string: CString str; str.Format("%f", 3.14); //The result is "3.14000000" ==> I want "3.14" str.Format("%f", 202.141); //The result is "202.14100000" ==> I want "202.141" I do not want the nonsignificant zeros. Is there a way to...
  18. WilliamGS

    How to round a number?

    Hi all. Is there a way or function to round a number?. I am using VC++ 6.0 Thanks in advance. William GS
  19. WilliamGS

    Problem with DLL and ADO.

    Hi all. I have a Regular DLL that writes and reads in a SQL Server Database using ADO; also, I have a member variable in the application class for the connection: class CDatabaseMgrApp : public CWinApp { // //... public: _ConnectionPtr m_pConnection; // // } BOOL...
  20. WilliamGS

    ID unique.

    Hi all. I am working in a Visual C++ program, and it reads and writes in a SQL Server Database and I am using 'autonumeric' IDs, but I have problems with that, so, I need a way to create unique IDs along the database. how can I do this? or, Is there a site with information about it? Thanks in...

Part and Inventory Search

Back
Top