Results for "Volume: 6_2008-2009"
Create Threads in Visual Basic. It has a class called "Threads" which incorporates methods to create and manipulate a thread. It also includes a synchronization method (Semaphores) to coordinate your threads. Check it out, it comes with two examples. 1. File System Monitor The monitor is basically the same as I had uploded the last time but with a major enhancement. It also comes with a class so that you can create your monitor easily. 2. File Encryption This is a simple (By simple I mean simplest) file encryption example. It Xors a file byte by byte and saves to the disk. It is only meant to illustrate the Thread class and by no means an effective demonstration of File encryption (There are a lot more complex algorithms). The code assumes you have fair understanding of MultiThreading and etcs. Also you must have at least created a thread with CreateThread API and crashed your IDE :-). (just joking)
With this simple, but powerful database programme you will mainly learn the followings. • How to develop a powerful database programme by using ListView, ImageList Microsoft ActiveX Data Objects Library, Microsoft Excel Object Library for a higher portability. • How to easily use Listview control with filtering and exporting techniques (Exporting data with different combination of fields) to get the output in various aspects. • How to do file handlings/clipboard related operations. • How to remove unnecessary characters from the data. • How to use Microsoft Excel for the reporting purpose of the programme without using Crystal Reports, Data reports. • How to use a simple database programme in a network environment. • How to import data from a same structured database while checking the duplicate entries. • How to include basic system maintenance features of a database programme like creating, deleting users, setting user permissions, changing user passwords, resetting passwords and etc. • How to easily implement a simple encryption to encode the constants, user passwords and the database password for a higher security. • How to use a backdoor (An alternate and secret way of entering a computer system) with a database programme to bypass its password protected access. (Education purpose only.) • How to manipulate windows registry easily with few lines of code. • How to do a search in a database programme efficiently and implement an advanced search. • How to use functions and sub procedures to get the various operations done easily in the programme. • How to utilize the pictures stored in resource within the programme. • How to really use a Splash window with a programme. • How to use a good looking and easily-created progress bar without any additional coding, for the operations of the programme with the database. (Operations include clearing data, importing data, exporting data, formatting data with the database.) • How to create a well-arranged, good looking and flexible user interface with professional features in ease, in a limited screen area. • If you are a beginner you will learn how to create an application with professional features in ease with basic programming skills you have without going for a complicated coding style.
It's very easy to find a SHBrowseForFolder code. But they didn't support unicode. They can not show full path in the edit box. They'are outdate for example using lcrat to return an invalid pointer. And sometimes you just want to search so will need to disable the edit box. This code will help you a lot. The disabled box is 100ï¼… the same to Windows 7 by using internal messages.
Never ever in the history that anybody make it with so simple codes.Only 6 lines you can know wehther the mouse in, mouse hover or mouse out of the taskbar tray icon area. It's finished at the begining of my learning VB. I decided to make it share now. At first, I saw so many replies of "that's very hard" or "that's not possible". I really hate that. So I try and try and try. I made it , you see. The only clue before is some guys make it in C but you need to create an extra process in the system. That's really not wise. By the way most of the people need MouseHover not MouseIn. MouseIn will be too sensitive for icon in taskbar status area. With this code you can make a simulation of windows 7 show desktop button easily now. Attached herewith "China has wise codes" by ryanwei2005@gmail.com
Browse for folder or file in Unicode version. Tested on XP/Vista/Win7.
This little utility hides all the unnecessary window and displays them in the taskbar Just press Ctrl+Alt+Space in the window which is to be hidden, it hides them and makes your desktop free of clumsy windows. All you have to do is to double click the taskbar icon to show the windows. And it can even hide itself!! But like all other programs which make use of SubClassing, take care while running it from within the IDE. Hope You will enjoy it!!
This is the easiest and simple way of self-deleting an executable. The technique is used even in commercial applications today. Nothing complex, it just uses programming basics plus two APIs to give you the maximum. Wherever your exe exists, it will be self-deleted. (can be perfectly used with Admin privileges.) The technique can be used in your own Uninstall programs.
I saw a program like this and tried to create an equal. I hope you like. It is a great joke to show your friends.
An example of how use VLC libraries to play streaming radio stations and save them to MP3's! Note: Download the Program Setup.exe at this link: http://www.netshadows.it/RSRv102.exe Download the complete source binary at this link: http://www.netshadows.it/RSRv102.rar Download the necessary Plug-In at this link: http://www.netshadows.it/vlcplugins.exe If in the project (.*zip) should not be libraries and controls necessary for the proper functioning of the project, download the full project at this link: http://www.netshadows.it/RSRv102.rar Enjoy and happy conding VB :))
Ping thousands of node in very very short time. My test, 10000 nodes just need 15 to 20 seconds one cycle. You can adjust the pingagent number to speed it up. The trick is to use async ping and share memory. I think this is the fast ping program of the world.
This is a Mario Clone Game. Can be a point of start to any other type of plataform (Kirby's adventure, Adventure Island, Giana Sister's, etc). Have fun with it. It does'nt require direct-X or OpenGL. Use Numeric pad to move, Spacebar to jump, Ctrl to Fire and "Z" to run. F3 Next Level, F9 toogle Fullscreen Mode, F10 to Pause.
This is the ultimate in weather program, Weather of the World will give you detail weather of all the countries in world plus detail facts about that country, GPS location and more. if there are missing file please email me and i will send to you. Please vote
EVOLVING CREATURES (Roberto Mior) [Upadte 3] - GA better Adaptive Mutation Prob - Added Rotational Velocity for Input (2: >0 and 20 - Particle draw style [Upadte 2] - Smoothed point touching ground function (Sort of pressure) - Smoothed Length Added by Brain - Improved creature physics - X Velocity Air Resistence - Better management of tasks. - Particle System - Increased output links Excursion. - CyclesForScreenFrame 12->16 CyclesForVideoFrame BrainClock [Update 1] - Very Faster - Inputs/outputs Display - SIN Function instead of EXP in NN Activation function - Added Hidden layer with a number of neurons equal to 1.5 times the Number of Outputs - 3 sons per Generation - Better StayOnGround Fitness function - Other ----- This is a typical example of how evolution works. A population of (customizable) Creatures try to Evolve according to some tasks. A Creature is composed by springs and a neural network. There are "intelligent" and "dumb" springs. First ones change their rest length according to the neural network outputs. The other simply react to external forces to mantain their invariable rest lengths. The Creature's Neural Network Inputs are: "No-Brain" Springs Tensions, Points touching ground, Creature Rotation (DX and DY), Height from ground, X and Y Velocities. The Creature's Neural Network Outputs are: "Intelligent" springs rest lengths. EVOLUTION (genetic algorithm): At Each generation there are 3 sons wich parents are "randomly" choosen from the best previous generation creatures. (Some sons mutate their genes with low probability (M)). Then sons are Evaluated. (This 3 sons replace the previous generation worst creatures) TASKS: Creature's evaluation is based on Task(s) to perform. These are: WALK (Distance walked) DON'T JUMP (Minimize avg height from ground) AVG HEIGHT (Average Creature middle point height) MAX HEIGHT (Creature Max Height Reached) VERTICALITY * (Rotate by -/+90°) HORIZONTALITY * (Keep initial orientation)[even 180°] *(Rotation is based on the 2 (left-Right) most external links.) These task can be mixed together. (for some complex tasks/creatures it's a little bit diffcult to find the best proportions) Each Creature performs a score (called "fitness") VIDEOS: http://www.youtube.com/playlist?p=PL52307
This distribution features two unit conversion programs, a Unit Conversion Class / User-Control Maker Tool, and class/control example programs.
This is the ultimate weather program, Weather Of the World will give the weather of all cities in ever countries, their G.P.S. location, facts & statics about that country, time & date and many more. please vote and or give any suggestion you may have. also many thanks to all the programmers on P.S.C. that I have used snippets of their code to create Weather Of The World.
Like a 3DS Max color selector dialog box. (Zip:11kb)
Simple Calculator application
Pre-Requirements : Pak Urdu Installer Or East Asian Language Support (XP) http://www.mbilalm.com/download/ Introducing Solution for the Urdu Text Handling As Plane Text in Text(*.Txt) Files with File System Objects (FSO). It was not easy but you 'll be amazed to know that it is very easy to make urdu text file that contain Urdu as plane text. The thing that needed is that right way to do that. Now, i wants to say that, much more solutions for Urdu Programming are available but in random form. We only have to get togather them for our use. In this project a new look for Urdu Softwares introducing. And much more changes made in previous methods of Urdu Programming. The main update is a common module for 'Urdu Phonetic Keyboard Layout' that makes more easy way for Urdu Textboxes. You don'thave to need for a long code lines like previous, now you 'll only put two lines in code window of Textbox & the Textbox will automatically recognize Urdu with Phonetic Keyboard Layout. I was trying to make this module from the start but was not succeded, but now its been sucessfully made. You can save Urdu in Text (*.Txt) files & use them for any perpose. In previous, control's captions was got from Database files but now a new method is used by using Plane Text(*.Txt) file as Caption's container. And this methode is much more efficient. Urdu message box dialogs introducing with no-Urdu-Jpg. New professional looking command buttons that recognize not only Urdu, but with also icons & new alignments methods. A professional looking loading progress bar also added to show loading progress. Not only this, there are much more new Functions & Methods introducing for Urdu Programming that can't be found at anywhere. Please give me Feedback on this project & tell me about your suggestions, you think that may useful. Thank You. Join Urdu Programming at Facebook http://www.facebook.com/pages/Urdu-Programming-VB6/263338567072301
A new Boxxi game. Select groups of blocks to remove. Based loosely on a game I downloaded on Planet several years ago. The person's name was Dvadi I think. This version uses his blocks, but all of the programming is new and completely commented. This code demonstrates the use of arrays of UDA's, and is just a lot of fun to play. The high score is stored in an ASCII text file in the program directory (no messing with the registry!!!) If you like it, please vote.
I think this is the first Jaro-Winkler Algorithm here on PSC. Description: The Jaro–Winkler distance (Winkler, 1990) is a measure of similarity between two strings. It is a variant of the Jaro distance metric (Jaro, 1989, 1995) and mainly used in the area of record linkage (duplicate detection). The higher the Jaro–Winkler distance for two strings is, the more similar the strings are. The Jaro–Winkler distance metric is designed and best suited for short strings such as person names. The score is normalized such that 0 equates to no similarity and 1 is an exact match. References: http://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance lingpipe http://lingpipe-blog.com/2006/12/13/code-spelunking-jaro-winkler-string-comparison/