Can i convert VB code to C++ code??
How can i convert the code??
this is my VB code.
Dim OpenFileDialog1 As New OpenFileDialog
With OpenFileDialog1
.CheckFileExists = True
.ShowReadOnly = False
.Filter = "All Files|*.*|Bitmap Files (*)|*.bmp;*.gif;*.jpg"
.FilterIndex = 2
If .ShowDialog = DialogResult.OK Then
' Load the specified file into a PictureBox control.
PictureBox1.Image = Image.FromFile(.FileName)
End If
End With
Well... yes and no. You 'can' convert it. By understanding it, and writing something equivalent in C++ (which you have to understand first too). I don't think there is a 'converter' (as in, a program) for VB to C++ (nor do I think there is a need for one), but maybe someone was bored and made one anyways.