Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
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 December 6th, 2004, 11:37 AM
Authorized User
 
Join Date: Oct 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Use Enumeration in VB6

Hi,

I have got a question regarding using enumeration in VB. I haven't used in since now. Can anyone say how,where that should be used to handle the problem. If possible give the codes with examples explaining in detail

A.D.Ramkumar
__________________
Ramkumar A D
 
Old December 6th, 2004, 02:35 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Which problem are you talking about?

An enumeation is declared as

enum EMyEnumaration
  first
  second
  third
end enum

use as

dim em as EMyEnumaration
em = first

Full documentation with examples at

http://msdn.microsoft.com/library/de.../vastmenum.asp

Marco





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can this enumeration be based on the byte type? webworldman C# 2 August 7th, 2006 03:40 AM
Enumeration nguyendh BOOK: Ivor Horton's Beginning Visual C++ 2005 3 June 25th, 2006 01:22 AM
AD Group enumeration raspar VB How-To 1 June 15th, 2004 02:18 PM
Enumeration tbriers VB How-To 0 March 30th, 2004 04:04 AM





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