Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 1.69 seconds.

  1. Thread: Post Race!

    by dday9
    Replies
    65,707
    Views
    9,234,844

    Re: Post Race!

    Thatís sad, it doesnít affect me much because the only Cleveland I like is the Browns, but Iím still bitter about the Jazz going to Utah, the we had the Hornets, then the NBA did some weird expansion...
  2. Replies
    0
    Views
    80

    [Angular 12] CSP Error on POST

    I have the following service:

    import { Inject, Injectable } from '@angular/core';
    import { HttpClient, HttpHeaders, HttpResponseBase } from '@angular/common/http';
    import { Observable } from...
  3. Thread: Post Race!

    by dday9
    Replies
    65,707
    Views
    9,234,844

    Re: Post Race!

    Whatíll happen to Chief Wahoo?
  4. Re: Work with the application each time with a different comoboxvalue

    I replied to your other thread without realizing you had a separate thread opened. This was my response. It is a bit disappointing because it looks like the advice I am giving is basically...
  5. Thread: Post Race!

    by dday9
    Replies
    65,707
    Views
    9,234,844

    Re: Post Race!

    182381

    http://i0.kym-cdn.com/photos/images/original/000/981/601/71d.png
  6. Thread: Post Race!

    by dday9
    Replies
    65,707
    Views
    9,234,844

    Re: Post Race!

    Mais I didn't know what that stuff was called. I just picked it off the tree.
  7. Replies
    14
    Views
    379

    Re: Azure DevOps vs GitHub

    Since there are 5 of you, pick Basic Plan under User licenses for the 5 users.
  8. Replies
    14
    Views
    379

    Re: Azure DevOps vs GitHub

    FYI - I moved this to general developer forum since it is a source control question and not a Visual Basic .NET question.
  9. Replies
    14
    Views
    379

    Re: Azure DevOps vs GitHub

    I use GitHub for my personal projects, Bitbucket for my job, and Azure DevOps for one particular client.

    I will say that Azure DevOps by far out performs the other two, but I'll agree with NSA in...
  10. Replies
    15
    Views
    497

    Re: Extra Value that is EMPTY

    I don't understand. If you want to give it a null value, then set the parameter value to DBNull.Value.
  11. Replies
    15
    Views
    497

    Re: Extra Value that is EMPTY

    I don't understand your problem? If you want to use a null value for the tenantregID field when those conditions are true, then use a null value.
  12. Replies
    1
    Views
    493

    Re: [Javascript] [ES6] Bootstrap Form Builder

    Updated to include support for <select /> elements.

    Demo
    https://jsfiddle.net/Lr2fh9p6/

    Usage

    window
    .addEventListener('load', function () {
    const contactForm =...
  13. Thread: Post Race!

    by dday9
    Replies
    65,707
    Views
    9,234,844

    Re: Post Race!

    I have some mold that I can give you. It's not particularly harmless though.
  14. Thread: Post Race!

    by dday9
    Replies
    65,707
    Views
    9,234,844

    Re: Post Race!

    Oh man, I just saw one of those at the last local gun show I went to. Not 3 barrels, but it was still cool looking.
  15. Thread: Post Race!

    by dday9
    Replies
    65,707
    Views
    9,234,844

    Re: Post Race!

    Use the Bob Marley approach and smoke them out.
  16. Thread: Post Race!

    by dday9
    Replies
    65,707
    Views
    9,234,844

    Re: Post Race!

    I just realized that they're based out of Baton Rouge. I guess it makes sense with a name like Bengal, although the current Mike is a Siberian/Bengal mix and I feel like a grumpy old "get off my...
  17. Thread: Post Race!

    by dday9
    Replies
    65,707
    Views
    9,234,844

    Re: Post Race!

    I use Bengal spray: https://www.bengal.com/products/outdoor-bugs/wasps-hornets

    They get disoriented, fly around for about 5 seconds, and then drop dead.

    Very satisfying to watch.
  18. VS 2010 Re: Replace every 4th space with number 200

    You can do the following:

    Split the String on a space
    Store the result in a Queue
    Loop until there is nothing left
    Keep track of when you've looped over the 4th word
    Append the word...
  19. Replies
    3
    Views
    202

    VS 2019 Re: Get number of cell

    @Tyson, I don't think the user is asking to get the column name but rather is asking to get the column/row index of cell with given text.

    If that's the case then I think you will need to do the...
  20. Replies
    8
    Views
    327

    Re: Timed Loops to Simulate Hertz

    I have a managed game loop timer codebank submission here: https://www.vbforums.com/showthread.php?771027-Vb-Net-Managed-Game-Loop (this was written 7 years ago, might qualify for optimization).
    ...
  21. Replies
    15
    Views
    497

    Re: Extra Value that is EMPTY

    No, not that. Change that back to what it was. What I meant by checking that the value is not Nothing before you check if it is not DBNull is:

    Me.DgUnitsUp.Rows(i).Cells(8).Value IsNot Nothing...
  22. Replies
    15
    Views
    497

    Re: Extra Value that is EMPTY

    I don't know why you'd be getting the error. My only other suggestion would be to also check that it is not Nothing before you check if it is not DBNull.
  23. Replies
    15
    Views
    497

    Re: Extra Value that is EMPTY

    The underlying issue is the same. You are attempting to access a member, in this case ToString, on a value that is null.


    Dim tenantregID As Integer
    If (Not...
  24. Replies
    15
    Views
    497

    Re: Extra Value that is EMPTY

    DbNull is not the same as Nothing or an empty string. It is used to specifically check if the database value is null. You can use something like:

    DBNull.Value.Equals(value)
  25. Replies
    13
    Views
    598

    Re: Image tag not found.

    What I was going to suggest if you had taken my advice was that if no MessageBox appeared, then that confirms the image exists. My next piece of advice would have been to update the UI manually,...
  26. Replies
    13
    Views
    598

    Re: Image tag not found.

    Did you take my advice and setup the conditional statements?
  27. Replies
    13
    Views
    598

    Re: Image tag not found.

    If I were you, then I would setup some conditional statements to check for easy errors:

    Public Function Finder() As Integer
    Dim foundControl As Control
    Dim box As PictureBox
    Dim two...
  28. Replies
    15
    Views
    497

    Re: Extra Value that is EMPTY

    Without messing around with any of the VB.NET code, you could simply do a UNION in your SQL on null/blank values:

    SELECT NULL AS tenantregID, '' AS tenantfullname UNION SELECT tenantregID,...
  29. Replies
    4
    Views
    337

    Re: Gameboy Color Repair Service

    To clarify, the Gameboy didn't get wet. I'm staying on my grandfather's property while my home is unlivable and I found the Gameboy in one of his closets. It's just been sitting up here for decade(s)...
  30. Thread: No Errors

    by dday9
    Replies
    9
    Views
    945

    Re: No Errors

    What I do when I rename forms is select the file in the solution explorer, hit F2, and then rename it from there. By doing it like this Visual Studio will ask if you want to rename any instance of...
  31. Re: visual studio 2017 listener instead of timer?

    Is the error still the same?
  32. Re: visual studio 2017 listener instead of timer?

    sender and e will need to be renamed to avoid the conflicting parameter names of load. What is the error for created?
  33. Re: visual studio 2017 listener instead of timer?

    I modified the code slightly (I mentioned this in post #5).
  34. Re: visual studio 2017 listener instead of timer?

    I modified the code slightly, but yes, that would go in the Form's load event.
  35. Re: visual studio 2017 listener instead of timer?

    Take a look at the FileSystemWatcher class (documentation). Here is a quick (untested) example:

    Using watcher = New FileSystemWatcher("C:\path\to\folder")
    With watcher
    .NotifyFilter...
  36. Thread: Logic

    by dday9
    Replies
    12
    Views
    455

    Re: Logic

    Are you overwriting the ComboBox item's with the SqlDataReader code?
  37. Thread: Logic

    by dday9
    Replies
    12
    Views
    455

    Re: Logic

    You did not mention that this was a DataGridViewComboBoxColumn in your original post, that would have been helpful.

    While I cannot test, I believe it would be as simple as getting the cell's value.
  38. [VB.NET] Desktop Application - Bind Datasource To Control

    I have seen this question asked frequently in the VB.NET forum and I figured I would add a tutorial submission to address this in a single location.

    Imagine for a second that you have a lookup...
  39. Thread: Logic

    by dday9
    Replies
    12
    Views
    455

    Re: Logic

    Populate the tenant records into a DataTable, bind the ComboBox to the DataTable, set the DisplayMember to tenantfullname and the ValueMember to tenantregId:

    Dim dt As New DataTable()
    Using con...
  40. Replies
    2
    Views
    257

    Re: Update Statement - DatagridView

    This is invalid syntax for an update statement, remove it:

    (flattype, units, rentamt, vacant, tenantregID)

    This is likely an artifact from copying/pasting an insert statement.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width