Search:

Type: Posts; User: dday9

Page 1 of 12 1 2 3 4

Search: Search took 0.90 seconds; generated 5 minute(s) ago.

  1. Thread: Reportes A4

    by dday9
    Replies
    2
    Views
    134

    Re: Reportes A4

    @thefalcon81 - Please keep in mind that this is an English speaking forum. If you want to post your question in Spanish, that's fine, just be sure to include an English translation along with it.
  2. Replies
    0
    Views
    95

    localstorage Issue Opening Hyperlink

    I am using localStorage or sessionStorage to persist a JWT token when logging in. localStorage is used when the "remember me" is checked otherwise it uses session storage.

    This is what I'm doing...
  3. VS 2022 Re: Removing inputs that are only alphabetic values

    The architect I work for despises comments and will reject pull requests if they contain comments except on extremely rare occasions. Unfortunately complex RegEx patterns do not qualify as an...
  4. Replies
    3
    Views
    213

    Re: Where to put general procedures in C#

    For example, let's assume in your VB6 application you had a module named Utilities that had a slugify method in it that turned plain text values into slugs. That might look something like this:
    ...
  5. VS 2022 Re: Removing inputs that are only alphabetic values

    AI doesn't do many things extremely well, but RegEx is something that AI thrives at. I used to pride myself on building RegEx patterns but with AI it's basically a skill I don't really need anymore....
  6. Replies
    5
    Views
    556

    Re: Global Mouse Position Over My Form

    Thread Tools > Marked as Resolved
  7. Re: Moderators: How do I delete duplicate history files in CodeBank?

    I'm not seeing those, but it may be permissions related.

    I would suggest:

    Go to Settings > Attachments
    Select the items you want to delete
    Click on the delete attachments button
  8. Replies
    2
    Views
    281

    VS 2022 Re: help scraping data from website

    You need to look at the overall DOM, determine what pattern is specific enough to match only the items you want but not too specific that it will exclude some desired items.

    Right now, you are it...
  9. VS 2013 Re: [RESOLVED] Reading Textfile and comparing ListBox

    In the future, so you know, that’s what I meant by “fully qualify the namespace”.
  10. VS 2013 Re: Reading Textfile and comparing ListBox

    Importing namespaces is sort of an important (and easy) thing to know how to do.

    Take a look at the official documentation here:...
  11. VS 2013 Re: Reading Textfile and comparing ListBox

    You need to either import the System.IO namespace or fully qualify the reference.
  12. VS 2013 Re: Reading Textfile and comparing ListBox

    Use IO.File.ReadLines (documentation) and for the love of God, do not use InStr. Use String.Contains (documentation) or String.IndexOf (documentation).


    Use IO.File.AppendAllLines...
  13. Re: Moderators: How do I delete duplicate history files in CodeBank?

    Can you elaborate on what "duplicate history files" are?
  14. Replies
    4
    Views
    319

    VS 2022 Re: Dot in path name

    Escaping it with double backslashes works:

    C:\\users\\user.ad\\appdata\\roaming\\apps

    So does using IO.Path.Combine:

    IO.Path.Combine("C:\users", "user.ad", "appdata", "roaming", "apps")
  15. VS 2022 Re: Programmatic Form: Pause Application Until Closed

    My guess is that that it has something to do with the title bar being a different size based.
  16. VS 2022 Re: Issues when writing to a File using StreamWriter

    My guess is the latter.
  17. VS 2022 Re: Issues when writing to a File using StreamWriter

    Why don't simply use IO.File.AppendAllText (documentation) and omit the extension? E.g.

    Try
    Dim fileLocation = "some-file-no-ext"
    Dim data = "Change me to something meaningful."
    ...
  18. VS 2022 Re: Programmatic Form: Pause Application Until Closed

    In your function, you're displaying the form by setting the visible property. Essentially this is the equivalent of calling the show method. Instead, remove where you set that property, change the...
  19. VS 2022 Re: Programmatic Form: Pause Application Until Closed

    Like I tell my clients: It's programming, anything's possible. The real question is how much time and money do you want to spend doing it?


    This sounds to me like you want to display the form as...
  20. Thread: Post Race!

    by dday9
    Replies
    68,960
    Views
    18,698,934

    Re: Post Race!

    Post race was falling a bit, had to resurface it.
  21. Thread: Urlscan.io API

    by dday9
    Replies
    3
    Views
    314

    VS 2019 Re: Urlscan.io API

    Yes, I'm using Newtonsoft. However, you could also use System.Text.Json:

    Dim options As New JsonSerializerOptions With {
    .PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
    ...
  22. Re: how to show a string value in a double variable

    Are you sure you are getting that error on the line you provided us with?
  23. Re: how to show a string value in a double variable

    In your example from post 1, you use:

    sdm.SWRBerechnung.Zins = 3.5

    In your example from post 5, you use:

    rs.Zins

    These are two separate variables. My guess without seeing any additional...
  24. Replies
    6
    Views
    289

    Re: Parents jailed for sons actions

    I do get worried about setting precedents because prosecutors will take an inch and try to make it a mile.

    However, I have to agree with Shaggy on this one. The parents were grossly negligent.
    ...
  25. Thread: Urlscan.io API

    by dday9
    Replies
    3
    Views
    314

    VS 2019 Re: Urlscan.io API

    I haven't, but it seems fairly straight forward. Submit a REST request and do something with the response.

    For example, taking the Submission API example from the link you provided:

    '...
  26. Replies
    5
    Views
    505

    Re: Thread Is Too Fast

    If it runs super quick, i.e. like in the blink of an eye, then you can simply store what it does in an array. Then once it finishes, replay the array at a stepped interval using a BackgroundWorker...
  27. Re: Hacking - Article Well Worth Reading

    Look at Bootstrap, last reading I saw roughly 25% of the internet uses it and it's open-source.

    That's just one example, but there are plenty of examples out there.
  28. Re: Hacking - Article Well Worth Reading

    Yeah, that's insane that it almost worked but its not too surprising. Given enough time I suppose anything is possible.
  29. Replies
    5
    Views
    556

    Re: Global Mouse Position Over My Form

    There is always the breadcrumbs at the top of the page just under the menu. Does it say VB6 and Earlier or Codebank - VB6 and Earlier? Post in the former if you have a question and the latter if you...
  30. Thread: Truth Social

    by dday9
    Replies
    45
    Views
    1,601

    Re: Truth Social

    I can hear it now: "I am financing my campaign totally out of my own pocket. I won't take a dime of the money I'm paid as president. Sleepy Joe. What has he done? He's taking money from millionaires...
  31. Re: What is the best way to find a String without space ?

    You would simply pass the string you want to search in and value you want to search for, e.g.

    Dim isMatch = ContainsMatch(TextBox1.Text, "Brown")
  32. Re: What is the best way to find a String without space ?

    There are a few ways.

    One way is to use String.IndexOf (documentation) to check if the index of of the first occurrence of a specific value. This method returns -1 if the value is not found.
    ...
  33. Thread: Truth Social

    by dday9
    Replies
    45
    Views
    1,601

    Re: Truth Social

    I imagine the processes are very similar but not confident enough to say for sure.

    Keep in mind too that I let my Series 6 and 7 lapse a few years ago and completely left that world. And obviously...
  34. Thread: Post Race!

    by dday9
    Replies
    68,960
    Views
    18,698,934

    Re: Post Race!

    "The driver managed to escape the accident with minor injuries..."

    Something sounds fishy with this whole thing.
  35. Thread: VB6 Ray Tracing?

    by dday9
    Replies
    10
    Views
    889

    Re: VB6 Ray Tracing?

    Color me shocked with the new avatar change. What is this, professional hour ova heer?
  36. Thread: Truth Social

    by dday9
    Replies
    45
    Views
    1,601

    Re: Truth Social

    Typically management. In most situations you'll find that an outside firm has come in to determine the number of stocks along with its price. It then has to go through the SEC for regulatory...
  37. Replies
    2
    Views
    299

    VS 2022 Re: How to open new forms in one window?

    What you're describing in the web world is a single-page application pattern. In the desktop world there is no such pattern. You would need to show the form you want and close the form you're...
  38. Re: das objekt mit null wert muss einen wert haben

    FYI - Anytime you have Not {expression} Is Nothing, you can rewrite it to {expression} Is Not Nothing. It makes it easier to read in my opinion.

    But if I understand it correctly the error message...
  39. Replies
    2
    Views
    378

    Re: how to write this code recursive

    So you want to call the expand method on the parent element and all of its children? If so, create a method that accepts a single argument for the root TreeNode and inside the method:

    Call...
  40. Replies
    32
    Views
    1,058

    Re: Coding Hobbyists - Why do you code?

    I started coding because I worked insurance in south Louisiana but we couldn't write homeowners through the carrier I represented so we had to broker it out. As a result we had an entire office...
Results 1 to 40 of 468
Page 1 of 12 1 2 3 4



Click Here to Expand Forum to Full Width