CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2006
    Location
    Mnila, Philippines
    Posts
    171

    [RESOLVED] Syntax of Public Type

    Hello Guys, How can I convert this code into vb.net 2005

    Public Type UserInfo
    UserName As String
    RealName As String
    UserLevel As Integer
    End Type


    Thanks Guys

  2. #2
    Join Date
    Apr 2008
    Posts
    24

    Smile Re: Syntax of Public Type

    Just change it to this:
    Code:
    Structure UserInfo
         UserName As String
         RealName As String
         UserLevel As Integer
    End Structure
    You can refer to this link for more info:

    http://msdn.microsoft.com/en-us/library/6s6zzdks.aspx
    Burningslash12 - Visual Basic 2005
    "We may rise and fall, but in the end, we'll meet our fate together..."

  3. #3
    Join Date
    Jul 2006
    Location
    Mnila, Philippines
    Posts
    171

    Re: Syntax of Public Type

    Thanks burningslash

  4. #4
    Join Date
    Apr 2008
    Posts
    24

    Smile Re: [RESOLVED] Syntax of Public Type

    No Prob! kabayan!
    Burningslash12 - Visual Basic 2005
    "We may rise and fall, but in the end, we'll meet our fate together..."

  5. #5
    Join Date
    Jul 2006
    Location
    Mnila, Philippines
    Posts
    171

    Re: [RESOLVED] Syntax of Public Type

    hehehe! Newbies lang kasi ako. Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured