Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
↧

how to get disk sn by api,without wmi?

it's by ai vb.net,but can't run DeviceIoControl( hDevice, IOCTL_STORAGE_QUERY_PROPERTY Code: Private Shared Function GetDeviceInfo(hDevice As IntPtr, ByRef deviceInfo As DeviceInfo) As Boolean Try "Get...

View Article


Image may be NSFW.
Clik here to view.

how to show emf+ by vb6?check emf/emf+ format?

how to show emf+ by vb6?check emf/emf+ format? how to create emf+ by vb6? [RESOLVED] [GDI+] EMF > WMF & VB6 LoadPicture-VBForums https://www.vbforums.com/showthread....B6-LoadPicture PNG...

View Article


Image may be NSFW.
Clik here to view.

CommonDialog filter, but shows unallowed extension when typing

Hi friends :) I don't know how to search for similar topics but I encounter a problem with CommonDialog's filter. Here is a small code example, just add a CommonDialog1 o a Form: Code: Private Sub...

View Article

vb6 - mourir a Madrid

I 'm afraid vb6 is in its last throes if not already dead. I tried to install in windows 11, it went in after a struggle but then damaged the system. It caused blue screens. The service people tried to...

View Article

Exits a project to convert a vbp to option explicit?

Exits a project to convert a vbp to option explicit? Any code that analice the variables not declared, and convert the code that have always option explicit?

View Article


Image may be NSFW.
Clik here to view.

VB6 to Windows 10 GetOpenFileName

Have another issue with my XP VB code running on Windows 10, this time with a call to GetOpenFileName. I’m passing off a handle to a VB form where I’m having to draw my own title-bar with DrawCaption....

View Article

[RESOLVED] Checking lock status of another user's pc

Searched but couldn't find a solution so not holding out much hope, but is there a way to check if another user's workstation is locked either by passing the machine name or the logged on name?

View Article

Create ActiveX control dynamically

I want add this control dynamically RICHTEXT.RichtextCtrl but it has no width and height properties, so how to adjust its bounds.

View Article


Graphical Checkbox Colors

How to make a Graphical Checkbox background color vivid when the checkbox is checked ?

View Article


Image may be NSFW.
Clik here to view.

have an idea to cover number on a image

based the value in a label LARRAY1how to cover the related number in a red square o the image(SK1.GIF), with the little black square named NERO_12.GIF TKS NOTE: - The number in the label are alway six,...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Menu in a borderless form

Hi I have an app that use forms without borders and the @LeandroA ucGridPlus control (https://www.vbforums.com/showthread....light=gridplus). Now I want to add a menu so when I click in a image inside...

View Article

HTTPS .. Oh dear, what can the matter be.

I have the server with SQL Server 2022 Data centre on, on a local network. When I ping it, it gives me the server's home page. However, when I send an HTTPS: from VB6 it blocks it. How can I check why...

View Article

Error message when trying to learn how to use DataCombo with ADO Data Control

Hi I am learning to program using Visual Basic and databases. I'm stepping through an example in the text book for using the DataCombo Control with ADO Data Control I've set up the properties of the...

View Article


VB6 FOR LINUX(Wine),twinbasic like vb7 on linux,what ui will use?RC6Widgets

RC6Widgets.dll cairo.dll can use on linux?andriod?

View Article

Image may be NSFW.
Clik here to view.

lottery problem

Hello I enter 3 fixed numbers and it works fine The problem is with the label numbers, which are supposed to appear randomly Thank you Attached Files lotery.zip (2.6 KB)

View Article