Click here to Skip to main content
12,699,029 members (23,280 online)

Visual Basic

 
AnswerRe: datagrid in vs 2012 Pin
Richard MacCutchan30-Dec-12 23:29
mvpRichard MacCutchan30-Dec-12 23:29 
GeneralRe: datagrid in vs 2012 Pin
jenkinsdjj31-Dec-12 1:40
memberjenkinsdjj31-Dec-12 1:40 
QuestionGetting innertext of HTML with </ br> tag between words Pin
Stonesteel26-Dec-12 23:57
memberStonesteel26-Dec-12 23:57 
AnswerRe: Getting innertext of HTML with </ br> tag between words Pin
Dave Kreskowiak27-Dec-12 9:49
mvpDave Kreskowiak27-Dec-12 9:49 
GeneralRe: Getting innertext of HTML with </ br> tag between words Pin
Stonesteel27-Dec-12 22:04
memberStonesteel27-Dec-12 22:04 
GeneralRe: Getting innertext of HTML with </ br> tag between words Pin
Dave Kreskowiak28-Dec-12 5:41
mvpDave Kreskowiak28-Dec-12 5:41 
Questionthreading impliment Pin
Michael Hulak25-Dec-12 18:58
memberMichael Hulak25-Dec-12 18:58 
AnswerRe: threading impliment Pin
Dineshshp25-Dec-12 19:32
memberDineshshp25-Dec-12 19:32 
A thread is a new process started by u and it can not access controls of thread who create it. but the child thread can return data to parent thread.

error "Cross-thread operation not valid: Control 'ProgressBar1' accessed from a thread other than the thread it was created on" thrown by your code is an example of it.

Solution: you can use BackgroundWorker class to reduce your problem. it will start a new thread and doesn't hang your application while searching and it can also return data to your application after completion of it's execution.

if you can work according to my suggesion then OK otherwise tell me, i will give an example code that will solve your problem.
AnswerRe: threading impliment Pin
Eddy Vluggen26-Dec-12 13:16
memberEddy Vluggen26-Dec-12 13:16 
QuestionHow to read list of local and network printers Pin
KASR125-Dec-12 8:21
memberKASR125-Dec-12 8:21 
AnswerRe: How to read list of local and network printers Pin
Eddy Vluggen25-Dec-12 9:30
memberEddy Vluggen25-Dec-12 9:30 
GeneralRe: How to read list of local and network printers Pin
KASR126-Dec-12 4:38
memberKASR126-Dec-12 4:38 
GeneralRe: How to read list of local and network printers Pin
Eddy Vluggen26-Dec-12 12:58
memberEddy Vluggen26-Dec-12 12:58 
GeneralRe: How to read list of local and network printers Pin
KASR127-Dec-12 0:15
memberKASR127-Dec-12 0:15 
GeneralRe: How to read list of local and network printers Pin
Eddy Vluggen27-Dec-12 5:28
memberEddy Vluggen27-Dec-12 5:28 
GeneralRe: How to read list of local and network printers Pin
KASR127-Dec-12 8:26
memberKASR127-Dec-12 8:26 
GeneralAdding an email notification module to my application. Pin
KismetGerald24-Dec-12 14:01
memberKismetGerald24-Dec-12 14:01 
GeneralRe: Adding an email notification module to my application. Pin
Richard MacCutchan25-Dec-12 0:07
mvpRichard MacCutchan25-Dec-12 0:07 
GeneralRe: Adding an email notification module to my application. Pin
KismetGerald25-Dec-12 1:09
memberKismetGerald25-Dec-12 1:09 
GeneralRe: Adding an email notification module to my application. Pin
Richard MacCutchan25-Dec-12 22:01
mvpRichard MacCutchan25-Dec-12 22:01 
Questionvbs - text inputs uploaded to web Pin
oceaniana24-Dec-12 13:25
memberoceaniana24-Dec-12 13:25 
QuestionThrowing run time error while saving the record. Pin
Member 786176324-Dec-12 3:11
memberMember 786176324-Dec-12 3:11 
AnswerRe: Throwing run time error while saving the record. Pin
Eddy Vluggen25-Dec-12 4:03
memberEddy Vluggen25-Dec-12 4:03 
Questiongetting right string value from textbox with arabic text in vb6 Pin
Member 970722123-Dec-12 1:44
memberMember 970722123-Dec-12 1:44 
AnswerRe: getting right string value from textbox with arabic text in vb6 Pin
Eddy Vluggen23-Dec-12 15:17
memberEddy Vluggen23-Dec-12 15:17 

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 | Mobile
Web01 | 2.8.170118.1 | Last Updated 21 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid