Results for "Volume: Java_Volume1"
This program show how to combine two picture into one picture using alpha blend. This is actually an update version of my last time project. It is now support Window 98 or later. You can also combine and let it fade. Easy to understand with well explanation! Any vote or comment is welcome!
this is a small part of a bigger project im working on. this is a login to yahoo that uses http to send the ymsg packets. its use in yahoo is for loggin into yahoo behind firewall software, routers or other security software that prevents a TCP connection to yahoo. this type of communication to yahoo supports most of the YMSG packets a normal TCP connection to yahoo would. i will update this code one day, but i woould like to share a small part of it with you all NOTE: it uses a login encryption dll it can be downloaded from http://www.geocities.com/httpymsg/ymsg12crypt.zip please vote :P
Nice Transparent Analog Clock.
This is a very simple particle effect. First off, let me say that I agree that it doesn't look all that neat. I would need to create a set of few particles sprites to display with BitBlt instead of declaring a colour palette and using it to draw pixels with SetPixel, but I'm not a good graphist (well, I am, as good as I am a programmer!) and I'm a bit lazy as well :) Anyway, few APIs, no controls, backbuffering, the usual stuff. The particle aims for the mouse cursor, but it should be very easy to modify, that is why comments are not as dense as I use to make them, it's very simple, really. Oh, since this is very simple, you will notice the use of GetTickCount in a loop to release as much CPU as possible. On this PC, it takes virtually no CPU resources. Oh, and I included a background, you can use whatever pic, it was just to demonstrate that I'm genuinely using a backbuffer and not cheating by painting black pixels between loops :)
Hello again people :) As you understand and see on the screenshot, this is an attempt at a smoke effect. I won't try to tell you that I spent hours on that since it's heavily based on my fire effect. Differences are the much simpler grayscale palette, the fact that smoke do not cool down (so pixel colour is not decreased), and that's about it :) Code fully commented again, which will highlight the few differences with the fire effect if you downloaded it. I have to say it looks ok, but it doesn't look all that great. The fact that pixels colour is computed based on neighbours works well with fire, but gives smoke a look a bit too smooth in my humble opinion. Anyway, I finished it (I mean, I'm not going to take it any further), so I make it available here. Enjoy if you can, gals and guys!
Its cool stuff enables to beginners for initiating MSWORD Programming... with VisualBasic.. It is extracted from "MSWord2000 VisualBasic Programming", MicrosoftPress...
Two functions: One to turn an ASCII string into a HEX string, and one to turn a HEX string into an ASCII string.
Functions to get the Windows Directory, System Directory, Temp Directory, and User Directory.
This code seeks from the end of a byte array trying to find a matching text. Why? Well, handling byte arrays is much faster than handling strings. So, if you needed to parse data real fast and a lot, it would be benefical to do it using a byte array instead of a string. My starting point to this was rather simple: do the search faster than InStr and InStrRev. Beating the latter was easy: InStrRev isn't of the fastest build-in functions in VB. With InStr I had to taste half of a defeat: it just is superb when it can search in BinaryCompare. But, what if we wanted to do TextCompare? Well, there InBArr and InBArrRev beat real badly both InStr and InStrRev! Anyways, I hope somebody finds this submission helpful. I'm sorry I didn't comment the code as well as I could/should have, but I hope it doesn't matter as the code should be rather flawless on what it does :) Comments and votes welcome, as always!
Popmenu for beginners, shows great example of how to implement a popup menu into your program, from this example you should be able to add popup menus to which ever control you wish, hope this provides use to sombody.
Get a list of a files dependencies. For example, calling ListDependencies "C:\WINDOWS\SYSTEM32\MSVBVM60.DLL", results in "KERNEL32.dll USER32.dll GDI32.dll ADVAPI32.dll ole32.dll OLEAUT32.dll".
This function change the CommandButton style to a BS_GROUPBOX to transform it like a Frame control! This solve many problems (bad drawning controls, flickering, etc.).
This is a very small piece of code that produces a farely effective pane splitter. It is also a useful demonstracion of the SetCapture, ReleaseCapture events, and capturing mouse movement beyond the edge of an object.
Hello, This Msn Bot Example Runs On The Msn Protocol 9 And Allows Users To Interact And Play With It. It Is Run On Commands, Such as If a user types !menu, The Bot Will Respond As What you coded him to respond. Fairly Straight Forward, Easy To Learn, And Will Have Users Playing With Him In No Time. The Other Users Dont Need No Special Software At All, They Only Have To Add The Bot To Their Msn Messenger List, And They Can Talk To It. To Make Your Bot, Edit The " Bot.bas " Module And Type In Your Bots Email And Password. I Have Gone Over the code and checked for bugs and found none. If you have any questions Or problems with the bot, feel free to write your questions in the comments section, and i will try and get back to you A.S.A.P, And Dont forget to rate and comment this code, as i have spent hours of hard work bringing this great project to you.
*Updated* .. Fix: I fixed the bug that caused the program to crash when you removed the last song from the playlist with mnuRemove. .. Fix: I fixed one minor bug that disabled cmdSave and cmdClear even if it was songs in the playlist. .. *Updated* .. *Updated 2* I added lots of stuff, i´ve refine the designe some, not much. I have fixed som bugs, and I´ve added i Play Fast Forward/Backward kind athing =) I hope u like it and please leave comments *Updated 2* .. This small mp3 player has support for Save and Load Playlist, Drag and Drop, Computer Uptime etc etc.This mp3 player was made to take no place at all, u can minimize it to the system tray and still do everything. Please leave a comment if u downloaded the code and are happy about it and realy if yuor not, I want to know
Example VB Add-In toolbar, with one button which when pressed displays the project name. ~40 lines of code. Intended to provide a simple framework on which you can build your own Add-In toolbar. Includes prjAddinList (demonstrates how to add the add-in to the vb add-in list).
List all process and TCPIP used / open ports with a killing process and list dependencies files for process. Right click on a process to kill or list dependencies... This is a LUPRIX's code evolution / modification. Thanks to LUPRIX and SNYTAX for the dependencies file's code.
hello all, This is a project I made about 3 hours ago. that is a self extractor and Creator. Yer I know it done in VB and requires Runtimes. but if you just want to install small files like screen savers and you know your users have runtimes it should be ok. anyway please read the information in the creator file. I also commented 98% of all the code. Hope you like it. Hope you like the code please vote.
UPDATED To allow the user to resize a control at run-time with the mouse. All API, short code, just set it and forget it. Useful for picture boxes, report designers, etc. No high overhead.
Get a REG_SZ (string) registry value from the full key name, such as "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX". Functions for both default and named values.