Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 0.71 seconds.

  1. Replies
    1
    Views
    59

    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())...
  2. 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...
  3. Replies
    8
    Views
    154

    Re: Displaying images

    Take a look at this example:

    Public Class Form1

    Private ReadOnly _imagePaths As IEnumerable(Of String)

    Sub New()
    Dim directoryInfo = New...
  4. 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:
    ...
  5. Replies
    8
    Views
    154

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

    by dday9
    Replies
    65,266
    Views
    7,119,495

    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...
  7. 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()

    ...
  8. Thread: Post Race!

    by dday9
    Replies
    65,266
    Views
    7,119,495

    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"...
  9. 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...
  10. Thread: Post Race!

    by dday9
    Replies
    65,266
    Views
    7,119,495

    Re: Post Race!

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

    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 =...
  12. 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.
  13. 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.
  14. Replies
    2
    Views
    177

    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...
  15. 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?
  16. 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...
  17. VS 2019 Re: Font size changed after using LiveCharts.WinForms.GeoMap()

    Are you able to dig into the source code or is it protected?
  18. 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,...
  19. 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,...
  20. 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...
  21. 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):
  22. 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...
  23. Replies
    13
    Views
    384

    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.
  24. Replies
    13
    Views
    384

    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)
    ...
  25. Replies
    13
    Views
    384

    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?
  26. Replies
    6
    Views
    246

    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.
  27. Thread: tutorial links

    by dday9
    Replies
    8
    Views
    309

    Re: tutorial links

    I have one in my signature that I wrote: vblessons.com
  28. Replies
    6
    Views
    246

    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...
  29. 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...
  30. VS 2019 Re: Toolbox does not have a Tablix control for an RDLC report

    I believe what you need to do is under "Choose Report", select your local report in your application.
  31. VS 2019 Re: Toolbox does not have a Tablix control for an RDLC report

    https://docs.microsoft.com/en-us/sql/reporting-services/application-integration/using-the-winforms-reportviewer-control?view=sql-server-ver15
  32. Replies
    58
    Views
    1,471

    Re: Chauvin murder trial verdict / consequences

    I'm a little late to the party, but I've also had time to process the Chauvin verdict. Keep in mind that I have some biases towards law enforcement in that I am no fan of law enforcement nor do I...
  33. Re: VB.NET, Powershell and Exchange Online O365 (Connect-ExchangeOnline)

    It certainly sounds as if it is a permissions issue. Have you tried running your application as an administrator?
  34. Replies
    3
    Views
    232

    Re: Merging select data from .csv files

    You don't necessarily need to write a Visual Basic .NET application for this if you have Microsoft Excel. You can always use Data > From Text/CSV.
  35. Replies
    9
    Views
    311

    VS 2019 Re: VB Net Excel conditional formatting

    Did you do what I suggested with the breakpoint?
  36. Re: Arrays- Sorting and initialization

    You should not be using a 2D array of Integer to represent a collection of coordinates. Instead you should have 1D array of Point. Take a look at this example that sorts the array by the Y value in...
  37. Re: Paste Image to Rich Tect Box issue

    This smells like a race condition, but I'm not sure how.

    Imagine this was asynchronous for a moment. The race condition would present if it took too long to get the node's tag prior to you calling...
  38. Replies
    9
    Views
    311

    VS 2019 Re: VB Net Excel conditional formatting

    My guess is that it is a casing issue. You have "Ok" (upper then lower) or "ok" (both lower) in the cell but you're comparing it against "OK" (both upper).

    You can confirm this by setting a break...
  39. Re: Paste Image to Rich Tect Box issue

    What is the code in the AfterSelect event? Is it the code that you have in your original post or is it something else?
  40. Re: How to add my ordering items in a table before saving them in DB

    I wouldn't use PHP for you front-end operations. What I would be doing is the following:

    Use JavaScript to make an AJAX get request to a PHP endpoint that returns every item you want to display...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width