Webbrowser1 call to fire event InvokeMember? Same as EventFire?
Been convinced to convert code to WebBrowser1, but still keeping the majority of the code. e.g. Function names/try-Catch features. I used the old Web calls in my VBA program, but now on the porting and...
View ArticleWebrowser1 not recognized in 2nd Form
Edit:..... Ok, the compile errors are gone, but the window will not load. Hi, I need to have a window for my GUI to the operator and 1 for the internal company website. I have created a new form and a...
View Article[RESOLVED] Script error just after launch of fram2, webbrowser
Hi. I sort of have the webrowser functioning, but I get a "Script Error" just after I press the "Login" button. I would present a picture, but I have not been able to do so since I joined, not sure...
View ArticleVS 2022 Can't "programatically" check a checkbox in ListView?
Help. I fill a listbox (with "checkboxes" attribute set to True), and then try to check the boxes. But when I try to "programmatically" check a box, I get an "Invalid Index" error. Code: For...
View Article[RESOLVED] Changing Font. Get warning about it being ambiguous
I have a function that will change the font, enable, and visible of a ctrl. The issue is that I am getting an Abiguous error message. Looks like several inports has a similar functions. I use a Label...
View Article[RESOLVED] Exception Unhandled on MouseMove
I have a textbox that I am growing and shrinking based on wether the mouse is on or off of the control. Everything works great for several moves, maybe a dozen, then the program crashes with the...
View ArticleHow to prevent - Application cannot be started.
Hi there, A lot of our users get the following message, usually following a published update. The solution we've been using to allow us to open the Application is to delete as much as we can from this...
View ArticleVS 2022 ZipInputStream Read Size Mismatch
Hello, I am getting periodic "Size Mismatch" in my code. Below is the function in question: Code: Private Function Decompress(ByVal toDecompress As Byte()) As Byte() Dim currentEntrySize As...
View Article[RESOLVED] Operator '=' is not defined for types 'Integer()' and...
I'm getting the shown error for a Case statement. Now I don't get any error for similar calls in my main form EPIQ class, however, in the Browser Form this is happening. This is a Webbrowser1 base...
View ArticleBest way to restart program to avoid reentrant (stack crash) for program
I need to have the program restart from function 0, but it can't be reentrant as the stack will eventually crash. I know because the VBA program does after some time, but it's single thread only. I was...
View ArticleConverting RGB to Grey scale
Dear all i have been away from VB.net for a long time. Just dealing some codes VSCode in Ubuntu. Just succeeded some till dealing floating point errors in C. According to my age and time line just...
View Article[RESOLVED] VS2022 4.5FW Application icon problem
I’m just finishing up a project I’ve been writing. I changed my app. Icon, but I didn’t like it, so I made another. Added my icon to my.resources, swapped the icon in the properties page. The new icon...
View ArticleOpening a specific Excel file for VSTO add in
Good afternoon, I'm using VB.NET to create an excel vsto add in. When we run the debug process in a "Normal" way in VB.NET, the excel app opens. But what I would like to do is instead of opening the...
View Article[RESOLVED] Excel WB Fails to open
I don't see what the issue is so I'm back here to see if anyone can see the issue. I have an OpenWB function that pulls in the path, filename, ext and combines them into the path. Then I call...
View ArticleInteropt.Excel issue or something else?
I'm working with VS 2022 on Win 11 Interop.Excel v 16, Microsoft 365. I have no issue opening the WB, but then I get a COM error for any type of situation I try such as: Global xlApp as New...
View Article