Content
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…
"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…
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") …
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…
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…
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…
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") …
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…
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…
How to check if TreeView has a One Path 'LINQ'
hi If you have an answer with a 'linq', I would be very grateful
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 …
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?
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.
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…
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
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…
DataGrid Not Being Populated
Consider this class: Public Class Transaction Implements INotifyPropertyChanged Public Event PropertyChanged As PropertyChangedEventHandler Implements INotifyPropertyChanged.PropertyChanged << Various properties >> End…
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=" +…
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…
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") …