Search Results - VBForums

Search:

Type: Posts; User: Shaggy Hiker

Page 1 of 13 1 2 3 4

Search: Search took 0.42 seconds.

  1. Replies
    3
    Views
    86

    Re: Textboxes don't update the drawing

    That's a good suggestion, but I'm not sure that it will prove to be the right one. After all, the same problem should arise when the numbers are first entered, and the OP suggests that it is working...
  2. Replies
    2
    Views
    68

    Re: Task for real time updates

    You may have hit on the very word. Take a look at the Task in MSDN. Multithreading is a complicated operation with plenty of pitfalls. The point of the Task is an attempt to make it somewhat easier,...
  3. Replies
    3
    Views
    99

    VS 2013 Re: Can't detect substring

    The error is because you managed to run off the end of the string. Index does indeed refer to a location within the string, but think what the arguments will be if you find a newline charcter late in...
  4. Re: Textbox and progress bar not populating

    In this case, threads might be overkill (though probably not). As Pyth007 noted, the controls appear not to do anything because the notices to paint the control are being posted to the message queue,...
  5. Replies
    5
    Views
    98

    VS 2013 Re: Super Simple Countdown timer

    > does work with strings, it just doesn't work the way you might expect. The comparison is essentially an alphabetic comparison. "1" comes before "10" for the same reason that "A" comes before "AB".
  6. Replies
    59,149
    Views
    2,344,545

    Re: Post Race!

    A drive-by Wossing caused the Post Race to plummet down the page.

    Balance has now been restored.


    You're welcome.
  7. Replies
    9
    Views
    179

    VS 2012 Re: Drag And Drop Operation Questions

    I'm curious as to whether you are really ignoring all exceptions, or if those are just there for the example? You shouldn't be using exception handling for any of those methods, because any exception...
  8. Re: Need Help With (If Button Is Clicked....)

    You don't need all those button click handlers. You can have just one by chaining the Handles clauses:



    Private Sub P8Bbtn_Click(sender As Object, e As EventArgs) Handles...
  9. Replies
    1
    Views
    101

    Re: Finicky DataAdapter

    Well, the most likely problem is that there is no data. Have you stepped through the Get_XLS call to make sure that there are records being read?
  10. Replies
    5
    Views
    98

    VS 2013 Re: Super Simple Countdown timer

    1) Have integer variables to hold the minutes rather than using the labels. Use the labels ONLY to display the variables. As it stands, you are doing a fair amount of implicit conversions from the...
  11. Replies
    59,149
    Views
    2,344,545

    Re: Post Race!

    Any discussion of rotten beavers is likely to go where no thread should go.
  12. Replies
    9
    Views
    179

    VS 2012 Re: Drag And Drop Operation Questions

    You DO want the DoDragDrop event handler, as that would give you what you need. The sender argument to that method would be the control that the drop happened on. The data payload that you mention is...
  13. VS 2010 Re: Publish features not found VS Basic Express

    I went looking for an example for you and found that I didn't have any that I could say would be valid for you. Some types of projects don't have those features, because they don't make sense....
  14. Replies
    17
    Views
    199

    VS 2013 Re: Disabling a Button Before Input

    You may not be able to edit a post until you get to 5. It may also have been 3, in which case you managed to make a very ironic post, as you stated that you couldn't figure out how to edit in the...
  15. Replies
    17
    Views
    199

    VS 2013 Re: Disabling a Button Before Input

    You did. The last time I looked at the IL generated for such a statement I found no difference between:

    If someExpression = False Then

    and

    If Not someExpression Then

    The two generate...
  16. VS 2010 Re: Insert numbers in a single textbox in 5 steps and then auto increment

    I hope it's not Russian roulette. In Russian roulette, the code tracks YOU!

    This seems like a situation where you might want to consider using something other than a textbox. A textbox holds text,...
  17. Replies
    17
    Views
    199

    VS 2013 Re: Disabling a Button Before Input

    Well, that checks for 0, but not for whitespace. How about:

    btnDivision.Enabled = (txtFirstNum.Text.IsNullOrWhiteSpace = False AndAlso txtFirstNum.Text <> "0" AndAlso...
  18. Replies
    59,149
    Views
    2,344,545

    Re: Post Race!

    Those dogs must have been horrid. I remember that particular rotting smell vividly, but it's hard to say what it was on here without triggering a slew of off-color jokes.
  19. VS 2013 Re: How to send keystrokes to inactive window with Controlsend command plssssss

    That's not a trash post. What you are using is a third party control, not some part of VB.NET. That means that the only people who will know anything about that are people who have used that...
  20. Replies
    4
    Views
    175

    Re: Searching for records in a database

    I'd second that suggestion...with one qualification: This appears to be some kind of classwork. If that is the case, then it is likely that there are things you are allowed to do and things that you...
  21. Re: Help making a Tetris game - Timers, user input and file handling

    This is actually a pretty good thing to start out on. You don't want to be working on problems that you already know how to solve. You want to always be tackling things that are just beyond your...
  22. Re: Help making a Tetris game - Timers, user input and file handling

    It might, it might not. Keep in mind that the blocks can move really fast. The limitting step is whether or not the screen re-draws between keypresses, which is likely, because people are VASTLY...
  23. Replies
    4
    Views
    175

    Re: Moving through database records

    I'm not quite sure what the question is. Is the code you showed actually working? It doesn't seem like it should be, because the first line seems kind of improbable. For example, txtStudentNumber...
  24. Replies
    10
    Views
    212

    Re: Working with insane big numbers...

    The limits on MaxValue apply to the standard numeric types, such as Integer, Int64, Double, and so forth. BigInteger is a whole different type of animal. I have a vague memory of somebody trying...
  25. Replies
    59,149
    Views
    2,344,545

    Re: Post Race!

    Queso who?

    (I'm not knocking cheese)
  26. Replies
    59,149
    Views
    2,344,545

    Re: Post Race!

    Who's there?
  27. Replies
    59,149
    Views
    2,344,545

    Re: Post Race!

    That's getting kind of cheesy.
  28. Re: FormatException while reading Integer from TextBox

    There are still some issues. The code will still crash if the textboxes don't hold numbers or are blank, but perhaps you are testing that elsewhere. However, here are some suggestions about the...
  29. VS 2008 Re: [RESOLVED] [Need Help ]Timer , ListBox , TextBox ??

    You REALLY don't want to be creating Random objects as local objects. Each time a Random object is created, it is seeded with the current system time down to the second. The reason that is important...
  30. Re: My code keeps repeating itself. Please Help

    Sure, that's entirely possible these days. There once was a time when sites were all simple documents. They loaded in one shot and that was that. Things are quite a bit more complicated these days,...
  31. Re: [vb2010] Get the NATIVE resolution of a monitor

    I didn't even know that most monitors HAD a native resolution. I only see that on laptops.
  32. Replies
    59,149
    Views
    2,344,545

    Re: Post Race!

    A few years back, I was driving down a street and approaching a stoplight. Ahead of me was a large, high-sided, truck. There weren't any obvious markings on the truck, but as I got closer, I saw a...
  33. Re: Need Help With (If Button Is Clicked....)

    You also might put a small picturebox beside all the radiobuttons. Then, have a check image and an x image. When you press the button, you could load the check image into the picturebox beside the...
  34. Re: FormatException while reading Integer from TextBox

    The reason is probably the loop. If it really is, as you say, "While level1RadioButton.Checked" then the loop will never end as long as the radiobutton is checked, and you won't be able to uncheck it...
  35. Re: FormatException while reading Integer from TextBox

    Yeah, if you put a breakpoint in the CheckChanged method, you'll find that the event is being raised when the controls themselves are created. At that point, the textboxes are empty, which will cause...
  36. VS 2013 Re: [RESOLVED] Can't declare a new Random variable

    I'd strongly suggest that you look further into this. Case correcting is a wonderful thing, partly because it alerts you to issues, as this is doing. There is a reason why this is happening, though...
  37. VS 2013 Re: Can't declare a new Random variable

    If there is a squiggle under random, then there should also be a little spot to click for a dropdown with suggestions. If you need to import a namespace, then it will offer to import the correct...
  38. Re: FormatException while reading Integer from TextBox

    Leaving the textbox empty would also cause the exception to be thrown. Even a space would cause the exception.

    You should always use .TryParse rather than .Parse when converting strings that are...
  39. VS 2010 Re: Help in assigning database value to array value

    It would be more like this:

    SELECT AnswerValue, QuestionID FROM tbl_ECM_Questionnaire

    However, that wouldn't address teh CorrectAnswer part of the query, and that makes it a bit more...
  40. VS 2008 Re: [Need Help ]Timer , ListBox , TextBox ??

    That code would bring in all of the items, but you say you want one. The thing that has me confused is the part about "with each form load". A form loads only one time, normally. You could have a...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.