http://www.developerfusion.com/tools/convert/csharp-to-vb/
http://converter.telerik.com/
Pero no lo logra traducir de manera correcta especialmente esta parte :
Citar
bw.DoWork += delegate(object sender2, DoWorkEventArgs e2)
{
_lastImageUploadDetails = uploader.UploadImage(txtFilePath.Text, resizeWidth, resizeHeight);
};
{
_lastImageUploadDetails = uploader.UploadImage(txtFilePath.Text, resizeWidth, resizeHeight);
};
Este es el codigo en el que quisisera que me ayudasen:
Código:
BackgroundWorker bw = new BackgroundWorker();
bw.DoWork += delegate(object sender2, DoWorkEventArgs e2)
{
_lastImageUploadDetails = uploader.UploadImage(txtFilePath.Text, resizeWidth, resizeHeight);
};
bw.RunWorkerAsync();
// when the background worker is finished, run this anonymous method which either updates
// the details of the last uploaded image or displays an appropriate error message
// if there were problems.
bw.RunWorkerCompleted += delegate(object sender3, RunWorkerCompletedEventArgs e3)
{
try
{
if (e3.Error != null)
{
throw e3.Error;
}
UpdateLastUploadedImageDisplayDetails(_lastImageUploadDetails); txtInfo.Text = "Image Uploaded.";
}
catch (FileNotFoundException exp)
{
txtInfo.Text = exp.Message;
}
catch (XmlException exp)
{
txtInfo.Text = exp.Message;
}
};
Asi que porfavor si hubiera una persona que sabe tanto vbnet como c le agradeceria enormemente que me ayude a traducir esa parte de codigo muchas gracias.