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 KeithBrautigam

  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...

Part and Inventory Search

Back
Top