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 / C++ / MFC
  4. VC++ 6, MFC, ComboBox, load list from file? [modified]

VC++ 6, MFC, ComboBox, load list from file? [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
4 Posts 3 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.
  • R Offline
    R Offline
    rolfhorror
    wrote on last edited by
    #1

    hi, is it possible to load a txt-file into the combobox list? any suggestions on how to do this easy.. tanx EDIT: nevermind, i found some working code to load csv files into combos dropdown..

    modified on Saturday, June 7, 2008 8:17 AM

    S H 2 Replies Last reply
    0
    • R rolfhorror

      hi, is it possible to load a txt-file into the combobox list? any suggestions on how to do this easy.. tanx EDIT: nevermind, i found some working code to load csv files into combos dropdown..

      modified on Saturday, June 7, 2008 8:17 AM

      S Offline
      S Offline
      sudhir_Kumar
      wrote on last edited by
      #2

      Text file in ComboBox????????????

      -@SuDhIrKuMaR@-

      R 1 Reply Last reply
      0
      • S sudhir_Kumar

        Text file in ComboBox????????????

        -@SuDhIrKuMaR@-

        R Offline
        R Offline
        rolfhorror
        wrote on last edited by
        #3

        yes, to load a list from a text-file into the combobox drop down list. some code to load the file and split it with commas or something, and then somthing like: m_myComboCtrl.AddString(1rstLineInFile); m_myComboCtrl.AddString(2ndLineInFile); and so on.

        1 Reply Last reply
        0
        • R rolfhorror

          hi, is it possible to load a txt-file into the combobox list? any suggestions on how to do this easy.. tanx EDIT: nevermind, i found some working code to load csv files into combos dropdown..

          modified on Saturday, June 7, 2008 8:17 AM

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Yes its possible but you dont use of Editbox or ListBox or ListCtrl?

          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