Grade8
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 5 articles for 0.302 sec
I think I posted this code a few weeks ago: void SearhDirectory(CString Dir) { CFileFind Finder; BOOL Ret = Finder.FindFile(m_Dir+_T("\\*.*")); while (Ret) { Ret = Finder.FindNextFile(); if (Finder.IsDirectory()) { if (!Finder.IsDots()) { SearchDirectory(Finder.GetFilePath()); } }     

Group: microsoft.public.vc.mfc · Group Profile · Search for Grade8 in microsoft.public.vc.mfc
Author: AliR (VC++ MVP)
Date: Nov 6, 2007 07:22

I typically write a function that uses FindFirstFile and FindNextFile and then the function just calls itself (recursively) if it comes to a sub-folder. Then it works its way back out eventually to the top. You can either pass in variables to count files/folders/etc. or you can have them be members of the class that contains the function. If you write a function that just finds all of
Show full article (1.04Kb) · Show article thread
What is the correct way to iterate a directory and its subdirectories? E.g. I need a way to iterate the directory "d:\books" and its subdirectories? The name of subdirectories are only available at runtime. d:\books\novel\love d:\books\novel\scifi d:\books\travel\usa d:\books\travel\au d:\books\maths\grade7 d:\books\maths\grade8 d:\books\science\grade7 d:\books\science\grade8 ...     

Group: microsoft.public.vc.mfc · Group Profile · Search for Grade8 in microsoft.public.vc.mfc
Author: Tom Serface
Date: Nov 5, 2007 19:54

Interesting problem. First, I don't see any way to query directly for groups that have members that are groups. I see no better method than binding to each group, then binding to each member in the group to check if the member is a group, etc. This is a lot of binding, but seems unavoidable. With so many groups, the task can take awhile. Next, group nesting can be tricky. For example if
Show full article (1.11Kb) · Show article thread
This might sound weird, but what about installing an "interface" layer of metal that's between the galvanic chart, between the two type of metals? Just had another thought, too, although probably not practical; is to plate one of them with this "neutral" layer. IFor example, 2-way radio (steel) antennas are plated, or even steel wire is plated with copper, as to solder on. Karl PETE     

Group: microsoft.public.vc.mfc · Group Profile · Search for Grade8 in microsoft.public.vc.mfc
Author: Charles Tam
Date: Nov 5, 2007 19:11

Show full article (0.39Kb)
    

Group: microsoft.public.windows.server.scripting · Group Profile · Search for Grade8 in microsoft.public.windows.server.scripting
Author: Richard Mueller [MVP]
Date: Mar 22, 2007 12:10

Show full article (10.40Kb) · Show article thread
    

Group: rec.sport.snowmobiles · Group Profile · Search for Grade8 in rec.sport.snowmobiles
Author: Karl in Spokane
Date: Jan 17, 2007 09:01

Show full article (2.30Kb) · Show article thread