VS 2022 Visual Studio Error
Hi, I've been working on my project and I'd made a new form, came to the Project Properties > Application to change the startup object, selected my new form. At this point I received an error, I...
View ArticleVS 2022 Class Library SDK and COM Interop
For the life of me, after of bunch of reading and research, I still cannot seem to get my class library to interop with COM. I have VB.Net WinForms Class Library (Microsoft.NET.Sdk) that targets .NET 9...
View ArticleInvokeMember assistance
I'm trying to use InvokeMember, but I'm a bit confused with the function information. Do I need to use Binding to execute the function, as it does seem to? Can't it just be as simple as below? Code:...
View ArticleAdding a new Cabinet file to VB
I have a new Cabinet file Microsoft.WebView2.FixedVersionRuntime.135.0.3179.85.x86 but not sure how to add it to VB. Is there a secret to this? From what I have found on the web, you need to have a...
View ArticleAdding multiple arrays into a row with datagridview
Hi everyone, I'm following up to my previous post about pulling hex values & hex strings from several files, I was able to accomplish that but now I'm trying to get that data into a datagridview...
View Article[RESOLVED] How to get number of lines in a textbox
I have been playing with generating a dynamic textbox that adjusts from a single line to the max lines present, but the information returned from TextBox9.Lines.LongCount, or lines.count, does not come...
View ArticleObject reference no set to an instance or object?
Hi guys Greeting I am using SQL and VB.NET 2017. I have 2 buttons on a form1, (Add Save), the procedure is almost similar. Add a new record and save an edited record. I have a textbox "Email" in both...
View Article[RESOLVED] Comboox.SelectedIndex when is Combobox valid for selection
I have 4 combobox's on my GUI and the initialization is in the Class EPIQ, show below, but upon the GUI being displayed the selected indexes are not selected. All the comboboxes are in the -1 position...
View ArticleVS 2019 instance of a form problem
Hey, in a project I'm working on I have a form that I use to open another form and make changes to it. I then create an instance of that form. How ever, when that new form shows the changes made are...
View ArticleFont settings
I'm wanting to change font settings of a textbox using the font dialog. Can someone show me how to accomplish this? My code so far. Code: Dim fontDialog1 As FontDialog = New FontDialog...
View ArticleVS 2017 Logging powershell output data in real time with tracelistener or...
Hi all, I recently got powershell working in my VB windows form app, it appears to work just fine although I'd like to get powershell output in real time instead of it appearing in my textbox after the...
View Article[RESOLVED] WebBrowser1.ReadyState READYSTATE_COMPLETE vs....
When I try to use the code below "BrowserWait" the program/webbrowser locks up. I have put a breakpoint on WebBrowser1_DocumentCompleted and it would do what I needed but the code would not wait for...
View ArticleVS 2022 Datagrid View Font Style
I currently have a datagrid that contains a number of entries. Depending upon the value, i want to Strike through the text in the grid. The selection of the row in the data table works ok, however when...
View Articleimport google contacts in vb.net
Hello friends I searched a lot but couldn't find any results I want a program that can display Google contacts in a data grid.
View Article