Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Browsing all 1528 articles
Browse latest View live

[VB6] In memory convert to JPEG using WIC

This uses Windows Imaging Component to convert a bitmap (a 32-bit DIB) to a JPEG stream purely in memory. Paste the following code in a .bas module: Code: Option Explicit Private Declare Function...

View Article


Image may be NSFW.
Clik here to view.

Get Rgb info by GdipBitmapLockBits,Read Bitmap into a 2D array

Read Bitmap into a 2D array test in form1.frm Code: Private Sub Form_Load() StartUpGDIPlus Dim Data() As RgbType Data = GetPicBmpData_RGB(App.Path & "\BMP1.bmp") MsgBox "One Pixel rgb=" &...

View Article


Image may be NSFW.
Clik here to view.

Transparent Control By Multiple transparent windows form

Multiple transparent windows form a transparent program How do you switch between multiple windows without changing the focus of the form?If you have five windows with similar layers and click and...

View Article

Image may be NSFW.
Clik here to view.

WS_EX_LAYERED on child controls(Transparent Activex Control)

Starting from Window 8, WS_EX_LAYERED can be used for child controls. Method: A manifest file is required, and at least Window 8 compatibility is specified (sub-layering only supports starting from...

View Article

Image may be NSFW.
Clik here to view.

Transparent Activex Control,WS_EX_LAYERED on child controls

Project2:VB6 UserControl-Transparency Container-VBForums https://www.vbforums.com/showthread....ency-Container Project3: Transparent Control By Multiple transparent windows form-VBForums...

View Article


Image may be NSFW.
Clik here to view.

VB6 UserControl-Transparency Container

'TransparencyOcx(Transparent container) 'Like PictureBox(NOT for Set Picture),Can Put Controls on it 'Don't Remove Area() Control change code in sub ShowAllChildArea: Code: Sub ShowAllChildArea() Dim...

View Article

Transparent text Box by CreateWindowEx(edit)

How to Transparent text Box by CreateWindowEx(edit)? .BackgroundBrush = CreatePatternBrush(Form1.Image1.Picture.Handle) 'IT'S good CODE FROM HERE YOU GUYS MUST BE SMARTER THAN THIS...-VBForums...

View Article

Msgbox With Picture

how to change use TRANSPARENT color? GetStockObject(HOLLOW_BRUSH)? SubMsgBox = CreatePatternBrush(Form1.Picture.Handle) form1.frm Code: Option Explicit Private Sub Form_Load() Me.Picture =...

View Article


Image may be NSFW.
Clik here to view.

MySimpleProjects

6 small apps from my in progress program folder. In various stages of completion , but generally working. Attached Files My Projects.zip (95.9 KB)

View Article


VB6 Transparent Textbox By API(WM_CTLCOLOREDIT)

How to use API to set text to transparent and accept cursor in vb Code: '在窗体Form代码中,把以下代码复制进去: 'IN FORM1 Private Sub Form_Load() makeTransparentTextbox Text1 'Text1 '是需要透明的文本框 End Sub 'BAS FILE: APIs...

View Article

Delete this post

sorry :/

View Article

Image may be NSFW.
Clik here to view.

Access the VBIDE library without add-ins

I recently had to document the methods of a vast class module. Means I wanted the names of all public functions listed in the module itself in a special procedure to give the opportunity to call them...

View Article

webBrowser Control Transparent

HTML Code: <style>         html, body {             margin: 0px;             height: 100%;             width: 100%;             overflow: hidden;             background: rgba(0, 0, 0, 0);...

View Article


Image may be NSFW.
Clik here to view.

Making Picturebox transparent,Set Alpha Channel Image

Making Picturebox transparent(support PNG alpha) https://forums.codeguru.com/showthre...ox-transparent Quote: Originally Posted by The trick https://www.vbforums.com/showthread....child-controls My...

View Article

Image may be NSFW.
Clik here to view.

vb6 Transparent Control by BitBlt,Transparent Picturebox

vb6 Transparent Control by BitBlt,Transparent Picturebox in form1 Code: TransparentWithHdc Picture1.hwnd, Picture1.Hdc in bas file: Code: Public Declare Function ReleaseCapture Lib "user32" () As Long...

View Article


Image may be NSFW.
Clik here to view.

Transparent Png Control by vb6

PngBall2.AutoSize = False Call PngBall2.LoadPng("", "GLOBE", "PNG") PngBall1.LoadPng ("01Alpha_Png.png") GetWindowRect disables the display zoom (right-click of the program) when the GetWindowRect is...

View Article

Image may be NSFW.
Clik here to view.

VB6 RC6 Cam-Streaming (with local QRCode-Decoding)

Just a little demo, which shows how to use the new cVidCap-Class of the RC6-lib (a version >= 6.0.7 is needed). It is relatively simple to set-up (basically only a connect-MethodCall with a few...

View Article


Image may be NSFW.
Clik here to view.

(VB6) Detect Design-time and uncompiled

Code can run at design time if you have UserControls or also you can type a procedure name in the immediate window and run that code. This function takes advantage of an error that is raised only at...

View Article

Image may be NSFW.
Clik here to view.

(VB6) Add-In to change the default font of new forms

It changes the default font from 'MS Sans Serif' to other font of new Forms, UserControls and PropertyPages that are added to the project. You can configure the font that you want, the default one is...

View Article

how to transparency Button like Listbox by vb6?

Code: Option Explicit   Private Declare Function ReleaseCapture Lib "user32" () As Long Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long,...

View Article
Browsing all 1528 articles
Browse latest View live


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