Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
copies a file 2 a folder andsubdir
Name: Kamran Date: March 6, 2005 at 13:10:01 Pacific OS: Winxp-SP2 CPU/Ram: Celeron Tualatin 1.4/ 512
Comment:
How can i make a VB6 program that it copies a file to a folder and all of its subdirectories?
Name: Chi Happens Date: March 9, 2005 at 10:05:51 Pacific
Reply:
use the Win32 API FindFirstFile, FindNextFile, and FindClose to iterate through the source directory (i would suggest creating a recursive function to get all subdirs and files) then use FSO (FileSystemObject) to create the target paths and copy the files as you find em.
I have made one of these before...I'll look to see if I can find it (it might be a few days as it would be on a project backup CD...geeze there are a lot of these lying around this office...)
Summary: Hi...I'm trying to make a program that can create a file of a certain extension(sort of like notepad only with whatever extention I want rather than .txt) and also read it. Anyone know the codes that...
Summary: Hi Is there any command that can start a file using a certain program that isnt the default program? for example, run a .txt file with "winword.exe" (microsoft word) ...