How to add custom paper to windows system
I'm looking for help with programmically (VB.NET) adding a custom paper size to window system (not a printer). There are plenty of solutions showing how to define custom paper for printing. But none about adding custom paper to system. Windows have a…
New Outlook for Windows use in VBScript
Can the NEW Outlook for Windows (free) edition be used with the Visual Basic Script context as follows: Server.CreateObject("Outlook.Application") ? If so, what is the correct literal to use instead of "Outlook.Application" ?
How to Get the Positions of Strings Filtered by Multi-Split Without using (MyString.IndexOf(part, p))
Regarding the previous question MyQuestions There was no expected result due to the duplicate string between the splits. I want to achieve a very correct result with these two functions. thank 'ResultPosition {"54-58","60-64") This…
VB.NET - Detecting when the computer wakes up.
I have tried a suggestion that someone posted on Stack Overflow, however, it is not working. I can't seem to find the solution online. I wonder if it is even possible to detect when the computer wakes up from sleep in VB.NET. Heer is my code. First, I…
How to Get the Positions of Strings Filtered by Multi-Split Method in VB.net With LINQ
According to the previous question, the method of multi-splitting (Multi-Split) I'm working on a VB.net script and need help extracting the positions of specific substrings from a given input string based on a multi-split condition. The input string is…
Migrating Vb.Net web application into .Net 8.0
Hi, I would like to migrate our web application which has been developed in vb.net web application (MVP) using .Net Framework 4.7 into .Net 8.0. But I am not able to do it. I had used .Net Upgrade Assistant. Can we migrate vb.net web application into…
How to troubleshot HttpWebRequest if X509Certificate is not added properly
Hello all, I am adding a X509Certificate to the HttpRequest like the following: HttpWebRequest request = (HttpWebRequest)WebRequest.Create("webserviceurl"); request.ClientCertificates.Clear(); X509Certificate certificate = new…
How to multi-split the text while going deeper into details by level
vb How to multi-split the text while going deeper into details by level 'This is the input text Dim MyString As String = "00[A]1111{C}22(B)33333{C}4{C}5{C}666[A]777(B)8(B)99{C}999[A]101010" 'The expected output is an array as shown below Dim…
How can I get Visual Basic 6 program?
I am applying for a company that uses VB6. I know it was a development environment back in the 1990s. Apparently, this company still has applications that are written in VB6. Can you please let me know how I can download this software? I have tried to…
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.…
How to Math Operation at one textbox in VB>Net
Dear All, if I input a number and plus sign in a textbox. and when I click Button1, the Result Textbox will display the sum = 25
How to insert line break for send whatsapp message using vb.net
I want to send whatsapp message like below using VB.net LAUNDRY HOMES Invoice Number : 100006 Invoice Date : 07/30/2022 I have used following code but its not line breaking in whatsapp Dim web As New WebBrowser Dim strMessage As…
Is it possible to use the new version of Outlook with vb.net?
I automated notification of sending via Outlook with vb.net code. It worked well with Outlook Classic. recently some employees switched to the new version of Outlook (Outlook NEW 2024) and for these employees, the program is no longer able to trigger…
Exception when using Firebase streaming
Hi, When I try to read data from Firebase using FirebaseDatabase.net Library I receive Newtonsoft.Json.JsonReaderException exeption this code works Imports Firebase.Database Imports Firebase.Database.Query Public Class Form1 Private Async Sub…
'Reference to a non-shared member requires an object reference' after adding a new value to Application Settings
If I add a new settings to my application Settings(VB.NET,NET 4.7.2),I got 142 errors: `BC30469 Reference to a non-shared member requires an object reference` on every code that uses My.Settings If I use notepad++ and manually add the new value to…
populate TextBoxes base on date value selected in DatePicker
Hi All. In form of WPF VB.Net project I would like to populate 3 TextBoxes base on selected in DatePicker date value of Monday. The first TextBox named txbWeek will display the number of week of the month depending on the selected date in the…
Open or show a new instance of a form from a new thread in VB.NET
I am trying to open or show a new instance of a form from a new thread in VB.NET. Here is some code that I have come up with: Thread starting procedure: Public Sub StartBellScheduleRun() Dim BS(NumClocks) As Threading.Thread For A As…
How to disable (or fix) automatic "End Class" -> "End Structure" replacement?
In Visual Studio 2019, using Visual Basic, when I have Public Structure Foo End Structure and replace the "Structure" with "Class", Visual Studio tries to be helpful and replace the matching other "Structure" with…
The Designer could not be shown for this file because none of the classes within it can be designed.
I have a project produced in Visual Studio 2017. I have just downloaded Visual Studio 2022 and tried to open the project. Although all of the code can be viewed, I can't see any of the Forms. I get: "The Designer could not be shown for this file…
vb.net I have folder in program path called patient files i need to open specific file using textbox1 with name of file
vb.net I have folder in program path called patient files i need to open specific pdf file using textbox1 with name of file