Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 1.41 seconds.

  1. Re: [MySQL] Getting Records Between Date Range from Multiple Tables

    I don't know why I was overthinking it:

    SELECT * FROM
    (SELECT ReadDate, ReadTime, CONCAT(Systolic, ' / ', Diastolic) AS VALUE FROM BloodPressure
    UNION ALL
    SELECT ReadDate, ReadTime, Reading...
  2. Replies
    6
    Views
    164

    Re: [RESOLVED] getting values from string

    Yeah, while JSON is a text format that is completely language independent, it was based on a subset of the JavaScript language.

    So manipulating/querying JSON from JavaScript goes together very...
  3. [RESOLVED] [MySQL] Getting Records Between Date Range from Multiple Tables

    I have the following schema:

    CREATE TABLE BloodPressure (
    BloodPressureId int(11) NOT NULL AUTO_INCREMENT,
    ReadDate date NOT NULL,
    ReadTime time NOT NULL,
    Systolic int(11) NOT NULL,
    ...
  4. Replies
    6
    Views
    164

    Re: getting values from string

    Since destinations is an array, what you would do is loop over the array to get the currently iterated item's distance property. You don't need to manually loop through them, rather you can use the...
  5. Re: Libertarian Case Against Regulations of Social Media Companies

    At that point, what difference would there be between a traditional business an social media companies? For example, during the Trump years, Sarah Huckabee Sanders was denied service at a restaurant...
  6. Re: Libertarian Case Against Regulations of Social Media Companies

    One of the reasons I am not a full-on anarchocapitalist is because of a similar (though slightly different) argument you're making here. I tend to subscribe to the notion that an uber large...
  7. Re: There is no oleformat.object.caption in vb.net when option strict on,so?

    Option Strict should be turned on in nearly every situation. However, using the Office Interop is the one situation where late binding is appropriate.

    You'll almost never hear me say this again,...
  8. Re: Macros run slower and slower every time I run them.

    Moderator Actions: Moved Thread to Office Development
  9. Replies
    6
    Views
    164

    Re: getting values from string

    Your string is actually JSON. You can parse the JSON literal to an object using JSON.parse (documentation). Then you would simply access the respective member of the object:

    const literal =...
  10. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Here is a quick example (I didn't bother to take more than 10 minutes on in):

    Public Class Form1

    Sub New()
    For index = 1 To 10
    Dim currentControl As Control
    ...
  11. Re: Generate classes from SSMS in Visual Studio 2019

    How does this compare to the .tt file that (used to be) is included with PetaPoco?
  12. Replies
    3
    Views
    226

    Re: Personal iOS Deployment

    Yes actually, that was exactly what I needed. I was able to deploy my app (and subsequently trust it) following that URL.
  13. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I’m on my phone right now, it’s a bit difficult to write any code from a phone.
  14. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    You feel that they’re easier in VB6, but Niya’s approach you’d only need to modify the snippet slightly and the overall concept doesn’t change even for those arbitrary requirements.
  15. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I was thinking the same thing. It’s more or less be the same approach.
  16. Libertarian Case Against Regulations of Social Media Companies

    I have seen a strong push, both from the right and the left, across the world to regulate social media.

    The argument that I hear from the right (to which I’m referring to the American right who...
  17. Replies
    10
    Views
    177

    Re: This just doesn't sound reasonable

    They were afraid to drink the water because they heard about what it does to the frogs.
  18. Replies
    10
    Views
    177

    Re: This just doesn't sound reasonable

    That does seem sort of odd to have died so quickly from the heat.

    I'm not in a position to speculate as to what happened, but I can speak from experience that fatal heat exhaustion on 2 adults who...
  19. Thread: Post Race!

    by dday9
    Replies
    65,791
    Views
    9,658,202

    Re: Post Race!

    Apparently Baker Mayfield fractured his shoulder?!
  20. Re: Filter Lines of Text File based on Value AND Date

    You would use IO.File.ReadAllLines (documentation) and then call the TryParse method on each line:

    Dim parsedLines As New List(Of Line)
    For Each input As String In...
  21. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    @Niya - a little bit of code cleanup:

    For i = 0 To 9
    Dim btn = New Button With {
    .Height = 25,
    .Text = $"Button {i.ToString}",
    .Top = Top = i * 25
    }

    ...
  22. Re: Filter Lines of Text File based on Value AND Date

    You will need to parse the line. While it doesn't appear as though you have a common delimiter, it isn't really all that bad.

    It looks like the line always starts with Badge# (notice the space)....
  23. Re: Posting a VB.NET code as part of supporting info for journal publishing

    What you're describing sort of sounds like what you can do with WPF (which you can use VB.NET as the source language). However, I imagine that what you have developed is a desktop application and...
  24. Re: Transition VB 6.0 --> C hopefully in Windows

    Mais it's no big deal. It was a couple of mouse clicks for me.
  25. Re: Transition VB 6.0 --> C hopefully in Windows

    Moderator Actions: Moved from VB6 forum to C and C++ forum.
  26. Replies
    72
    Views
    1,166

    Re: Windows 11 is available to some now

    I can tell you from experience that hosting a web server that isn't ASP (classic or .NET) is incredibly painful. I ran into so many issues trying to host a PHP web server to an on-prem Windows Server...
  27. Replies
    5
    Views
    260

    Re: Dictionary, more than one item

    Let's assume that you have the following schema:

    CREATE TABLE LookupTable(
    LookupTableId INT NOT NULL AUTO_INCREMENT,
    LookupTableName VARCHAR(32) NOT NULL,
    Slug VARCHAR(32) NOT NULL,
    ...
  28. Replies
    3
    Views
    226

    [RESOLVED] Personal iOS Deployment

    I've developed a personal mobile application using Angular/Ionic/Cordova and using npx I've generated the necessary iOS and Android files.

    What I do not understand is how do deploy an iOS app...
  29. Replies
    72
    Views
    1,166

    Re: Windows 11 is available to some now

    I don't really see what's wrong with that. I'm just excited to try out the new operating system.
  30. Re: Raise Event/Function/Sub on Child Form, From MDI Parent

    One option that you have is to create an event on the parent form that gets raised when the button was clicked. Then on the child form you would setup an event handler for when that event gets...
  31. Replies
    72
    Views
    1,166

    Re: Windows 11 is available to some now

    When I saw the commercials, I honestly thought it was an ad for Mac at first. I'm excited to try it out once I get opportunity.
  32. Replies
    15
    Views
    514

    Re: [RESOLVED] Load Event Aborting

    I think that's a perfectly valid case. However, if that's the case then I'd suggest abandoning using ADO.NET objects directly and instead use a ORM like Entity Framework, PetaPoco, or Dapper.

    My...
  33. Thread: Post Race!

    by dday9
    Replies
    65,791
    Views
    9,658,202

    Re: Post Race!

    What’s on race?
  34. Thread: Post Race!

    by dday9
    Replies
    65,791
    Views
    9,658,202

    Re: Post Race!

    Who’s on post?
  35. Thread: Post Race!

    by dday9
    Replies
    65,791
    Views
    9,658,202

    Re: Post Race!

    Race that was the post.
  36. Replies
    2
    Views
    207

    VS 2015 Re: search box very small

    There is a grip in the bottom left indicated by the icon that consists of a triangle made up of dots. Grab it with your mouse and stretch it to the desired size.

    Alternatively you can set the zoom...
  37. VS 2019 Re: What is the equivalent of static from VB.Net in C#

    Usually it is shared. E.g.:

    public class Foo
    {
    public static string Bar()
    {
    return "bar";
    }
    }
    Fiddle: https://dotnetfiddle.net/Bo7TJw
  38. Re: Search String Array by Multiple Words

    You could use multiple LINQ statements:

    files.Where(Function(file) searchWordArray.Count(Function(search) file.Contains(search)) > 1)

    Example: https://dotnetfiddle.net/B6T3iJ

    This returns...
  39. Replies
    15
    Views
    514

    Re: Load Event Aborting

    Yeah, it is documented here: https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms633573(v=vs.85)#remarks. Notifications generated by the 64-bit window manager (e.g. Load)...
  40. Replies
    8
    Views
    322

    Re: [SQL Server 2016] Looping Over Records

    In this case with the cursor, that's what I'm going to suggest to the client.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width