home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / misc / 3252 < prev    next >
Encoding:
Text File  |  1992-11-06  |  1.7 KB  |  37 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!gdstech!gdstech!yarbroug
  3. From: yarbroug@gdstech.GRUMMAN.COM (Danny Yarbrough)
  4. Subject: Drive Switching with DlgDirList
  5. Message-ID: <YARBROUG.92Nov2122300@gdstech.GRUMMAN.COM>
  6. Sender: yarbroug@gdstech.grumman.com (Danny Yarbrough)
  7. Organization: Grumman Data Systems, Herndon VA
  8. Distribution: comp
  9. Date: Mon, 2 Nov 1992 17:23:00 GMT
  10. Lines: 25
  11.  
  12. I'm developing an application that uses calls DlgDirList to fill
  13. listboxes with file and directory information.  This seems to work
  14. fine for what I'm doing, but I have a small problem that I've seen
  15. occur in other applications that apparently do the same thing: if
  16. DlgDirList is called to display the contents of floppy disk, and then
  17. called again to display a different drive, DlgDirList accesses the
  18. current drive (the floppy) first.  If there is no disk in the floppy
  19. drive, a system error is generated.  DlgDirList will refuse to change
  20. to another drive until a floppy is inserted into the drive.
  21.  
  22. It seems like there should be a way around this problem, because while
  23. I've seen numerous applications fail the same way mine does, I've
  24. probably seen an equal number that proceed right on and switch drives.
  25.  
  26. Anyone have any suggestions?  A post here will do, or email if you
  27. like.
  28.  
  29. Any ideas much appreciated.
  30.  
  31. Danny
  32. -- 
  33. +------------------------------------------------------------+
  34. |  Danny Yarbrough (yarbroug@gdstech.grumman.com)            |
  35. |  Grumman Data Systems, Herndon, Virginia (703)-713-4136    |
  36. +------------------------------------------------------------+
  37.