2,591 questions with VB-related tags

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

How to add a MaskedTextBox On The ToolStrip

hi . Is such a thing possible?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2024-04-16T18:24:36.6766667+00:00
Mansour_Dalir 1,611 Reputation points
edited a comment 2024-04-17T14:46:55.5266667+00:00
Mansour_Dalir 1,611 Reputation points
2 answers One of the answers was accepted by the question author.

Allow firewall via registry instead of netsh?

Hello Going to allow an app through Windows firewall in vb.net Instead of using: netsh advfirewall firewall add rule name="blah" dir=in action=allow program="C:\Program Files\blah\App.exe" enable=yes May I just add this registry…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,747 questions
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,341 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,591 questions
asked 2024-04-15T20:20:18.25+00:00
StewartBW 385 Reputation points
accepted 2024-04-16T20:51:08.6066667+00:00
StewartBW 385 Reputation points
1 answer One of the answers was accepted by the question author.

How to Get Description of Column_Flags by function GetSchema

hi . What are these numbers and how can they be translated? Dim cn As New OleDb.OleDbConnection(Conn_String_Access) cn.Open() Dim dtSheama As New DataTable dtSheama = cn.GetSchema("Tables") 'indexes'columns'Tables

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,847 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,591 questions
asked 2024-04-15T17:21:22.44+00:00
Mansour_Dalir 1,611 Reputation points
accepted 2024-04-16T09:11:04.1433333+00:00
Mansour_Dalir 1,611 Reputation points
1 answer

RemoveRegistry Table in MSI

Hello In MSI project installer, I need to remove these 2 values from…

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,341 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,591 questions
asked 2024-04-13T15:38:43.4266667+00:00
StewartBW 385 Reputation points
commented 2024-04-15T21:51:58.36+00:00
RLWA32 40,856 Reputation points
0 answers

Why VB.Net projects that were working OK suddenly fails to start now?

Hi all, I have written many trial projects using VS 2013, VS 2019 and they were working fine for few years; Since the 1st week of March 2024, when I click "Start Debugging" / "Start without Debugging" any of those projects in Visual…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 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.
948 questions
asked 2024-04-11T09:06:20.93+00:00
VKSB 196 Reputation points
commented 2024-04-15T07:14:47.2466667+00:00
Jiachen Li-MSFT 26,916 Reputation points Microsoft Vendor
1 answer

For Each Drive in batch file

Hello These commands inside a .bat batch file will disable bit locker for C:, D:... manage-bde -off C: manage-bde -off D: ... Is it possible that using batch file (not powershell) I loop through existing drives and run the above command for each drive in…

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,341 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,591 questions
asked 2024-04-12T23:28:31.4133333+00:00
StewartBW 385 Reputation points
commented 2024-04-14T16:34:59.0833333+00:00
MotoX80 32,086 Reputation points
2 answers One of the answers was accepted by the question author.

ADD Column will not show CheckBox

Hello, Using Access database engine + oledbreader on mdb, this code will add a new boolean yes/no column: New OleDbCommand("ALTER TABLE BlahTable ADD Column BlahOption BIT NOT NULL", strConnection) :: ExecuteNonQuery This will add a yes/no…

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,341 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,591 questions
Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
830 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,015 questions
asked 2024-04-03T02:01:31.49+00:00
StewartBW 385 Reputation points
commented 2024-04-12T20:43:06.4766667+00:00
Albert Kallal 4,816 Reputation points
1 answer

SSIS script is aborting sometimes with Directory Not Empty error message.

Recently we have been getting an error with our SSIS package. Error happens sometimes, not always. The package has been running without any error since begining. SSIS Script Task Error - Failed to compiled scripts contained in the package. Open 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,591 questions
asked 2023-06-15T23:01:37.24+00:00
ViVe_72 5 Reputation points
commented 2024-04-12T16:14:59.0966667+00:00
Sergei Stepanov 27 Reputation points
2 answers One of the answers was accepted by the question author.

ManagementObjectSearcher will fail in some conditions

Hello I use this code to get some hardware info, ie MyQuery("BusType") etc: Using MySearcher As New ManagementObjectSearcher("root\Microsoft\Windows\Storage", "SELECT * FROM MSFT_PhysicalDisk WHERE DeviceId = 1") Using…

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,341 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,591 questions
asked 2024-04-06T17:08:39.6933333+00:00
StewartBW 385 Reputation points
accepted 2024-04-12T15:48:44.8033333+00:00
StewartBW 385 Reputation points
1 answer One of the answers was accepted by the question author.

import export xml

Hello Using Access database engine and OleDbDataReader I need to open a table, read all columns of a single row and save the data in xml, or import back to the database. Using MyConnection As New OleDbConnection(dbstring) MyConnection.Open() Using…

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,341 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,591 questions
asked 2024-04-07T16:42:27.6866667+00:00
StewartBW 385 Reputation points
accepted 2024-04-12T15:47:55.2233333+00:00
StewartBW 385 Reputation points
1 answer One of the answers was accepted by the question author.

GZipStream to compress/extract 2 files

Hello Here's an excellent sample to zip and unzip a single file using GZip: https://learn.microsoft.com/en-us/dotnet/api/system.io.compression.gzipstream?view=netframework-4.0 Any idea how to include 2 files to compress and how to extract them back?…

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,341 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,591 questions
asked 2024-04-12T00:40:36.7033333+00:00
StewartBW 385 Reputation points
accepted 2024-04-12T11:15:14.84+00:00
StewartBW 385 Reputation points
1 answer

VB.net desktop Forms App //Trojan:Win32/Wacatac.B!ml

Hi, I have created a VB forms application. Surprisingly it was detected as Malware by Windows Defender. This app was created a while ago, but recently it was counted as : Trojan:Win32/Wacatac.B!ml Any thoughts?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2024-03-18T14:47:30.06+00:00
~OSD~ 2,131 Reputation points
edited the question 2024-04-09T08:41:37.0766667+00:00
Anna Xiu-MSFT 26,391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Read comments with XDocument

Hey This is the xml I have: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <!--Comments Are Just Here--> <TheOnlyNode> <ID>15</ID> ... </TheOnlyNode> There's only one single…

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,341 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,591 questions
asked 2024-04-08T02:18:46.1866667+00:00
StewartBW 385 Reputation points
commented 2024-04-09T00:39:25.6+00:00
StewartBW 385 Reputation points
5 answers One of the answers was accepted by the question author.

Why isn't Visual Basic developed like C#?

In fact, I feel very upset with Microsoft's strategy towards the Visual Basic language. You are practicing euthanasia for this language and losing a large base of programmers who prefer to deal with this language. You have wasted the expertise of these…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,437 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,591 questions
asked 2024-01-29T18:32:44.9366667+00:00
Hassan Farouk 20 Reputation points
edited an answer 2024-04-08T17:20:54.8266667+00:00
Brandon Stewart 136 Reputation points
1 answer One of the answers was accepted by the question author.

How to create a custom base with A-Z range

Need 2 functions. One to convert number to string and another to convert string to number Entering the number 1 will return A and the number 27 will return AA And invert by giving AA to return 27 and AZ to return 52 and...

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2024-04-08T04:10:40.88+00:00
Mansour_Dalir 1,611 Reputation points
accepted 2024-04-08T07:03:42.1333333+00:00
Mansour_Dalir 1,611 Reputation points
1 answer

Why is microsoft giving up on Visual Basic?

Is it just me, or does anyone else think Visual basic should continue to be supported? I am just a casual programmer and VB made my life so much easier than all the damn C type languages including javascript and php, etc.. They all have way too many…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2023-01-04T05:18:26.47+00:00
HoosierDaddy1961 26 Reputation points
commented 2024-04-07T18:45:54.7566667+00:00
Ronnie 0 Reputation points
1 answer One of the answers was accepted by the question author.

Get html file title tag

Hello Need to get the title of am html document without any third party components, regex is not a safe method, the most assured method I found was using a WebBrowser control. Using MyWebBrowser As New WebBrowser …

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,341 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,591 questions
asked 2024-04-05T03:00:05.12+00:00
StewartBW 385 Reputation points
commented 2024-04-07T16:29:30.6533333+00:00
StewartBW 385 Reputation points
2 answers One of the answers was accepted by the question author.

Check if WMI is enabled

Hello Using this code: Using Search As New ManagementObjectSearcher(New SelectQuery("Win32_Processor")) For Each Info As ManagementObject In Search.Get Will throw exceptions if Winmgmt service is disabled on the user's system. I need to check…

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,341 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,591 questions
asked 2024-04-06T12:44:29.2366667+00:00
StewartBW 385 Reputation points
accepted 2024-04-07T16:28:49.6233333+00:00
StewartBW 385 Reputation points
3 answers One of the answers was accepted by the question author.

Hilfe: Der Microsoft.ACE.OLEDB.12.0 Provider ist nicht auf dem lokalen Computer registriert

Ich habe ein neues Motherboard installieren müssen. Ich habe Windows 10 letzte Version 64 bit. Ich habe Windows (Office) 365 64 bit installiert und ich programmiere mit Visual Studio 2019 Basic 64 bit. Die Installationsreihenfolge ist die der Aufzählung.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,666 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,591 questions
asked 2021-02-10T11:23:08.673+00:00
Joachim Tentscher 21 Reputation points
commented 2024-04-02T19:36:05.46+00:00
Peter Fleischer (former MVP) 19,231 Reputation points
2 answers

Assign 'null' value to a string.Format

Source code: sr.Body.RequestBody = string.Format ((string)configData.PostFSObj, obj1.AiConfiguration, obj1.AircraTypeIndex, obj1.Arrivadelaytime, …

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,341 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,591 questions
asked 2024-03-28T16:30:48.9133333+00:00
Rashmitha B 0 Reputation points
commented 2024-04-02T11:26:06.69+00:00
Jiachen Li-MSFT 26,916 Reputation points Microsoft Vendor