Search:

Type: Posts; User: kareninstructor

Page 1 of 13 1 2 3 4

Search: Search took 1.67 seconds.

  1. Re: How soon may I have to give up VB.net (and VB6)?

    Been getting up to speed with Rider for working with VB.NET then I will have more contributions.
  2. Re: how do i disable FileSystemWatcher after file is found?

    Take a look a the following code sample. The class inherits FileSystemWatcher which in this case watches for specific files in the bin\debug folder and removes them.

    Simple start/stop watching

    ...
  3. Re: How soon may I have to give up VB.net (and VB6)?

    My last comment on this topic.

    Live in stone-age or not, that is your choice.
  4. Re: How soon may I have to give up VB.net (and VB6)?

    Totally agree
  5. Re: Max SQL Column value - VB issue executing command

    You need ExecuteScalar not ExecuteReader
  6. Re: How soon may I have to give up VB.net (and VB6)?

    That is not a good attitude if you are a developer with say five or more years left in the profession. Some developers will coast by on a given language but what happens when it's mandated to use...
  7. Re: Insert data from datagridview to SQL database

    We are not mind-readers, you need to elaborate on the issue as it doesn't work is lacking details


    First option, step through the code by setting a breakpoint in the code which is not working...
  8. Replies
    8
    Views
    419

    Re: Accessing class in class library

    An alternative is to create a new class which inherits BindingNavigator, create buttons there, setup properties, assign images then in your form setup events and conditions such as enabling and...
  9. Re: How soon may I have to give up VB.net (and VB6)?

    For new projects rather than contemplating this language or that language focus on personal or client needs followed by will the chosen language be suitable for the project.

    If a developer is...
  10. VS 2015 Re: Trying to import sleep function

    Use


    Declare Sub Sleep Lib "kernel32.dll" (Milliseconds As Integer)

    Works under VS2019, should work under VS2015
  11. Re: Get Connection String By Provider Error

    This is exactly what JMC was referring too. It's crystal clear, unsure why you don't understand?

    182136
  12. Replies
    4
    Views
    356

    Re: Entity Framework Core for VB.NET

    Check this course out.

    Course 20486-C: Developing ASP.NET MVC 5 Web Applications

    In this 5-day course, the professional web developers will learn to develop advanced ASP.NET Core MVC...
  13. Replies
    4
    Views
    356

    Re: Entity Framework Core for VB.NET

    If interested check out my code sample.
  14. Re: Deleting a row from the data source (datatable) of a datagridview

    Yes the code removed the DataRow from the DataTable
  15. Re: Deleting a row from the data source (datatable) of a datagridview

    Here is a code sample which does a soft delete, minor change to do a hard delete. Code sample written in VS2019, .NET Core 5, will work with older Frameworks.
  16. Re: Application interperting textbox context as SQL Code

    Here is an option which separates data operations from the form. Looks like both values for the UPDATE are strings, if not change the type in each command parameter.

    UpdateOrder returns a named...
  17. Replies
    20
    Views
    1,091

    Re: ConnectionStrings.com is gone!

    I have to empty the fricken cache, see it now.
  18. Replies
    20
    Views
    1,091

    Re: ConnectionStrings.com is gone!

    It's gone again
  19. Replies
    4
    Views
    443

    Re: Using IsNumeric(string)

    Integer.TryParse will return false for "(2)" while the following will return true


    Public Module Extensions
    <Runtime.CompilerServices.Extension>
    Public Function AlphaToInteger(text As...
  20. Replies
    4
    Views
    356

    Entity Framework Core for VB.NET

    NuGet Install-Package EntityFrameworkCore.VisualBasic -Version 5.0.0-alpha.2
    GitHub repository https://github.com/efcore/EFCore.VisualBasic
  21. Replies
    20
    Views
    1,091

    Re: ConnectionStrings.com is gone!

    Nothing is every truly gone from the web.

    Here is a snapshot of connectionstrings from https://web.archive.org/

    https://web.archive.org/web/20210716132802/https://www.connectionstrings.com/
  22. Replies
    1
    Views
    216

    Re: Dataview overhead

    In regards to question 1, yes there is a index which can be accessed via the following extension method. Personally never had any reason to access the field _rowId and only have this code from...
  23. Replies
    4
    Views
    402

    Re: Simple DB connection question

    You could (as already recommended) use a try/catch e.g. taken from one of my GitHub repositories for logging in with defined user in SQL-Server and place a breakpoint on the try then examine the...
  24. VS 2019 Re: VB - Connection string to oracle and feed DataGridview1 based on SQL

    Take a look at the following C# project.

    VB.NET is here
  25. VS 2019 Re: VB - Connection string to oracle and feed DataGridview1 based on SQL

    Try using this NuGet package for .NET Framework, for .NET Core this package.

    Also get Oracle SQL-Developer, try your connection there.
  26. VS 2019 Re: Vb.net - Split large text file by number of lines

    If you would like to see a proven method to chunk files (and there is a great deal more code as it's ported from a C# enterprise utility I wrote) see the following GitHub repository.
  27. Replies
    6
    Views
    726

    Re: Image retrieve from SQL DB

    Take a look at the following repository.
  28. Replies
    5
    Views
    497

    Re: Always-on-display VB.NET

    If you don't mind a tray app done in C# see the following. Only requirement is rights to read, write to the system registry so it can startup at windows startup.
  29. Replies
    10
    Views
    652

    Re: Payroll System Help

    Hello,

    This is a conceptual example, not complete, enough to understand what others have mentioned.


    Uses TryParse to test if string to integer is possible
    Uses a language extension for...
  30. Replies
    3
    Views
    380

    Re: Get a Chrome URL

    One of the problems with most solutions for obtaining addresses in Chrome is that Chrome API constantly is evolving so what works in one version most likely will break in other versions. To achieve a...
  31. Re: An Ideal option required instead of Listbox. Coud you suggest

    If you need some code samples check out the following GitHub repository and article. Code samples use SQL-Server to populate ListView controls yet any database can be used or no database.
  32. VS 2017 Re: Delete Record in Recordset by Row Number

    Is there a really good reason for using old school ADODB? It's easy enough to work with positions as seen in the following code which is part of the code sample for moving rows up/down in a...
  33. Replies
    14
    Views
    16,060

    Re: How do I move a DataGridView row?

    This is so that the code can be used in other projects, if you don't care for this then move the code to where you would like it to be. I'm always thinking ahead, never just one project, remember...
  34. Replies
    14
    Views
    16,060

    Re: How do I move a DataGridView row?

    Take a look at the following code sample which moves rows up/down using buttons. Even if you are not wanting to do this with buttons there is code that can be invoked without buttons.

    Data is...
  35. DataGridView auto-size columns options

    When there is a need to have each column in a DataGridView to display the widest value the solution may be to iterate each column and set column .AutoSizeMode to AllCells.

    Change the widest...
  36. Re: Getting the selected item in a ListView control

    If you want to learn about using a ListView including obtaining the selected single item see

    TechNet Wiki article Windows Forms ListView: Examining Detail view with SQL-Server (VB.NET)

    Full...
  37. Re: How to remove internet marks on a project item

    Even though you have a solution, here is what I was talking about. First off the original solution removed 'the mark of the web' in a command (cmd.exe) session while that works a better solution is...
  38. Re: How to remove internet marks on a project item

    Might try PowerShell. In this case the period is the current folder and -Recurse means to do that folder and any sub folders.


    dir -Path . -Recurse | Unblock-File
  39. Entity Framework Core 5 appsettings.json and logging using SQL-Server

    If using .NET Framework 5 with Entity Framework Core5 and like to configure your connection string and logging see the following GitHub repository.

    Log options (which can be modified easily)


    ...
  40. VS 2019 Re: from CheckedListbox to Parameters.AddWithValue

    This is a path to follow with a mock-up

    Extension method to get checked items


    Public Module CheckedListBoxExtensions

    <Runtime.CompilerServices.Extension>
    Public Function...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width