[VB6, Vista+] Code snippet: KnownFolders made easy with IKnownFolderManager
Using the KnownFolderManager Object oleexp 2.0 includes the IKnownFolderManager and IKnownFolder interfaces. If plan on doing any work with the Known Folders that replaced CSIDL Special Locations and...
View Article[VB6] Color Management and VB6 How-Tos
The intent of this thread is to explain how color management can be used in VB6. There may be code samples included in some posts and/or links where code samples can be found. This thread will be...
View ArticleAlgorithm - Detect Alpha Usage and Type From Pixel Data
For those of us that use GDI+, we know that it has a major issue loading bitmaps that contain alpha data. Maybe not a major concern, because GDI basically ignores the alpha channel in most every...
View ArticleM2000 now can handle Word
After two days I found a way to call methods with named arguments. The problem was in typelib "IDispatch Interface - Eduardo Morcillo" So I use the ole/com object user to extract the idl file. Code:...
View ArticleWindows 7 compatibility mode
I notice that when I use in vb6 program (M2000.exe) combatibility mode (anyone, including Wimdows 7 in a Widnows 7 system) the speed droped. We need 3.5 more time to do the same loop. I am thinking...
View Articledm Simple VM
hi, This is my little Toy VM I try to made tonight it a little basic at the moment since it my first real try at something like this. I try and add more stuff as I go along anyway hope you like the...
View Article[VB6] IPreviewHandler: Show non-image file previews from any reg'd preview...
IPreviewHandler Example Many file types have registered preview handlers, not just images. Typically documents, videos, fonts, music, even registry files, all have a preview handler that you can put on...
View ArticleVB6 - TLSCrypto Using CNG
The attached programs are the culmination of my efforts to update my cryptography Class to use Cryptography Next Generation (CNG) from Microsoft. It is by no means the final version, as it simply...
View ArticleVB6 - ResDecomp Class Decompiles RES Files
ResDecomp This class reads a .RES (Resource) file as created by Visual Basic 6.0 or resource compilers such as RC.EXE and extracts resources. This version decompiles RT_STRING resource StringTable data...
View ArticleUnicode Full Controls (UFC)
http://unicode-full-controls.dqh.vn (Translated version) Here is an alternative to Krool's Common Controls Replacement Project. Download it by going on the original site and scrolling to the bottom of...
View ArticleAdvance Scrolliodo with Jpg encoder class
I found a very nice encoder class for jpeg saving. ScrollioDo was first a nice simple scroller but without a DIB under, so this one has a DIB and only the Viewport extracted each time we scroll. In...
View Articlewinsock Acknowledgment control needed
hello... here is the problem with winsock.ocx: Host A ---- GET message -----> Host B ------ GET Message ------> INTERNET Host A <---- Response ----- Host B <------ Response ------ INTERNET...
View ArticleIE Object - Get webpages text
Hello I have a question still new to vb i use a hidden web browser control on a form to get a webpages text is there a simpler way to do this in visual basic without having to create the control itself...
View ArticleTempest Test for Windows
First a bit of background on the subject: Tempest is the concept of being able to retrieve usable information about what data is being processed by a computer or other electronic device, entirely from...
View Article[VB6] Direct3D9.
Hello everyone. In the archive contains a type library "DirectX 9 for Visual Basic 6.0 type library by The trick" (dx9vb.tlb) contains a description of the following interfaces:...
View Article[VB6] DirectSound.
With Direct3D9 I did the type library and module support functions for DirectSound. The archive contains a type library dsvb.tlb and module DS_Functions.bas. In the future, I add a class module to...
View ArticleVB6 - 2D DCT & IDCT - Separable Discrete Cosine Transform (Any Size)
After may attempts I succeed on coding separable 2D DCT IDCT (II) of any size rectangular window. Here is the Code: Code: Private Function alpha(value As Long) As Double If value = 0 Then...
View ArticleSimple 3-Way Splitter
This is a very simple 3-way splitter project. It uses the Form instead of Pictureboxes as the splitter bars. Any thoughts about improving it are welcomed Attached Files 3-Way Splitter.zip (3.2 KB)
View ArticleCustom GDI+ PNG Writer v2.0
Completely revamped, comments below reflect the new version. Backup your previous version if you still want it. If you use GDI+ to write PNGs, one of the shortcomings is that many...
View Article[Vista+] Code Snippet: Get and set the Rating (stars) of a file
In Explorer, things like Pictures and some other types have a 'Rating' property category that shows a 0-5 star rating. You can get and set this rating programmatically, and this also provides a basis...
View Article