Click here to Skip to main content
15,890,947 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to search specific record faster Pin
Mycroft Holmes25-Jul-08 13:39
professionalMycroft Holmes25-Jul-08 13:39 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 13:50
MAP Tiger25-Jul-08 13:50 
GeneralRe: How to search specific record faster Pin
Mycroft Holmes25-Jul-08 15:41
professionalMycroft Holmes25-Jul-08 15:41 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 16:19
MAP Tiger25-Jul-08 16:19 
GeneralRe: How to search specific record faster Pin
Mycroft Holmes25-Jul-08 16:33
professionalMycroft Holmes25-Jul-08 16:33 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 16:45
MAP Tiger25-Jul-08 16:45 
QuestionThreading question Pin
Cory Kimble24-Jul-08 9:23
Cory Kimble24-Jul-08 9:23 
AnswerRe: Threading question Pin
Luc Pattyn24-Jul-08 16:51
sitebuilderLuc Pattyn24-Jul-08 16:51 
Hi Cory,

first a remark:
the subject of InvokeRequired and Invoke() both should equal the one Control
you are going to touch in your Else part, hence it is not Me.Invoke
but batch.txtboxWeight.Invoke() that would be correct.

Now the problem: I am assuming that Splash is a Form, hence you again are
trying to do something (ask for its cust property) to a Control; if this is not
the GUI thread asking, then you need again the InvokeRequired, Delegate, Invoke stuff.
You need it every time you touch a Control (i.e. read a property, write a property, call a
method, whatever) while you are not sure the code is always going to be executed
by the GUI thread.

And as you know, some devices (most timers, serial ports, etc) fire their asynchronous
events (Elapsed, DataReceived, ...) on some other thread.

Hope this helps.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Voting for dummies? No thanks. Dead | X|


QuestionRunning Windows Script on local network Computer Pin
Nerber24-Jul-08 9:01
Nerber24-Jul-08 9:01 
AnswerRe: Running Windows Script on local network Computer Pin
Uros Calakovic25-Jul-08 4:52
Uros Calakovic25-Jul-08 4:52 
QuestionButton inside of a group box Pin
sa_runner24-Jul-08 7:56
sa_runner24-Jul-08 7:56 
AnswerRe: Button inside of a group box Pin
sa_runner24-Jul-08 8:09
sa_runner24-Jul-08 8:09 
QuestionOdd question of the day: In a custom control, how do you get the + sign for nested properties? Pin
Jon_Boy24-Jul-08 4:16
Jon_Boy24-Jul-08 4:16 
AnswerRe: Odd question of the day: In a custom control, how do you get the + sign for nested properties? Pin
Tom Deketelaere24-Jul-08 5:23
professionalTom Deketelaere24-Jul-08 5:23 
AnswerRe: Odd question of the day: In a custom control, how do you get the + sign for nested properties? Pin
Thomas Stockwell24-Jul-08 5:31
professionalThomas Stockwell24-Jul-08 5:31 
GeneralRe: Odd question of the day: In a custom control, how do you get the + sign for nested properties? Pin
Jon_Boy24-Jul-08 5:54
Jon_Boy24-Jul-08 5:54 
Question[Message Deleted] Pin
vidhish24-Jul-08 1:09
vidhish24-Jul-08 1:09 
AnswerRe: concatanation Pin
John Ad24-Jul-08 1:13
John Ad24-Jul-08 1:13 
QuestionAccess Permission Pin
monika_vasvani24-Jul-08 0:05
monika_vasvani24-Jul-08 0:05 
AnswerRe: Access Permission Pin
~Khatri Mitesh~24-Jul-08 1:08
~Khatri Mitesh~24-Jul-08 1:08 
AnswerRe: Access Permission Pin
jzonthemtn24-Jul-08 3:41
jzonthemtn24-Jul-08 3:41 
QuestionPrinting with ZedGraph ! Pin
CrocodileBuck23-Jul-08 21:44
CrocodileBuck23-Jul-08 21:44 
AnswerRe: Printing with ZedGraph ! Pin
Steven J Jowett24-Jul-08 22:39
Steven J Jowett24-Jul-08 22:39 
Questionis there any function in vb where you can retrieve if a specific removable drive or disk is write protected = true or false?? [modified] Pin
vbDigger'z23-Jul-08 21:16
vbDigger'z23-Jul-08 21:16 
AnswerRe: is there any function in vb where you can retrieve if a specific removable drive or disk is write protected = true or false?? Pin
jzonthemtn24-Jul-08 3:43
jzonthemtn24-Jul-08 3:43 

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.