Click here to Skip to main content
15,887,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDate Format question Pin
No-e21-May-07 3:42
No-e21-May-07 3:42 
AnswerRe: Date Format question Pin
No-e21-May-07 4:02
No-e21-May-07 4:02 
Questionwats wrong in this Pin
balakpn21-May-07 3:42
balakpn21-May-07 3:42 
AnswerRe: wats wrong in this Pin
Dave Kreskowiak21-May-07 4:21
mveDave Kreskowiak21-May-07 4:21 
GeneralRe: wats wrong in this Pin
balakpn22-May-07 1:43
balakpn22-May-07 1:43 
GeneralRe: wats wrong in this Pin
Dave Kreskowiak22-May-07 12:08
mveDave Kreskowiak22-May-07 12:08 
GeneralRe: wats wrong in this Pin
balakpn22-May-07 18:29
balakpn22-May-07 18:29 
GeneralRe: wats wrong in this Pin
Dave Kreskowiak23-May-07 15:34
mveDave Kreskowiak23-May-07 15:34 
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim newThread As New Thread(AddressOf worker)
    Dim arrParameters(2) As String
    arrParameters(0) = "This "
    arrParameters(1) = "is "
    arrParameters(2) = "a test!"
    newThread.Start(arrParameters)
End Sub

Private Sub worker(ByVal param As Object)
    Dim params() As String = DirectCast(param, String())
    For Each s As String In params
        Debug.WriteLine(s)
    Next
End Sub

In order to use this, you have to be using .NET 2.0 and VB.NET 2005.


A guide to posting questions on CodeProject[^]

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


QuestionHow can I prevent DataGridView validation events when exiting the application? Pin
Marcus J. Smith21-May-07 3:38
professionalMarcus J. Smith21-May-07 3:38 
AnswerRe: How can I prevent DataGridView validation events when exiting the application? Pin
Dave Kreskowiak21-May-07 10:13
mveDave Kreskowiak21-May-07 10:13 
GeneralRe: How can I prevent DataGridView validation events when exiting the application? Pin
Marcus J. Smith21-May-07 10:38
professionalMarcus J. Smith21-May-07 10:38 
GeneralRe: How can I prevent DataGridView validation events when exiting the application? Pin
hairy_hats14-Jul-09 1:01
hairy_hats14-Jul-09 1:01 
Questionget hte data from the database Pin
sanapathi21-May-07 3:35
sanapathi21-May-07 3:35 
QuestionUpdate Panel Login control problem Pin
BobsAfro21-May-07 3:23
BobsAfro21-May-07 3:23 
AnswerRe: Update Panel Login control problem Pin
Dave Kreskowiak21-May-07 3:42
mveDave Kreskowiak21-May-07 3:42 
GeneralRe: Update Panel Login control problem Pin
BobsAfro21-May-07 3:44
BobsAfro21-May-07 3:44 
Questionhow can i protect a excel sheet Pin
koolprasad200321-May-07 3:10
professionalkoolprasad200321-May-07 3:10 
AnswerRe: how can i protect a excel sheet Pin
Dave Kreskowiak21-May-07 3:40
mveDave Kreskowiak21-May-07 3:40 
GeneralRe: how can i protect a excel sheet Pin
koolprasad200321-May-07 23:06
professionalkoolprasad200321-May-07 23:06 
Questionproblem with Optional default data Pin
Narenge21-May-07 2:31
Narenge21-May-07 2:31 
AnswerRe: problem with Optional default data Pin
kubben21-May-07 2:35
kubben21-May-07 2:35 
AnswerRe: problem with Optional default data Pin
Sonia Gupta21-May-07 2:37
Sonia Gupta21-May-07 2:37 
AnswerRe: problem with Optional default data Pin
Dave Kreskowiak21-May-07 3:38
mveDave Kreskowiak21-May-07 3:38 
QuestionHow can i get a current page number of a word file Pin
koolprasad200321-May-07 2:24
professionalkoolprasad200321-May-07 2:24 
Questionexit code Pin
Sonia Gupta21-May-07 2:05
Sonia Gupta21-May-07 2:05 

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.