2,568 questions with VB-related tags

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

No more support for Web forms in Visual Studio 2022?

Hi, In new Visual Studio there is no more option to create Web Forms web application? Are MVC only future architecture Visual Studio will support for WEB pages? Thx

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,252 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,568 questions
asked 2022-01-29T12:43:57.717+00:00
nickCroat 106 Reputation points
commented 2024-04-24T21:15:05.66+00:00
Robert Oberg 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to get the highest parent(The form in which the user control is located) of an object(user control)

When I want to reach the highest parent(meaning the same form) in my fake user control , these are returned due to the placement of the user control in (TableLayoutPanel, Panel, TabControl,...).

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
asked 2024-04-23T06:29:36.65+00:00
Mansour_Dalir 1,531 Reputation points
commented 2024-04-23T08:06:32.5433333+00:00
Mansour_Dalir 1,531 Reputation points
0 answers

vb.net Unit Test Project .NET Framework 4.8 has stopped seeing all subroutines and function in the project being tested.

I have created a vb.net project using .NET Framework 4.8 with a single public subroutine. Also, created a Unit Test project within the same solution and set the references in the Unit Test project pointing to the project being tested. I was able 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,568 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.
328 questions
asked 2024-04-22T05:25:41.7233333+00:00
John Smith 0 Reputation points
edited a comment 2024-04-23T03:00:30.9933333+00:00
Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
0 answers

How to disable "the attachment is open. don't forget to save the file if you made any changes" error in outlook auto save macro. Every time any new attachment received i got this error

I have a remote system which was working fine for last 3 years but suddenly i am started to received attached error when any new item received in Outlook. My outlook have macro which save all the attachement in specified folders but this error have…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,298 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
2,951 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,568 questions
asked 2024-04-16T20:04:48.66+00:00
Bushra Raees 0 Reputation points
commented 2024-04-23T01:50:17.08+00:00
SokiGuo-MSFT 23,236 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Get encoding from Encoding.EncodingName

Hello I need to get the Encoding from a string which is a valid string : Encoding.EncodingName ie: Korean (EUC) or Central European (Windows) Having this string, how to get the proper encoding? Encoding.GetEncoding("Central European (Windows)")…

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,234 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,568 questions
asked 2024-04-22T15:43:18.0133333+00:00
Chery Lidan 20 Reputation points
accepted 2024-04-22T21:16:33.2166667+00:00
Chery Lidan 20 Reputation points
2 answers One of the answers was accepted by the question author.

How to get the range index of repeated elements. LINQ

Thank Dim MyArray as String()={"A","A","A","B","B","C","A","A"} 'Need Result as Array 0-2 3-4 5-5 6-7

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
asked 2024-04-21T16:51:14.6766667+00:00
Mansour_Dalir 1,531 Reputation points
commented 2024-04-21T19:44:24.35+00:00
Viorel 112.1K Reputation points
3 answers

Working with Access database via OleDbReader

Hey all I have no problem when all my access mdb are string! I'm using Access database engine 2010 to connect to mdb. The problem occurs when I have Boolean / Integer / Date fields: New OleDbCommand("INSERT INTO tableblah (strfield, intfield,…

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,234 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,568 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.
821 questions
asked 2024-04-01T16:00:49.7066667+00:00
StewartBW 260 Reputation points
commented 2024-04-19T09:41:12.49+00:00
Jiale Xue - MSFT 31,821 Reputation points Microsoft Vendor
0 answers

Error 429 only if Outlook is already open when try to automate an email

Good day Gurus of .Net Since I started trying to get my app to be option strict compliant, I've suddenly started getting error 429 Unable to create active x component BUT only when Outlook is already open. I have the following code to get an instance of…

Outlook
Outlook
A family of Microsoft email and calendar products.
2,951 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,568 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,479 questions
asked 2024-04-18T12:05:49.05+00:00
Hugh Self Taught 81 Reputation points
commented 2024-04-19T08:37:26.6933333+00:00
Hugh Self Taught 81 Reputation points
0 answers

How to lose the focus of the selected cells when it is done with the 'Clipboard.Clear()' command in Visual Basic?

hi Private Sub tsmFillNumberMerged_Click(sender As Object, e As EventArgs) Handles tsmFillNumberMerged.Click 'Trying to (Fill Auto Namber) cells when they are merging If Clipboard.GetText IsNot Nothing Then Dim sttClip As…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,457 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,568 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,479 questions
asked 2024-04-18T17:02:16.4433333+00:00
Mansour_Dalir 1,531 Reputation points
edited the question 2024-04-19T00:43:50+00:00
Emi Zhang-MSFT 21,706 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

VB.NET SQL Connection and SQL Command Error BC3002

Hello, I'm in the process of converting VBA to VB.NET with SQL statements. One of the changes is utilizing the "ExecuteNonQuery". Since I'm still learning the syntax, I simply copied the VB.NET statements from a web-site. But I'm getting 2…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
41 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,552 questions
asked 2024-04-16T16:02:09.4533333+00:00
Giacomo Raucci 321 Reputation points
commented 2024-04-19T00:41:22.3566667+00:00
Giacomo Raucci 321 Reputation points
1 answer

Check self signature status

Hello Using VB.net or C# .net framework 4.0, is it possible to add a self check for the digital signature of assembly file? So assembly file should check itself to make sure if it's signed using my code signing certificate and if not, or file is modified…

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,234 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,568 questions
asked 2024-04-16T05:13:06.1+00:00
StewartBW 260 Reputation points
commented 2024-04-18T06:30:35.4966667+00:00
Jiachen Li-MSFT 26,506 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Binding Errors in a Simple Project

I have carved out a simple project from a larger one to demonstrate the binding errors I am getting so the names I use might seem ... odd. The following is the ENTIRE project: Window…

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,670 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,568 questions
asked 2024-04-16T22:49:29.3466667+00:00
RogerSchlueter-7899 1,196 Reputation points
commented 2024-04-18T02:15:22.2366667+00:00
Hui Liu-MSFT 38,191 Reputation points Microsoft Vendor
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,568 questions
asked 2024-04-16T18:24:36.6766667+00:00
Mansour_Dalir 1,531 Reputation points
edited a comment 2024-04-17T14:46:55.5266667+00:00
Mansour_Dalir 1,531 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,609 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,234 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,568 questions
asked 2024-04-15T20:20:18.25+00:00
StewartBW 260 Reputation points
accepted 2024-04-16T20:51:08.6066667+00:00
StewartBW 260 Reputation points
1 answer

Problema para printar um Formulario do VBA

Ola, quando eu executo o codigo UserForm1.Printform no meu formulário do vba, ele gera um PDF com um PrintScreen do formulário porem o formulário fica pela metade, alguem consegue me ajudar?

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,457 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,568 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,479 questions
asked 2024-04-11T19:26:06.9233333+00:00
Julio Cezar Francisco Martin 0 Reputation points
answered 2024-04-16T14:32:26.0366667+00:00
Claudia Dos Santos Haz (CONCENTRIX CORPORATION) 695 Reputation points Microsoft Vendor
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,691 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,568 questions
asked 2024-04-15T17:21:22.44+00:00
Mansour_Dalir 1,531 Reputation points
accepted 2024-04-16T09:11:04.1433333+00:00
Mansour_Dalir 1,531 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,234 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,568 questions
asked 2024-04-13T15:38:43.4266667+00:00
StewartBW 260 Reputation points
commented 2024-04-15T21:51:58.36+00:00
RLWA32 40,286 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,568 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.
938 questions
asked 2024-04-11T09:06:20.93+00:00
VKSB 176 Reputation points
commented 2024-04-15T07:14:47.2466667+00:00
Jiachen Li-MSFT 26,506 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,234 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,568 questions
asked 2024-04-12T23:28:31.4133333+00:00
StewartBW 260 Reputation points
commented 2024-04-14T16:34:59.0833333+00:00
MotoX80 31,571 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,234 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,568 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.
821 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,000 questions
asked 2024-04-03T02:01:31.49+00:00
StewartBW 260 Reputation points
commented 2024-04-12T20:43:06.4766667+00:00
Albert Kallal 4,651 Reputation points