Quantcast
Channel: VBForums - Visual Basic .NET

SqlConnection not defined ?

I use following Code in a Fresh Solution wich contains a Form and Database-Table, i have the above error: Code: Imports System.Data.SqlClient Public Class Form1     Private Sub Button1_Click(sender As...

View Article


VS 2022 Datagridview.Add Assign Font and Underline

Hi, Is there a possibility when I add a new line in the DGV add this in advance with a font and underline in advance ??. Greetings Andi

View Article

VS 2022 VB.net VS2022 => How to generate random number that is a Single or...

Trying to generate a Single or Double random number between 0 and 1 inclusive of 0 and 1. I can use rnd() method & it works but everyone on the various VB fora claim this is a bad way to do it (old...

View Article

VS 2022 Can I draw to a PictBox outside of a paint event?

Guys, I finally realized pros/cons of CreateGraphics Method vs. Paint event (with some help from members here) for a Picture box. I want program code that is doing calculations to to update several...

View Article

Image may be NSFW.
Clik here to view.

BindingsNavigator does not add,delete,update the Table ?

The Navigator works Just fine but does not do any Table operations. The GridView and the TextBoxes does always a refresh.(s.image) The Database is self has the option Copy to output directory=Do Not...

View Article


Image may be NSFW.
Clik here to view.

VS 2019 [RESOLVED] Filter Combobox is it possible ?

1st this is my code HTML Code:   Private Sub displayPRD()         con.open()         Dim query = "select prdnm,cdbr,bprc from prd"         Dim adapter As SqlDataAdapter         Dim cmd = New...

View Article

Image may be NSFW.
Clik here to view.

Why does the zoompicturebox show two images ?

Hello Why does the zoompicturebox show two images ? I tried getting the image to fit in Rectangle. But with below code two images are seen inside the rectangle(s) instead of one. Image is attached for...

View Article

VS 2019 Pulling from a queue using multiple tasks

I need some help trying to accomplish something. I have a concurrentqueue defined in my program. Items get added to the queue in a sporadic fashion. It could be empty for a couple hours, then get 50-60...

View Article


Someone Solved the LocalDB not Showing in ADD new Item -->DATA ?

If i wont to add a local Database, i have only DataSet & Service-Based Database but not Local Database to choice from Local Database is already installed on my Computer. I have done the necessary...

View Article


[RESOLVED] Change a connectionsstring dependent on application StartUp ?

Following Connectionstring works. Code: con.ConnectionString = "Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\users\nik\source\repos\Database_2\bin\debug\Database1.mdf;Integrated...

View Article

Installing text files with your installation

In the installation of my app, I need to provide some text files for the end user that will reside in a folder that I define on his (destination) hard drive. I am using Vis Studio 2022, VB.NET, I guess...

View Article

Image may be NSFW.
Clik here to view.

VS 2022 SAGA_RLE1 decoder

Using the tools found at https://github.com/adventurebrew/sagaeunt to unpack Ite.rsc (Inherit the Earth: Quest for The Orb resource file) I extracted the individual resources. (See res.zip). Wanting to...

View Article

VS 2022 Right place for Return statement in function that returns object

I have this function in a class that serves to return a DataReader to then extract one or more records from its content. But my doubt is that by inserting the Return statement, which as is known exits...

View Article


Help me on creating Vertical Boxplot in picturebox using vb.net. strucked in...

Help me on creating Vertical Boxplot in picturebox using vb.net. strucked in middle of the code

View Article

Image may be NSFW.
Clik here to view.

Help with this Code?

I have a Local Database and Form for testing, following code Gives me a error: See Image 2.(Table uses does not exist, in sqlite studio this select command works)? Attached Images   

View Article





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