Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 0.27 seconds.

  1. Re: visual studio 2017 listener instead of timer?

    Is the error still the same?
  2. 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?
  3. Re: visual studio 2017 listener instead of timer?

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

    I modified the code slightly, but yes, that would go in the Form's load event.
  5. 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...
  6. Thread: Logic

    by dday9
    Replies
    8
    Views
    155

    Re: Logic

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

    by dday9
    Replies
    8
    Views
    155

    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.
  8. [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...
  9. Thread: Logic

    by dday9
    Replies
    8
    Views
    155

    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...
  10. Replies
    2
    Views
    133

    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.
  11. Replies
    4
    Views
    144

    Re: Combo box with data source

    To elaborate on .paul.'s solution, what you're doing when you setup the DataBindings is that you bind the control to the same data source as your ComboBox. Now when the selected value of the ComboBox...
  12. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    I had an electrician install a 30 amp outlet so that when we do get power back at the house I can plug in my camper to live in while we do the repairs. Unfortunately when he opened up the breaker...
  13. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    I used to struggle with my cat until the veterinarian showed me a trick. If you grab the cat behind the neck and pull straight up, they become slightly paralyzed while in that position.

    It feels...
  14. Thread: No Errors

    by dday9
    Replies
    6
    Views
    708

    Re: No Errors

    One place I would check is that you have renamed your forms properly. From the solution explorer, select the file for Intro, and then hit F4 to bring up the properties (it may already be open). Check...
  15. Replies
    0
    Views
    55

    Gameboy Color Repair Service

    A side effect of being displaced from Hurricane Ida is that I'm finding a bunch of my childhood toys and my grandfather's house. One of these toys was my old Gameboy Color. When I went to turn it on...
  16. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    Easy come, easy go. Electricity is back off.
  17. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    The amount of puns is shocking.
  18. Thread: Data Reader

    by dday9
    Replies
    7
    Views
    135

    Re: Data Reader

    You can read the data into a data adapter, fill a data table with the data from the adapter, and then bind the data table to the combobox. This process should only happen once (unless you expect the...
  19. Thread: Data Reader

    by dday9
    Replies
    7
    Views
    135

    Re: Data Reader

    My guess is that you forgot to dispose of a previously created instance of the DataReader. You can clean this up a bit and not worry about disposals by wrapping your declarations in Using statements:...
  20. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    I just got a text from my neighbors that we got electricity at my house.
  21. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    Where's Niya with moar?
  22. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    Yeah, during Hurricane Laura my dad let some contractors sleep at his house for free. He cooked for them and everything.

    When Ida hit he reached out to one of them and asked to give me priority,...
  23. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    Oh yeah, I already got a new roof. My biggest concern is the mold in the attic. Weíre still without power and so I canít run dehumidifiers without physically being there to refill the generator. So...
  24. Thread: Read XML File

    by dday9
    Replies
    4
    Views
    166

    Re: Read XML File

    You can use the XDocument's Load method (documentation) to read the file. You can then use the XContainer's Descendants method (documentation) to get every CadFileName element. The final step would...
  25. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    It looks like that storm turned and intensified a bit. Not only will it hit more heavily where Iím at but it looks like my home might get some of it too.
  26. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    I joke. It's been very stressful the past couple of weeks and things are getting better.

    I try to remind myself to practice the serenity prayer or stoicism in general.
  27. Replies
    3
    Views
    145

    Re: Must Declare a Variable

    FYI - It's best practice to use Parameters.Add and then specify the value. You can also shorten the code a bit by using the With keyword:

    With cmd.Parameters
    .Add("@propertytypeid",...
  28. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    If I pretend it doesnít exist then all my problems go away, right?
  29. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    My house is south of New Orleans, so it wonít be affected by this tropical storm. However, weíve temporarily moved to the Lake Charles area and theyíre expecting some flooding and some light winds.
    ...
  30. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    Funny enough, I did have some gumbo this weekend. It was pretty good for a "roux in a jar".
  31. Thread: GoFund Me Help

    by dday9
    Replies
    10
    Views
    402

    Re: GoFund Me Help

    Updated posted to the GoFundMe.

    Special thanks to all my programming buddies who have pitched in!
  32. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    I was able to throw or pack everything up this weekend. The contractors are going in on Tuesday to rip out ceilings/walls/floors.
  33. Replies
    4
    Views
    192

    VS 2019 Re: Trying to do a REGEX search

    You can use the following:

    str\w+Login
  34. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    We just got some moisture reading levels. The lowest (least damaged) room is at 17% and the highest (most damaged) is at 19.5%
  35. VS 2019 Re: 'Contains' method fails when searching a Queue(Of String)

    At the very top, click on Thread Tools then Mark Thread Resolved
  36. VS 2019 Re: 'Contains' method fails when searching a Queue(Of String)

    This is because there is no item in the collection that matches 123456. What it sounds like you're wanting to do is get the first instance of an item that contains your search predicate. If that's...
  37. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    They think we're on vacation!
  38. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    Today has been particularly rough. My wife's having a bad day thinking about the house.
  39. Thread: GoFund Me Help

    by dday9
    Replies
    10
    Views
    402

    Re: GoFund Me Help

    No, GoFundMe and the donations are legit. The joke was for the donee to put VB6 or .NET as their name and whoever donated the most wins.
  40. Thread: Post Race!

    by dday9
    Replies
    65,670
    Views
    8,969,965

    Re: Post Race!

    Yeah, I had to write a whole statement about where the donations were coming in from. I was like, Iím big in the programming community, the Boy Scout community, and oh yeah Iím the chief technology...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width