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 strongm 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: *

  1. KeithBrautigam

    How to "preview" a txt or html from Visual C++?

    I'm not 100% sure I understand the question, but... if you just want to launch a file as if it were double clicked in Windows Explorer, one easy way to do this is to use ShellExecute: ShellExecute( NULL, "open", "c:\\myfile.txt", NULL, "c:\\myfile.txt&quot...
  2. KeithBrautigam

    Becoming XP Compliant?

    Here's some links you might try: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/apcompat/apcompat/application_compatibility_guide.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnappcom/html/qfixapp.asp...
  3. KeithBrautigam

    How to connect Access 2000 with CDAOdatabase

    Microsoft's advice is basically the same as Matt's. However, they also link you to some pages that show you how to use DAO 3.6 to connect to Access 2000 and, I think, 2002 databases: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q232337
  4. KeithBrautigam

    Save box as in notepad

    Is your application an MFC app? If so then you probably want to use Microsoft's CFileDialog class. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_cfiledialog.asp
  5. KeithBrautigam

    finding if the current account is administrative

    This question is answered by Microsoft Knowledge Base Article Q118626: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q118626&
  6. KeithBrautigam

    Multilingual application

    http://www.microsoft.com/globaldev/
  7. KeithBrautigam

    MFC tutorial

    I'd start with the following link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample/html/_core_microsoft_foundation_class_library_samples_index.asp Specifically, I usually start out my company's college interns by having them work through the "Scribble&quot...
  8. KeithBrautigam

    Array of float

    I'm guessing that you mean that it doesn't show up in the IntelliSense list of available functions. I don't know why this is. But the function works fine. Just type it in. aStat0.SetSize( 40 );
  9. KeithBrautigam

    Array of float

    You may wish to try using Microsoft's CArray template: CArray < float, float > my_Array; For more info, see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_carray.asp
  10. KeithBrautigam

    Visual C++ -&gt; SQL Statement -&gt; Access DB / How to ??

    You probably want to use either CDatabase::ExecuteSQL or CDaoDatabase::Execute. For info on these functions, try the following two links. CDatabase: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cdatabase.3a3a.executesql.asp CDaoDatabase...
  11. KeithBrautigam

    VxDs work in Windows XP?

    Do the compatibility modes in Windows XP allow it to run Virtual Device Drivers (VxDs)? Thank you.
  12. KeithBrautigam

    .DEF Files

    Please see if the following link helps: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_Export_from_a_DLL_Using_..DEF_Files.asp
  13. KeithBrautigam

    Which MFC would you use to play a .

    I'd use the PlaySound function. You may read about it at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/mmfunc_9uxw.asp?frame=true
  14. KeithBrautigam

    Can't find dll entry point

    Once again I am guessing, but I think that if you don't specify a calling convention, cdecl will be used by default. That appears to be bad news for VB; please see the following Microsoft article: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q153586 So you might need to put...
  15. KeithBrautigam

    Can't find dll entry point

    One starting point might be to use Dependency Walker (Start-Programs-Microsoft Visual C++ 6.0-Microsoft Visual C++ 6.0 Tools-Depends). It will let you know (in the middle pane on the right hand side) what functions have been exported from your DLL. It could be that your &quot;Init&quot...
  16. KeithBrautigam

    can we make a dll using c language program

    Here's some Microsoft links to get you started: 1. Creating MFC DLLs http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_core_create_an_mfc_dll_with_appwizard.asp?frame=true 2. Creating Win32 DLLs...
  17. KeithBrautigam

    Is it possible to open an Access report using MFC?

    Yes, it is definitely possible. There are several ways to do it. Here's a quick overview of what will probably be the easiest way: 1. First search for &quot;*.olb&quot; files on your system. On my PC, which has Access 97, the appropriate file is c:\msoffice\office\msacc8.olb. The file name...
  18. KeithBrautigam

    Disable Menu?

    In your message map, add an ON_UPDATE_COMMAND_UI macro such as the following: ON_UPDATE_COMMAND_UI(ID_FILE_OPEN, OnUpdateFileOpen) In your header file, declare the function like: afx_msg void OnUpdateFileOpen(CCmdUI* pCmdUI); Then in the actual function body, all you really need to do is to...
  19. KeithBrautigam

    How can I display a JPG or GIF in my MFC app?

    Paul DiLascia answered this question very nicely in his C++ Q&A column in the October 2001 issue of MSDN Magazine. You may find his article at http://msdn.microsoft.com/msdnmag/issues/01/10/c/c0110.asp Also, MFC 7.0 (in Visual C++ .NET) will include a CImage class that will let you do...
  20. KeithBrautigam

    float numbers

    A good place to start reading about floating point formats is http://developer.intel.com/design/pentium/manuals/ From this page, the link you want is to the Intel Architecture Software Developer's Manual, Volume 1: Basic Architecture. Then go to chapter 7 of this manual.

Part and Inventory Search

Back
Top