Search:

Type: Posts; User: OptionBase1

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: RandomNumberGenerator.GetInt32 doesn't work

    https://learn.microsoft.com/en-us/dotnet/api/system.random?view=net-7.0#examples
  2. Re: RandomNumberGenerator.GetInt32 doesn't work

    What version of Visual Studio are you using, and what is the target framework of your project?

    If you look at the "Applies To" section of the page you linked to and click ".NET7 and other..." to...
  3. Re: MSCOMM32 Issue, VB6 Not allowing SCOMM32 on form

    The 3rd edition of that book is less than $20, FWIW.

    https://www.amazon.com/Visual-Basic-Programmers-Serial-Communications/dp/1890422274
  4. VS 2022 Re: SMTP email generates error on 11th email send

    Yeah, at this point you need to post more code. You are probably doing some sort of connection establishing for each email, when it probably only needs to be done once and reused for each email.
  5. Re: How to make Angular MVC Application in Single project of Visual Studio

    Sounds like a pretty messed up situation from top to bottom. As long as you keep getting paid, I recommend sticking it out to see if things get more clarified soon. But have your resume up to date,...
  6. Replies
    6
    Views
    336

    Re: VB Continuity

    Not an answer to the question, really, but my suggestion is to run Windows 10/11 on your PC with all latest hotfixes applied, and then run a legacy OS (such as Windows 7/Vista/XP/whatever) in a VM. ...
  7. VS 2022 Re: SMTP email generates error on 11th email send

    Dialing in some precise timing limits could be helpful to the vendor. I still posit that you're dealing with a "10 emails in a rolling 5 minute window" limitation.

    I would try two things:

    Have...
  8. VS 2022 Re: SMTP email generates error on 11th email send

    Yeah, when it is completely reproducible at > 10 emails with varying sending delays < 30 seconds, and works with a sending delay at 32 seconds, it is as close to a mathematical certainty that the...
  9. Replies
    34
    Views
    869

    Re: MsgBox Timer on some Forms

    In the code window, in your Command1_Click procedure, start a new line and type Timer. (Timer with a period after it) and see what, if anything, Intellisense displays in the completion window. That...
  10. Replies
    34
    Views
    869

    Re: MsgBox Timer on some Forms

    Are there any modules that are part of this project? If so, do they have any items named "Timer"?

    Edit to also ask:

    On that broken form, if you start typing in the Code Window Timer. (Timer...
  11. Replies
    34
    Views
    869

    Re: MsgBox Timer on some Forms

    Unless you do as people ask, no one can help you.

    Open the contents of the "broken" form's .frm file in Notepad to capture all the code and "behind the scenes" configuration, and post the contents...
  12. VS 2022 Re: SMTP email generates error on 11th email send

    One additional possibility is that this SMTP server product you are using may be doing some sort of spam checking on all email sent through it and imposing stringent sending restrictions based on x...
  13. VS 2022 Re: SMTP email generates error on 11th email send

    As described, it is almost certainly the SMTP server enforcing some limitation.
  14. VS 2022 Re: SMTP email generates error on 11th email send

    Almost certainly a "send rate" limit being reached somewhere along the line. Have you tried adding some sort of delay in your code, which would make it pause for 5 or 10 seconds after each email is...
  15. Replies
    4
    Views
    279

    Re: edge instaed IE

    Show some initiative. Took me 12 seconds to find the thread using Google and obvious search terms like Schmidt, edge, ie, and specifying vbforums.com as the site. Am I going to give you the direct...
  16. Replies
    2
    Views
    210

    Re: Problem with integer

    We're obviously not getting the whole picture of what your code is doing if that code is running every millisecond. Presumably, you have some timer that is running that is doing this Intersection...
  17. Replies
    12
    Views
    8,921

    Re: type mismatch error on listview

    And so, after 17 years of doing nothing but mashing F5, Pouncer finally had his answer. He arose from his computer chair, the groove of his buttocks long since seared into the vinyl material, and...
  18. Re: How can I dim many pictureboxes into "walls"

    You were already given an example of how to do this in the first reply to one of your earlier threads:
    ...
  19. Replies
    10
    Views
    468

    VS 2022 Re: Xoring String

    9 times out of 10, a question like this is part of a homework assignment. A quasi-nonsensical objective that demonstrates the ability to solve a problem using previously learned (and potentially...
  20. Replies
    524
    Views
    94,896

    Re: Hamilton 5x World Champion ?

    There's a bit of poetic justice that Lewis holding up Perez for a couple laps is probably what kept Perez from passing LeClerc at the end for 2nd place in the driver's championship.

    What a great...
  21. Re: Error that makes absolutely no sense - please help!

    Just to add some clarity to what is happening here, a standalone "While" statement is not valid syntax to close a Do loop. A standalone "While" statement is actually the beginning statement of a...
  22. Re: Error that makes absolutely no sense - please help!

    Should be:


    Do
    Loop While (Condition)
  23. Re: Check if same app runs on other PC in local network

    There is nothing simple or basic about what you are looking to implement. If you are already using a component that does what you need, why do you think you need to stop using it and try to write...
  24. VS 2019 Re: Access Denied deleting file I own in VB.net

    Argh, yes, and I had read that yesterday and forgotten about it.

    Other things I would try if I were in your shoes:

    Create a simple C# project that does the exact same thing, compile it, run it,...
  25. VS 2019 Re: Access Denied deleting file I own in VB.net

    Is there anything unique or different about what your G:\ drive is? Is it just another partition on your hard drive, or is it some special drive connected to some sort of online cloud storage...
  26. VS 2019 Re: Access Denied deleting file I own in VB.net

    I think the hyper-focus on folder/file level permissions has been a dead end.

    To me, the "Unknown Publisher" warning you are getting points the finger at something like Windows Defender or some...
  27. Re: Getting the ball rolling. Which VB6 projects are you working on?

    Aside from TwinBasic and RadBasic, what's the third?
  28. Replies
    9
    Views
    4,561

    Re: Help with CREATEFONT API

    You've bumped a 14 year old thread, and LaVolpe no longer posts here.

    https://www.vbforums.com/showthread.php?890300-FYI-Adios
  29. Replies
    524
    Views
    94,896

    Re: Hamilton 5x World Champion ?

    I was thrilled that George got his first win, and that Lewis got 2nd.

    The late VSC->Safety Car definitely caused some shuffling in the positions behind that because of varying tire...
  30. Replies
    524
    Views
    94,896

    Re: Hamilton 5x World Champion ?

    Prior to qualifying, it had been raining a bit. I believe teams had been using the intermediate tires for the first part of qualifying Q1, but then they started to change to slicks late in Q1 I...
  31. Replies
    524
    Views
    94,896

    Re: Hamilton 5x World Champion ?

    Mick Schumacher finishing dead last in qualifying while Kevin Magnussen gets the pole has certainly destroyed any tiny lingering chance Mick may have had for retaining his seat next year. Assuming...
  32. VS 2022 Re: Clicking on a listbox item many times.

    Do you have the help files installed locally? Because of the age of VS2008, and Microsoft's love to shuffle content around on their websites, making hard-coded historical URL's useless, it wouldn't...
  33. Re: Windows 10 Component Registration Issues

    Since this week was Microsoft's "Patch Tuesday", assuming that these patches were applied on this device, that would be one of the obvious potential culprits, based on the timing of the issue...
  34. Replies
    20
    Views
    531

    Re: VB 6.0 converter to .Net

    That reminds me of stories from Sitcom writers vs. Network Censor's from years past. The writers talk about how they wanted to include some sort of racy content or dialog, so they would add some...
  35. Re: ARRAY of label and cursor mouse move

    Great. Use your brain to write whatever code needs to happen with whatever index you need it to happen with. You were given the framework, fill the rest in yourself.
  36. Replies
    7
    Views
    512

    Re: Set Directory VB .net 2022

    Untested, but it might just be as simple as including the trailing backslash:


    If Directory.GetCurrentDirectory() <> "J:\" Then
    Directory.SetCurrentDirectory("J:\")
    End if
  37. Replies
    12
    Views
    574

    VS 2019 Re: Remove certain string from textbox

    Using a timer for this seems silly since the TextBox has an Event that is thrown when the contents of the textbox changes, so you should be placing any of this manipulation code inside that event.
  38. Replies
    18
    Views
    556

    Re: Select Case Trouble

    In order to use the variable like that in the Case statements, I believe you need a Select Case True statement.

    This worked for me using a variety of values:


    Public Function GetSpace(Duration...
  39. Replies
    18
    Views
    556

    Re: Select Case Trouble

    Just fake it with comments:


    Public Function GetSpace(Duration As Single) As Long

    Select Case Duration

    'EXACT conditions
    Case Is = 0.125
    ' 1/8
  40. Re: Issues with: Writing metadata to jpg using exiftool and -stay_open

    I know nothing of this "exiftool", but in the interest of maybe clarifying how this is even a VB question, if you were to perform these steps manually, can you outline what those steps would be?
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width