Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I eliminate duplicate combo box strings

Posted on 2000-03-25
1
Medium Priority
?
191 Views
Last Modified: 2013-11-20
I need to clear everything inside the combo box aswell as eliminate duplicate entries.

thanks neil.

0
Comment
Question by:neilbharadia
1 Comment
 
LVL 8

Accepted Solution

by:
Vinayak Kumbar earned 400 total points
ID: 2657328
Hi,

To Clear everything Just use
ResetContents() method of CComboBox and not to allow the duplicate entries, check the entries with the FindString() function.

Hope this helps.

VinExpert
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question