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

    FindFirst/FindNext/FindClose dilemma

    I have solved the problem. it was indeed intervening code that caused it; but code that was outside of this module. It changed a path from something like C:\abc\def\ghi\jkl to C:\abc\defghi\jkl, a subtle change and hard to detect unless one has his nose rubbed in it. That change, of course...
  2. PedanticProgrammer

    FindFirst/FindNext/FindClose dilemma

    Here's the code, cleaned up a bit to remove some unrelated lines: int NumRecords, a; TSearchRec TheFile; int Attributes = 0; int Result = 0; AnsiString FileName; AnsiString LocalPath = CSPath; // From another...
  3. PedanticProgrammer

    FindFirst/FindNext/FindClose dilemma

    I am using FindFirst/Next?Close to examine the contents of a folder. The code looks like this: LocalPath += AnsiString("C:\\Progrram Files\\InDesign\\Plugins\\*.*"); Result = FindFirst(LocalPath, Attributes, TheFile); ... Result = FindNext(TheFile); ...

Part and Inventory Search

Back
Top