Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 30th, 2004, 04:04 AM
Authorized User
 
Join Date: Aug 2003
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default Enumeration

Hi all,

Does anybody know how to create an enumeration which contains string.

E.g.

Public Enum Codes
  one = "aCode"
  two = "bCode"
  ...
End Enum

If this is possible it would make my code a lot easier and more manageble.

Thanks in advance

Tom.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Enumeration nguyendh BOOK: Ivor Horton's Beginning Visual C++ 2005 3 June 25th, 2006 01:22 AM
Give an example program for Enumeration in Flexgri ramk_1978 Beginning VB 6 0 January 20th, 2005 09:06 AM
How to Use Enumeration in VB6 ramk_1978 VB How-To 1 December 6th, 2004 02:35 PM
AD Group enumeration raspar VB How-To 1 June 15th, 2004 02:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.