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

[RESOLVED] Hourglass - again

Is there an issue running the following Code: Me.MousePointer = vbHourglass or Code: Me.MosePointer = vbDefault on Windows 10. I tried in a test program, when it didn't work in my real program. The...

View Article


Image may be NSFW.
Clik here to view.

Help me i'm drowning in my source code, hey dudes

Dear Formers, I have a project of mine, that i am working on right about now, then here is the problem of mne. I have some hard coded encription that i have made. the encrption works fine. but then the...

View Article


Mouse move event too slow

I need to get all the coordinates of the mouse path when the left button is clicked, so I create a boolean that is changed in the mousedown/up event, and I check it in the mousemove to read the...

View Article

Public multi-dimensional arrays

I have been using structures (with some elements as single dimension arrays) up till this point (I like them :) )...but tried to do what I thought was a very simple thing this morning and hit a...

View Article

fast clear msflexgrid...

Based this old posthttps://www.vbforums.com/showthread....clear-all-text in nr #5 i need to set, also, to the default value each cell in msflexgrid to .CellBackColor=false the original code work perfect

View Article


TickMark in Each Checkbox of Listview to get fullRowSelected

Hello Basically i am trying to tick mark in each checkbox of Listview1 so that the FullRowSelected gets hilited. if no tickmark then Each FullRowSelected remains No Focus. The following events i tried...

View Article

Read an offset array

Hello, This function reads the memmory for string, but the parameter "offset" has more than single value, I need help how to solve this exercise but in VB6. How to read a pointer with more than 1...

View Article

VS 2019 InitializeExistingComponent doesn't respond in ControlDesigner.

(in Design-Mode) I want to have some controls (inherited from Panel); when added to a control of their own type; dock in a certain way and possibly add another control to that parent. a.t.m. I can do...

View Article


StrPtr() causing Intermittent crashes

I had a problem with occasional crashes of a VB6 program, and I tracked down the cause to a change in the variable from a string array to a variant string array, and the usage of StrPtr(). The pointer...

View Article


[RESOLVED] Read an offset array

Hello, This function reads the memmory for string, but the parameter "offset" has more than single value, I need help how to solve this exercise but in VB6. How to read a pointer with more than 1...

View Article

Retrieving the date format on Win10

Hello everybody, I need to get the current format of date and time the user has set. I want to display this information to prevent confusion when my program is used in other regions. I'm programming on...

View Article

Oddity with mouseleave event....

So I have a panel with two buttons. I need to know if the mouspointer has LEFT the panel but the mouseleave event is triggered when I move over the button (in the panel), even though I am still within...

View Article

VS 2013 Capture screen shot and Reduce image size.

Hi there, here is my code, I am using this code to capture screen image and save in a file, working fine, but the image size is almost 500Kb per image. Can you please advice how to reduce the image...

View Article


[RESOLVED] VB.net - TreeView: Get the root name of a grand child node

Hi I can't find how I get the text of the root node of the node that is clicked in a TreeView control. I have a treeview with some multi-level children/grandchildren etc. and I need to know which root...

View Article

[RESOLVED] VS2019 type “AutomationElement” is not defined

I added reference to UIAutomationTypes and to UIAutomationClient and use those imports Code:     Imports System.Windows.Automation     Imports System.Runtime.InteropServices     Imports System.Text But...

View Article


Currency Format with $ and decibel

Using VB 6.0. Where it allows you to change the DataFormat to Currency in the Properties it still will not show up as Currency with the $ and decibel. Any suggestions? Please

View Article

VS 2010 Ping Network Computer

Very simple setup. Local network with 2 computers, a printer and Internet access. The server often needs to know the status of the 2nd computer. I am using the following code which seems a common...

View Article


Windows key is nor working properly!

Hello Friends, I am encountering a serious issue that Windows key is not working properly. And its not working when I am busy playing games. Any idea guys, would this method be helpful in anyway?

View Article

Get a Chrome URL

I'm trying to get a Chrome URL but I get an error: System.MissingMethodException: 'Method not found: 'System.Windows.Rect...

View Article

Image may be NSFW.
Clik here to view.

icon with text and transparent background

Hello everybody. I need to put on the systray an icon with text and transparent background. I have the next code, but it is always drawn in black. Then choose to paint the background with the color RGB...

View Article
Browsing all 15882 articles
Browse latest View live