Search:
Type: Posts; User: mbarton
Search:
Search took 0.04 seconds.
-
This code is working fine, no cross thread error but really want to confirm if it's acceptable.
I have 15 labels to manipulate and read where I can invoke the entire form rather than one label at...
-
It was on a tutorial I saw on youtube -- thanks.
-
If label1.invokerequired then ---
endif
or
If invokerequired then
endif
-
Crystal clear now. Thanks to all of you.
-
Oh -- see you already replied -- cool
-
Just a slight clarification:
You're not really "still in data received". The sub is being executed on the same thread that was executing the data received event handler.
Sure -- I get that,...
-
Ok -- here's the code that I got to work WITHOUT the error --
I'm getting my lowbit0 (which is gloabal) out of my serial port procedure and then enabling a timer. labelon is also a global...
-
-
I want to rework and rename an existing application and utilize everything I've already done -- but it looks like it isn't going to be that simple?
One post suggested renaming the folder, plus the...
-
So now I think I'm getting that eureka feeling.
Problem is, I have a LOT of screen manipulation and things to do when I get my bytes deciphered so I'll probably be needing multiple cross thread...
-
It WORKS !!!
But not done yet -- devil in the details maybe.
-
You know, something very basic just occurred to me.
The fact is, if I'm writing code in the serial port event, no matter what I do, even if I step out of it to a different procedure that I CALLED...
-
So, remember we're on a background thread, right? We're merrily tootling along, executing our code. First up, we perform a check:
(And we're on a background thread because why? We're writing code...
-
Sorry -- I thought that my original post had gotten redundant and why wouldn't you appreciate my honesty about being completely confused on the subject?
We're all made of different stuff, and I...
-
Frankly, NONE of this makes sense to me....
http://msdn.microsoft.com/en-us/library/ms171728.aspx
They just jump right into code without baby steps that explain the situation.
Every other...
-
Well, I know I'm talking to myself here -- but I'm sure you guys may see this eventually.
Here's where I'm at after a few hours of writing simple code and seeing what throws an error and what...
-
By the way Ident -- appreciate that code but it's way over my head right now and want to understand what I'm doing before I put it into code.
-
I want to ask something very basic --
Can you have the same control in 2 different event driven procedures?
Public sub button_click.....
label1.visible = true
-
I'm VERY confused about these 2 items from your replies --
"You might handle the Load event of the form, the Click event of a Button, the Tick event of a Timer and so one. All those events are...
-
I keep thinking also of threads as being separate paths to the CPU. I thought I had read that in the beginning of my studies.
For example, if all of a sudden a timer tick event starts, isn't it...
-
-
JL -- you're the first to point out something that has helped clear it up a bit and after I have my coffee, will delve into it.
That is, events that are TIED to the UI -- button clicks etc. In all...
-
Ok.
But isn't the serial port data received event a separate thread also?
When I use label1.visible = true in that procedure, I don't get an error.
I really need to get a hold on this...
-
....check for illegal and so on
I'll post some simple code tomorrow and show everything -- it will help me learn why the error happens.
I know it's about controls and threads and what is/isn't...
-
I just did some simple code reading the serial port and when I take out CFICT, I get an error that is related to a label.
I have 2 places where I mention "Label1.visible = true"
One is in the...
-
Ok -- to be honest, I have had some very rare problems so fresh start tomorrow with the help of the forum and going to try and learn this delegate business.
You talked me into it.
Thanks.
-
I'm going to level with you -- although I heard someone say a long time ago "Never use it"! -- and it stuck with me, if I didn't have this in my form load code, my program wouldn't work.
Because,...
-
I just wanted to confirm my reading -- this is the number of bytes that is put in the buffer before the data received event is triggered, correct? And it's ONLY for that purpose?
The event is...
-
forgot the link ---
http://www.onlinelabels.com/maestro_home
-
I'm trying to learn more about online applications and whether there may be a source (just like a download.com etc) that offers generic software that can be implemented from within a web site.
I...
-
ok thanks -- went with Lubuntu, love it.
-
I'm probably dreaming out loud but is there any way to get a motherboard (Compaq P3 733mhz) to boot from USB if it isn't listed as an option in the BIOS?
The boot options are CD, HD and network.
...
-
I have a bunch of P3 733mhz motherboards -- nice pc's really but I wish they could boot from the USB drive and I'd run small Linux on them -- doesn't have the option in bios setup though.
just...
-
I would imagine it would be something designed for a laptop but what are some of the greenest cpu's?
I guess the Intel Atom would be one? Any others?
I think I read where even using full...
-
hate to be a brain picker but the sooner I get one built, the better -- any suggestions for a specific distro and media player as well?
will the program startup be a straightforward procedure?
...
-
I'm pretty sure you CAN do it because I thought I read where knoppix for example runs from a CD but I want to know --
which small linux distros can run from an sd card or usb flash drive?
my...
-
I have several P3 733 mhz motherboards and thought I may put together a couple of mp3 players for xmas gifts.
I don't keep up though.
What would be a good small linux OS to use (maybe with it's...
-
-
Just saw this.
Would like to learn more.
Can anyone direct me to sites with tutorials and other fun stuff?
THANKS.
-
Slitaz -- that's a new one on me -- thanks.
|
Click Here to Expand Forum to Full Width
|