Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VB 2 VB.NET

VB 2 VB.NET

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
4 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Oscar Martin
    wrote on last edited by
    #1

    I all, I want to convert a structure from VB to VB.NET and I don´t know how specify the max length of an string... Sample VB 6.0: ------------------------------------ Public Type YY XX As String * 10 End Type ------------------------------------- Code in VB 7.0: ------------------------------------ Structure YY XX As String '<--- ¿How could I do it? End Structure ------------------------------------- Thanks all "On the 8th day, God started debugging"

    M 2 Replies Last reply
    0
    • O Oscar Martin

      I all, I want to convert a structure from VB to VB.NET and I don´t know how specify the max length of an string... Sample VB 6.0: ------------------------------------ Public Type YY XX As String * 10 End Type ------------------------------------- Code in VB 7.0: ------------------------------------ Structure YY XX As String '<--- ¿How could I do it? End Structure ------------------------------------- Thanks all "On the 8th day, God started debugging"

      M Offline
      M Offline
      mikasa
      wrote on last edited by
      #2

      Private Structure Test
      Dim MyString As String
      End Structure

      1 Reply Last reply
      0
      • O Oscar Martin

        I all, I want to convert a structure from VB to VB.NET and I don´t know how specify the max length of an string... Sample VB 6.0: ------------------------------------ Public Type YY XX As String * 10 End Type ------------------------------------- Code in VB 7.0: ------------------------------------ Structure YY XX As String '<--- ¿How could I do it? End Structure ------------------------------------- Thanks all "On the 8th day, God started debugging"

        M Offline
        M Offline
        mikasa
        wrote on last edited by
        #3

        Ok, that didn't Format correctly at all! Try this: Private Structure Test Dim MyString As String End Structure

        O 1 Reply Last reply
        0
        • M mikasa

          Ok, that didn't Format correctly at all! Try this: Private Structure Test Dim MyString As String End Structure

          O Offline
          O Offline
          Oscar Martin
          wrote on last edited by
          #4

          Ok thanks Mikasa, I found it in MSDN. Regards "On the 8th day, God started debugging"

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups