Search:

Type: Posts; User: mbarton

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    945

    VS 2008 Me.invoke -- entire form?

    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...
  2. Replies
    2
    Views
    733

    VS 2008 Re: Invoke required

    It was on a tutorial I saw on youtube -- thanks.
  3. Replies
    2
    Views
    733

    VS 2008 [RESOLVED] Invoke required

    If label1.invokerequired then ---

    endif

    or

    If invokerequired then

    endif
  4. VS 2008 Re: Check for illegal cross thread call = false

    Crystal clear now. Thanks to all of you.
  5. VS 2008 Re: Check for illegal cross thread call = false

    Oh -- see you already replied -- cool
  6. VS 2008 Re: Check for illegal cross thread call = false

    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,...
  7. VS 2008 Re: Check for illegal cross thread call = false

    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...
  8. VS 2008 Re: Rename an entire project -- save as?

    Ouch.
  9. VS 2008 [RESOLVED] Rename an entire project -- save as?

    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...
  10. VS 2008 Re: Check for illegal cross thread call = false

    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...
  11. VS 2008 Re: Check for illegal cross thread call = false

    It WORKS !!!

    But not done yet -- devil in the details maybe.
  12. VS 2008 Re: Check for illegal cross thread call = false

    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...
  13. VS 2008 Re: Check for illegal cross thread call = false

    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...
  14. Replies
    5
    Views
    726

    VS 2008 Re: Cross threads -- lost in space

    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...
  15. Replies
    5
    Views
    726

    VS 2008 Cross threads -- lost in space

    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...
  16. VS 2008 Re: Check for illegal cross thread call = false

    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...
  17. VS 2008 Re: Check for illegal cross thread call = false

    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.
  18. VS 2008 Re: Check for illegal cross thread call = false

    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
  19. VS 2008 Re: Check for illegal cross thread call = false

    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...
  20. VS 2008 Re: Check for illegal cross thread call = false

    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...
  21. VS 2008 Re: Check for illegal cross thread call = false

    that's JM -- sorry.
  22. VS 2008 Re: Check for illegal cross thread call = false

    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...
  23. VS 2008 Re: Check for illegal cross thread call = false

    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...
  24. VS 2008 Re: Check for illegal cross thread call = false

    ....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...
  25. VS 2008 Re: Check for illegal cross thread call = false

    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...
  26. VS 2008 Re: Check for illegal cross thread call = false

    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.
  27. VS 2008 [RESOLVED] Check for illegal cross thread call = false

    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,...
  28. Replies
    1
    Views
    1,402

    VS 2008 Received bytes threshold

    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...
  29. Replies
    1
    Views
    531

    Re: Online applications

    forgot the link ---

    http://www.onlinelabels.com/maestro_home
  30. Replies
    1
    Views
    531

    Online applications

    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...
  31. Replies
    3
    Views
    3,964

    Re: Linux -- no hard drive?

    ok thanks -- went with Lubuntu, love it.
  32. Replies
    4
    Views
    1,169

    Boot from USB - not in bios

    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.
    ...
  33. Replies
    3
    Views
    888

    Re: Greenest motherboards/cpus ?

    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...
  34. Replies
    3
    Views
    888

    Greenest motherboards/cpus ?

    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...
  35. Replies
    3
    Views
    3,964

    Re: Linux -- no hard drive?

    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?
    ...
  36. Replies
    3
    Views
    3,964

    Linux -- no hard drive?

    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...
  37. Replies
    1
    Views
    646

    P3 linux and mp3 player

    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...
  38. Replies
    2
    Views
    476

    VS 2008 Re: VBnet micro ? gadgeteer etc

    really? nothing?
  39. Replies
    2
    Views
    476

    VS 2008 VBnet micro ? gadgeteer etc

    Just saw this.

    Would like to learn more.

    Can anyone direct me to sites with tutorials and other fun stuff?

    THANKS.
  40. Replies
    3
    Views
    1,293

    Re: USB linux? Magic jack maybe?

    Slitaz -- that's a new one on me -- thanks.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width