Advertisement

Results for "Volume: 3_2004-2005"

3_2004-2005 #137325
Rs-Thumbnail-list-control

*********************** Rs-Thumbnail-list-control ************************ Purpose: Thumbnail view from a list of pictures files in certain directory. Very simular to the welknown program "ACDSee". The creation of a webpage(s) Master(index with thumbs)- Detail(full picture size), with links to the next or previous page. Rs-Thumbnaillist control is not compiled to ActiveX control(OCX). You can use this control in the controls "private mode" directly into your own project. However.... as you know the control can be set to the "Public mode" compiled to an "OCX". I prefer embedded controls without dependencies to a lot of rubbish in the system directory. In my case just the standard vbruntime modules will be enough to run the program with advanced possibility's in itself. "Rs-Thumbnaillist control" is a very robust control control with a lot of options. It can handle a huge amount of pictures.... how ever... keep in mind that the every thing is working in VB and not c++. - Resizable thumbnails 10x10 to 300x300 pixels. - Preset and manual color scemes. - Possibility to Generate Html output. - Custom style sheets(Css) - Created Thumbnails in html files in 'Jpg' format. - - Low use of System resources

3_2004-2005 #137326
Image Handling In A Database

This article shows how to store and retrieve images from a database in a fairly simple way.

3_2004-2005 #137327
A new Genetic Algorithm (with example) - Works brilliantly - Update

A new Genetic Algorithm (with example) - Works brilliantly - Update Here comes the Genetic Algorithm library which is little different from other algorithms. First, it uses real values instead of binary ones. Second, there is very little problem specific code needs to be typed. Third,unlike other algorithms either new offspring will replace the bad ones or mutation occurs in all the bad ones. You only have to do 4 things 1. Build population using buildpop sub. 2. Call Evolve method. 3. Build a sub which will evaluate fitness. 4. Build a sub which is called when solution is found. The example consists of - library(GAMod), Module(UsrMod) and Form(frmGA) The purpose of this example is to take a number and resolves it into form like v^2+w^2+x^2+y^2+z^2, where v, w, x, y and z are between 0 and 9. Changes: 1. A little more nice GUI 2. A progress graph 3. Information about best and worst chromosomes so far 4. Information about the process from which a specified chromosome is made 5. And most important: change in algorithm Note: The module is customised a litlle bit. The non customised module is in directory "GA_NonCustomised", which you can use in your applications. It may be having bugs. Solve complex problems with this algorithm. And have fun. Please VOTE! and COMMENTS are appreciated Made By Paras Chopra CEO, NaramCheez http://naramcheez.netfirms.com [email protected] P.S.:If you want a tutorial on GA please tell me. I can write one.

3_2004-2005 #137328
Prepend PE(VB) to a PE file w/o damage to the original PE

I made this project after reading a paper about asm. they were talking about how programers were amazzed to find out that a program will still run even when appended by another. then they took it to the next step, prepending an still getting it to work. then an even greater step, filling the programs white space up with code and running the program + the code that filled the white space without any errors. i got it to work in asm and wondered if there was any way to get any kind of prepend, append, or white space fill effect in a vb writen app. all i got was the prepend. append only worked if i knew what compiler made the program (masm hehehe, not vb6 or vc++...sorry lads).

3_2004-2005 #137329
Brad's Winsock Chat Tutorial

Simple Winsock Tutorial...Commented and EASY to understand

3_2004-2005 #137330
Dancing Lines... in 3D?

Yet another VB graphics submission, but this time it's totally different. Using a few randomly picked combinations of trigonometric operators, one can give the impression of 3D lines rotating around points in the screen. Just download this, and then try swapping some Sines and Cosines in the code, and see what it does!

3_2004-2005 #137331
Create functions with a variable amount of parameters

Explains how to create a function that will accept a varying amount of parameters

3_2004-2005 #137332
Get Drive Geometry and Lock Drives

This code can retrieve the Disk Geometry (hard disks) of each disk present in your system. It uses the DeviceIoControl API to do the Job. Well, one more thing which this code can do is to Lock any removable drive. Like lock the CDROM and you will not be able to eject the CDROM door. motto : be angry with theAngrycodeR

3_2004-2005 #137333
A L@@K! : Disabling CTRL + ALT + DELETE on Windows XP, NT and 2000! (using the registry)

***Disabling CTRL-ALT-DELETE on Windows NT, Windows 2000, and Windows XP*** There is an undocumented way to disable the Ctrl Alt Del key sequence on Windows NT/2000/XP using the registry. The key, 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon : AutoAdminLogon (REG_SZ)' has only two legal values, according to Microsoft: "0" and "1". 0 disables automatic logon of the account stored, and 1 enables it. The strange thing is that if you set the key to "2"...

3_2004-2005 #137334
Creating An EASY Right-Click Menu!!

This code is very easy to understand. It will show you how to create a right-click menu for your app.. I could of made it more into detail but i wanted to be simple... You may use this code inny of your programs.. please vote..

3_2004-2005 #134506
StarShip Fighter v1.0

On PSC I saw this stragety game so I wanted to make my own. I did make one and I also think that it is pretty good. There is kinda of a help file and you can read the Meanings.txt if you need further help. I could go on and on about my game, but I think it is better if you play it then just read about it. Please leave comments and votes. Have fun and thanks in Advance.

3_2004-2005 #137335
Recipe

This is just a relative simple database program for storing of food recipe's. I have included approximately 1050 recipe's with the source code, unfortunately I had to remove all the recipe pictures, as I got a 25 MB database with pictures. This source code is yours for the keeping, and you are free to use it as you wish. Please do not bother to vote - but I would very much appreciate any feedback. Have a nice day.

3_2004-2005 #136591
System Icon List

A simple class that accepts a filename or folder and grabs the system icons (large & small) and stores them internally for use by picture, listview, treeview. Provides a roster of all icons it currently has stored. Duplicates are automatically removed. Uses API (SHFILEINFO, WIN32_FIND_DATA, OleCreatePictureIndirect)

3_2004-2005 #136592
MSGBOX Maker Example

This is a complete application that generates the vb syntax for a msgbox code for you.

3_2004-2005 #136593
Input Box Maker Example

This is a complete application that will generate the vb syntax for inputbox code for you. Similar to my submission for msgbox maker example.

3_2004-2005 #136594
Mouse Spy Example

This is a Mouse Spy Example. It will get the current X and Y values of your mouse cursor. It has a feature where you can stop the timer by pressing enter and copy the values to the clipboard.

3_2004-2005 #136595
Add Icon To Systray ***With Graphical Popup Menu!!!**

Wanna impress your users? This example shows how to add an icon to the systray, and then have a graphic popupmenu when you click on it! Not like those lame systray examples that just have a boring popup menu, this example uses a whole other form! You can put whatever you want in it; pictures, command buttons, labels, animations, anything!

3_2004-2005 #136596
Lights Out Game

I was playing the handheld game by Tiger and decided to make this. Its got a nice interface and simple code... Please send me some feedback

3_2004-2005 #136597
Get All Folders (and files) in a directory

Get all the folders (and files) in a given directory. Very simple, and easy to use code. Just copy and paste into your own program.

3_2004-2005 #136598
Replacent Frame Control for XP

Note: If you don't have XP then this is of no use. A simple replacement frame control. Since the release of Windows XP, VB developers have been plagued with those trusted old standard controls misbehaving themselves. One of the most common problems being with the Frame control. When you place certain controls in a frame control, such as buttons and option boxes, they are drawn with incorrect masking when Visual styles are in use. If you place a frame control inside a frame control then the label of the frame control becomes transparent (you can see the etched edge behind the caption) and is incorrectly sized resulting in an incomplete caption. In addition to these problems, the frame control will flicker during redraw events. You can fix the frames incorrect masking by adding a picturebox to the frame control and using this as the cointainer, but because there is an extra window, it will result in making the flicker worse. There is a fix to cure the flicker through API, using SetWindowLong with the WS_EX_COMPOSITED style, but I found that caused problems with scrollbars. After a lot of messing about I decided to write my own Frame Control. It has been based on the standard frame control and there are a few minor bugs, but all in all I think it does a better job in XP than the standard control. The code is fairly simple and the Test project contains a Manifest Resource which will compile into the exe. I have not seen a Manifest in any example code and have not seen any explanation on how to create one, so perhaps this example should have been dedicated to that. I spent a few days messing around with Manifest Files until I found the solution to successfully creating Manifest Res files, but I am keeping that secret for now :( (hint: Padding) thats as much as i'm saying. I am sure that some of you will borrow the Manifest resource for your own apps (I'll be watching). You may notice the redundant ImageList control. This is an essential part of the control even though it appears to do nothing. If you don't believe me, compile the control with it and make an executable with the control. Run the compiled exe and close. Next build the same control without the Imagelist and re run your compiled exe. What's that? Runs fine you say. Well what happens when you close it? If all was well then you were probably not running XP or if you were then you have found some fix that I know nothing about.------------------------------------------- Bug Fix 21 January 2003:------------------------- Accelerator Key support added.

Languages
Top Categories
Global Discovery