Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 0.21 seconds.

  1. Thread: Urlscan.io API

    by dday9
    Replies
    3
    Views
    168

    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,
    ...
  2. 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?
  3. 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...
  4. Replies
    6
    Views
    178

    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.
    ...
  5. Thread: Urlscan.io API

    by dday9
    Replies
    3
    Views
    168

    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:

    '...
  6. Replies
    5
    Views
    359

    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...
  7. Replies
    6
    Views
    529

    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.
  8. Replies
    6
    Views
    529

    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.
  9. Replies
    3
    Views
    310

    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...
  10. Thread: Truth Social

    by dday9
    Replies
    37
    Views
    1,152

    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...
  11. 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")
  12. 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.
    ...
  13. Thread: Truth Social

    by dday9
    Replies
    37
    Views
    1,152

    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...
  14. Thread: Post Race!

    by dday9
    Replies
    68,944
    Views
    18,452,025

    Re: Post Race!

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

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

    by dday9
    Replies
    10
    Views
    809

    Re: VB6 Ray Tracing?

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

    by dday9
    Replies
    37
    Views
    1,152

    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...
  17. Replies
    2
    Views
    224

    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...
  18. 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...
  19. Replies
    2
    Views
    296

    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...
  20. Replies
    32
    Views
    747

    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...
  21. Thread: Post Race!

    by dday9
    Replies
    68,944
    Views
    18,452,025

    Re: Post Race!

    It is a racey post race that has raced very posty.
  22. Replies
    3
    Views
    334

    Re: Form Show - Disposing Form

    OK, I think I see it now. It looks like it is calling Dispose in the WM_Close (reference) when this condition is true:

    if (m.Msg != NativeMethods.WM_QUERYENDSESSION) {
    // ...
    ...
  23. Replies
    3
    Views
    334

    Form Show - Disposing Form

    Stemming from this conversation: https://www.vbforums.com/showthread.php?903163-loading-forms&p=5638114&viewfull=1#post5638114

    I was told that when you call the Show method of a form that there is...
  24. Thread: loading forms

    by dday9
    Replies
    12
    Views
    692

    Re: loading forms

    I don't want to derail this member's thread, so I'm going to open a new one.
  25. Re: Problem loading images, scripts and styles after coding in htaccess file

    Correct. Right now you're turning all requests to index.php with the original request as a query string.


    I would setup a RewriteCond so that it excludes your resources files. For example,...
  26. Re: Printing a Large Image from Combined PNG Files: Ensuring Correct Width Settings

    I have moved this thread from the codebank to the general questions forum, but I'm still not convinced this is a VB6 question.

    @tmighty2 - Is this a general printing question that should belong in...
  27. Thread: loading forms

    by dday9
    Replies
    12
    Views
    692

    Re: loading forms

    I was not aware of that. It doesn't look like that is documented anywhere in the Form's Show method (here), do you know where I can find some more information on that?
  28. Re: [RESOLVED] - formating a label with commas if the label is gatheing totals

    The idea behind the format method is that you give it an expression (aka a value) and a format. The format can be either a user defined format or a valid format by its name.

    It sounds like what...
  29. Thread: Post Race!

    by dday9
    Replies
    68,944
    Views
    18,452,025

    Re: Post Race!

    You don't need to freak out. Now if you start to see a bunch of different animals in two's, then it'd be time to reassess.
  30. Thread: loading forms

    by dday9
    Replies
    12
    Views
    692

    Re: loading forms

    Cross posted, glad you got it resolved.
  31. Thread: loading forms

    by dday9
    Replies
    12
    Views
    692

    Re: loading forms

    I don't understand. If Form1 holds the dropdown, when the item is selected it should create a new instance of Form2 and show it.

    Public Class Form1

    Private Sub Button1_Click(sender As...
  32. Thread: loading forms

    by dday9
    Replies
    12
    Views
    692

    Re: loading forms

    wes4dbt is correct, but you should be aware that the Form class implements IDisposable and should be disposed after you access it. Here is documentation on the subject:...
  33. VS 2022 Re: Problem with MemoryStream working on second attempt

    @Cibrigi - I removed the font and indent BB codes and replaced them with the
    BB code.

    Regarding your issue. Typically, the "Parameter is not valid" message suggests that your byte array doesn't...
  34. Replies
    426
    Views
    36,025

    Re: Next US government shutdown in a few weeks

    I will give it to you as a nation though, y'all did collectively decide on Boaty McBoatface, so there is some redeemability.
  35. Thread: Post Race!

    by dday9
    Replies
    68,944
    Views
    18,452,025

    Re: Post Race!

    Man, the more you describe these scenarios, the more and more they sound like you could be in high school.
  36. Thread: Post Race!

    by dday9
    Replies
    68,944
    Views
    18,452,025

    Re: Post Race!

    Just remember in Star Wars IV:
  37. Replies
    18
    Views
    1,105

    Re: VS 2022 can't put database into datasource

    I personally do not use file based databases. I typically either use a server based database or occasionally I will use the Isolated storage (documentation).

    But what you're describing with a file...
  38. Replies
    426
    Views
    36,025

    Re: Next US government shutdown in a few weeks

    You may be able to drink at 18 but you still call your cookies "biscuits". There's no way I'm getting over that.
  39. Thread: Post Race!

    by dday9
    Replies
    68,944
    Views
    18,452,025

    Re: Post Race!

    I think it helps too that I picked up 1099 contract jobs while I was doing my normal 9-5 before making the career switch. It allowed me to point to projects on my resume and say "hey, I did this on...
  40. Thread: Post Race!

    by dday9
    Replies
    68,944
    Views
    18,452,025

    Re: Post Race!

    I am a senior software engineer without a college degree.

    I consider myself super lucky because I found VBForums and had members (like Shaggy, JMcIlhinney, Paul, TG, etc.) show me the .NET way...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width