Calling API functions


Greetings everybody. I'm trying to write a simple routine to copy selected folders and their sub-folders and files from a HDD to a RW disc as a form of backup. It should prompt the user to insert the correct disc and to recognise the disc name.

Anybody got any suggestions?

Thanks.

If you enjoyed this post, subscribe for updates (it's free)

What operating system?

What operating system?

Calling API functions

Yes, sorry I overlooked that. It's Windows XP.
cheers
PN

I'm going to try to write up

I'm going to try to write up a tutorial for vb6.us to have, but until then
check out this page.

Calling API function

Thanks for the link. It does the job but requires a bit of input from the user. My user (my wife) is not exactly computer literate and needs something idiot proof. I have a batch file which does the job using the 'replace' command but it isn't very elegant. I'd like for her to be prompted to insert the disc which the progam verifies, and then copies/replaces the folders/files on the disc. These won't change but if they do I can add/modifiy the code as necessary. Finally, the disc should be ejected on completion.

If you can write up something which is even close, that would be a big help and I thank you for your interest and for coming back to me so promptly.

PN

I probably won't have time

I probably won't have time to write that program up, but if as you work on it you ask specific questions of any snags you run into I would be glad to try to help answer them.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.