Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying Files

Status
Not open for further replies.

Grusomhat

Mechanical
Dec 21, 2005
1
Hello eveyone
I've made a program to copy files from one location to another and it works well. How ever i have to type in a name and extension for the new file. how can i set it so it uses the old name. also how would i get the windows copying window to pop up.

Thanks

Ignorance is Bliss but Knowledge is Power
 
Replies continue below

Recommended for you

Use the CommonDialog control from Menu|Project|Components|Controls. There is a fully worked example in your VBHelp files. There is also a summary at:

Good Luck
johnwm
________________________________________________________
To get the best from these forums read faq731-376 before posting

Steam Engine enthusiasts:
 
The easiest way is to use the common dialog custom control (it's all in the VB help menu), but you can make direct calls to cmdlg32.dll too if you wanted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor