Microsoft Q&A

VB

2,177 questions

An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.

Browse all VB tags

2,177 questions with VB-related tags

Sort by: Updated
1 answer

Graph doubling, tripling the series. VB .NET

I'm having a hard time solving this problem. After many attempts, I couldn't solve it. I have a form that has a Chart and two radiobuttons and a Button. In Radiobutton I have 2D and 3D options. When I select for example 3D the graph is being drawn. If 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,177 questions
asked 2023-07-09T20:35:17.28+00:00
José Carlos 706 Reputation points
edited an answer 2023-07-10T09:20:44.5+00:00
Jiachen Li-MSFT 16,251 Reputation points Microsoft Vendor
0 answers

"An attempt to communicate with Azure DevOps failed..." in VS2019

Hello I'm getting this error from VS2019 when I try to connect to Team Explorer. The Project I am connecting to is an old TFS repo. Tried all the solutions on stack overflow etc such as "del…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2021-09-23T16:33:51.46+00:00
Dave Gray 541 Reputation points
commented 2023-07-10T09:20:42.73+00:00
Ashish Bhatt 0 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to get Index, Column Names, values But Distinct ​​from DataTable to One Array As String With LINQ (Transpose Data)

hi .Transpose data From Columns to Rows in Table .thank Dim MyDataTable As New DataTable Dim OnlyColumns as String()={"Type","Location","Size"} MyDataTable.Columns.Add("Group") …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2023-07-09T17:11:15.5333333+00:00
Mansour_Dalir 591 Reputation points
commented 2023-07-10T04:11:03.3566667+00:00
Mansour_Dalir 591 Reputation points
2 answers One of the answers was accepted by the question author.

How to change BackColor (Nodes Of TreeView With All Path) by special array 'LINQ'

hi (MyArray) is a specified path in TreeView. I want this path to change BackColor and select the last element("L4 AB") of the array on the TreeView. Thank Node: In (my array) I can have the first column('a') if necessary. if necessary Dim…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2023-07-07T17:02:48.4333333+00:00
Mansour_Dalir 591 Reputation points
accepted 2023-07-10T04:08:29.6466667+00:00
Mansour_Dalir 591 Reputation points
1 answer

How to make a search in TreeView Nodes . Need some changes

hi Please add one (TreeView) and one (TextBox) to the form. Thank you Going between branches (.) and increasing the filter (Space) If possible, give a better answer through coding with (LINQ). Dim MyDataTable As New DataTable Dim lstOfNodes As…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2023-07-08T11:46:00.1966667+00:00
Mansour_Dalir 591 Reputation points
edited the question 2023-07-09T10:31:47.1366667+00:00
Mansour_Dalir 591 Reputation points
1 answer One of the answers was accepted by the question author.

Load chart into tabControl in Visual Basic .NET

I have a form with a tabcontrol with two tabPage. Each tabPage has a graphic. I would like that as soon as I load the form, the tabPage1 graphic is loaded automatically. In the code below, where would the error be, because it does not load graph 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,177 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,358 questions
asked 2023-07-07T19:47:59.09+00:00
José Carlos 706 Reputation points
commented 2023-07-08T10:38:16.2533333+00:00
José Carlos 706 Reputation points
2 answers One of the answers was accepted by the question author.

How to select DataTable columns with string array 'LINQ'

hi I can't choose like (2D Array). Dim MyDataTable As New DataTable MyDataTable.Columns.Add("A") MyDataTable.Columns.Add("B") MyDataTable.Columns.Add("C") …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2023-07-06T16:54:51.6866667+00:00
Mansour_Dalir 591 Reputation points
commented 2023-07-07T15:44:58.8966667+00:00
Dewayne Basnett 946 Reputation points
1 answer One of the answers was accepted by the question author.

VS VB.NET Warning MSB3288 - Don't know how to eliminate the Warning

Got the following warning; however, unclear how to fix/eliminate the warning MSB3288. Here are the details: Warning MSB3288 COM reference "{2a75196c-d9eb-4129-b803-931327f72d5c}" conflicts with reference…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,358 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,177 questions
asked 2023-07-05T15:38:24.09+00:00
Giacomo Raucci 186 Reputation points
commented 2023-07-07T14:18:13.14+00:00
Giacomo Raucci 186 Reputation points
1 answer

Legacy VB6 program created in Windows XP. Trying to move exe to Windows 10

Many many years ago I developed a VB6 program accessing an Access db running on Windows XP. I am now trying to convert the application to run on Windows 10. Have had partial success but now really stuck and wondering if anyone could help. What I have…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
7,943 questions
Access
Access
A family of Microsoft relational database management systems designed for ease of use.
148 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.
724 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,177 questions
asked 2023-07-05T15:07:08.63+00:00
ExCoder 0 Reputation points
commented 2023-07-07T11:04:48.7666667+00:00
ExCoder 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to check if TreeView has a One Path 'LINQ'

hi If you have an answer with a 'linq', I would be very grateful

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2023-07-07T05:06:50.6466667+00:00
Mansour_Dalir 591 Reputation points
edited a comment 2023-07-07T07:11:31.93+00:00
Mansour_Dalir 591 Reputation points
3 answers One of the answers was accepted by the question author.

How do I create a dynamic function? 'Linq'

hi It is possible that my table is dynamic. with variable number of columns. Thanks for the correction (Function FilterByChildTable) Private Sub test10_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim dtParent As New DataTable …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,279 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,177 questions
asked 2023-06-14T05:27:01.4233333+00:00
Mansour_Dalir 591 Reputation points
answered 2023-07-06T10:19:33.7733333+00:00
Cheap Web Hosting Offer 0 Reputation points
2 answers

How to convert vb6 application to vb.net with minimal effort

How to convert vb6 application to vb.net with minimal effort. Could you please describe the details?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,279 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,177 questions
asked 2023-07-03T11:31:38.7333333+00:00
Martin Mathew(UST,IN) 0 Reputation points
answered 2023-07-06T09:29:35.9733333+00:00
Jiachen Li-MSFT 16,251 Reputation points Microsoft Vendor
1 answer

Document Signing

Hello, I need the OID of X509 certificate types for digitally signing using certificate of MS Word documents: DOC and DOCX and PDF. I guess they should not have the same OIDs, not sure though, anyone knows? :) Best.

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.
8,434 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.
2,568 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
105 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.
1,712 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,177 questions
asked 2023-06-26T02:59:42.5133333+00:00
Peter Volz 435 Reputation points
answered 2023-07-05T21:28:22.67+00:00
Tom Jebo 1,626 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Change color of buttons inside another control in Visual Basic .NET

Hi friends, I have a VB routine to change the color of some buttons inside the flowLayoutPanel1 control. It is giving error, stating that "Expression of type Control can never be of type VisualStyleElement.Button in line If TypeOf op1 Is Button…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,358 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,177 questions
asked 2023-07-05T15:07:42.9833333+00:00
José Carlos 706 Reputation points
commented 2023-07-05T17:24:59.32+00:00
Dewayne Basnett 946 Reputation points
2 answers One of the answers was accepted by the question author.

how to read from a registry valeu in my local computer

My.Computer.Registry.GetValue("HKEY_CURRENT_USER\Software\CompanyName\UserName", "LastTime", Nothing) i opened the Registry and see the date but the code is not seening the date how i can fix this

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2023-07-04T18:11:45.8233333+00:00
Simon 106 Reputation points
accepted 2023-07-05T15:27:59.0833333+00:00
Simon 106 Reputation points
1 answer

Use Friend instead of Public

Hello all Working on a VB.NET WindowsApplication (single exe only, no dll) in VIsual Studio 2013, .Net Framework 4.0 Seems I can change all my variable declarations/functions/subs etc... from Public to Friend with no issue. So shall I do it? Any pros 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,177 questions
asked 2023-06-27T03:46:54.5733333+00:00
Peter Volz 435 Reputation points
commented 2023-07-05T14:22:12.8766667+00:00
Dewayne Basnett 946 Reputation points
1 answer

DataGrid Not Being Populated

Consider this class: Public Class Transaction Implements INotifyPropertyChanged Public Event PropertyChanged As PropertyChangedEventHandler Implements INotifyPropertyChanged.PropertyChanged << Various properties >> End…

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,394 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,177 questions
asked 2023-06-27T01:19:11.16+00:00
Roger Schlueter 1,036 Reputation points
commented 2023-07-05T05:52:29.4933333+00:00
Hui Liu-MSFT 18,431 Reputation points Microsoft Vendor
2 answers

Error : [ODBC Driver Manager] Data source name not found and no default driver specified

Hi. I am trying to connect to AS 400 connection string from my visual studio code. Dim ConnString As String Dim As400Conn As Object ConnString = "DSN=" + "DSN value" + ";" + "UID=" +…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2022-06-16T10:07:58.903+00:00
venkatesh padmanabhan 181 Reputation points
edited an answer 2023-07-04T14:40:39.1766667+00:00
Turlapati, Sai kamal chand 0 Reputation points
1 answer One of the answers was accepted by the question author.

Examples of Connection Strings with VB.NET

The VB examples from Microsoft show "Let" and "Set" for their VB connection string examples; however, when compiling, I get error BC30807, which indicate that "Let" and "Set" are no longer supported. I would…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2023-06-30T13:06:27.8733333+00:00
Giacomo Raucci 186 Reputation points
accepted 2023-07-04T10:44:13.5933333+00:00
Giacomo Raucci 186 Reputation points
1 answer One of the answers was accepted by the question author.

How to set data from DataTable to TreeView

If possible, first convert it to a multidimensional array through 'LINQ 'and then set it to TreeView L=LEVEL .Thank you with all due respect Dim MyDataTable As New DataTable MyDataTable.Columns.Add("A") …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,177 questions
asked 2023-07-01T13:44:36.4433333+00:00
Mansour_Dalir 591 Reputation points
commented 2023-07-03T16:17:26.07+00:00
Mansour_Dalir 591 Reputation points