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

Image may be NSFW.
Clik here to view.

vb6 Secure Websocket

Secure webSocket in Pure VB6 no external Libraries or ActiveX. Now wss://localhost:8088 is possible. Now Lengthy(char length more than 65536) messages possible. Thanks goes to : Vladimir...

View Article


vb6 Call Cdecl Api by Function(stdcall)

'bind cdecl api to vb6 function FixCdecl AddressOf VB_Add, CdeclApi, 2 c = VB_Add(a, b) FORM1 CODE: Code: Dim h As Long Dim CdeclApi_Add As Long Private Sub Command1_Click() If CdeclApi_Add = 0 Then...

View Article


Bind Cdecl Api To vb6 Function(stdcall),support run in IDE

'bind cdecl api to vb6 function FixCdecl AddressOf VB_Add, CdeclApi, 2 c = VB_Add(a, b) FORM1 CODE: Code: Dim h As Long Dim CdeclApi_Add As Long Private Sub Command1_Click() If CdeclApi_Add = 0 Then...

View Article

Image may be NSFW.
Clik here to view.

[VB6] - sSlide - User Control

SSlide.zip This is a user-control likes progressbar. Attached Images   Attached Files SSlide.zip (1.7 KB)

View Article

am looking for convert ansi to windows-1256 or utf-8 to wndows-1256 without...

hi,i have a json utf-8 file ,content is like as : HTML Code: "header":{             "date":"۳ روز پیش",             "subtitle":"۳ روز پیش در مشهد، صیاد شیرازی | اجاره آپارتمان",...

View Article


Image may be NSFW.
Clik here to view.

Freehand drawing with GDI+

Illustrates how to perform freehand drawing within a GDI+ path. I needed this capability in an application some time ago but was only able to find one example which used GDI+, but it was done there by...

View Article

Image may be NSFW.
Clik here to view.

Path Rotation with GDI+

Illustrates how to rotate a GDI+ path around a center axis. Uses a simple transformation matrix. Useful for certain drawing applications. I originally wrote this for use with certain elements of a...

View Article

Image may be NSFW.
Clik here to view.

(VB6) Compare two controls interfaces

And tell the differences. This project is related to the other one: Replicate control interface or encapsulate control into UserControl. Attached Images    Attached Files...

View Article


CreateThread Sample--Vfb(Visual Freebasic),vb7,WinFBE

Code: Sub Form1_Command2_BN_Clicked(hWndForm As hWnd, hWndControl As hWnd)  '单击   Dim ABC As String Ptr = New String   *ABC = "China"   'CreateThread (NULL,0,@ThreadSub,ABC,0,0)     Threaddetach...

View Article


All Freebasic Code Sample,Vfb(Visual Freebasic),Like VB6,VB7

VB6 has stopped updating for 25 years. We have a development tool similar to VB6. Everyone is welcome to use it together and let the VISUAL BASIC syntax last forever. vfb(visual freebasic),ide like...

View Article

Call PrintF,MessageboxW by Asm,Call windows api--Vfb(Visual...

Code: dim as string frmt = !"%s %s\n" dim as string hello = "Hello" dim as string world = "world" asm       mov  eax, [world]       push eax       mov  eax, [hello]       push eax       mov  eax,...

View Article

sorry,Chrome OCX,Miniblink,VB6 chromium,Chrome core only one dll

Chrome OCX,Miniblink,VB6 chromium,Chrome core only one dll download node.dll from here: https://github.com/weolar/miniblink49/releases GitHub - imxcstar/vb6-miniblink-SBrowser: Miniblink control made...

View Article

[VB6] Simple VNC Server using DXGI Desktop Duplication

https://github.com/wqweto/VbVncServer A single-class VNC server for embedding in LOB applications for built-in client support. Very much work in progress but first cut seems to work. Based on RFC 6143...

View Article


Image may be NSFW.
Clik here to view.

The fastest way to download web pages(GET,POST)

Research using multiple methods to download web pages and choose the fastest solution 2021/3/17 14:29:29--WinHttp4(No Options) UsedTime=19795 Ms,Size=319628 2021/3/17 14:29:09--WinHttpRequest3...

View Article

Image may be NSFW.
Clik here to view.

vb6 Gif Ocx/Png OCX,Show Movie by DirectShow,WebBrowser,AniGif.OCX

Usercontrol.ctl about Webbrowser GIF(PNG ,JPG),Support Url,Localdisk File [gif ocx,Png ocx] activex control Code: Dim WithEvents M_Dom As MSHTML.HTMLDocument Public Event ImgClick() Private Url As...

View Article


Image may be NSFW.
Clik here to view.

Neumorphism Design

In this case, it is, on the one hand, a class Module and, on the other, a Usercontrol to create a modern user interface called Neumorphism, which began to become fashionable as of 2020, although it is...

View Article

[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.

Transparent Activex Control,WS_EX_LAYERED on child controls

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
Browsing all 1472 articles
Browse latest View live


Latest Images

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