Weird Array-related issue.
I'm not sure what's going on, but the following code conks out at the 4th iteration (of 12) and I can't figure out why. Short version: I am trying to set up a table map ahead of creating a SQLite...
View ArticleWebview2 Deployment
Hi all, I recently converted a VB.net (VS 2022) Desktop Application from a WebBrowser control to a WebView2 Control. I have everything work just as I would like. When I create an installer and include...
View Article"Concurrency violation: the DeleteCommand affected 0 of the expected 1 records."
I have an array of DataTables and Adapters In this instance I have assigned one of the tables to a unique DataTable varable "rs" which is associated with the giLastTableIndex index as appears in the...
View Article[RESOLVED] Registry.CurrentUser.DeleteSubkey issues VS2026 VB10
Given the following: Code: My.Computer.Registry.SetValue("HKEY_CURRENT_USER\MyTestKey", "MyTestKeyValue", "This is a test value.") I wish to do one of the following: a. Delete "MyTestKeyValue" or b....
View Article[RESOLVED] Bypass FormClosing
I have a WinForm project targeting .NET Framework 4.5 with two forms: FormStartup and FormMainMenu. The project's startup form is FormMainMenu and the shutdown mode is set for when the startup form...
View Article[RESOLVED] Show Nothing In Disabled NumericUpDown
I'm building a form that captures number of hours worked. This is a rewrite of a legacy application that didn't use proper controls to capture input, so one of the things that I'm doing is replacing...
View ArticleI have a data grid I want to autosize to changed font size
I have the following code but it only changes font, not the grid any suggestions appreciated, thanks Dim newfont As New Font("Lucida'console", 9.0, FontStyle.Bold) Me.GridMatrix.Font = newfont...
View ArticleQuestions Surrounding NotInheritable
I've been developing in VB.NET for a while now (check the VBF join date), but I've only recently started using AI to help me develop. Something I do very frequently is give an LLM a database schema...
View ArticleDictionary Key is Class
I am trying to implement a Dictionary with a Class as a key. The class implements IComparable(Of ), IEquatable(Of ) and overrides Function GetHashCode. The disctionary has every instance of the class,...
View Article