you should be able to re-write alot of vb6 stuff to vb.net without to much trouble , at first when i got in to .net i couldnt seem to stick with it, but now i only open vb6 to make code examples for people requiring help. is it a particular piece of code or just general stuff?
as for C# , thats quite a lot like java / c++ ( with .net mixed in also )
for example , in vb6 to split up some text , with a space as the delimiter you could do this :
VB Code:
Private Sub Command1_Click()
Dim x As Integer
Dim strString As String, strResult() As String
strString = "some text"
strResult = Split(strString, " ")
For x = LBound(strResult) To UBound(strResult)
MsgBox strResult(x)
Next
End Sub
in vb.net it's much simpler :
VB Code:
Dim x As Int32
Dim strResult() As String = "some text".Split(" ")
For x = strResult.GetLowerBound(x) To strResult.GetUpperBound(x)
MsgBox(strResult(x))
Next
in C# you could do this :
VB Code:
string[] str="some text".Split(' ');
for (int x=0;x!=str.Length;x++)
{
MessageBox.Show(str[x]);
}
in java you could do this :
VB Code:
<script language="javascript">
var str= "some text".split(" ");
for (int=0;int!=str.length;int+=1)
{
window.alert(str[int]);
}
</script>
some useless info for you there