Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 1.50 seconds.

  1. Re: Making a (druglord alternative) game in Visual Basic 6.0 [source code included]

    Moderator Actions: Moved from VB.NET forum to Games and Demos
  2. Thread: Post Race!

    by dday9
    Replies
    65,208
    Views
    6,896,427

    Re: Post Race!

    Ah, I believe that was the last post.
  3. Re: extracting integers from a text file and totalling them up

    In that case, let me rewrite my LINQ example in a manner that uses traditional looping techniques. I think you'd be able to understand the .NET code a little bit better that way:

    ' declare a new...
  4. Re: extracting integers from a text file and totalling them up

    Correct. The title of your thread stated Integers and so I assumed that was the data type you were actually targeting.

    Number matching in Regular Expressions can range from extremely simple (like...
  5. VS 2019 Re: Changing the height of a textbox with a button - Windows Form Application

    More to Delaney's suggestion, since the Visible property returns a Boolean, you can toggle the visibility by using the Not keyword:

    TextBox1.Visible = Not TextBox1.Visible
  6. Re: extracting integers from a text file and totalling them up

    Those are Regular Expression constants. This is the RegEx explained more in detail:

    Wages Paid £: Literally match those characters
    \d: Match any character between 1- 9
    *: Match the prior...
  7. Re: extracting integers from a text file and totalling them up

    My apologies, I forgot to include the RegEx pattern:

    Dim pattern = New Regex("Wages Paid £\d*")
  8. Re: extracting integers from a text file and totalling them up

    The RichTextBox control has a Lines property, which returns every line in a String array. What I would do is:

    Get the lines
    Use RegEx to select just the wages paid
    Sum the values


    Here...
  9. Replies
    6
    Views
    199

    Re: Check Combobox selection for Duplicates

    If you want to get spicy you could use LINQ:

    Dim duplicates = From cbo In COMMbobox
    Group By cboText = cbo.Text
    Into cboTexts = Group
    Where...
  10. Replies
    2
    Views
    126

    VS 2019 Re: DateTime.Now.Substract

    You have two declarations of dtt, one is a globally declared read-only variable whereas the other is (presumably) a locally scoped variable declared prior to calling RunWorkerAsync.

    So what is...
  11. Thread: Post Race!

    by dday9
    Replies
    65,208
    Views
    6,896,427

    Re: Post Race!

    Ha!!
  12. Replies
    2
    Views
    294

    Re: XML Class to read & write

    Moved from codebank and added
    tags.
  13. Thread: Post Race!

    by dday9
    Replies
    65,208
    Views
    6,896,427

    Re: Post Race!

    Shoot, the wedding I officiate there were probably 125 people. I know that 175 were invited, but not everyone showed.
  14. Re: VB6: NEWS - RADBasic VB6's Potential Replacement Kickstarter

    Move to other basic forum.
  15. Replies
    5
    Views
    248

    VS 2019 Re: StartsWith/EndsWith vs Like

    Something to consider is the following statement from the Like operator's documentation: https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/operators/like-operator


    Something...
  16. Thread: Post Race!

    by dday9
    Replies
    65,208
    Views
    6,896,427

    Re: Post Race!

    I officiated a wedding tonight and I donít think Iíve ever seen so many mullets in one place before.
  17. Replies
    36
    Views
    816

    Re: .txt files

    You should think about this problem in a language agnostic manner. The steps that you need to take are:

    Read the CSV file into a collection
    Convert the columns into their appropriate data...
  18. Replies
    1
    Views
    131

    Re: Setting file and folder permissions

    -Moderator Actions: Spun off onto its own thread from here: https://www.vbforums.com/showthread.php?616021-
  19. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    Make sure that you have System.Linq namespace imported. This is the documentation on the specific method: https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.contains
  20. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    Visual Studio 2019, Visual Studio 2016, etc.?
  21. Replies
    8
    Views
    336

    Re: tooltip no longer working

    If you place your cursor on the line you want to setup the breakpoint and hit F9, it will add it for you (the line will be highlighted red). F9 is how you toggle breakpoints.

    Once you're running...
  22. Replies
    8
    Views
    336

    Re: tooltip no longer working

    There are a couple of things that come to mind:

    The data has changed. Perhaps there is an unescaped comma (which aren't being handled) or less columns and it is causing some sort of indexing...
  23. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    What version of Visual Studio are you using?
  24. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    You replace ' do something with price with assigning the Label's text to the variable named price.
  25. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    Oddly enough the HTML that I inspect is drastically different from the HTML you provided in post #1. This is what I get:

    <div class="game_purchase_price price" data-price-final="99">$0.99</div>
    ...
  26. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    I have edited your post to remove the unnecessary size 7 BB tag. Don't do that again.

    JMcIlhinney's point is still valid, you need a way to uniquely identify the HTML tag in order to get the right...
  27. VS 2019 Re: Using arrays to add information to radio buttons/checkboxes on a form

    Ahh! Thatís what I get for I freetyping it.
  28. VS 2019 Re: Using arrays to add information to radio buttons/checkboxes on a form

    I want to take the opportunity to address some issues from your updated code.

    The first issue is that you declare a variable named Radio_Button that is scoped at the form level and then another...
  29. Re: File in Internet or Restricted Zone

    This Stack Overflow answer seems to explain it pretty well: https://stackoverflow.com/a/51349305/1920035
  30. Thread: LINQ question

    by dday9
    Replies
    9
    Views
    313

    VS 2017 Re: LINQ question

    In that case, you could still use LINQ. What you would be doing is querying items where the current item's list contains the abbreviation. Maybe something like this:

    Dim bookAbbrList = New List(Of...
  31. Thread: LINQ question

    by dday9
    Replies
    9
    Views
    313

    VS 2017 Re: LINQ question

    I would personally use a Dictionary(Of String, String) and not use LINQ at all for this situation:

    Dim bookAbbrList = New Dictionary(Of String, String)() From {
    { "gen", "Genesis" },
    {...
  32. Thread: Post Race!

    by dday9
    Replies
    65,208
    Views
    6,896,427

    Re: Post Race!

    Happy Easter yíall!
  33. Replies
    10
    Views
    567

    VS 2019 Re: ∞ in console with Server 2019?

    You put the queen on your money, you're British.


    I think you should be fine with that.
  34. Replies
    3
    Views
    340

    Re: Upload File on Server

    I've go to say that this task was pretty ridiculous. Ultimately I wound up implementing something similar to this:...
  35. Replies
    3
    Views
    340

    [RESOLVED] Upload File on Server

    I'm not exactly sure if this is a VB.NET question, a PHP question, or both.

    I have the following PHP web API that uploads a file to the server and then creates a record in the database that...
  36. Thread: Multiple USB Ids

    by dday9
    Replies
    3
    Views
    215

    Re: Multiple USB Ids

    There's no real documentation in that PDF (included in ZIP). I can't offer much help other than to say that you to need to find better documentation or maybe get lucky and they included help files.
  37. Thread: Multiple USB Ids

    by dday9
    Replies
    3
    Views
    215

    Re: Multiple USB Ids

    I'm not familiar with teh Ivi.Visa.Interop library. Do you have a link to the documentation?

    Also, On Error Resume Next has been depreciated since 2005ish. Please use Try/Catch statements.
  38. Replies
    2
    Views
    414

    Re: webBrowser Control Transparent

    Moderator Actions: Moved thread to the CSS codebank.
  39. Replies
    8
    Views
    344

    Re: [RESOLVED] Combobox Multiple Conditions

    To elaborate on what JMcIlhinney suggested, the Or operator will evaluate the right-hand conditional check regardless of if the left-hand evaluated to True. Contrast this to the OrElse statement...
  40. VS 2013 Re: DatagridView cell color to be changed to RED if the status is "Pending" else GREE

    ColumnIndex stays the same regardless of if the DataGridViewColumn is visible. What you should have done is setup a breakpoint on the line where you check the ColumnIndex and add a watch to your...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width