Quantcast
Channel: VBForums - Visual Basic .NET

Key Pess Script

Hi all, I have no experience with VB, so I am asking for help. I have tried some examples I found online, but they do not work. I would like a simple script that will automatically press the E key...

View Article


[RESOLVED] TextBox TextChanged not triggered when set through .Text when...

[edit] The TextChanged event wasn't set in our code when it's a date input because another problem with the textbox in regard to databound to a date field.. :mad: :blush: Ugh, I really hate the crappy...

View Article


Visual Studio VB 2026: Database assistance

Hello guys, I just would like to seek some assistance regarding my databse. I have created a database (mydatabase) and it is located at Server=(localdb)\MSSQLLocalDB. When I checked the SQL Server...

View Article

VS 2022 formclosing, formclosed and applicaton events not firing when app close

I'm going crazy. When I close my winforms app, by closing the start form, formclosing, formclosed or applicationevents are not executed. Something is messing with my code so that it is skipped. I have...

View Article

Filtering DataGridView not returning expected values

Hi Guys, I seem to have gotten myself into a filtering conundrum. I have two DataGridView tables that are not bound to anything in a Visual Basic 2026 app that I am playing with. DataGridView1 is...

View Article


Type Expected error when attempting to use Chart

Hi Guys, I am getting a Type Expected error when I am using the following simple line of code Dim chart as new Chart() I have searched extensively but am unable to find out why the error occurs or what...

View Article

[RESOLVED] Getting information to process

Hi. I am new to VB.NET, prefer vb.6. I wrote a program in NET to run several console programs sequentially. That works fine. The console programs have already been written. At the end of these programs...

View Article

Question about teaching and grading tools

I teach a visual basic programming class and I have been using the cengage tools for class management. I hate these tools and I want to move to an open source solution. What I need is an efficient tool...

View Article


VS 2022 Passing Multiple Parameters Between Forms

I have been trying to figure out, albeit unsuccessfully, the magic trick for passing multiple parameters between Forms. The first form (frmReportLauncher) is used to select which report (of 9) to...

View Article


VS Code Outline Text in a Label

Hello All, I have been struggling with a little project that needs a label to contain text with an outline aka stroke. The Text is white and the background in teal. I would like to be able to add a...

View Article

Position of a PictureBox

Hello, i want to center a picturebox but i dont understand the maths For exemple, i set the form size to 400*200 and the picture size to 300*100, so the picture location should be 50*50, but its no...

View Article

VS 2022 [RESOLVED] The user should be allowed to enter only these 3...

Hi, The user should be allowed to enter only these 3 numbers,1, 2, or 3, in a textbox. How to restrict him from entering other characters? Please help.

View Article

Zoom and move picture within picturebox

I have a project where the user can load a picture into a picturebox on a form. I would like the user to be able to click on the picture and then the wheel mouse to zoom in and out (enlarge) and the...

View Article


VB 2026 trying to access form controls as part of a class?

Using VB 2026. So I can't be sure this worked in 2022 version, but I thought you could do something like: Code: Private Class MyClass     Public Yo as String     Public lbName as Label     Public...

View Article


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>