Click here to Skip to main content
13,091,268 members (52,116 online)

Visual Basic

 
GeneralRe: datagrid in vs 2012 Pin
jenkinsdjj31-Dec-12 0:40
memberjenkinsdjj31-Dec-12 0:40 
QuestionGetting innertext of HTML with </ br> tag between words Pin
Stonesteel26-Dec-12 22:57
memberStonesteel26-Dec-12 22:57 
AnswerRe: Getting innertext of HTML with </ br> tag between words Pin
Dave Kreskowiak27-Dec-12 8:49
mvpDave Kreskowiak27-Dec-12 8:49 
GeneralRe: Getting innertext of HTML with </ br> tag between words Pin
Stonesteel27-Dec-12 21:04
memberStonesteel27-Dec-12 21:04 
GeneralRe: Getting innertext of HTML with </ br> tag between words Pin
Dave Kreskowiak28-Dec-12 4:41
mvpDave Kreskowiak28-Dec-12 4:41 
Questionthreading impliment Pin
Michael Hulak25-Dec-12 17:58
memberMichael Hulak25-Dec-12 17:58 
AnswerRe: threading impliment Pin
Dineshshp25-Dec-12 18:32
memberDineshshp25-Dec-12 18:32 
AnswerRe: threading impliment Pin
Eddy Vluggen26-Dec-12 12:16
memberEddy Vluggen26-Dec-12 12:16 
The Invoke pattern;
Imports System.Threading
 
Public Class Form1
    Dim MyNewThread As Thread
 
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click        
        'create the thread 
        MyNewThread = New Thread(AddressOf MyThread.MyThreadExecute)
        MyThread.ThatForm = Me
        'start the thread
        MyNewThread.Start()
    End Sub
 
    Public Sub SetProgress(ByVal What As String)
        If InvokeRequired Then
            Invoke(New Action(Of String)(AddressOf SetProgress), New Object() {What})
            Return
        End If
 
        Label1.Text = What
    End Sub
End Class
 
Module MyThread
    Public ThatForm As Form1
 
    Public Sub MyThreadExecute()
        Dim i As Integer = 0
        Do
            i = i + 1
            ThatForm.SetProgress(i)
            Thread.Sleep(100)
        Loop
    End Sub
End Module

Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

QuestionHow to read list of local and network printers Pin
KASR125-Dec-12 7:21
memberKASR125-Dec-12 7:21 
AnswerRe: How to read list of local and network printers Pin
Eddy Vluggen25-Dec-12 8:30
memberEddy Vluggen25-Dec-12 8:30 
GeneralRe: How to read list of local and network printers Pin
KASR126-Dec-12 3:38
memberKASR126-Dec-12 3:38 
GeneralRe: How to read list of local and network printers Pin
Eddy Vluggen26-Dec-12 11:58
memberEddy Vluggen26-Dec-12 11:58 
GeneralRe: How to read list of local and network printers Pin
KASR126-Dec-12 23:15
memberKASR126-Dec-12 23:15 
GeneralRe: How to read list of local and network printers Pin
Eddy Vluggen27-Dec-12 4:28
memberEddy Vluggen27-Dec-12 4:28 
GeneralRe: How to read list of local and network printers Pin
KASR127-Dec-12 7:26
memberKASR127-Dec-12 7:26 
GeneralAdding an email notification module to my application. Pin
KismetGerald24-Dec-12 13:01
memberKismetGerald24-Dec-12 13:01 
GeneralRe: Adding an email notification module to my application. Pin
Richard MacCutchan24-Dec-12 23:07
mvpRichard MacCutchan24-Dec-12 23:07 
GeneralRe: Adding an email notification module to my application. Pin
KismetGerald25-Dec-12 0:09
memberKismetGerald25-Dec-12 0:09 
GeneralRe: Adding an email notification module to my application. Pin
Richard MacCutchan25-Dec-12 21:01
mvpRichard MacCutchan25-Dec-12 21:01 
Questionvbs - text inputs uploaded to web Pin
oceaniana24-Dec-12 12:25
memberoceaniana24-Dec-12 12:25 
QuestionThrowing run time error while saving the record. Pin
Member 786176324-Dec-12 2:11
memberMember 786176324-Dec-12 2:11 
AnswerRe: Throwing run time error while saving the record. Pin
Eddy Vluggen25-Dec-12 3:03
memberEddy Vluggen25-Dec-12 3:03 
Questiongetting right string value from textbox with arabic text in vb6 Pin
Member 970722123-Dec-12 0:44
memberMember 970722123-Dec-12 0:44 
AnswerRe: getting right string value from textbox with arabic text in vb6 Pin
Eddy Vluggen23-Dec-12 14:17
memberEddy Vluggen23-Dec-12 14:17 
GeneralRe: getting right string value from textbox with arabic text in vb6 Pin
Member 970722123-Dec-12 20:34
memberMember 970722123-Dec-12 20:34 

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.


Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 20 Aug 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid