2,710 questions with VB-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Cannot get visual appearance of a UserControl to change

I use a UserControl called Dot to draw circles on a map: <UserControl x:Class="Dot" ..... <Ellipse Fill="{Binding Path=FillColor}" Height="{Binding Path=Diameter}" …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-21T13:55:28.447+00:00
RogerSchlueter-7899 1,281 Reputation points
accepted 2021-02-21T19:43:03.527+00:00
RogerSchlueter-7899 1,281 Reputation points
1 answer

Drawing on a Panel (System.Drawing.Drawing2D)

I'm completely new to using the drawing facilities in vb.net Nevertheless I've managed to create a prototype drawing on a Panel. It's just a rectangle with the top right corner bevelled, then there are a couple of circles tangential to the bevel.…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-18T17:08:06.627+00:00
AndyNakamura 51 Reputation points
answered 2021-02-19T07:42:43.277+00:00
Castorix31 84,096 Reputation points
0 answers

Finding the location of a specific image inside a PictureBox with VB.NET

I have a PictureBox with a image inside it. Inside that image, there is a object placed inside it, which in this case is a 'Red X' in the following image (Just an example of what I mean): I'm trying to find a way where I can search for the…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-16T20:09:11.563+00:00
blinkor12 101 Reputation points
commented 2021-02-18T22:15:16.15+00:00
blinkor12 101 Reputation points
0 answers

wireless relay control over wifi lan

I am looking for help-discussion about adding code to an existing vb.net visual basic application in windows 10 pc environment to control relays wirelessly over wifi lan.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-18T17:12:21.237+00:00
Frank Brady 21 Reputation points
1 answer

How do I publish with sql Database in Visual Basic / Visual Studio 2019

Hi good People I have created a program and publish it. But when I click on the published program. and install it, My SQL database cannot be found. This program will be an offline. (installed from CD or USB) . So Have I got to import the SQL Database…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-18T14:07:11.05+00:00
Gary Simpson 471 Reputation points
commented 2021-02-18T16:19:53.02+00:00
Karen Payne MVP 35,401 Reputation points
2 answers One of the answers was accepted by the question author.

Add string to List(of String) in an Object

Hallo, I have a following object and i want to add a string to a list but i am getting error. What am i doing wrong? Public Class ItemsColl Public Property Coll1 as List(of String) End Class Public CollList as New…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-18T07:49:44.313+00:00
Hobbyist_programmer 621 Reputation points
answered 2021-02-18T08:39:52.537+00:00
Hobbyist_programmer 621 Reputation points
1 answer One of the answers was accepted by the question author.

Blinking of controls

I've a web page that get list of items from a database. Upon selection of an item from list, I need to display certain details from database. But as soon as I select item in combo box, screen gets blink for a second. The same thing happens when I change…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,446 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-17T13:24:46.877+00:00
Ravi Molasaria 21 Reputation points
commented 2021-02-18T03:32:27.757+00:00
Ravi Molasaria 21 Reputation points
1 answer One of the answers was accepted by the question author.

Need code for "cut" command for in a ComboBox

I want to add the "cut" and "paste" feature to a ComboBox, and I am not finding the code for it. Can anyone provide me with "Cut" and "Paste" codes for ComboBox.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-17T18:57:27.707+00:00
tovia schlesinger 241 Reputation points
accepted 2021-02-17T22:52:34.463+00:00
tovia schlesinger 241 Reputation points
5 answers One of the answers was accepted by the question author.

can you access audio resources by using a variable name instead of the resource name?

I am just starting to code a program that will read a text file one character at a time and play a wav file from My.Resources. The resources wav files are the morse code dots and dashes for each letter. The resource items are named a,b,c etc. Is…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-11T18:57:06.27+00:00
Mike Benton 96 Reputation points
commented 2021-02-17T03:08:08.587+00:00
Mike Benton 96 Reputation points
1 answer One of the answers was accepted by the question author.

vb.net cannot connect to MS Access database

Here is my steps: Download and install MS Access database engine 2016, and I can query sample databases. Please note I have a 64 bit PC, but I have to install 32 bit as the set-up instructed. In my vb.net project, I want to connect to the MS…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-16T15:17:47.58+00:00
jinshou xiao 26 Reputation points
commented 2021-02-16T21:01:58.273+00:00
jinshou xiao 26 Reputation points
1 answer

I must have done something wrong, because i can still start my program, but i can not enter my design form anymore and my code is gone. All I See is code with a lot of me.xxxxx starting. What have i done wrong?

After a evening of programming, I changed the name of my Form (Form1) to soemthing else and got an incomprehensible error. I was stubborn and said yes and now all seems lost. I can still start my program and it works still fine, but i can not get back to…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-05T23:19:40.507+00:00
dick zelvelder 21 Reputation points
commented 2021-02-16T19:29:57.21+00:00
dick zelvelder 21 Reputation points
1 answer

vb.net : sending data to excel : for each record

Hello All Please if you could tell me what I am doing wrong This is my code xlWorkSheet = xlWorkBook.Worksheets("Biweekly") With xlWorkSheet 'For Each Name on Table …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-13T21:17:41.213+00:00
Cholotron 161 Reputation points
commented 2021-02-16T10:35:59.307+00:00
Xingyu Zhao-MSFT 5,366 Reputation points
3 answers One of the answers was accepted by the question author.

C++/CLI How to Display Ram Info in GB

private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { ManagementObjectSearcher searcher("select * from Win32_Processor"); ManagementObjectSearcher searcher1("select * from Win32_VideoController"); …

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,807 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,678 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,150 questions
asked 2021-02-15T16:13:14.55+00:00
Wami007 296 Reputation points
commented 2021-02-15T19:44:04.287+00:00
Wami007 296 Reputation points
3 answers One of the answers was accepted by the question author.

VB.Net and BitLocker Drive Encryption Status

Hi, Is it possible to get the status of the Bit Locker Drive for the "C:\" volume using VB.Net? Currently I am able to get the status using manage-bde -status and following PowerShell as well: $bitlockerVolume = Get-BitLockerVolume…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-08T20:26:47.007+00:00
~OSD~ 2,176 Reputation points
commented 2021-02-15T17:04:31.593+00:00
valdom 16 Reputation points
0 answers

You are attempting to open a system file(dll)

I succcessful created windows app set up from visual studio..on Vb.net language Also the set up was successful installed to my pc But the problems comes to to the icon app does not function normal as other apps Ends up giving me a warning tha says …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,030 questions
asked 2021-02-13T20:37:29.02+00:00
Billy shao 1 Reputation point
commented 2021-02-15T09:17:22.94+00:00
Billy shao 1 Reputation point
1 answer One of the answers was accepted by the question author.

Visual Studio 2019 - external routines sayiing "It may be inaccessable"

Hi, I am working on some legacy code and have been noticing problems with VS2019. Today I am getting the error messages on all external call to a local DLL. The message is saying "xxxx routine is not declared. It may be inaccessible due to it's…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,015 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-12T10:23:58.173+00:00
Iain Hayward 21 Reputation points
accepted 2021-02-15T09:01:30.85+00:00
Iain Hayward 21 Reputation points
0 answers

Importing C/C++ function from DLL in a Visual Basic application

Guys, I'm developing an application in VB which requires importing functions from a C/C++ DLL. Now, I imported several of the functions structuring them like this: Declare Auto Function functionName_i Lib "library.dll" Alias…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,678 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-11T12:35:45.68+00:00
Mattia Valassi 1 Reputation point
commented 2021-02-15T08:09:54.59+00:00
Xingyu Zhao-MSFT 5,366 Reputation points
1 answer

Calculator

Arkadaşlar ben bir hesap makinesi kodladım ve bu makinede Virgüllü toplama ,çıkarma çarpma veya bölme yapamıyorum.Mesela 8,6*7,2 diyorum Makine bunu 8*8,6 olarak algılayıp çarpıyor.Yardımınız lazım lütfen. - Türkçe Hi. I designed a Calculator and I…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-08T19:06:29.7+00:00
JuiceMiner66 1 Reputation point
commented 2021-02-15T03:10:28.087+00:00
Xingyu Zhao-MSFT 5,366 Reputation points
2 answers One of the answers was accepted by the question author.

Prevent NaN result in VB

I have the below calculation in my windows form, how do I make the calculation return a zero in the Label rather than NaN if any of the TextBox text is zero: If txtLA1 = False And txtPA1 = False And txtOA1 = False Then lblSA.Text =…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,015 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
983 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
344 questions
asked 2021-02-03T22:41:59.887+00:00
SeanPress 206 Reputation points
answered 2021-02-14T21:58:08.347+00:00
Adrian Bowles 86 Reputation points
3 answers One of the answers was accepted by the question author.

UserControl Click Event Problem

Hello, I have a problem with a custom button that I am trying to make in visual basic using a usercontrol. It consists of a picturebox and a label. I want to call the click event from my main form, but the picturebox and the label don't do anything…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,710 questions
asked 2021-02-14T09:30:47.263+00:00
KG Gamer Forever 21 Reputation points
accepted 2021-02-14T16:36:02.837+00:00
KG Gamer Forever 21 Reputation points