Video Converter
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
Hi All
Got another Tutorial for you on How to create your Own Video Converter.
You can convert loads of Different Formats with this 8-)
![Image]()
On Your Form you will need
1 OpenFileDialog
1 Textbox
1 ComboBox
2 Buttons
In the ComboBox Collections Tab in the Properties is where you add your video Formats that you want to Convert too, and they should start with a "." like .avi, .mp3, .mov and so on.
*Note You will have to change your OpenFileDialog Name to "SelectVid" ( The name should be changed in the Properties and the OpenFileDialog on the Bottom of your Visual Studio Workspace should be renamed once you have done it ) If it does'nt change then you have renamed the wrong one in the Properties......
If everything goes according to plan then once you run it you click your Open Button click on the Video that you want to Convert and the Filename will appear in the Textbox then select your Video Format from the Combobox that you want to Convert it to and then press the Convert Button. It should say that you are going to Convert that file and click ok the Convert it.
Right then lets get Coding ;)
Button 1 (The open file button)
Button2 (The convert button)
SelectVid(The openfiledialog)
Got another Tutorial for you on How to create your Own Video Converter.
You can convert loads of Different Formats with this 8-)

On Your Form you will need
1 OpenFileDialog
1 Textbox
1 ComboBox
2 Buttons
In the ComboBox Collections Tab in the Properties is where you add your video Formats that you want to Convert too, and they should start with a "." like .avi, .mp3, .mov and so on.
*Note You will have to change your OpenFileDialog Name to "SelectVid" ( The name should be changed in the Properties and the OpenFileDialog on the Bottom of your Visual Studio Workspace should be renamed once you have done it ) If it does'nt change then you have renamed the wrong one in the Properties......
If everything goes according to plan then once you run it you click your Open Button click on the Video that you want to Convert and the Filename will appear in the Textbox then select your Video Format from the Combobox that you want to Convert it to and then press the Convert Button. It should say that you are going to Convert that file and click ok the Convert it.
Right then lets get Coding ;)
Button 1 (The open file button)
Code: Select all
Selectvid.showdialog()
Button2 (The convert button)
Code: Select all
Dim type As String = ComboBox1.Text
If ComboBox1.Text = "" Then
MsgBox("No file type selected")
Else
End If
MsgBox(TextBox1.Text + " shall be converted into a " + type + " file.")
Dim oldFile As String = Mid(TextBox1.Text, 1, Len(TextBox1.Text) - 4)
FileCopy(TextBox1.Text, oldFile + type)
SelectVid(The openfiledialog)
Code: Select all
ChrisDim file As String = SelectVid.FileName
TextBox1.Text = file
Last edited by hungryhounduk on Fri Aug 28, 2009 3:50 pm, edited 1 time in total.
Hello,
Another one, is your VB on a production line hungryhounduk?
Very impressed yet again cooll;
Another one, is your VB on a production line hungryhounduk?
Very impressed yet again cooll;
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
is your VB on a production line hungryhounduk?Hi
No i was just having a look at a few bits that i had done in the past and wanted something to do as a Tutorial and came up with that

Chris
Hello,
Ive got one for you that would go great with your recent collection. Think you could make a realy good looking media/video player?
Go on Go on Go on lol ;)
Ive got one for you that would go great with your recent collection. Think you could make a realy good looking media/video player?

Go on Go on Go on lol ;)
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
Hi
media/video player? Whats that
Give me some info and i will get busy ;)
Chris
media/video player? Whats that

Give me some info and i will get busy ;)
Chris
Hello,
Just an application that lets you open and play video files. You will probably have to use the mediaplayer control though.
Then add one of your brilliant themes to it cooll;
You have the MP3 player, radio player and if you can add a video player you will have them all wahooo;
Just an application that lets you open and play video files. You will probably have to use the mediaplayer control though.
Then add one of your brilliant themes to it cooll;
You have the MP3 player, radio player and if you can add a video player you will have them all wahooo;
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
This doesn't convert the file types. You would need an encoder for the specific file type you want to convert into.
I suppose this could be helpful for text documents though.
I suppose this could be helpful for text documents though.
Wow I really like this, your design is so incredible 

scapescummer wrote:You know this is fake! just changes file exentionsome things will work exactly the same when u convert them
like : mp3 to.wav
mp3 is made to fit on smaller drives but is still the same because .wav would be to large for a mp3 player so mp3 just cuts a piece of code ( what will decrease the quality a tiny little bit)
sorry for bumping i needed to say

Copyright Information
Copyright © Codenstuff.com 2020 - 2023