Quantcast
Channel: VBForums - Visual Basic .NET
↧

VS 2017 Button returns wrong box

I have a form with 64 boxes with 32 boxes that I can click on. If I click on Box # 1 the properties name is BOX1A and goes to BOX3_CLICK than goes to BOX1_CLICK without me clicking on any other boxes....

View Article


Image may be NSFW.
Clik here to view.

VS 2017 Hex to string throughout several files

Hi all, I'm working in .NET and am looking for advice on where to begin when pulling strings from a specific hex offset. I have several files that I'd like to pull a string from, the string begins at...

View Article


I need to draw a line OUTSIDE the paint event.

I have a panel which is painted in the paint event of the panel. This works fine. I AM USING VB.NET 2022 COMMUNITY EDITION. I have code in the mousemove event which calculates the location (row,column)...

View Article

[RESOLVED] vb.net published program crashes when drawing into picturebox

Hello, I'm new here and not a pro, that's why i have to ask the professionals. I made a very simple program for my cousin, which has some textboxes to fill out and doing some calculations with these...

View Article

[RESOLVED] Multi Demensiional Array to Excel. Shaggy said in 2017 no...

I read a post from Shaggy, after 3 hrs of searching the web, where he states that there is no mechanism for going from multi-demensional array to Excel WS that he is aware of from 2017. Hopefully, this...

View Article


[RESOLVED] Webbrowser1 not navigating to website

I have a webbrowser1 which launch's the window for the browser, but does not navigate to the URL. What, if anything, is wrong with the code below? EDIT: Sorry forgot to include the class defenition...

View Article

VS 2022 Changes made in Registry, want to apply without restarting.

Hello everyone, I applied a code in my vb.net software, this code disables Windows Defender Notifications, the issue is that after modification in registry the system restart is required which i don't...

View Article

Image may be NSFW.
Clik here to view.

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 Article


VS 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 Article


InvokeMember 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 Article

Adding 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 Article

Adding 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 Article


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 Article

Object 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



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>