2,580 questions with VB-related tags

Sort by: Updated
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,580 questions
asked 2024-03-18T14:47:30.06+00:00
~OSD~ 2,126 Reputation points
edited the question 2024-04-09T08:41:37.0766667+00:00
Anna Xiu-MSFT 25,891 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,306 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,580 questions
asked 2024-04-08T02:18:46.1866667+00:00
StewartBW 325 Reputation points
commented 2024-04-09T00:39:25.6+00:00
StewartBW 325 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,415 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,580 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,580 questions
asked 2024-04-08T04:10:40.88+00:00
Mansour_Dalir 1,591 Reputation points
accepted 2024-04-08T07:03:42.1333333+00:00
Mansour_Dalir 1,591 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,580 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,306 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,580 questions
asked 2024-04-05T03:00:05.12+00:00
StewartBW 325 Reputation points
commented 2024-04-07T16:29:30.6533333+00:00
StewartBW 325 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,306 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,580 questions
asked 2024-04-06T12:44:29.2366667+00:00
StewartBW 325 Reputation points
accepted 2024-04-07T16:28:49.6233333+00:00
StewartBW 325 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,643 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,580 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,306 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,580 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,751 Reputation points Microsoft Vendor
1 answer

The HTTP request is unauthorized with client authentication scheme Negotiate. The authentication header received from the server was Negotiate oX…Q=

I am using a desktop application on a client pc to communicate with an IIS WCF web service running on a server, using WsHttpBinding to pass over the Windows user credentials. The application has worked well for many years, but now we are trying to have…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 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,580 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,126 questions
asked 2021-08-12T14:53:56.91+00:00
gotorg 21 Reputation points
answered 2024-03-31T09:13:40.4933333+00:00
Towhidul Islam 0 Reputation points
2 answers One of the answers was accepted by the question author.

mdb/accdb to use with Access database engine

Hey I need to create an Access database in Office Access and make the tables and fields, then deliver the blank file with the vb.net app which will use Access database engine 2010 and OleDbRerader to work with the database. Just need to decide between…

Access
Access
A family of Microsoft relational database management systems designed for ease of use.
309 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,580 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.
825 questions
asked 2024-03-28T13:53:33.89+00:00
StewartBW 325 Reputation points
accepted 2024-03-29T10:53:40.9166667+00:00
StewartBW 325 Reputation points
0 answers

Create folder inside channel of a Teams' team using Graph from VBA

Hello, I'm trying to create a folder on a team's channel in Teams, using the Graph API inside VBA running in an Excel file. Basically, I have an excel file with data and a button, and when the button is pushed, it would trigger the creation of a folder…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,154 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,737 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,580 questions
asked 2024-03-28T15:33:54.5866667+00:00
Inácio Rodrigues 0 Reputation points
commented 2024-03-29T02:37:54.2466667+00:00
LiweiTian-MSFT 14,850 Reputation points Microsoft Vendor
1 answer

String encryptor and decryptor

Hey I need a simple safe method to save passwords on the local user registry and found…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,580 questions
asked 2024-03-27T20:43:46.3666667+00:00
StewartBW 325 Reputation points
edited a comment 2024-03-28T17:21:00.9+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Change late binding after setting Option Strict on

Hi Gurus, I am correcting errors after changing option strict to on. I have been able to correct everything with the exception of the following code which gets the outlook email signature file. The underline is under fso.getfile and under ts.readall I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 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,580 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,126 questions
asked 2024-03-27T20:12:04.2066667+00:00
Hugh Self Taught 81 Reputation points
accepted 2024-03-28T07:46:13.4433333+00:00
Hugh Self Taught 81 Reputation points
2 answers One of the answers was accepted by the question author.

Disposable string enc/dec class

Hey, I've collected a code snippet to encrypt and decrypt a string and found some code to make it a disposable class but not sure if did it properly. First that _Key and _IV are constant private, possible to remove the Key and IV properties? And under…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,580 questions
asked 2024-03-25T00:04:21.2+00:00
StewartBW 325 Reputation points
answered 2024-03-27T20:51:46.06+00:00
Michael Taylor 48,826 Reputation points
1 answer One of the answers was accepted by the question author.

Vb.net Windows Forms and placement of buttons at Resize event

Hi, I have a form where I have selected DPI under auto-scale property. However, when the screen resolution changes, the buttons (Button 1, 2, and 3) are dislocated. Is it possible to place the buttons on approximately 75 percent of the entire form…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,580 questions
asked 2024-03-26T13:56:11.1466667+00:00
~OSD~ 2,126 Reputation points
accepted 2024-03-27T08:31:32.7066667+00:00
~OSD~ 2,126 Reputation points
1 answer One of the answers was accepted by the question author.

Disposing Streams

Hey I have 2 different usages of Streams, is the first mode neccessary for proper disposing or I can just use the second mode? Second one: webClient.OpenRead(BaseURL) is fine? First: Using data As Stream = webClient.OpenRead(BaseURL) Using reader As New…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,580 questions
asked 2024-03-26T15:43:13.7066667+00:00
StewartBW 325 Reputation points
accepted 2024-03-27T00:54:30.58+00:00
StewartBW 325 Reputation points
0 answers

Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid?

Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid? Currently, when calling the enterpriceservice.component component, there are conflicts between System._comobject and…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,306 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,580 questions
asked 2024-03-24T14:02:00.0166667+00:00
易安 蔡 0 Reputation points
commented 2024-03-26T07:46:02.14+00:00
Lan Huang-MSFT 25,876 Reputation points Microsoft Vendor
1 answer

Native vb.Net to C# conversion

Hey Im in the transition of converting my projects from vb.net to C#. Currently im using a 3rd party conversion and its taking a long time. Today while running a test on the vb.net project, i noticed my vb.net class had been converted during runtime to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 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,306 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,580 questions
asked 2024-03-25T22:07:15.45+00:00
NachitoMax 411 Reputation points
edited the question 2024-03-26T01:24:24.47+00:00
Jiale Xue - MSFT 34,276 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How For Each works?

Hey Will For Each dispose the returned x509Certificate2 objects itself? Cheers For Each certItem as x509Certificate2 in X509Certificate2Collection 'Now do I need to use certItem.Dispose() for each cert when retrieving them in For Each? 'In some…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,580 questions
asked 2024-03-25T00:16:13.2266667+00:00
StewartBW 325 Reputation points
accepted 2024-03-26T01:01:22.3666667+00:00
StewartBW 325 Reputation points