Search:
Type: Posts; User: kareninstructor
Search:
Search took 0.40 seconds; generated 40 minute(s) ago.
-
True I was using my own rather than using from an ASP.NET Core project using EF Core as shown below.
public class IndexModel : PageModel
{
public IDataProtector Protector;
private...
-
A little late.
Consider the following were one parameter is nullable and the other not nullable. First, no warning, second gets a warning.
public class Operations
{
public static...
-
Dapper NuGet is performic package for those working with a data provider. No need to be concerned about opening and closing a database connection.
Data operations work off a connection, no...
-
Out of curiosity does anyone here use Dapper and if not would there be an interest in learning about Dapper?
https://github.com/DapperLib/Dapper
(toolbar is missing thus the link above rather...
-
Not to my knowledge, I use to have code written in C# usable in .NET Framework but purged it when moving to .NET Core.
-
Rather than
Dim result As DialogResult = MessageBox.Show("Coffee (Yes) or Tea (No)", "Question", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
If result = DialogResult.Yes Then
Text...
-
It is not wasteful to have the dll in each project today, maybe back in 1990. Most developers have extremely large drives and most users have ample space for a hard drive.
Have you seen Central...
-
Using a Toast notification is an option.
Add NuGet package Microsoft.Toolkit.Uwp.Notifications
Update your project file to include
...
-
See my Microsoft TechNet article Visual Studio debugging windows services for VB.NET or C#.
Also, the following is in C# but might give you alternates in making debugging a service easier combined...
-
Why change the focus color of input controls? To match the theme of a web application.
jsfiddle example which matches the screenshot below
Place the following in a .css file
html {
...
-
Try the following
Imports System.Runtime.CompilerServices
Public Class Form1
Private Sub IncrementButton_Click(sender As Object, e As EventArgs) Handles IncrementButton.Click
...
-
https://devblogs.microsoft.com/dotnet/update-to-winforms-vb-appframework/
https://learn.microsoft.com/en-us/dotnet/visual-basic/getting-started/strategy
-
-
You sure did.
Here is the actual answer https://twitter.com/scrumtuous/status/1617958167094382592?s=20
-
-
I got this from the woman who does interviews for Google.
-
-
-
-
-
In 5 words or less, explain the red 'x'?
187002
-
Every developer/coder at some point will work with dates. For the majority of those working with dates using DateTime (or DateTimeOffset) will suffice for most task while for others with needs such...
-
I have a library for this is using .NET Core 7 found here.
-
On a side note, forget .NET Core 5, it's a stepping stone to .NET Core 6 which is long term support.
In my workplace .NET Core 5 is only used for me teaching mainframe developers Razor pages (long...
-
That is odd, seems like if there is a reference for FW 4.8 it should work although I've only used 6.0 and that was a one-off solution.
Is the Core project compiled for Prefer 32-bit ? And was this...
-
Tangible Software converters has various options that allow control of conversions under the option menu or gear button in it's toolbar.
-
To obtain a BindingNavigator add the following component to your project, rebuild and the BindingNavigator appears in Visual Studio ToolBox.
Working example
Public Class...
-
True, I was not going there, figured my reply was to inject an alternate idea and leave the rest to the OP.
-
You could use a HashSet, add values than use ToArray on the HashSet. In the example below is a proof of concept, you can add in the random values while written as shown below you know what the input...
-
Consider each time a new button is created add it to a private List(Of Button), then to remove the last button, get it by index, pass it to Controls.Remove then remove it from the list via Remove....
-
Wrote the following in C#, converted to VB.NET
Option Infer On
Imports Microsoft.VisualBasic
Imports System.Diagnostics
Imports System.IO
Imports Newtonsoft.Json
-
It's not a VB or even C# issue, it's Google's security changes.
-
If you are sure all settings are correct than go to your Google account, Less secure app access and turn it on. If this works it's a fix that will only be available to the end of this month, after...
-
Another option is data annotations
Public Class Annotations
Public Shared Function ValidEmail(ByVal emailAddress As String) As Boolean
Return (New...
-
See if this works for you.
Imports System.Text.RegularExpressions
Module Program
Sub Main(args As String())
Console.WriteLine($" F1124 {NextValue("F1124")}")
...
-
If you don't mind adding a C# class project to your Visual Studio solution, check out the following C# class project. Once added to your solution, reference the project in your project, add the...
-
If working with .NET Core try adapting to the following simple example. I write this in C# then converted it as no time to write it in VB.
Option Infer On
Imports System
Imports...
-
If you look at a code file when adding a new file it tells you. In short has zero code in it.
-
I have never had a reason to try this but thought it was intriguing how to perform both debug and release builds. My first thought was, MS Build.
With that mentioned and untested the following...
-
Best practices
Place database operations in a separate class
For SELECT statement, never use *, always specify only the columns needed.
In the following example, User class represents a...
|
Click Here to Expand Forum to Full Width
|