Search:

Type: Posts; User: opus

Page 1 of 13 1 2 3 4

Search: Search took 0.83 seconds.

  1. VS 2010 Re: Storing List of images to variable based of Comb/Listbox selection

    As far as I understand you different lists of images for each posible selection of combobox and listbox. Since the listbox gets only filled after the combobox selection you could select the correct...
  2. Replies
    6
    Views
    1,675

    Re: Is there a way to inject names into code?

    This code doesn't make sense!
    In words: Inside the For Next you are creating new String variable during each iteration with a name that gets the of the iteration. After that you setting the text and...
  3. VS 2013 Re: How to select two pictureboxes during a single event

    I didn't look at passels code, however why are you using several pictureboxes? That way the drawing might be easy(just setting the backgroundimage once) but you need a picturebox for each card,...
  4. Replies
    13
    Views
    2,115

    VS 2013 Re: [RESOLVED] Blackjack is NOT Solitaire

    It looks to me as if you are using a similar Card example to the one I started with (the code post #4). In post #11 it looks like yopu did some adoptions.
    All you have so far is a ordered list of...
  5. Replies
    13
    Views
    2,115

    VS 2013 Re: Blackjack is NOT Solitaire

    ? There is no code that does actual drawing, the Function Draw i only returning a card instanc.
  6. Replies
    6
    Views
    1,873

    VS 2010 Re: Actions Per Minute Tool

    Beside the point about adding an integer to a string, what do you expect your textbox1 to show?
    1. Event Keycount=1 textbox1.text="1"
    2. Event Keycount=2 textbox1.text="3"

    ???????????????
  7. Replies
    13
    Views
    2,115

    VS 2013 Re: Blackjack is NOT Solitaire

    If you managed to do the painting of one card in a specific position the step to show in while moving isn't real hard, but you do need that first step.
    I would use a single picturebox, replicating...
  8. Replies
    13
    Views
    2,115

    VS 2013 Re: Blackjack is NOT Solitaire

    Did you, by any chance, use the search button of this forum?
    If you have created your deck already, I suggest you search for the needed graphic routines to display the image of one of your cards....
  9. Replies
    21
    Views
    3,792

    Re: Listbox array for Pictureboxes

    I see you have manually created those pictureboxes, so you don't have them in an array.
    Declare an empty array of pictureboxes, add each of pictureboxes to that array.
    ( Do not cŕeate new...
  10. Replies
    21
    Views
    3,792

    Re: Listbox array for Pictureboxes

    Do not declare alocal variable for the pictureboxes instead use the already created ones.
  11. Replies
    21
    Views
    3,792

    Re: Listbox array for Pictureboxes

    What do the actual Strings in the Listbox contain? Only the Filenamens, or Filenames with path?
  12. Replies
    21
    Views
    3,792

    Re: Listbox array for Pictureboxes

    Use the code posted by vbfbryce without th lines that create and add the new picturebox!
  13. Replies
    21
    Views
    3,792

    Re: Listbox array for Pictureboxes

    What doesn't make sense is the following line in your poste code
    "Pic(i) = PictureBox1.ImageLocation = ListBox1.Items(i)"
    What you trying to do with that line?
  14. Re: [RESOLVED] UserControl doesn't refresh corretly when application is in heavy load

    So?
    What do you I'm doing? The delayed display of the updated picturebox is NOT wanted! What makes you think that I'm bulking up sub controls?
  15. Replies
    6
    Views
    959

    VS 2010 Re: Timers and Threading

    Thanks for that link, read it, understood. The "not Thread-Safe" was new to me, I did expect quite the opposite!
  16. Replies
    6
    Views
    959

    VS 2010 Re: Timers and Threading

    @ jmcilhinney
    Is there a special reason for the suggestion against the Threading.Timer.
  17. Re: [RESOLVED] UserControl doesn't refresh corretly when application is in heavy load

    Actually I didn't test with only .Refresh until now.
    The result of the test did surprise me.
    With only .Refresh the late picture update (with the complete history) was back even in a normal load.
  18. Re: [RESOLVED] UserControl doesn't refresh corretly when application is in heavy load

    In case of the code posted above "Me.Refresh" did work.
    In the case of the PictureBox (the code I didn't post), I used the .Refresh directly on the PictureBox directly after PictureBox.Invalidate()
  19. VS 2012 Re: Help creating For Each Loop - Multiple GPS Coordinates

    I would do that step by step.
    At the beginning you recieve that special string,
    Take that string at parse it (i.e. get the username , lat and long) at store those
    Now check if you did already...
  20. Re: [RESOLVED] UserControl doesn't refresh corretly when application is in heavy load

    Sorry for my ignorance, however I decided not to show all the code used nor discribe all to steps needed and used to make an event be handled on the GUI. I was hoping you would take the " All of that...
  21. Re: UserControl doesn't refresh corretly when application is in heavy load

    .Refresh!!!!!!!!!!!
    Why didn't I think of that?
    -Resolved-
  22. Re: UserControl doesn't refresh corretly when application is in heavy load

    Invoking? To my undersanding the code posted above is performed directly on the GUI thread, isn't it?
    When it comes to be showing the results of those workerthreads, I'm using Events which are...
  23. [RESOLVED] UserControl doesn't refresh corretly when application is in heavy load

    I use a UserControl which consists of several Buttons and 2 PictureBoxes.
    If the application is in a reasonable load (recieving messages over a UDP connection) those controls a displayed as planned....
  24. Replies
    6
    Views
    1,145

    VS 2010 Re: Exception while deleting a Directory.

    OK, the used name did suggest something else.

    What are you doing with the files between the FileCopy and Directory.Delete? Maybe that "File-Action" isn't finished yet.
  25. Replies
    6
    Views
    1,145

    VS 2010 Re: Exception while deleting a Directory.

    Check your useage of .FileCopy.
    According to MSDN the second parameter takes: "The name of the destination file. This cannot be a directory."
  26. Replies
    6
    Views
    1,145

    VS 2010 Re: Exception while deleting a Directory.

    I take awild guess, maybe one of the file(s) you are trying to delete is still in use, have checked that?
  27. Re: Lots of messages to be parsed in lots of threads?

    Thanks Evil_Giraffe, I was coming to nearly the same solution.
    I did digg into TPL, especially Producer/Consumer Patterns
    My actual approach goes like:
    UDP-Listener Raises an Event MessageIn (with...
  28. Re: Lots of messages to be parsed in lots of threads?

    Thanks for the input, but you lost me somewhere in the middle.



    "By passing an instance of the object of said class " Which class are you referring to? (The UDP-listener, the GUI[not...
  29. Re: Lots of messages to be parsed in lots of threads?

    TPL, to my understanding, does not solve my problem.
    Presently my UDP-Listener raises an event on the GUI, the GUI holds the "Parse_Message" Sub.
    That is conviniet since the GUI-Thread is "alive",...
  30. Lots of messages to be parsed in lots of threads?

    I do recieve lots of messages (4K+ every 4 seconds), my software needs to parse each ofv those in order to do updates on my objects.
    I want this parsing to be done in a seperate thread, however to...
  31. Replies
    7
    Views
    1,816

    Re: [RESOLVED] Multiple UDP Recievers?

    As Shaggy stated the used listener is as lean as possible. After some more digging I found that the listener is NOT the believed bottleneck, it's the next step i.e. the parsing of the messages.
    I...
  32. Re: How can i set a textbox to have 2 decimal points?

    Did you even try to look up the explanation of Option Strict and CDecl as Jmc suggested?
    I'll give you start on the first one.
    You are using the .text property of your textboxes to calulate with,...
  33. Replies
    7
    Views
    1,816

    Re: Multiple UDP Recievers?

    Thanks for the feedback. I'm closing this one.
  34. VS 2012 Re: Form takes time to load, implement BackgroundWorker?

    The BackGroundworker has two major Event-Routines, they are DoWork and RunWorkerCompleted. The first is called (started) by .RunWorkerAsync(), which will start the BackgroundWorker in its thread. The...
  35. Replies
    7
    Views
    1,816

    Re: Multiple UDP Recievers?

    Thanks for the insigths, I'm just trying anything to get more speed. So I can drop that attempt.

    As for UDP, being unreliable. Yes, to loss of messages is no problem, the problem is the huge...
  36. Replies
    14
    Views
    4,257

    Re: Textbox numeric type and paste only

    I do use the .TextChanged for that:

    Private Sub YourTextBox_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles YourTextBox.TextChanged
    Dim ThisTextBox As TextBox =...
  37. Replies
    7
    Views
    1,816

    [RESOLVED] Multiple UDP Recievers?

    My Problem:
    I'm using a Socket (SocketType DGram, ProtocolType UDP, Bind to a LocalIP and LocalPort) to recieve messages from a broadcast. The code used was provided by Shaggy Hiker
    This is...
  38. Replies
    26
    Views
    2,113

    Re: this forum full of ganddad's and grandma's

    Talking about being old, yes I am. Its time to go to bed now, Portugal is done by 4:0, Ronaldo is crying, it's enough for today.
  39. Replies
    10
    Views
    1,478

    Re: Annoying Radiobutton problem

    If you use the "Thread Tools" (just above your initial post) you could mark the thread resolved in its title!
  40. Thread: Your Age

    by opus
    Replies
    47
    Views
    8,963

    Poll: Re: Your Age

    The first group should be something like "UP TO 14", for those that have been born after the post race
    started.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width