Content
Get chm title
Hello Using Microsoft HTML Help Workshop making CHM files, now how to get the title from those chm files in vb.net (or c#)?
How to use devicepicker for Bluetooth in VB?
Would like to use the DevicePicker class in Visual Basic to find the characteristics of the available Bluetooth interfaces. Are there clear examples of its usage?
C++ .NET code translation for Visual Basic .NET
Hi friends. I'm passing a C++ Winforms program to Visual Basic .NET. I still don't know about Linq commands. Here is the code in C++ Winforms. Thanks a lot for the help. int numjogo, x = 0; totaljogosjogados = 0; tempremio = 0; for each(Control^ ctrl in…
Single DataType evaluation
Hello During a process by a 3rd party SDK, I'm getting the progress completion in percent, but not an integer, but single data type! To check if it reached 100, I use: If Convert.ToInt32(e.TotalPercent) = 100 Then ... The problem is this condition will…
Uninstall my application
I want to uninstall my application(named, "EasyShut") through button. Am using VB.Net. Would like the application users to be able to easily uninstall the app from within the app, instead of going into control panel to do that. Already, I…
Get Excel File local absolute path instead of OneDrive Url
Hi everyone! I am having an issue with finding the local path of my Excel file on disk when synced with OneDrive. Here is the context: I have an Excel file on my local machine that is also synced with OneDrive. When I try the formula…
regular expressions : g-code
Using regular expression, I need to remove the following Original Strings : N1G28G91Y0.Z0. N12G44Z2.H22M8 N333(.69" THDMILL) String always start with an "N" follow by a number, 1, 2 up to 3 digits Final Result : G28G91Y0.Z0.…
Currently using Visual Studio 2022 for my vb.net windows form app and the designer fails to load at "Loading Designer...You can continue working while the designer is loading in the background"
I'm currently using Visual Studio Community 2022 17.7.1 and .NET 6.0
Folder creation and Deletion logs (Proof)
Hi, I have a folder as D:\MyFavoriteDirectory. I would like to get the time stamps of when this directory was created and when it was deleted. Is it possible to achieve this in VB.Net of PowerShell?
How to get the number of sub-branches of a TreeView
hi It should be a function that can count the number of sub-branches of the tree view on the headers T Need code changes. Thank. Public Class test2 Dim MyDataTable As New DataTable Dim lstColumns As New List(Of String) Private Sub…
Having issue with Keyword not supported: 'trust server certificate in Visual Studio VB
Hi. I'm trying to run VB code in visual studio form project but get an error when code is trying to run. Error is: "System.ArgumentException: 'Keyword not supported: 'trust server certificate'.'". The line in code affected is: "Using…
vbs files doesn't work - "There is no script file specified."
Hello everybody, I have some strange problems with running .vbs files. We have some installation scripts in the company running with .vbs, but nobody can help me with this problem and it's very annoying. If I try to run a .vbs file there is just this…
Using Visual Studio VB, is there a way to access the contents of a ProperyGrid?
I have a need to be able to get and save the contents of a PropertyGrid that contains the application's settings. The PropertyGrid is loaded as seen next line: PropertyGrid1.SelectedObject = My.Settings Trying to avoid having to hard code the retrieval…
response.redirectpermanent in customerrorpage keeps fragment (bookmark)
I have a custom Error page trapping http error 404. In the load event (VB.NET) I do a reponse.redirectpermanent to another page eg. : Browser navigate to https://www.mysite.com/sometUrlwhichdoesnotexist**#abc** In customerrorpage…
Issue with "Windows Form App" Disappearing in VB.NET 2022 Hello everyon
I'm facing a problem with VB.NET 2022 that I recently installed on my PC. I'm new to programming, so I'd appreciate some guidance on this issue. The problem I'm encountering is related to the "Windows Form App" template in VB.NET 2022. Here's…
In VB.net is it possible to Left Justify the text in a custom Combobox?
I wanted to add a Combobox that has a list of colors as well as displaying a sample of the color, just as in Visual Studio when you select the foreground or background color of an object. I did some searching and found a few ways of doing it and although…
Copy Web Data into datbase
Hi Friends, I am trying to copy get webpage values into my databases table using vb.net 2017, I am using following code but its not working Dim Web As New HtmlAgilityPack.HtmlWeb Dim Doc As New HtmlAgilityPack.HtmlDocument Doc =…
CreateProcess, using Visual Basic, doesn't create a process
I'm having difficulties with using CreateProcess in Visual Basic. The purpose is to open NotePad in a particular place on the screen and with a specific size. This the code I am using so far (after many errors & tests): Structure…
StreamJsonRpc.RemoteInvocationException while launching Visual Studio
Fresh install of Visual Studio 2022 results in a StreamJsonRpc.RemoteInvocationException exception... Checked the log under C:\Users[myId]\AppData\Local\Temp\servicehub\logs.. Below is the content of the log, Please help... 01/03/2022 20:37:53…
Having issue with Keyword not supported: 'trust server certificate in Visual Studio VB
Hi. I'm trying to run VB code in visual studio form project but get an error when code is trying to run. Error is: "System.ArgumentException: 'Keyword not supported: 'trust server certificate'.'". The line in code affected is: Data…