Quantcast
Channel: VBForums
Browsing all 15406 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

VS 2019 Printing Arrays in Listbox

Button 1 prompts users to populate an array while button 2 should print that array into a list box. When I run it, button 1 seems to function properly, but clicking button 2 doesnt print anything. What...

View Article


Check if Pointer is valid ?

Hi, Is there a way of figuring out if an object pointer is valid ? (ie:- points to a valid instanciated object) Thanks.

View Article


Late binding CUIAutomation

I have the following code which uses IAUtomation to get me the bounding rects of the tabs in a MultiPage control... The code works fine because it uses early binding. I can't seem to make this work...

View Article

Getting Internet IP Address

I've been using the code snippet from the Codebank [here] to get the remote IP address from my app. This is a great bit of code and has always worked very well to get the IP address of any connection....

View Article

Image may be NSFW.
Clik here to view.

Problem with VB6 ComboBox with style "DropDown List"

I have tested my application developed with VB6 on Windows 11 for which we use a manifest to improve the presentation. VB6 ComboBox with style "DropDown List" visually display nothing when they have...

View Article


Image may be NSFW.
Clik here to view.

[Tutorial] how to run vb3\vb4 on your msdos

Right here we have a simple tutorial, it may sound silly, but it is very useful for many people come on this topic is authentic and exclusive to Liwis James who decided to help the community with the...

View Article

vb.net remove first char from text

i'm make a textbox print another char with keydown event using this: on keydown event: HTML Code: if e.keycode = keys.A then  My.Computer.Keyboard.SendKeys("B") end if i need know how i can remove the...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] sum listbox items

Iam adding a elemnet from a xml file into listbox Code: Option Strict On Option Explicit On Option Infer Off Imports System.IO Imports System.Xml Imports System.Net Imports...

View Article


Compiler bug

Greetings, Yes I made a mistake but I got bitten hard by this in production yesterday. Create an empty project In the form load: dim someObject as object set someObject =...

View Article


[RESOLVED] vb.net remove first char from text

i'm make a textbox print another char with keydown event using this: on keydown event: HTML Code: if e.keycode = keys.A then  My.Computer.Keyboard.SendKeys("B") end if i need know how i can remove the...

View Article

Image may be NSFW.
Clik here to view.

VB6: Question - Databases, where do I start?

OK, it is a very broad question and I know that. I have an older VB6 application concerning the weapons, vehicles used in Normandy 1944. It was where I cut my teeth in VB6 and was converted from a...

View Article

[RESOLVED] How to find control by tag property

Hi, Is there a way to find a control by tag text without looping through the controls of the container? I usually fidn controls by ID/name by: Code: Dim Thiscontrol As Control...

View Article

VS 2019 Access DB and Timer not running tasks when its time - Conversion from...

All, I have a problem with my reminder app that will NOT run as scheduled when the program is open. It appears to only run once when started up and will not run when its time for a reminder. Can...

View Article


Retrieve selectedvalue from listbox/xml file

Hello, I haven't been working on visual basic very long but I'm running into a problem in my code. I have a button that reads part of an xml file into a listbox. In addition, I want to build a function...

View Article

Deleting a row from the data source (datatable) of a datagridview

Hi, I am struggling to delete a row from a datatable that I have bound to my DGV (datagridview). The DGV is not full row selection thing and users can click only on one cell at time. I can delete the...

View Article


Convert C++ codecave function to VB6

Hello, guys. Please, may someone help convert this function to vb6? Code: void walk(HANDLE pHandle, DWORD baseAddress, int direction, bool dash) {     BYTE codeCave[32]{         0x60,...

View Article

Compare different audio

Well I've asked a question similar to vb.net, but this is a little different let's go there: well I want to know if two songs are equal or similar the difference is that the first mp3 has 2 minutes and...

View Article


About array

Hi! I declare an array like; Dim myarray() as string. But i want to declare like control arrays. example for x = 1 to 5 dim myarray(x) () as string next i want to add winsock data to these arrays. is...

View Article

Go for the Olympics

Let’s talk about the Olympics, the masters showdown, one point difference

View Article

VS 2010 endofstream

Hello I am working through a tutorial written in vb.net 2010 . I am using 2010 professional. The tutorial calls for the use of .endofstream , I get an error message (Error 1 'endofstream' is not a...

View Article
Browsing all 15406 articles
Browse latest View live


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