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 Mike Lewis 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. ajm2001

    Dual boot question

    Hi JJS. It seems that something that you have done has overwritten the Win2000 dual boot code, which is why WIn98 is loading automatically. You will need to replace the boot code on your first HD with win2000 's boot code. you can do this with the repair installation option on the Win2000 CD...
  2. ajm2001

    Creating Directories

    Cory The line stDir = (i == len)? stPath : stPath.Left(i) simply is a conditional expression that if the condition (i == len) is TRUE then sets stDir = stPath, otherwise sets stDir = stPath.Left(i) Hope this helps Alistair (:I
  3. ajm2001

    Creating Directories

    I have a much simpler function to create nested directories basically it works by scanning the path string, and every time it finds a backslash, it creates the path up to that point. BOOL CreatePath(LPCSTR lpszTarget) { int i, len; CString stDir; CString stPath(lpszTarget); // A Copy of...
  4. ajm2001

    Simple Table in Visual C++

    You can also check out Chris Maunder's excellent MFC Grid Control. You can find it at CodeGuru (www.codeguru.com) or also on the Code Project (www.codeproject.com) Do a search for grid control. Hope this helps Alistair (:I
  5. ajm2001

    about the view every time the MDI-application is run

    When you create a MDI app using the AppWizard. the Appwizard creates code by default to create a new document on application startup. To avoid this (sometimes it can be a pain) you have to modify code in the InitInstance() function of your CWinApp derived object. You will see code like this ...
  6. ajm2001

    Disappearing CD drives in Win2K

    I booted my machine this morning, and wanted to install a new software product. I placed the CD in the drive and waited (and waited) for the CD to start up. When nothing happened i went to the explorer to check the CD and found that neither my CD-RW or DVD drive showed up. I went to the device...
  7. ajm2001

    Dual boot question

    Hi. (:I As far as I understand OS boot code, Win95 can ONLY boot from the first partition of the first HDD. Win2K has much improved boot code and can boot from absolutely anywhere. In order to get what you want, I would install the Win95 HDD as a slave drive, then install a boot manager (such as...
  8. ajm2001

    Save text into RTF ?!!!

    Hi. I have written an extended CRichEditCtrl class which incorporates functions to save the contents of the control to either a .RTF file or a plain text file. email me (alistair@goods-sp.com) if you would like a copy of the source code for this class Alistair
  9. ajm2001

    Read file into array

    Sunaj. I think the most efficient way would be to use a linked list (maybe a derivative of the CList or CStringList class). This way you would only store the data that you were interested in, and would not have to have a huge array just to be able to cope with worst case scenario. my code would...
  10. ajm2001

    CString Class

    (:I The CString class does not have an apreciable overhead, and can be more efficient than using the C string handling functions, as it incorporates reference counting, etc (2 identical strings share the same storage). Also the class incorporates many useful functions for string manipulation...

Part and Inventory Search

Back
Top