Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 0.20 seconds.

  1. Replies
    2
    Views
    88

    Re: Speech to Text question

    You should be able to leverage the SpeechRecognitionEngine's SetRecognitionToWaveFile (documentation) method.

    What all have you tried up to this point?
  2. Replies
    2
    Views
    4,427

    Re: [JQuery] TabControl

    To clarify, this was a codebank submission and not a request for code. Also, it may be useful to reference the library you're using as it looks like your code is dependent on the jQuery UI library...
  3. Replies
    9
    Views
    230

    Re: Best way to append data into a textbox?

    You can use a TextBox, just keep in mind that Strings are immutable. Once String is created its data can't be changed, rather what happens is an entirely new String is created when you concatenate a...
  4. Replies
    9
    Views
    230

    Re: Best way to append data into a textbox?

    I would suggest using a ListBox since it is designed to display simple collections.

    Take a look at this example with a ListBox and a Button:

    Private Sub Button1_Click(sender As Object, e As...
  5. Replies
    4
    Views
    161

    Re: Images as checkboxes

    It looks like you have put quite a bit of work into this, though I wouldn't agree with creating a new control just to toggle an image.

    However, if you want to avoid doing something that has...
  6. Replies
    2
    Views
    131

    VS 2017 Re: Toggle between two images based on filename

    Here is how I would approach it:

    Get the filename from the open file dialog
    Store the value in a global variable without the _TOP or _BTM suffix
    Load the image by appending the suffix...
  7. Replies
    10
    Views
    242

    Re: Bizarre string concatenation issue

    I would ignore using the concatenation and go with interpolation since you're using VS2017:

    Function BaseString() As String
    Return $"<iframe
    width={WBrowser.Width.ToString()}
    ...
  8. Re: [RESOLVED] How do I Automatically update a text box, using a NumbericUpDown Box

    Ah I see, I misunderstood.
  9. VS 2012 Re: For / Next Loop fails on last XML node

    Just a heads up, I wrapped your code in
    tags. They help format your code. For more information you can visit the link in my signature.
  10. Thread: CCur Function

    by dday9
    Replies
    19
    Views
    578

    Re: CCur Function

    Ok, so essentially it is a decimal with higher precision for the first four digit?
  11. Thread: CCur Function

    by dday9
    Replies
    19
    Views
    578

    CCur Function

    I am trying to convert a piece of VB6 code and running into a Function that I'm not familiar with, the CCur function.

    According to the documentation (here) it looks as if the currency data type is...
  12. Re: How do I Automatically update a text box, using a NumbericUpDown Box

    I don't know if you saw or not, but that is what I did in my example.
  13. Re: How do I Automatically update a text box, using a NumbericUpDown Box

    There are a couple of notes:

    You have Option Strict turned off
    You can use ToString and pass the currency format
    You will need to leverage the ValueChanged event of the NumericUpDown
    ...
  14. Thread: Post Race!

    by dday9
    Replies
    64,953
    Views
    6,266,690

    Re: Post Race!

    Well this Shaggy Hiker fellow and his accomplice wes4dbt are a just a few.
  15. Replies
    12
    Views
    14,134

    Re: [HTML5] Tic Tac Toe

    My original submission is 6.5 years old. I figured I would rewrite it with how I would do it now.

    This submission uses ES6 JavaScript and sets text rather than leveraging a canvas.

    <!DOCTYPE...
  16. Thread: Post Race!

    by dday9
    Replies
    64,953
    Views
    6,266,690

    Re: Post Race!

    I have noticed some unusual hostilities lately.
  17. Replies
    18
    Views
    498

    Re: [RESOLVED] Prevent Main Form from Continuing

    I've done that too :blush:
  18. Replies
    18
    Views
    498

    Re: [RESOLVED] Prevent Main Form from Continuing

    Same here, only with typescript which is basically if JavaScript and C# had a baby. It really has been a while since I've done any VB development.
  19. Replies
    18
    Views
    498

    Re: Prevent Main Form from Continuing

    Even better, thank you.
  20. Re: [RESOLVED] How do I use a combobox to make images and labels visible or hidden

    Because you have several controls that you're wanting to toggle the visibility on, I would suggest storing a Dictionary where the Key would represent the item in the ComboBox and the Value would...
  21. Replies
    18
    Views
    498

    Re: Prevent Main Form from Continuing

    End did it. Don't know why I didn't think of it.
  22. Replies
    18
    Views
    498

    [RESOLVED] Prevent Main Form from Continuing

    It has been a while since I've done any WinForm applications and I'm running into a slight issue.

    I have the following in the constructor of my frmMain:

    Sub New()
    Using loginForm = New...
  23. Re: [RESOLVED] Boolean expression and Syntaxe problem

    Personally I don't believe in intellectual property laws, but if I am working with someone who wants to avoid potential copyright issues (for images) I will:

    Go to www.bing.com
    Bring up the...
  24. Re: [RESOLVED] Boolean expression and Syntaxe problem

    Mais bruh, put that up in the game demos! https://www.vbforums.com/forumdisplay.php?63-Game-Demos
  25. Thread: Login Form Help

    by dday9
    Replies
    4
    Views
    250

    VS 2019 Re: Login Form Help

    Quick side note, you should never store password in an insecure manner like what you're doing, but I get this is for class.

    What I would do is loop until you run out of lines or until you pass...
  26. Replies
    26
    Views
    710

    VS 2019 Re: Save text file to disk?

    I would highly recommend you going through my tutorial that I provide for free. The link can be found in my signature under VbLessons.

    I put a lot of effort into it and I genuinely feel like you...
  27. Re: Boolean expression and Syntaxe problem

    There shouldn't be any difference between the two. According to the documentation (here), it specifically addresses your situation:
  28. Replies
    26
    Views
    710

    VS 2019 Re: Save text file to disk?

    You should really read the documentation on MSDN.


    https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/program-structure/references-and-the-imports-statement

    Reading the...
  29. Replies
    26
    Views
    710

    VS 2019 Re: Save text file to disk?

    I'm curious, how did WriteAllText not suffice?
  30. Replies
    365
    Views
    7,484

    Re: The US fragile democracy Exposed

    It looks like the police opened the barricades to let the "demonstrators" in: https://twitter.com/cevansavenger/status/1346920924310867968?s=21
  31. Replies
    365
    Views
    7,484

    Re: The US fragile democracy Exposed

    179802
  32. Replies
    365
    Views
    7,484

    Re: The US fragile democracy Exposed

    I am genuinely surprised with the Ossoff/Perdue race. Not so much with the Warnock/Loeffler race.
  33. Replies
    365
    Views
    7,484

    Re: The US fragile democracy Exposed

    Fox News was getting heat ever since calling Nevada (or Arizona, can't remember which) for Biden early on.

    Many Republicans saw it as an intentional gamble to call it super early in favor of Biden...
  34. Replies
    2
    Views
    823

    Re: IP Address control (v4)

    Was there any reason why the MaskBox wouldn't suffice?
  35. Replies
    53
    Views
    1,269

    Re: Do you use ()'s for your IF statements?

    I personally use the parenthesis around my If statements, even if it is just a single check. Mostly out of habit, not for any specific reason.

    Side note: COBOL is very verbose, but not very...
  36. Replies
    365
    Views
    7,484

    Re: The US fragile democracy Exposed

    What I personally don't understand is what Republican's think would happen if by some wild outcome the Electoral College votes are rejected.

    Constitutionally, wouldn't it go back to the house to...
  37. Replies
    365
    Views
    7,484

    Re: The US fragile democracy Exposed

    (read point 2 in the list of differences in post 112)
  38. Replies
    365
    Views
    7,484

    Re: The US fragile democracy Exposed

    I disagree. I would wager a small fortune that their (unstated) intent was to politically posture just like the Republicans are doing now knowing that it won't go anywhere in the house. They are...
  39. Replies
    365
    Views
    7,484

    Re: The US fragile democracy Exposed

    I was recently pointed to another event where this has happened by a Republican friend of mine. Barbara Boxer and Stephanie Tubbs Jones objected to the certification of Bush's 2004 win in Ohio which...
  40. Replies
    26
    Views
    710

    VS 2019 Re: Save text file to disk?

    See post 8.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width