Combo Box


Combo Box
How do I show all the files in a folder in a combo box in VB.net?

I have a lot of files in a folder. Instead of typing the directory, I want the user to choose from a drop-down box (combo box). How do I show all the items in the folder, without knowing them. I want the user to be able to add items to this folder, and they then appear in the combo box.

You need to use the IO name space to get the list of the files in the folder. Then just loop through the items and add them to the combo box.

A look at what is currently available on eBay

CRAFTSMAN 10 PIECE SAE COMBINATION WRENCHES 6 POINT BOX END - BRAND NEW ~
CRAFTSMAN 10 PIECE SAE COMBINATION WRENCHES 6 POINT BOX END - BRAND NEW ~
US $22.97
Craftsman 13 PIECE METRIC COMBINATION WRENCH SET - 12 POINT BOX END NEW *
Craftsman 13 PIECE METRIC COMBINATION WRENCH SET - 12 POINT BOX END NEW *
US $34.97
12-point Box End Open-ended Combination Wrench 15mm
12-point Box End Open-ended Combination Wrench 15mm
US $5.68
King & Country AK077 Afrika Korps Motorcycle Combo- RETIRED - Mint in the Box
King & Country AK077 Afrika Korps Motorcycle Combo- RETIRED - Mint in the Box
US $125.95
GALLERIA 21 COMBINATION LIGHT Low Voltage Landscape Lighting System NEW OPEN BOX
GALLERIA 21 COMBINATION LIGHT Low Voltage Landscape Lighting System NEW OPEN BOX
US $59.99
NEW BIOMETRICS FINGERPRINT SAFE BOX COMBINATION DIGIAL ELECTRONIC LOCK GUN VAULT
NEW BIOMETRICS FINGERPRINT SAFE BOX COMBINATION DIGIAL ELECTRONIC LOCK GUN VAULT
US $139.99
Master Lock New Wall-Mounted Key Storage Box with Set-Your-Own Combination Lock
Master Lock New Wall-Mounted Key Storage Box with Set-Your-Own Combination Lock
US $28.16
Servess 1/2
Servess 1/2" open x 1/2" box end combination wrench
US $4.00
S-K 5/8
S-K 5/8" box end x 11/16" box end 6 point combination wrench
US $6.00
Soft Grip 22mm Open Box End Combination Wrench Tool
Soft Grip 22mm Open Box End Combination Wrench Tool
US $16.49
2.5
2.5" 4pc Chromium Crusher Herb Grinder Safe Can Roller Box COMBO 70084
US $27.99
GENUINE HP 564 Combo Pack New Sealed in Box EXP JAN 2013
GENUINE HP 564 Combo Pack New Sealed in Box EXP JAN 2013
US $17.12
2.5
2.5" 4pcs Chromium Crusher Herb Grinder Stash Jar Roller Box COMBO 70084
US $27.99
MinoSharp 472 Combination Whetstone Sharpening Kit Medium/Superfine New in Box
MinoSharp 472 Combination Whetstone Sharpening Kit Medium/Superfine New in Box
US $79.00
MinoSharp 471 Combination Whetstone Sharpening Kit Rough/Medium - New in Box
MinoSharp 471 Combination Whetstone Sharpening Kit Rough/Medium - New in Box
US $64.00
New Visonik V212BS 1500 Watt Dual 12
New Visonik V212BS 1500 Watt Dual 12" Sub Box/Amp Combo
US $152.50
NIB Sisley Paris Cleansing Milk w/ Sage Combination/Oil Skin 8.4oz Brand New Box
NIB Sisley Paris Cleansing Milk w/ Sage Combination/Oil Skin 8.4oz Brand New Box
US $64.99
100 2x2 Combination of Mylar Coin Holder Flips with Box
100 2x2 Combination of Mylar Coin Holder Flips with Box
US $5.00
2.2
2.2" 4pcs Chromium Crusher Herb Grinder Safe Can Roller Box COMBO 70094 Silver
US $25.99
Vintage portable cash box with combination lock.
Vintage portable cash box with combination lock.
US $10.00
LIONEL PENNSYLVANIA COMBO MODEL RAILROAD TRAIN CAR 6-16009 W/BOX
LIONEL PENNSYLVANIA COMBO MODEL RAILROAD TRAIN CAR 6-16009 W/BOX
US $19.99
12 Point 24mm Open-end Box-end Combination Wrench Tool
12 Point 24mm Open-end Box-end Combination Wrench Tool
US $12.44
Rare Old Heddon vamp combo Fishing lure antique vintage box
Rare Old Heddon vamp combo Fishing lure antique vintage box
US $30.00
GE Magnetic Motor Starter Combination, 4X SS Stainless, NEMA 1, New in Box
GE Magnetic Motor Starter Combination, 4X SS Stainless, NEMA 1, New in Box
US $399.00

Items recently purchased from this site

Cooler/Freezer combo box; 8x8 cooler and 8x8 freezer , BOX Sealless Combo Multipurpose Tool - BOXMIP38412, BOX Combo Multipurpose Tool - BOXMIP38458, BOX Combo Multipurpose Tool - BOXMIP38434, mobile office combo storage 8x28 box size trailer midwest , 12Ga Thickness 72" W Roper-Whitney 612 FINGER (BOX & PAN) BRAKE, Combination Apr, ALLEN-BRADLEY 513-BSBD-41 STARTER,COMBINATION 600V AC MAX NEW IN BOX**, SNAP-ON CLASSIC 78 TOOL CHEST BOX COMBO ROYAL BLUE EUC, Fender Vibro-King Custom All Tube Electric Guitar Amplifier Amp Combo New in Box, 19thc Cast Iron "Duffy's Combination Gravity Level & Bevel Protractor" NM in Box, Square D 8538 Size 5 Combination Starter Box 8536 SS 3R, NEW WILLIAMS TOOLS HEAVY DUTY COMBO TOOL BOX, Westinghouse Size 6 Combination Motor Starter in Enclosed Box, Square D Size 5 8536SG0 Fuse Combination Starter box 3R, Extreme Tools Toolbox 56" Combo 11 Drawer Rolling Tool Chest w/10 Drawer Top Box, Square D Size 4 250 Amp Breaker Combination Starter Box Stainless Steel 3R, Fender Super Sonic Twin Combo Blonde 100W Electric Amplifier Amp New in Box!, *NEW IN BOX* Fender Super-Sonic Twin Blonde Electric Guitar Tube Combo, Blue International 56" Tool Box 3 PC Roller Combo, Red International 56" Tool Box 3 PC Roller Combo, Orange International 56" Tool Box 3 PC Roller Combo, Black International 56" Tool Box 3 PC Roller Combo, *NEW IN BOX* Fender Machete Electric Guitar Amplifier Amp Combo, MICROTECH LT16 ECU MAZDA RX7 13B, 20B COMBO WITH X6 BOX, SNAP-ON TOOL CHEST BOX COMBO ROYAL BLUE EUC, King Kutter Box Frame Disc Harrow-7 1/2-ft Combination #20-24-G-CBF-YK, BOX 1/2" - 3/4" Sealless Combo Multipurpose Tool - BOXMIP4800, 1947 DINKY #501 FODEN 8 WHEEL WAGON, EXC IN BOX, RARE COLOR COMBINATION!, Square D Size 3 Combo Box Part# 8538 SEA 13 FTX5 Used, Fender TB-600C 600 Watt Electric Bass Guitar Pro Amplifier Amp Combo New in Box!, King Kutter Box Frame Disc Harrow-6 1/2-ft Combination #20-20-G-CBF-YK, T-REX 700E 3GX Super Combo KX018E12 with New Castle Ice2 HV120 ESC New in Box, Dangerous Music D-BOX Combination Summing and Monitoring System PROAUDIOSTAR, King Kutter Box Frame Disc Harrow-7 1/2-ft Combination #18-24-G-CBF-YK, New Longacre Vision Scale Combo, w/ Free Scale Pad Storage Box, New 12 Drawer Rolling Metal Toolbox Cabinet 42"X18" Tool Chest Box Combo, Align T-REX 700E F3C Super Combo KX018E06 w/ Castle ICE2 HV120 ESC New in Box, Align T-REX 700E F3C Super Combo KX018E06 New in Box, King Kutter Box Frame Disc Harrow-6 1/2-ft Combination #18-20-G-CBF-YK, Align T-REX 700E 3G Super Combo KX018E01 New in Box, **Free shipping** Align T-REX 700E 3G Super Combo KX018E01 New in Box, 92 Gallon L-Shaped 56" Box Combo Tanks, RV Roadmaster FALCON 2 TOW BAR ,BRACKETS ,COMBO KIT RV NEW IN THE BOX, BIRD SDC 4K C BGA for X box Rework VGA Reballing PC USB Balls 218 Nets Flux PCB, Red International 42" 3 PC Tool Box Combo Toolbox, Black International 42" 3 PC Tool Box Combo Toolbox, Orange International 42" 3 PC Tool Box Combo Toolbox, TC Electronic ComboClassic Bass Amp Combo, Open Box Demo Unit, 80 Gallon L-Shaped 48" Box Combo Tanks, TapeTech Flat Box Combo Set TTFBC NEW, NEW IN THE BOX CALLAWAY RAZR XF COMBO IRONS (4H 5H 6-SW) GRAPHITE REGULAR, NEW IN THE BOX CALLAWAY RAZR XF COMBO IRONS (4H 5H 6-AW) GRAPHITE WOMENS, NEW IN THE BOX CALLAWAY RAZR XF COMBO IRONS (4H 5H 6-AW) GRAPHITE STIFF, Black 42" International Tool Box 2 PC Combo Top Bottom, Orange 42" International Tool Box 2 PC Combo Top Bottom, Red 42" International Tool Box 2 PC Combo Top Bottom, Blue 42" International Tool Box 2 PC Combo Top Bottom, Jenn-Air JMW8330DAW 30" Microwave/Wall Oven Combo Self Cleaning WHITE OPEN BOX, Align T-REX 600E PRO Super Combo KX016016 New in Box, Dee Zee 91742B Tool Box Specialty BLK 56IN. COMBO LIQ/TRANSTNK/CHEST JEGS, Craftsman Industrial / Professional Tool Box Combo - NO RESERVE - Must See, American Optical combination eyeglass frames NOS 24 frame lots with box, NEW IN THE BOX CALLAWAY RAZR XF COMBO IRONS (4H 5H 6-AW) STEEL REGULAR, NEW IN THE BOX CALLAWAY RAZR XF COMBO IRONS (4H 5H 6-AW) STEEL STIFF, Randall RM50B MTS Series 50 Watt Tube Guitar Combo Amp - NEW IN BOX, Ebara 50x20 Dry Vacuum Pump & Blower Combination with Control Box 50 x 20, *NEW IN BOX* Fender 65 RI Deluxe Reverb Electric Guitar Tube Amp Amplifier Combo, Vintage original boxed Stanley No 45 Combination Plane Cutter Set Studebaker Tag, combo kit flycam 3000 steady rig body pod kit-21 matte box follow focus campod, Square D 8538SCA14V02S Combination Starter NEW-NO BOX, ALIGN T-REX 600E FBL Super Combo w/ ALL ELECTRONICS and ICE2 ESC **NEW IN BOX**, Andersen Sandtone Awning 6 Window Combo A251-3/A251-3 Anderson In Factory Box , St-24Kw Gen/Alternator, PTO Gear Box, Coupler Combo !!, Square D Size 3 100 A Fuse Combination Starter Box 8536-SEO1 SS 34" 3R, Siemens Fused Size sz 3 Combo Starter Box NIB New, St-20Kw Gen/Alternator, PTO Gear Box, Coupler Combo !!, 90 Gallon L-Shaped 56" Box Steel Combo Tanks, White, 90 Gallon L-Shaped 56" Box Steel Combo Tanks Black, Align T-REX 550E 3GX Combo KX021008 New in box, Dee Zee 91740B Tool Box Specialty BLK 56IN. COMBO LIQ/TRANSFER TANK/5TH TB 37 GA, ALIGN T-REX 550 V2 3GX Super Combo w/ ALL ELECTRONICS FACTORY SEALED* NEW IN BOX, Dee Zee 91741B Tool Box Specialty BLK 48IN. COMBO LIQ/TRANSTNK/CHEST JEGS, 80 Gallon L-Shaped 48" Box Steel Combo Tanks,White, 80 Gallon L-Shaped 48" Box Steel Combo Tanks Black , Humminbird 798CI HD SI Combo Fishfinder (open box), Dee Zee 37 Gallon Transfer Tank Tool Box Combo 91740, Align T-REX 500EFL PRO Super Combo KX017016 New in Box Free Shipping, TWO BROTHERS RACING / DYNOJET - ZX10R EXHAUST/JUICE BOX COMBO, Fender Bassman TV Twelve Bass Combo Amplifier Amp New in Box!, NEW Randall George Lynch "Lynch Box" 50 Watt Combo DISPLAY MODEL RARE LYNCHBOX, New - Westinghouse Combo Starter Box Breaker w/ Controls HU510955-HUU, ALIGN T-REX 500EFL Super Combo w/ ALL ELECTRONICS **NEW IN BOX** FACTORY*SEALED, 20-80 MPH Pitching Machine FP Original Baseball Softball Combo New in Box!, Align T-REX 500E PRO Super Combo KX017015 with GP900 New in Box Free Shipping, Fender Bassman TV Ten Bass Combo Tweed Amplifier Amp 150 Watts New in Box!,

Comments are closed.