Project to run IA locally in VB.NET
LocalIAdotNet LocalIAdotNet is a fully local Windows Forms application written in VB.NET for downloading, running, and comparing local large language models. Features Analyzes CPU, RAM, GPU, VRAM,...
View ArticleP1Monitor – Free Windows Application for Belgian P1 Smart Meters, Solar...
Aloa everyone, I would like to share P1Monitor, a lightweight Windows application designed to monitor energy consumption, solar production and EV charging from a single dashboard. It has been written...
View ArticleSimulate a Realistic Phone Ringback Tone in VB.NET
Here is a simple VB.NET example that simulates the actual sound of a phone ringing (ringback tone). It generates a classic two-tone ring sound (440 Hz and 480 Hz) for 2 seconds, followed by a 3-second...
View ArticleInteractive Fiction project in VB.NET
Hello there, Having been wanting to learn about VB.NET I decided to code a project to help me learn. The project is a Interactive Fiction game, formally known as text adventures, in which the player...
View ArticleVB.net compared to Excel macros
I find it interesting and maybe you do too. I had a macro updating an Excel spreadsheet that updated about 1063 rows of individual golf holes (18 per round) for about 59 rounds. In Excel macro, it took...
View ArticleAnalog Clock in VB.NET: Resizable, Smooth, and System-Synced
This is an old project of mine I coded in Visual Basic 2010, framework 4, but it should work with newer versions of Visual Basic. It stays in sync with a system's time when resized. It's graphics are...
View ArticleCustom MsgBox
This is a custom dialog, msgbox that i redeveloped from some SO code from this thread - https://www.vbforums.com/showthread....Adjusting-Code CustomMessageBox.zip To create custom msgboxes in your app....
View ArticleMySql load Listview and run time column names + autosize, checked, color items
example using ado.net to load values into a list box at run time setup column names, autosize columns select checked color items a color with bold, then black regular mouse down select first column to...
View ArticleDALL-E Client in VB.NET, simple way
I want to share one of my latest project, a DALL-E client to interrogate OpenAI model v2 from our PC. It requires a valid OpenAI API Key. The code is commented so it's self explicatory. ON the winform,...
View Articleresize all controls on form dynamically when form is resized, works well,...
This also resizes fonts. It keeps controls aligned well. Set your min size in the form designer properties. The code works to full screen resizing and has seamlessly redrawn control sizes as form edge...
View Article[RESOLVED] Read custom colors from a file , then load custom colors into...
Code: Dim ColorDialog1 As New ColorDialog Dim cMyCustomColors(16) As Color 'read custom colors out of file and load into custom color array If IO.File.Exists(My.Application.Info.DirectoryPath...
View ArticleEasy way to put tooltip text above a rtb, or any control, works well
In my case, did not want it blocking the view of another text informational control, which it did as it displayed below the rtb control. Tooltext() is a string arr of 18 elements, or just quote some...
View ArticleFound a way to test read for 4 unicode file types, and then read content to a...
A little rough looking, but it works and it is fast to read into a string file from a unicode file, and the chars look right. I send the file path name to a sub, it works on it using streamreader and...
View ArticleConsole menu with Spectre.Console
This code sample provides a intermediate example to display a console window centered on the screen with a menu populated from a json file. Requires VS2022, .NET Core 6 or higher. GitHub repository...
View ArticleRound the corners on a form or control
Code: Public Class C_RoundCorners Public Sub RoundCornersForm(Form As Form, Optional Radius As Integer = 20)...
View ArticleA way to fill a combobox with database names for MySQL and MariaDB
working in vs2022 loads the DB names into an array uses some kind of ADO, I think It may also work with ADO.NET Uses showdatabases command to the server I found no good examples on the web, so here is...
View Articlestring negator
Code: Function Negate(sentence As String) As String ' Check if the sentence contains "not" If sentence.Contains("not") Then Return sentence.Replace("not", "").Trim() Else '...
View ArticleMulti-Monitor ScreenShots
[Multi Screen Capture Program by Smitty][1] [1]: https://i.stack.imgur.com/A5GY7.png The Form has CheckBox2 - Checkbox - Button Style - Anchor = Top, Left CB1 - ComboBox - Font size = 20 - Text = 1 -...
View ArticleScanline flood fill algorithm in pure VB.Net code
A recent discussion in this thread led me to the discover that a decent flood fill implementation was somewhat difficult to find online, most especially for .Net languages like C# or VB.Net. Given the...
View ArticleWebView2 - Desktop UI
You can find the corresponding FAQ here: https://www.vbforums.com/showthread....ions&p=5632457 this will explain to you how this is done. Here is a working example using a simple using .NET 8:...
View Article