How to get rid of name default display in listbox

Posted on 2006-04-12
Medium Priority
Last Modified: 2010-05-01
I have a listbox named lstShipMethod.  The list box name is displayed in the
list box when I run the VB 6.0 application.  What property do I have to set to get
rid of the name lstShipMethod being displayed in the list box? What do I need
to set the property to.

Question by:swansonplace
  • 2
LVL 52

Expert Comment

by:Carl Tawn
ID: 16438140
That sounds a little odd. The name will appear in the list in "Design" mode, but shouldn't appear at runtime unless it has been added intentionally.

Accepted Solution

g_johnson earned 1000 total points
ID: 16438697
i agree this shouldn't be happening, but in design mode you can click on the ... where you can manually build the list, then delete it.  that will make it disappear in design mode, too and should also when running the app.

Author Comment

ID: 16438966
Thanks that worked.

Expert Comment

ID: 16439980

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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 In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

839 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