Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 1.34 seconds.

  1. Re: Convert from 24hr time in db to 12hr time in program

    @.paul. - It is worth noting that the conversion from TimeSpan to DateTime is not needed. You can use DateTime's TryParseExact:

    Dim dt = DateTime.ParseExact("16:01:00", "HH:mm:ss",...
  2. Thread: Post Race!

    by dday9
    Replies
    65,268
    Views
    7,142,527

    Re: Post Race!

    I just spoke to my dad and brother-in-law, apparently Lake Charles is flooding.

    Last year they were hit with the strongest hurricane on record to hit Louisiana, followed by a strong CAT-3, and now...
  3. Re: Convert from 24hr time in db to 12hr time in program

    What is the datatype of your "time" DataColumn in the dt DataTable?
  4. Replies
    9
    Views
    176

    Re: Nested loop on mutiple combo box

    Do you have the System.Linq namespace imported? It should be imported by default unless you're using a version of Visual Studio that is relatively old.
  5. Re: How to add my ordering items in a table before saving them in DB

    I would suggest w3schools: https://www.w3schools.com/

    This is where I personally learned HTML, CSS, JavaScript, and jQuery.
  6. Replies
    2
    Views
    106

    Re: Playing video files

    DirectX is barely supported in Visual Basic .NET. The last version of DirectX to be supported was version 9, as of writing this we are on version 11. Not only that, but it is sort of a pain in the...
  7. Replies
    13
    Views
    314

    Re: Retrieving lost files

    Since you aren't really working collaboratively, you could just commit everything to your master branch.

    After you install Git BASH, open it in the directory your project solution is in, and run...
  8. Replies
    13
    Views
    314

    Re: Retrieving lost files

    Side note - I moved this to general pc.
  9. Replies
    13
    Views
    314

    Re: Retrieving lost files

    I second JMcIlhinney. Consider this a learning lesson and utilize version control in the future.
  10. Re: How to add my ordering items in a table before saving them in DB

    As I stated in post #4, I would highly recommend that you learn vanilla JavaScript before learning a JavaScript library like jQuery.

    JSON is an incredibly simple way to express data. Not only is...
  11. Re: How to add my ordering items in a table before saving them in DB

    Do not do that! What winds up happening is you pigeon hole yourself to using the DOM that's been created in the server. Instead, return the data you want to display, formatted to a JSON array and...
  12. Replies
    1
    Views
    122

    Re: Add strings to a stringcollection or list

    When your form loads, get the items using:

    Dim values = If(My.Settings.MySettingName?.Count > 0, My.Settings.MySettingName, New Specialized.StringCollection())...
  13. Re: [RESOLVED] Reflection get default property value set at design time

    The GetTypes method (documentation) will only return the types defined in the assembly. Take a look at this sandbox example: https://dotnetfiddle.net/oFdnM8

    This doesn't sound like what you're...
  14. Replies
    10
    Views
    247

    Re: Displaying images

    Take a look at this example:

    Public Class Form1

    Private ReadOnly _imagePaths As IEnumerable(Of String)

    Sub New()
    Dim directoryInfo = New...
  15. VS 2019 Re: VB.Net - How do I make a 'TopMost' toggle button with a checkbox?

    A checkbox's value comes from the Checked property. The Checked property is a boolean value (documentation). The TopMost property is also a boolean value (documentation).

    All you need to do is:
    ...
  16. Replies
    10
    Views
    247

    Re: Displaying images

    I've read your posts several times and it still isn't fully clear what you're trying to do. Do you want to display a smaller image, then when the user hovers over the image it expands to its original...
  17. Thread: Post Race!

    by dday9
    Replies
    65,268
    Views
    7,142,527

    Re: Post Race!

    I'm not sure I'd consider bombing the you-know-what out of west African nations in the name of "the fight against terrorism" is very liberal.

    Then again the anti-war left of old (at least in the...
  18. Re: Removing first row (headers) of a dgv to a csv file

    Take a look at this function:

    Private Function DataGridViewToCsv(grid As DataGridView, Optional ByVal includeHeaders As Boolean = False) As String
    Dim builder = New Text.StringBuilder()

    ...
  19. Thread: Post Race!

    by dday9
    Replies
    65,268
    Views
    7,142,527

    Re: Post Race!

    This is what I'm referring to: https://www.msn.com/en-us/news/world/le-pen-tells-macron-he-risks-civil-war-after-military-letter/ar-BB1gBvHZ?ocid=uxbndlbing

    It popped up on the "trending now"...
  20. VS 2012 Re: Math operation on set of numbers (Textbox)

    This can be done using the String.Split method: https://docs.microsoft.com/en-us/dotnet/api/system.string.split


    This can be done using the mathematical operators * and +


    You don't need to...
  21. Thread: Post Race!

    by dday9
    Replies
    65,268
    Views
    7,142,527

    Re: Post Race!

    @Delaney - What's going on in France? Y'all about to have a civil war?
  22. Replies
    18
    Views
    463

    VS 2019 Re: Create a List for multiple entries

    You should check if the country code exists in the dictionary, if so then get the value (i.e. List):

    Dim countryCode = "USA"
    If (files.ContainsKey(countryCode)) Then
    Dim files =...
  23. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    Here's an idea, handle the FontChanged event and have it output the current font. Then you can check if the outputted font is listed in your installed fonts.
  24. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    I'm sorry, I'm sort of at a loss as to why this would be happening.

    Perhaps someone else can jump in.
  25. Replies
    2
    Views
    197

    Re: Tab Page control inside a thread

    If you are updating controls on a form from a separate thread, you will need to invoke the underlying form:

    Invoke(Sub() tabControlGUI.SelectedIndex = 1)

    However, you should not be doing...
  26. Re: How does VBS call ACTIVEX DLL generated by VB.NET

    I don't understand, is this a Visual Basic .NET question or a Visual Basic Script question?
  27. Poll: Re: How many people do you know personally who are invested in crypto currencies?

    Taxation on bitcoin is why some cryptocurrencies are geared towards anonymity. This is why the IRS put out a bounty on Monero Coin (XMR), who is to say they acquired XMR, printed the keys, then lost...
  28. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    Are you able to dig into the source code or is it protected?
  29. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    I found the documentation behind the GeoMap here: https://lvcharts.net/App/documentation/beta/WinForms/LiveCharts-Wpf-GeoMap

    Nothing seems to indicate that it would affect the application's font,...
  30. Poll: Re: How many people do you know personally who are invested in crypto currencies?

    There is no question that the early adopters made beaucoup money. There is also a problem where because most cryptocurrency is open source that there is nothing stopping someone from forking from it,...
  31. Poll: Re: How many people do you know personally who are invested in crypto currencies?

    Ludvig Von Mises defines money as the commonly used medium of exchange. By that definition I don't know if cryptocurrency would be considered money just yet because it doesn't meet the threshold of...
  32. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    The culprit is this line:

    Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font

    This is documentation on the specific enumeration (documentation):
  33. Poll: Re: How many people do you know personally who are invested in crypto currencies?

    22% of the circulating USD was printed in 2020, inflation (possibly hyperinflation) will happen - no matter what modern monetary theorist say. Traditionally precious metals were used because the...
  34. Replies
    13
    Views
    412

    Re: Editing a text file

    An alternative would be to store your collection as a setting. I'd be more inclined to suggest that over storing the values in a text file.
  35. Replies
    13
    Views
    412

    Re: Editing a text file

    You're not giving me much to go off of.

    Assuming your filename is correct, which it may not be, you would use IO.File.ReadAllText (documentation):

    Dim contents = IO.File.ReadAllText(filePath)
    ...
  36. Replies
    13
    Views
    412

    Re: Editing a text file

    What is wrong? Is it that your filePath variable is referencing the wrong path name? Or is it that the path name is correct, but you don't know how to read the file?
  37. Replies
    6
    Views
    252

    Re: Visual studio??

    If you feel the thread is resolved, please be sure to mark it as resolved to keep the forum tidy.

    At the very top of this thread, click on Thread Tools, then click Mark Thread Resolved.
  38. Thread: tutorial links

    by dday9
    Replies
    8
    Views
    329

    Re: tutorial links

    I have one in my signature that I wrote: vblessons.com
  39. Replies
    6
    Views
    252

    Re: Visual studio??

    Visual Studio is the integrated developing environment (IDE), which is to say that it is a tool that helps you develop, compile, and debug code for various programming languages.

    Visual Basic .NET...
  40. Re: How to add my ordering items in a table before saving them in DB

    To clarify, jQuery is a JavaScript library. When you're executing jQuery code, it is ultimately running JavaScript, just using a more flavorful syntax. I personally enjoy working with both, but I...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width