4

I've got a VB6 form with a ComboBox on it, which I'm trying to add a few single-character items to (specifically, 'A' through 'D'.) I can enter them into the properties box (using Ctrl-Enter to add new lines) and I get a box that looks like this:

Listbox with single-character items.

When I accept the list items, however (by hitting Enter or moving focus,) it replaces all my single character items with squares:

enter image description here

This happens to all single-character items, but not any multi-character items I may add. The items are actually changed (it's not just a display issue), and show up as boxes when actually running the program as well. Obviously I can add the items programatically, but I'd rather do it during design-time for simple applications like this one. Is this a bug in the VB6 IDE, and is there a workaround?

dlras2
  • 8,416
  • 7
  • 51
  • 90

3 Answers3

1

i see .Disable all add-ins close vb and enter again test and after enable add-ins. in my case that fix it

Carlos Cocom
  • 937
  • 1
  • 8
  • 23
1

You don't have a non-standard (or unicode) regional setting on your machine do you - try using English (United Kingdom) for both regional setting and keyboard setting and see if this helps.

When I wrote a VB6 app that used Arabic some time ago I had to change locale and reboot my box every time I wanted to edit the arabic strings in the resource file as it would screw up otherwise!

Matt Wilko
  • 26,994
  • 10
  • 93
  • 143
0

I had a similar issue many years ago, but not any more. I think the fix was to install VB6 service pack 6.

Deanna
  • 23,876
  • 7
  • 71
  • 156