An Enum question


Author
Message
StarkMike
StarkMike
StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)
Group: Forum Members
Posts: 436, Visits: 944
Here is the error i'm getting:

'ParentFormID' cannot expose type 'Module1.ParentFormIDEnum' outside the project through class 'MyClass'.

Here is the related code:

Module Module1

    Enum ParentFormIDEnum As Integer
        POReceiving = 1
        Production = 4
        Returns = 5
    End Enum

End Module

Public Class MyClass

    Public WriteOnly Property ParentFormID() As ParentFormIDEnum
        Set(ByVal value As ParentFormIDEnum)
         miParentFormID = value
        End Set
    End Property

End Class

I'm not sure what this error means. All I'm trying to do is create a global enum and be able to use it in all areas of my program.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
StarkMike - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Paul Chase - 18 Years Ago
Paul Chase - 18 Years Ago
StarkMike - 18 Years Ago
StarkMike - 18 Years Ago
StrataFrame Team - 18 Years Ago
Ivan George Borges - 17 Years Ago
Trent L. Taylor - 17 Years Ago
                         No, Ivan, you can have as many Imports as you want... they don't...
StrataFrame Team - 17 Years Ago
                             Thanks guys, got the idea.
Ivan George Borges - 17 Years Ago
                                 Anything for you, Ivan :D
Trent L. Taylor - 17 Years Ago
StarkMike - 18 Years Ago
StarkMike - 18 Years Ago
StrataFrame Team - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search