My VB code needs to copy a file from one location to another, and I can do this with FILECOPY just fine. What I'd like to do though, is invoke the Windows copy function, so that the user gets the whole 'transfers in progress' experience.

Is there a way to invoke Windows Copy from VB ? (I have Windows XP, btw) I'd probably even settle for the DOS copy function, since it provides a progress display of sorts. I'm trying to keep my code as short as possible, without handling the progress display on my own.

try this and send me your feedback.

regards
Shouvik

Works like a charm! Many Thanks Shouvik...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.