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?
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…
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…
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...
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…
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 …
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…
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.…
Assign 'null' value to a string.Format
Source code: sr.Body.RequestBody = string.Format ((string)configData.PostFSObj, obj1.AiConfiguration, obj1.AircraTypeIndex, obj1.Arrivadelaytime, …
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…
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…
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…
String encryptor and decryptor
Hey I need a simple safe method to save passwords on the local user registry and found…
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…
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.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…
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…
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…
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…
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…