T
Tim Zottberg
Hi newsgroup,
I am trying to migrate from VB6 to VB.Net.
I am having serious understanding problems about why VB.Net 2005 Express
doesn't do what I want.
I have a C# code, and I was trying to convert it to VB.
The first thing that made (and still makes) me crazy is that seemingly I
cannot tell VB to use "sub main" as the start procedure. If anybody
knows how then that would make me really happy.
The next issue it that this code doesn't work in a module:
Imports System
Imports System.Collections.Generic
Imports System.Text
Imports IrrlichtNETCP
Imports IrrlichtNETCP.Inheritable
Module Module1
Namespace Tutorial01
Class Tutorial01
Private Shared Sub Main(ByVal args As String())
'//Foo
End Sub
End Class
End Namespace
End Module
---------------------------------
Imports are okay, but then it tells me that "Namespace-Commands can only
be stated in Namespace or Filespace" (not perfect translation of error
message, but I hope it does...).
Thanks a million for your help.
Tim
I am trying to migrate from VB6 to VB.Net.
I am having serious understanding problems about why VB.Net 2005 Express
doesn't do what I want.
I have a C# code, and I was trying to convert it to VB.
The first thing that made (and still makes) me crazy is that seemingly I
cannot tell VB to use "sub main" as the start procedure. If anybody
knows how then that would make me really happy.
The next issue it that this code doesn't work in a module:
Imports System
Imports System.Collections.Generic
Imports System.Text
Imports IrrlichtNETCP
Imports IrrlichtNETCP.Inheritable
Module Module1
Namespace Tutorial01
Class Tutorial01
Private Shared Sub Main(ByVal args As String())
'//Foo
End Sub
End Class
End Namespace
End Module
---------------------------------
Imports are okay, but then it tells me that "Namespace-Commands can only
be stated in Namespace or Filespace" (not perfect translation of error
message, but I hope it does...).
Thanks a million for your help.
Tim