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

    problems with repaint

    I am trying to help someone fix her code. She has a stand alone java app that when it opens, is a blank 500,500 pane. When you select a menu item, the appropriate information is supposed to appear. The only problem is it won't appear unless you grab an edge and resize the app first. I have...
  2. john829

    number of sectors on drive

    I need to find the number of sectors on a drive(LBA). I have used the DeviceIocontrol and the IOCTL_DISK_GET_DRIVE_GEOMETRY, then accessed the data members, but these seem to return the CHS capacity. my 14 GB drive returns cylinders =1024 head = 255 Sector =63 bytes per sector =512. This...
  3. john829

    How to use DrawText or TextOut

    Either of these functions will work fine if my class is derived from CView, but when I try to use them in a class derived from CFormView, the screen stays blank. I have put the code in the OnInitialUpdate() function, but nothing happens. How can I draw text to the screen in a CFormView class?
  4. john829

    MAPI and Outlook

    I need to write a program that will collect all the emails on a machine(outlook/outlook express mainly). I am looking into MAPI to open the files and read out all of the email messages. I will then put them in a DB. Is MAPI the right path, and if anyone has any experience or knows of any good...
  5. john829

    SQL insert statement and ADO

    I have an app that searches my drive for certain files, and stores their info in an Access 2000 database. My search is fine, but the insert statement is giving me problems. I am using ADO (import method) and have declared a connectionptr, and have connected to the DB, I am then using the...
  6. john829

    problems with CListbox

    I have a CListBox control that I need to copy into the View classes CListBox. When I try Listbox1 = listbox2, I get the compile error: C:\acesstest\newfilefinder\newfilefinderView.cpp(133) : error C2582: 'CListBox' : 'operator =' function is unavailable What is a workaround, or someother way...
  7. john829

    Getting properties of a word document

    I need to get the properties of a Word Document, specifically the author and revision dates. Is there an easy was to extract this info?
  8. john829

    How to directly access hard drive

    I would like to write a program that among other things view the slack space on a drive. to do this I need to access the drive directly and be able to read sectors on it. I don't even know where to begin with this. I have looked in to DMA, but am not sure if it will work for what I want...
  9. john829

    How to read the FAT in C

    I am trying to write some utilities, and on e of the things I need to do is add the possibilty to recover deleted files. So I need to examine the FAT table (this will be in windows) and possibly examine clusters on the hard disk. Any thoughts on how I can accomplish this in C or C++?
  10. john829

    trying to write a file finder.

    I am new to visual C++ and would like to write a file finder. somthing that will search my hard drive and list all the files that I specify. Are there built in functions or do I need to write some kind tree traversal program to do it?

Part and Inventory Search

Back
Top