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

ActiveX dll or Exe form to MdiChild in a MDIfrom

I´ve been working with activeX dll and activeX exe and now I am stuck to at this problem. I have an activeX dll been loaded by ActiveX exe. The ActiveX exe acts as a server for a main EXE program which...

View Article


Image may be NSFW.
Clik here to view.

[VB6/Win7+] Using the Windows UI Ribbon Framework

Windows UI Ribbon Framework Demo - Intro This is a backport of the most basic Ribbon demo from my now 3-part series on using the Ribbon in twinBASIC. The code is virtually unchanged; just some minor...

View Article


Image may be NSFW.
Clik here to view.

[VB6, twinBASIC] DirectComposition Effects Demo

DirectComposition Effects Demo This demo is a just a basic proof of concept, a close-as-possible port of the Microsoft DirectComposition Effects SDK example. Since the demo is ported as close as...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Simple way to make your VB6 application "Per-Monitor DPI Aware"

This sample project shows how you can automatically resize your form and its controls as well as adjust their font sizes whenever the current DPI changes (the user runs their desktop at a different...

View Article

Image may be NSFW.
Clik here to view.

Python embedding

I have to work across multiple languages more and more. If i need to use a python library for the most part I just write a small python script and then shell it on the command line and read its output....

View Article


Image may be NSFW.
Clik here to view.

Displaying Cyrillic in Unicode components

I was unable to use Cyrillic in the new Unicode components. I was offered to load text lines from a file, but this is inconvenient. Therefore, I wrote a small class that allows you to use Cyrillic...

View Article

Image may be NSFW.
Clik here to view.

Python embedding w/Debugger

I have to work across multiple languages more and more. If i need to use a python library for the most part I just write a small python script and then shell it on the command line and read its output....

View Article

VB6 Download image and automatically center in Picture1 control

Download the image and automatically center it in the Picture1 control 'References to: ' ' Microsoft Windows Image Acquisition Library v2.0 ' Microsoft WinHTTP Services, version 5.1 Code: Function...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Unicode PopupMenu Captions and PopupMenu Radio Buttons

This is just a simple class for allowing Popup Menus (also known as Context Menus) to display Unicode captions. It also shows how you can use Radio Buttons (also known as Option Buttons) instead of the...

View Article


Image may be NSFW.
Clik here to view.

VB6 Chrome app ,Google Chrome APP mode

What is the Google Chrome APP mode? Second kill full screen mode! Have you ever encountered such a situation? I opened N web pages without noticing, and the TAB was too small to see. And then...

View Article

Image may be NSFW.
Clik here to view.

VB6-MultiThread Download

Attached is a simplified Multithreading example based on this download: https://www.vbforums.com/attachment....3&d=1458791120 That project used winhttp.dll which had serious limitations, so I used...

View Article

Image may be NSFW.
Clik here to view.

Serializing array of objects in PropertyBag

There is an interesting example of implementing a custom PropertyBag from Edanmo. Unfortunately, it cannot save arrays of objects. So I modified it a little. You can now save arrays of objects. Code:...

View Article

Image may be NSFW.
Clik here to view.

MSFlexGrid: The power of the FillStyle property

Using the FillStyle property you can change a range of cells with a single command. But you always have to take care about the current selected row, col, rowsel and colsel properties. That's why I...

View Article


how to change scriptcontrol use js9?

maybe ScriptControl The default is to use the JS5 engine, right? It's also use IActiveScriptSite?

View Article

vb6 RemoveAddIn_Self

Code:   Public VBInstance            As VBIDE.VBE Private Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long Private Declare Function LoadLibrary Lib "kernel32" Alias...

View Article


Image may be NSFW.
Clik here to view.

VB6 package manager,Like NET's nuget.exe and Python's Npm.exe

Similar to nuget.exe for.NET or Npm.exe for Python, the required files and configurations for a component or control can be downloaded and automatically added to the project (or removed entirely).For...

View Article

Image may be NSFW.
Clik here to view.

VB6 BezierLines via cGDIPlusCache-Helper

A somewhat less "user-code" requiring solution to a problem, which originally came up here: https://www.vbforums.com/showthread....er-(Math-Help) There's 3 Classes in this Project, which make it a bit...

View Article


vb6 Get Local IP,Get LAN IP

I wonder if there's an easier way? In addition, what is the simple way to obtain the Internet public IP address Code: Private Sub Form_Load() MsgBox Winsock1.LocalIP End Sub Code: Option Explicit...

View Article

Here's some code to convert between LBA and CHS forms of drive sector addressing

Put this code in a module, and set the first 3 constants to accurately describe the drive you are working with (these are the drive geometry parameters). In the code here, I already have these set for...

View Article

Image may be NSFW.
Clik here to view.

How do I enumerate thrue the namespace on a remote server I.E ftp?

Hi everyone! Can I in some way "bind" a Ishellfolder on my local computer to a server ftp? Or do I need to expose a an Interface designed for internet? All help is aprichiaited :) Attached Images  

View Article
Browsing all 1512 articles
Browse latest View live


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