2,729 questions with VB-related tags

Sort by: Updated
1 answer

JsonReaderException exception when using Firebase streaming - VB.NET

Hi, When I try to read data from Firebase using FirebaseDatabase.net Library I receive Newtonsoft.Json.JsonReaderException exeption this code works Imports Firebase.Database Imports Firebase.Database.Query Public Class Form1 Private Async Sub…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,894 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,729 questions
asked 2024-10-18T05:54:17.3033333+00:00
Yusuf-3141 45 Reputation points
answered 2024-10-18T08:41:19.9533333+00:00
Love Text Hubs 0 Reputation points
2 answers One of the answers was accepted by the question author.

'Reference to a non-shared member requires an object reference' after adding a new value to Application Settings

If I add a new settings to my application Settings(VB.NET,NET 4.7.2),I got 142 errors: `BC30469 Reference to a non-shared member requires an object reference` on every code that uses My.Settings If I use notepad++ and manually add the new value to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,729 questions
asked 2023-06-19T21:14:22.8133333+00:00
moris27 56 Reputation points
commented 2024-10-17T15:17:28.28+00:00
Fried Parrot 0 Reputation points
1 answer

populate TextBoxes base on date value selected in DatePicker

Hi All. In form of WPF VB.Net project I would like to populate 3 TextBoxes base on selected in DatePicker date value of Monday. The first TextBox named txbWeek will display the number of week of the month depending on the selected date in the…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 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,729 questions
asked 2024-10-07T22:53:26.74+00:00
zleug 51 Reputation points
commented 2024-10-17T05:22:40.7133333+00:00
Hongrui Yu-MSFT 2,075 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Open or show a new instance of a form from a new thread in VB.NET

I am trying to open or show a new instance of a form from a new thread in VB.NET. Here is some code that I have come up with: Thread starting procedure: Public Sub StartBellScheduleRun() Dim BS(NumClocks) As Threading.Thread For A As…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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,729 questions
asked 2024-09-04T01:33:12.8966667+00:00
Marc Menzel 81 Reputation points
commented 2024-10-16T17:02:54.7+00:00
Viorel 117.6K Reputation points
0 answers

How to disable (or fix) automatic "End Class" -> "End Structure" replacement?

In Visual Studio 2019, using Visual Basic, when I have Public Structure Foo End Structure and replace the "Structure" with "Class", Visual Studio tries to be helpful and replace the matching other "Structure" with…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,729 questions
asked 2022-10-04T13:47:37.633+00:00
a b 1 Reputation point
commented 2024-10-16T11:45:53.9766667+00:00
a b 1 Reputation point
1 answer

Is it possible to use the new version of Outlook with vb.net?

I automated notification of sending via Outlook with vb.net code. It worked well with Outlook Classic. recently some employees switched to the new version of Outlook (Outlook NEW 2024) and for these employees, the program is no longer able to trigger…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,427 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,901 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,729 questions
asked 2024-10-16T10:10:51.41+00:00
Kacou Ambroise KABRAN [LABEL] 0 Reputation points
answered 2024-10-16T11:01:46.8666667+00:00
Jiachen Li-MSFT 31,801 Reputation points Microsoft Vendor
3 answers

VB.NET - Detecting when the computer wakes up.

I have tried a suggestion that someone posted on Stack Overflow, however, it is not working. I can't seem to find the solution online. I wonder if it is even possible to detect when the computer wakes up from sleep in VB.NET. Heer is my code. First, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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,729 questions
asked 2024-10-15T21:38:54.6833333+00:00
Marc Menzel 81 Reputation points
answered 2024-10-16T10:28:19.87+00:00
Castorix31 85,546 Reputation points
6 answers

The Designer could not be shown for this file because none of the classes within it can be designed.

I have a project produced in Visual Studio 2017. I have just downloaded Visual Studio 2022 and tried to open the project. Although all of the code can be viewed, I can't see any of the Forms. I get: "The Designer could not be shown for this file…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,729 questions
asked 2021-08-29T18:00:22.637+00:00
Trevor Daniels 31 Reputation points
commented 2024-10-16T06:22:18.6733333+00:00
Rizki NL 0 Reputation points
1 answer One of the answers was accepted by the question author.

vb.net I have folder in program path called patient files i need to open specific file using textbox1 with name of file

vb.net I have folder in program path called patient files i need to open specific pdf file using textbox1 with name of file

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,894 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,866 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,729 questions
asked 2023-06-03T22:17:41.8+00:00
Ahmed Ramadan 20 Reputation points
accepted 2024-10-12T15:43:45.2433333+00:00
Ahmed Ramadan 20 Reputation points
2 answers

How to Fix: Method "Form1_Load" not Found

just got started using visual basic and I don't know how to fix this

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,894 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,729 questions
asked 2024-09-27T04:32:34.6266667+00:00
Kaz 0 Reputation points
commented 2024-10-10T06:45:03.8466667+00:00
Jiachen Li-MSFT 31,801 Reputation points Microsoft Vendor
1 answer

Problem with ressource data

I have a problem with my webbrowser project. Visual Studio is thinking, that my ressource File Form1.resx isn't existing. When I look at the project file explorer, I see my Form1.resx. Form1.resx Error: Complete Source code of Form1.vb

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,729 questions
asked 2024-09-02T20:47:38.87+00:00
Phi Star1 0 Reputation points
commented 2024-10-10T06:00:49.0366667+00:00
Jiachen Li-MSFT 31,801 Reputation points Microsoft Vendor
2 answers

VB.NET designer crashes ... error ... The Base class 'System.Void' cannot be designed. Cannot access forms.

The base class 'System.Void' cannot be designed.The base class 'System.Void' cannot be designed.The base class 'System.Void' cannot be designed. The base class 'System.Void' cannot be designed.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,894 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,729 questions
asked 2024-10-04T20:44:27.76+00:00
Randy Glover 0 Reputation points
commented 2024-10-10T01:16:40.7166667+00:00
Jiachen Li-MSFT 31,801 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Reading log details from text file

Hi, I have a application log files in text format and want to read start/end time of a particular job from text file and then put it into an excel file with VB Script. Let me know if any further clarification or info. is required. Thanks

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,919 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,729 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,936 questions
asked 2024-09-27T12:27:20.6933333+00:00
PATEL Prashant Kumar 40 Reputation points
commented 2024-10-08T12:12:43.7766667+00:00
MotoX80 33,996 Reputation points
2 answers

Publish to local folder succeeded to no files showing in the published folder in visual studio 2017

I'm trying to publish vb.net project to the local folder in vs2017, its showing publish succeded but when I go to the published directory its not showing any of files

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,729 questions
asked 2021-06-02T06:20:28.153+00:00
JAYASRI XNH001744 6 Reputation points
commented 2024-10-08T08:21:02.8433333+00:00
La Hi 1 Reputation point
1 answer

Convert XML in to nicely formatted HTML and Send via Email - VB.Net

I have created the following XML using vb.net in Windows form app. How do I send this data via email in a nicely formatted HTML or Text format. It has 2 records in it. <table border="1"…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,729 questions
asked 2024-10-07T05:11:11.1066667+00:00
Hursh 191 Reputation points
commented 2024-10-08T06:11:48.46+00:00
Jiachen Li-MSFT 31,801 Reputation points Microsoft Vendor
0 answers

Specified argument was out of the range of valid values. Parameter name: length

I was just designing my form when this suddenly happen and I dont know what wrong did i do and when I run it the form that I was designing is still running but I cant see the form where I can edit it

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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,729 questions
asked 2024-09-08T07:32:14.84+00:00
Jean Alyssa Vallez 0 Reputation points
edited a comment 2024-10-07T10:04:24.0466667+00:00
Jiachen Li-MSFT 31,801 Reputation points Microsoft Vendor
1 answer

warning BC40056: Namespace or type specified in the Imports 'System.Windows.Devices.Bluetooth' doesn't contain any public member or cannot be found.

Hello, I have a project on visual studio 2022 that I'm trying to build but it's showing me import errors that aren't supposed to be there. I've tried everything, looked for solutions, installed SDKs, updated my PC, but nothing. I've also tried with a PC…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,729 questions
asked 2024-09-20T12:49:04.8433333+00:00
The ArtistB 0 Reputation points
commented 2024-10-07T09:23:45.11+00:00
Jiachen Li-MSFT 31,801 Reputation points Microsoft Vendor
1 answer

Help with Creating a Custom DataGrid in Vb.net

Hello everyone, I am writing a program using Visual Basic .NET. I would like to have a custom DataGrid that meets the following conditions: In the Edit Columns - Bound Column Properties section, I want to have several properties as follows: IsNumeric,…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,729 questions
asked 2024-09-19T12:01:49.47+00:00
Shahab a 261 Reputation points
commented 2024-10-07T09:21:58.2466667+00:00
Jiachen Li-MSFT 31,801 Reputation points Microsoft Vendor
1 answer

VBscript not running on windows server 2019

Hi All, Our VB Script has been integrated with SSIS package as script task and it work in fine in visual studio IDE . However, it is getting failed to run same VB script block in windows server 2019 environment inside SSISB as a SSIS Package. Please…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,866 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
534 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,729 questions
asked 2024-10-01T22:49:57.54+00:00
MasterSQL 0 Reputation points
commented 2024-10-07T02:25:35.6066667+00:00
Jiale Xue - MSFT 45,816 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to Use a Collection in Multiple Windows

I have a Public Module named "GlobalElements" that contains a Public ObservableCollection(Of Widget) named ocWidgets. I want to use ocWiddgets as a ItemsSource for ComboBoxes on multiple wpf windows. In the XAML for such a window I tried what…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 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,729 questions
asked 2024-10-05T20:45:31.9433333+00:00
RogerSchlueter-7899 1,321 Reputation points
accepted 2024-10-06T04:28:48.5933333+00:00
RogerSchlueter-7899 1,321 Reputation points