VBscript not running on windows server 2019
Hi All, Our VB Script has been integrated with SSIS package as script task and it work in fine in visual studio IDE . However, it is getting failed to run same VB script block in windows server 2019 environment inside SSISB as a SSIS Package. Please…
VS 2022 Copy and Paste form feature Broken?
Hi All, When I copy and paste a form between folders in visual studio 2022, the class names in BOTH forms are updated when I rename the pasted form. I am not given the option to manually update the class name. Is this a bug in VS 2022? To fix the…
Reading log details from text file
Hi, I have a application log files in text format and want to read start/end time of a particular job from text file and then put it into an excel file with VB Script. Let me know if any further clarification or info. is required. Thanks
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…
How to get the tooltip value when hovering the mouse anywhere on the desktop
I'm working on a VB project and I need to capture the tooltip value when hovering over the desktop. Can someone help me figure out how to do this? Is this reversible?
How to Fix: Method "Form1_Load" not Found
just got started using visual basic and I don't know how to fix this
Help creating shortcut with arguements
I have a process that creates shortcuts for startup and desktop for individual or all users. In this I app I am trying to create a shortcut with arguments. The section of my code I am having an issue with is below: Dim program_path as string =…
How to pass the region on Graph SDK Search method
I am currently working on a WinForms application that interacts with our SPO environment, using the Graph SDK. The application is written in .NET 4.7.2, and uses the “Microsoft.Graph” (SDK) 4.19.0. Simplified code: Dim srObject As New…
warning BC40056: Namespace or type specified in the Imports 'System.Windows.Devices.Bluetooth' doesn't contain any public member or cannot be found.
Hello, I have a project on visual studio 2022 that I'm trying to build but it's showing me import errors that aren't supposed to be there. I've tried everything, looked for solutions, installed SDKs, updated my PC, but nothing. I've also tried with a PC…
Multiline asp:textbox (into a asp:gridview) auto adjust it's height according to the amount of text
Hi forums, I would like to consult about a issue I am facing. I have a gridview where there is a textbox that is filled from a SQL DB when such info is called from a click event, but I want to adjust the height according to the amount of text is pushing…
Getting an exception using a background worker
Source and Destination are both bitmaps that are the same size hgt and wid are the height and width of the images minus 1 Here's the background worker Code: `Private Sub BGWProcess_DoWork(sender As Object, e As DoWorkEventArgs) Handles…
Regex.Matches Idn
Hello I'm using this to collect emails from string: Dim mc As MatchCollection = Regex.Matches(src, "([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,9})", RegexOptions.CultureInvariant Or RegexOptions.IgnoreCase Or…
Help with Creating a Custom DataGrid in Vb.net
Hello everyone, I am writing a program using Visual Basic .NET. I would like to have a custom DataGrid that meets the following conditions: In the Edit Columns - Bound Column Properties section, I want to have several properties as follows: IsNumeric,…
Specified argument was out of the range of valid values. Parameter name: length
I was just designing my form when this suddenly happen and I dont know what wrong did i do and when I run it the form that I was designing is still running but I cant see the form where I can edit it
Can't launch my app because of 'you must install .NET Desktop Runtime' popup
Hi everyone, I'm trying to run my application I've just installed on my computer but I'm having an issue with my .NET Runtime. I've been debugging this application in Visual Studio Community 2022 v17.10.2 and it works fine when I start it through Visual…
How to convert vb6 application to vb.net with minimal effort
How to convert vb6 application to vb.net with minimal effort. Could you please describe the details?
Converting a VB 6.0 project to VB 2010
What steps do I need to take in order to convert my Visual Basic 6.0 project to VB 2010? Are there any tools or resources that can help me with this process?
Migrate VB.Net application from .Net 4.7 to .Net 8
Hi, Context: I have an application where the back-end is written in vb.Net and is running on .Net 4.8. As they are mostly back-end, they are either consol or dlls. Due to the history of the application, the front end is in ms Access! There are a few…
How to fix an Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))
HI, Started with a .docm template document , I'm invoking, from Powershell , Word to update fields read from a .csv to update letters sent to a lot of destinees , by the way of a VBA macro , then the .docx generated document is in a .pdf. Then ,I…
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…