Any one thats willing to help me with making a module, i fairly new to vb, or if you can't help me maybe give me a tutorial site??? thanks
Printable View
Any one thats willing to help me with making a module, i fairly new to vb, or if you can't help me maybe give me a tutorial site??? thanks
A module is nothing but code. What is it exactly that you are having trouble with?
i know what it is, i just want to know what i have to declare and where i get the info etc, like do i use API or what?
You just declare functions in modules like you would do in any other object:
VB Code:
Public Pub_Var As Long Public Pub_Str As String Const xx As String = "QWERTY" Public Function foo(ByVal Param1 As Long, Param2 As IMethodInterface) As Long MsgBox Param2.TextString End Function
You COULD use APIs in modules, but the APIs are never REQUIRED in VB ;). Well, they really are not unless if you need "extended capabilities."
i don't know what i have to declare i don't know how to find what i have to declare, so what i'm asking is how do i find what i have to declare?
It all depends what you want to do. Search this forum for what you want to do, and you'll probably find what you are looking for. And if you don't, try msdn.microsoft.com