VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Extension Changer

MrBobo  (49 Submissions)   Files/File Controls/Input/Output   Visual Basic 3.0   Beginner   Wed 3rd February 2021

More examples for Beginners by MrBobo.
This little demo demostrates the use of Drive boxes, Dir boxes and Filelistboxes. To give the example some purpose it allows you to safely bulk change the extensions of files in a selected directory. To do this safely you need to quickly parse filepaths and include error handling to avoid overwriting. The demo includes an example of a 'Desktop' and 'Up one level' button in its' browse function, get special folders, enumerating all filetypes from the registry and a simple auto-complete function for comboboxes. Includes an interesting function - Safesave - which appends a number to a filename if the file is found to already exist.

Rate Extension Changer (2(2 Vote))
Extension Changer.bas

Extension Changer Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters