comboxbox in vb6.0 help

Posted on 2007-07-19
Last Modified: 2008-01-09
I have a combobox (pull-down) in vb6.0....How do I set it so the users can't edit the box? Right now anyone can type and change what's selected...thanks!
Question by:azcalv408
    LVL 53

    Accepted Solution

    In design mode, change the Style property of the combobox to "2 - Dropdown list"

    Author Comment

    yea but dropdown list won't let me set default's just blank when i load the form
    LVL 53

    Expert Comment

    You can set it like this : Combobox.listindex = 1

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…

    730 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now