Copying Over Forms in VS2022
Hello everyone. I am having an issue in VS2022 that I have never had before and do not know why. I work for a company and I have created our ERP System in Visual Studio. We constantly add things or make changes to the programs, forms, reports, etc. There…
I can not use iis Express
I am experiencing issues where a message stating "Failed to run IIS" occurs on two different PCs. Here are the details: Environment Information OS: Windows 11 24H2 (OS Build: 26100.2033) Visual Studio: Visual Studio 2022 Professional…
How to handle nullreference exception in "NM_CUSTOMDRAW" notification message?
Hello, I have a windows forms application having a user control . The user control has a Treeview named as TriView. TriView's drawmode is set to OwnerDrawAll. The form is visible all the time. When I run my application and switch between the…
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…
Microsoft Excel cannot access the file 'SegmentExport2_f7d153.xlsx'. There are several possible reasons The file name or path does not exist. The file is being used by another program.
when we open the excel getting permission issue . first create function to create the macro then open it .getting error on xlWorkBook = xlApp.Workbooks.Open(MacroFolderPath + sTmpExcelFile). Please find the below code.pleas ehelp me out. Protected…
How to place array elements that have position and value in their specific positions in the string
hi. The output of the function is expected to be like this: Dim Result as String="AAAAA(Word1)BBBBB(Word2)CCCCC(Word3)DDDDD" Q&A Assist did not have the expected result Structure ResultItem Public Value As String Public…
Creating a User Control for Multi-Line Text Entry in a Text Box
How can a user control be created to incorporate a multi-line text entry feature for a text box? At the moment of design, you need to enter multi-line text Public Property _Text As String Get Return txtNorTarget.Text End Get …
Changes the value of a user control's Description Attribute depending on the language used.
I created a user control with a description attribute for these properties. When I test the user control, these descriptions appear correctly in the property grid. The description attribute is in French. I would like to be able to change it dynamically…
Download Visual Basic 6.0?
Is there any way to directly download Microsoft Visual Basic 6.0? and would getting Visual Basic 6.0 add both comctl32.dll and comctl32.ocx ? Thanks.
How to get a list of all custom paper in windows system
I know how to add a custom paper to windows (https://learn.microsoft.com/en-us/answers/questions/2116958/how-to-add-custom-paper-to-windows-system). I thought that retrieving a list of all papers in windows will be easy... but. I've tried with…
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…
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 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…