Results for "Volume: 7_2009-2012"
I spent a valuable time and hard work to collect and combine these great 32 VB techniques. Lovely package. Vote if you like it.
Demonstrates how to talk to the Skype API to develop application using Skype. The communication uses the windows messaging subsystem. You need to have Skype loaded. The same sample is available in C#.
!! UPDATED and IMPROVED !! Now uses a dynamic array and increment control for more efficient stack resizing. The sky's the limit (or system memory, whichever comes first). Implements a Stack class ("last on, first off" principle) that accepts different data types. GUI demonstrates how to use this class. Please rate this code!
Just a humorous depiction of what the beginning of the universe just might have been like, had God been using a computer at the time. Thanks to http://accessnewage.com/articles/humor/humor4.htm for the original "manuscript" and http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=448&lngWId=1 for the audio code.
Multiplayer Boggle ==> An attempt to create a multiplayer version of the popular game Boggle to play with my friends online. ----- Features include: -Ability to customize almost every aspect of the round (eg Time of each round, interval timing, minimum word length, etc.) -A plethora of awards (eg Champion medal, Caterpillar word award, Treasure hunter award, Detective award, etc.) to be awarded to outstanding players every round! -Custom coded Depth First Search to find if word entered exists in board -Top 50 words of each round displayed after each round -In-game Dictionary to display dictionary entry of any of the top 50 words. Just click on the word in the listbox and an explanation will pop up. -Interesting End-round statistics shown (eg % of total words found, typing speed, words found by each player, etc.) -Dynamic in-game chat -A short help tab to explain to beginners how to play this game by Hasbro, as well as to display the awards that could be won -Gigantic internationally recognized lexicon of words (Enable2k) for nearly every valid word in the dictionary to be recognized by the game. -Up to 1000 players supported! (If you can find that many) Useful for programmers attempting to learn tcp network code. Coded in 3 days in VB 6.0. Please leave constructive comments and report any bugs encountered. Suggestions are also very welcome. Thanks! ***P.S. Read the readme.txt file before compiling!
Makes a "Trekkie" looking form by simply dropping the control on the form. Very light-weight, not a ton of features, but a very nice effect. There are two versions, one is a form that has all the code written into it, the other is a form utilizing the cool form control as an example of how much cleaner a project is when things like this are compartmentalized.
(Added .Sort method) A purely graphical replacement/enhancement for the VB single-column listbox control. Standard vertical listbox behavior is consistently emulated, with the exception of a couple intricacies of list item selection in .MultiSelect = Extended mode. Control features an integrated graphical vertical scrollbar. Custom .FindIndex and .MouseOverIndex methods. Background can be a gradient or bitmap. Small bitmaps can be tiled or stretched to fit the display area. Each listitem can have an associated icon displayed next to it. Eight gradient color schemes can be selected via the .Theme property. Unicode display supported. Drag and drop capability incorporated. Numeric list sorting option. .DisplayFrom method allows you to display any part of the list through code. .RightToLeft allows smooth, natural operation for those whose written language goes from right to left. Loads lists several times faster than traditional VB listbox, depending on your system. Due to size of control, this is best used as a compiled .OCX. As always, constructive feedback welcome, votes appreciated.
With this BigNumLib (big numbers library) you can do everything around large numbers (as strings): standard operations: add, substract, divide, multiply, power, mod, powermod boolean operations: and, or, not, xor, shl, shr, inc, dec convert bases: from 2-64 to 2-64 (more than usual BigDecToHex or BigHexToDec) And that all in a (for VB) short time! Update: Now the code is up to 60% faster than before!!!
This is a small example that shows how to upload files to a web server through HTTP Post using Winsock API, this is as low level and as dependency-free as you can get. It also includes an HTTP header class that makes it easy to add fields or files to be sent. You can use the included ASP upload script to test the program.
Nothing special. An example on how to extract a portion of an image or DC into a DIB Section. The project basically is gray scaling, but the guts of the project can be used for most image byte processing. I wanted a way to extract only a small piece (16x16) of a large bitmap, but didn't want to extract the entire bitmap into an array. Also, I needed to be able to update only that small section (16x16) in the appropriate location. This sample project shows how I plan on doing it & thought it might be of use to some of you too. The routines, by using DIB Sections, are extremely fast, regardless of the size of the target. Tweaked just a bit: 3 Oct/15:00 est
This user control allows ease of use in making a shaped form or even transparent controls like buttons and picture box’s. Just drag the control onto your form and select the mask color properties to select the color that will become transparent. Very simple to use, a single control and 0 lines of code in your forms.
XPStyle by Resoucre RES. Using XML mainfest
this code displays 2-dimensional gravitating metadiscs. you can choose between 3 different display modes. also this code is an example for black/white-dithering sorry, i haven't found an effective optimization yet
Due to some sort of misunderstanding this got removed last time, so here it is again... We all know, VB is full of automation. Every object, every array, every string. But VB does an excellent job in hiding all this from us. Here are 3 projects: 1) create any interfaces without type libs 2) show/manipulate safearrays, create any 1D arrays from pointers 3) the interesting ITypeInfo, which will let you enumerate all memebers of an object/interface (that's roughly what TLBINF32.dll does)
Add captions to your pictures.Can save as bitmap or jpeg.Uses cJpeg class for saving jpegs.I hope you will try it and see if you like it.I've updated ,so now you can delete captions as well.Made a few other small changes also.
A Very Fun Lunar Lander Game!!! In this game you have to delicately move your UFO through the maze of 8 different levels!!! Works great. Uses bitblt so no flickering. Level code is very simple and it is very easy and fun to make new levels. Doesn’t use Direct X in any way.
This is an advanced, single file'd, ownerdraw toolbar with, XPstyle/Normal HoverEffect, Custom ToolTips with balloon style and icons, Unicode support, fully customizable Gradient effects, Tiled background and many more... It is stylish, customizable and easy to use. The control does not use any property pages for item manipulation! All the opeartions can be done directly from the vb's property window. I think it is a well packed control with the most powerful routines. Chek this first release (may contain bugs)... and give me ur valuable feedbacks and comments!!! Jim Jose :-))
Handeling Errors, Exceptions and warnings is an undervalued part of programming. If you do it well, it could make your debugging life much easier. Debugging is not only about finding errors at compile time, its also about finding errors after you program has been realeased. Adding code for handeling Errors, Exceptions and Warnings should be: 1. Easy = Just add a dll, add 2 lines to install and uninstall, Add 4 lines of code to each sub 2. Generic = Handle all errors in the same way. 3. Tracable = You do not need an error stack. Just let the error float up in the procedure tree while adding information in each step. 4. Locatable = Use line numbers. The only disadvantage is that it will add 10% to your .exe file size. I find it strange that so litle source code uses line numbers. That is probably because it reminds people to much ot the old Basic versions. 5. Robust = Even handle GPF exceptions. (They are getting rare aren't they) /\/\/\ /\/\/\ /\/\/\ /\/\/\ /\/\/\ /\/\/\ /\/\/\ /\/\/\ Credits: Large parts of the Exception hanler is from a publication by Thushan Fernando. See: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=41471&lngWId=1 Tip: For adding (and removing) Line numbers I use the tool from Anthony Ciccolini . See: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=49876&lngWId=1 Of course lots of people will prefer something like MX Tools but I like to be in control and be able to change the behaviour. /\/\/\ /\/\/\ /\/\/\ /\/\/\ /\/\/\ /\/\/\ /\/\/\ /\/\/\ I just converted all my code to open source. This is the first in a series of 15 publications.
This is a module with one function that will give you some more functionality than what you can do with the App.LogEvent method in VB6. 1. You will be able to specify the EventLog (Application, Security or System) 2. You are able to specify the Source (Your own Application identifier instead of the VBRuntime) This module is also used in the ExeptionHandler dll. that is posted earlier today.
HeadLines Today sits in the system tray and pops up a Ballon tooltip every time it finds a News Headline from India & around the world. Clicking on the System tray icon displays the headline in the Titlebar. It keeps you updated of whats happening around the world while you are working on your PC.