Click here to Skip to main content
15,903,175 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionWant to use Xml as Databse [modified] Pin
manuo511-Sep-07 23:36
manuo511-Sep-07 23:36 
AnswerRe: Want to use Xml as Databse Pin
Dave Kreskowiak12-Sep-07 4:11
mveDave Kreskowiak12-Sep-07 4:11 
QuestionPlease help Pin
Dubey Yogendra11-Sep-07 23:19
Dubey Yogendra11-Sep-07 23:19 
AnswerRe: Please help Pin
Paul Conrad30-Sep-07 13:42
professionalPaul Conrad30-Sep-07 13:42 
Questionusing ActiveX in vb.net Pin
samira forooghi11-Sep-07 22:36
samira forooghi11-Sep-07 22:36 
AnswerRe: using ActiveX in vb.net Pin
Dave Kreskowiak12-Sep-07 3:58
mveDave Kreskowiak12-Sep-07 3:58 
Questioncreating an array of subprocedures Pin
wuzzywezzer11-Sep-07 22:00
wuzzywezzer11-Sep-07 22:00 
AnswerRe: creating an array of subprocedures Pin
Dave Kreskowiak12-Sep-07 4:09
mveDave Kreskowiak12-Sep-07 4:09 
There's no such thing as an array of "subprocedures". But, you can create an array of delegates. This example uses three subs that all take a single string as a parameter. You can NOT use a single delegate to point at subs with different argument lists.
Private Delegate Sub TestDelegate(ByVal str As String)

Private Function CreateDelegateList() As List(Of TestDelegate)
    Dim d As New List(Of TestDelegate)
    d.Add(New TestDelegate(AddressOf TestMethod1))
    d.Add(New TestDelegate(AddressOf TestMethod2))
    d.Add(New TestDelegate(AddressOf TestMethod3))
    Return d
End Function

Private Sub TestMethod1(ByVal paramValue As String)
    ' Do something useful...
End Sub

Private Sub TestMethod2(ByVal paramValue As String)
    ' Do something useful...
End Sub

Private Sub TestMethod3(ByVal paramValue As String)
    ' Do something useful...
End Sub



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: creating an array of subprocedures [modified] Pin
wuzzywezzer12-Sep-07 17:03
wuzzywezzer12-Sep-07 17:03 
GeneralRe: creating an array of subprocedures Pin
Dave Kreskowiak13-Sep-07 4:21
mveDave Kreskowiak13-Sep-07 4:21 
GeneralRe: creating an array of subprocedures Pin
wuzzywezzer13-Sep-07 16:41
wuzzywezzer13-Sep-07 16:41 
Questionwhat is the diff... [modified] Pin
nitin311-Sep-07 21:07
nitin311-Sep-07 21:07 
AnswerRe: what is the diff... Pin
chandu00411-Sep-07 21:16
chandu00411-Sep-07 21:16 
AnswerRe: what is the diff... Pin
Colin Angus Mackay11-Sep-07 21:44
Colin Angus Mackay11-Sep-07 21:44 
AnswerRe: what is the diff... Pin
MohammadAmiry11-Sep-07 21:54
MohammadAmiry11-Sep-07 21:54 
GeneralRe: what is the diff... Pin
chandu00411-Sep-07 22:07
chandu00411-Sep-07 22:07 
GeneralRe: what is the diff... Pin
nitin311-Sep-07 22:35
nitin311-Sep-07 22:35 
AnswerRe: what is the diff... Pin
rohitsrivastava11-Sep-07 23:37
rohitsrivastava11-Sep-07 23:37 
GeneralRe: what is the diff... Pin
nitin312-Sep-07 2:08
nitin312-Sep-07 2:08 
QuestionError:"Value does not fall within the expected range" Pin
Malay198611-Sep-07 19:41
Malay198611-Sep-07 19:41 
QuestionPivot table reporting in VB.Net Pin
Meenakshi2811-Sep-07 19:01
Meenakshi2811-Sep-07 19:01 
AnswerRe: Pivot table reporting in VB.Net Pin
i BM28-Sep-07 7:12
i BM28-Sep-07 7:12 
Questionuser type not defined help [modified] Pin
monsieur_jj11-Sep-07 15:57
monsieur_jj11-Sep-07 15:57 
AnswerRe: user type not defined help Pin
Dave Kreskowiak12-Sep-07 3:38
mveDave Kreskowiak12-Sep-07 3:38 
Questioncut an image in picturebox in VB.Net Pin
Soumya Jyoti Das11-Sep-07 11:38
Soumya Jyoti Das11-Sep-07 11:38 

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.