Results 1 to 9 of 9

Thread: What I am missing here[UNRESOLVED]

Threaded View

  1. #1

    Thread Starter
    Lively Member hidroela's Avatar
    Join Date
    Mar 2004
    Posts
    107

    Unhappy What I am missing here[UNRESOLVED]

    What I am missing here I got this code

    VB Code:
    1. Public Enum ProcesorType
    2.     PLC3 = 0
    3.     PLC5_250 = 1
    4.     PLC5 = 2
    5.     SLC500 = 3
    6.     MicroLogix1000 = 4
    7. End Enum
    8.  
    9. Public Property Let ProcessorType(ByVal vData As ProcesorType)
    10.     On Error Resume Next
    11.     mvarProcessorType = vData
    12. End Property
    13.  
    14. Public Property Get ProcessorType() As ProcesorType
    15.     On Error Resume Next
    16.     ProcessorType = mvarProcessorType
    17. End Property

    My problem is why I am getting for example a 4 when I am requesting the value of the ProcessorType Property rather than MicroLogix1000

    Any help would be appreciated
    Best regards Hidroilio Pérez
    Last edited by hidroela; Jul 19th, 2005 at 05:39 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width