Click here to Skip to main content
15,913,090 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to Cast dynamically? Pin
FruitBatInShades29-Jan-03 2:57
FruitBatInShades29-Jan-03 2:57 
GeneralDES Encryption Pin
Zaid Ansari29-Jan-03 2:05
Zaid Ansari29-Jan-03 2:05 
QuestionPrinting a datagrid in VB.NET? Pin
James Williams28-Jan-03 8:11
James Williams28-Jan-03 8:11 
GeneralThe Recent Projects dialog Pin
Like2Byte28-Jan-03 8:13
Like2Byte28-Jan-03 8:13 
GeneralUnwanted rounding in a sum !!!!! Pin
mixahlos28-Jan-03 3:09
mixahlos28-Jan-03 3:09 
GeneralRe: Unwanted rounding in a sum !!!!! Pin
Richard Deeming28-Jan-03 4:16
mveRichard Deeming28-Jan-03 4:16 
QuestionHow pass an enum as parameter to a function Pin
EckhardBraun27-Jan-03 21:29
EckhardBraun27-Jan-03 21:29 
AnswerRe: How pass an enum as parameter to a function Pin
SimonS27-Jan-03 21:41
SimonS27-Jan-03 21:41 
Firstly, you aren't able to expose a private member as a parameter of a public method.
Here's some working code:
Module Module1
    Public Enum AnyEnum
        a
        b
    End Enum

    Public Sub Any(ByVal Enumeration As AnyEnum)

    End Sub

    Sub Main()
        Any(AnyEnum.a)

    End Sub

End Module
Does this help you?

Cheers,
Simon

"The day I swan around in expensive suits is the day I hope someone puts a bullet in my head.", Chris Carter.
animation mechanics in SVG

GeneralRe: How pass an enum as parameter to a function Pin
EckhardBraun27-Jan-03 21:53
EckhardBraun27-Jan-03 21:53 
GeneralRe: How pass an enum as parameter to a function Pin
SimonS28-Jan-03 0:24
SimonS28-Jan-03 0:24 
GeneralStrange PostMessage Problem Pin
WalthamstowBoyInSydney27-Jan-03 17:34
WalthamstowBoyInSydney27-Jan-03 17:34 
GeneralRe: Strange PostMessage Problem Pin
Richard Deeming28-Jan-03 0:44
mveRichard Deeming28-Jan-03 0:44 
GeneralI need a wait command Pin
NickOne27-Jan-03 10:07
NickOne27-Jan-03 10:07 
GeneralRe: I need a wait command Pin
Ray Cassick27-Jan-03 12:00
Ray Cassick27-Jan-03 12:00 
GeneralVB Data control Pin
mixahlos27-Jan-03 9:43
mixahlos27-Jan-03 9:43 
QuestionHow to catch DoubleClick event in treeview control Pin
26-Jan-03 23:34
suss26-Jan-03 23:34 
AnswerRe: How to catch DoubleClick event in treeview control Pin
Heath Stewart27-Jan-03 1:56
protectorHeath Stewart27-Jan-03 1:56 
Generalgenerating report based on subgroups Pin
mcm26-Jan-03 3:45
mcm26-Jan-03 3:45 
Generalcalling a subroutine at the beginnign Pin
NickOne25-Jan-03 14:16
NickOne25-Jan-03 14:16 
GeneralRe: calling a subroutine at the beginnign Pin
Hesham Amin26-Jan-03 10:52
Hesham Amin26-Jan-03 10:52 
GeneralRe: calling a subroutine at the beginnign Pin
Paul Farry22-Feb-03 17:41
professionalPaul Farry22-Feb-03 17:41 
Generalgenerating report based on parametres in Where clause Pin
mcm25-Jan-03 4:37
mcm25-Jan-03 4:37 
GeneralSerializing a strong typed collection Pin
Jan Tielens24-Jan-03 10:13
Jan Tielens24-Jan-03 10:13 
GeneralRe: Serializing a strong typed collection Pin
Jan Tielens3-Mar-03 7:31
Jan Tielens3-Mar-03 7:31 
QuestionVB 6.0 printf-like string function? Pin
Derek Price24-Jan-03 8:31
Derek Price24-Jan-03 8:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.