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. C#
  4. Fixed width text file column selection control

Fixed width text file column selection control

Scheduled Pinned Locked Moved C#
csharpquestion
3 Posts 2 Posters 0 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.
  • C Offline
    C Offline
    cvogt61457
    wrote on last edited by
    #1

    Is there a control available for .Net (preferably with source - C# if possible) for selecting the columns of a fixed width text file? I'm looking for something similar to Excel for the Text Import wizard (step 2 of 3) that provides the functionality for selecting the columns that the fields start. Thanks, cvogt61457

    R 1 Reply Last reply
    0
    • C cvogt61457

      Is there a control available for .Net (preferably with source - C# if possible) for selecting the columns of a fixed width text file? I'm looking for something similar to Excel for the Text Import wizard (step 2 of 3) that provides the functionality for selecting the columns that the fields start. Thanks, cvogt61457

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #2

      Check this article[^] right here on CodeProject for this function. You may need to modify it to make a wizard-like control, but ti does the basic function of parsing a fixed-width or delimited text file.

      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

      C 1 Reply Last reply
      0
      • R Roger Wright

        Check this article[^] right here on CodeProject for this function. You may need to modify it to make a wizard-like control, but ti does the basic function of parsing a fixed-width or delimited text file.

        "A Journey of a Thousand Rest Stops Begins with a Single Movement"

        C Offline
        C Offline
        cvogt61457
        wrote on last edited by
        #3

        Thanks for the help. I'm looking for the UI portion - the part to select the columns graphically. The data reading and parsing is the easy part. I did find this Column Definition Control[^]. I may have to convert this to C# for my use.

        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