Advertisement

Results for "Volume: 2002ASP"

2002ASP #815
Load JPG, GIF, or BMP from Byte Array

Load a Picture object from an array of bytes in memory. Can load any type of picture a normal picture box can load - GIF, JPG, or BMP. Doesn't require the intermediate 'saving of the byte array as a file on the hard drive' step, or an actual picturebox, to blit.

2002ASP #1346
Server Key Licence

Allow multiple users to use your app which is *licenced* from one server. Here's the deal: User wants to use 10 copies of your app. So rather than send them 10 individual keys, they get a copy of your server software to install on a server that all users can access. Now the user sends you their server UID (generated byt he program, is actually the users HDD Serial No.). You now create a key file for them for 10 users and send it back to them. They now copy this file in to their servers install directory and get 10 licences. 10 users can now connect and use your end application (any 10 with your application installed, but only 10 at a time. ie, installed on 20 machines, but only 10 at a time can use it!). Your users *cannot* use the same key file twice (to get double the amount of licences) as the key file uses a randomly generated number converted in to hex (encoded inside the actual file) to check that the same file with a different name is not trying to be used. Also, the user cannot run two copies of the server software on the same machine, as the software will only allow itself to be run as long as another application with the same name is not running.The key itself is encoded using the RC4 algorithm, then hidden inside a random generated string which is saved as the key file. RC4 encryption code from PSC, Server Control by Drew Lederman.

2002ASP #6618
Right Click Pop Up Menus, how to

This article discribes how to insert pop up menus. Both right and left click. As well as were the menu is displayed in relation to the mouse pointer

2002ASP #5304
Setting up a Systray App Properly with WinAPIs

This example shows a very simple very well documented sourcecode on how to create a systray application without the overhead of a class file filled with bugs using two simple WinAPI calls and three functions to further simplify those! I've seen several examples at PSC in VB on how to setup a systray application using a class file. I tried using that at first, but ran into the bug of NOT closing when my mouse moved away. Now I'm seeing fixes to the class file. This example shows that using the WinAPI's is easier cleaner and not as buggy as the Class File counterpart available at PSC

2002ASP #3500
As(s)embler Plus VB Picture Processing Fun

As(s)embler Plus VB Picture Processing Fun: by Robert Rayment. I like to have everything at my finger tips as the screen shot shows. If you prefer the minimalist approach see the excellent filter prog by Manuel Santos ( I have used a modification of a couple of his filters and have included his bitmap). Stephan Swertvaegher's picture handling prog is great for ideas and delicate changes to pictures ( I haven't seen Kevin Gadd's prog but which I believe is based on a dll written in C). The ripple effect is based on Didar ul Alam's prog. My prog has some of their features but also includes scrolling, shifting, rotation, zooming (plus anti-alias rotation and zooming), rectangle extraction, resizing and crazy mirrors. Looping is also included which can cycle through changes until stopped. All but a couple of things are duplicated in mcode. For some effects this is only included for completeness but has a dramatic effect on others. The programmer is usually the last person to find all the errors so - Constructive comments welcome. Win98. Zip file 63 KB.

2002ASP #3793
IRC TO RTF (Rich Text Format)

Converts IRC text to RTF and displays it in a RichText Box. Supports everything.

2002ASP #6697
MSN IM

This little code simulates an MSN Messenger IM Window. Choose an online user and click Set. Then start talking, right in the window!

2002ASP #5815
Writing Shells - pt1

The first of my tutorials on writting Shells (like explorer) in VB

2002ASP #5497
V2000 Window Control

This control, when dropped on a borderless form will size itself to that of the form, and wala you have a new window. The window has all the abilities of the normal windows, it can be maximized, minimized, and can be manually resized. Also has a nifty lost and got focus effect, like that seen in Visio 2000 Professional. If you like this please drop me a line and tell me, or if you want to see something in it that isn't and don't know how to do it then let me know and I'll try. Once you load the control, click on the (Custom) property to see how to set up the form focus effect (only 2 lines) ***Update 1 11/21/01*** I found a temporary solution to the Focus effects problem but I'm still looking for a better method, check the control out and let me know if you know of a way to solve this is like api or something. ***Update 2 11/21/01*** FORM FOCUS EVENT PROBLEM FIXED, COMPLETELY FUCTIONAL NOW.... This control now uses SmartSubClass from www.vbsmart.com, you must have it in order to use this control, but its worth it, they also have some other sweet free controls..

2002ASP #6687
Amazing Code

Speed deprivation at its best

2002ASP #5638
Quick Reg OCX control

Have you ever wanted to have your project set up to have people have to register with you to unlock certain parts of the project. Well, i have made a simple to use control just for this purpose. Just slap this control onto a form, set a few values, and you will be able to generate custom keys depending on the name of the users computer, or a serial number. You can also use a combonation of these to make a harder to crack key. What the code does is, if the setting is set to ComputerName, it finds out the name of the computer, goes through my alogorithim, and makes a key for that name. When the use puts that key into a text box or something, you can call my control to see if that key is correct. The control will respond with a boolean value, if the key is correct, it will be true, but if the control determines the key to not be right, it will reject the key with a false value. This code is heavily commented (prolly more comments then code), but the code is effectivly explained (well in my eyes it is), and will show you how to set this up. Also included in this visual basic group, is a sampel program giving the basics on how to use the control. This is only version 1.0, i plan on updateing it with more features in the future, maybe something along the lines of add a demo-time limit function to it, where it will only allow the user to use a program for a specified amount of time. Feel free to use this code in your own programs, but if you just copy/paste it from here, i would apprieciate some credit. :D. If you have any questions/comments/or anything else, post here, or email me at theendorbunker@home.com. Last, if you use this, and if you want, place a vote on this project. Thanks for reading, and i hope you enjoy this program.

2002ASP #6610
Make C/C++ DLL and access it with VB Reference Option - Tutorial & SampleCode

This TUTORIAL and Sample Code shows and describes how u can easy create a C/C++ Library.dll File and load it with VB References Option! ... u dont need the ugly Declare Lib Statements and its really easy to make (no MFC.dll or unreadable Microsoft C++ Code). Make the DLL, load it with VB Reference Option and see ur C++Functions in VB Object Browser with ur own made Descriptions to it. I also added a .rtf (Wordpad) Tutorial how u create the DLL ... Have fun with it, and if u like it, plz Vote for me :)

2002ASP #1717
DM Uninstall Std

Hi fellow programmers this is a small Program i made to unstall programs from windows at the moment it's only been tested on Windows 2000 but i will be doing a update for other ver's soon. The reson i made this code I don't know if anyone else finds this problum but the Windows Add/Remove program seem to take it time to load on Win2k real bottle net style. anyway if you like this code please vote.

2002ASP #3937
Matthew's Project Explorer

Explores a VB project and displays the number of lines of code per object

2002ASP #6703
Rebuilding the windows icon cache

If you have ever written a program that creates file associations, and has changed the icon associated with these files then this may be of interest. This will tell you how to rebuild the icon cache at runtime, and so display these icons without restarting. I decided to submit this when i tried to find some information on it my self, it took many days of searching to find some very very criptic information on the subject, so i have simplified this and put it up here for you :).

2002ASP #1490
_Image Viewer

A great application for viewing entire folders of images. No limit to the number of images in the folder. Much better than a thumbnail viewer, this program shows each image at full size in a tab style design. Add and delete tabs for quick reference between images. This code also demonstrates the use of system ImageLists in a ListView. Features OLE drag and drop from Explorer. As an added bonus this application comes with the KRScroll scroll bar OCX (Sorry, no source code for the Kath-Rock KRScroll, but you can use it in your own apps, no license required. Note: Enough good votes may get you the KRScroll code next). Please view the ReadMe.txt file before opening the code in VB. ***** UPDATE ***** Planet Source Code removed the KRScroll.ocx from the zip file. Please go to Kath-Rock.com to download the entire project with the ocx.

2002ASP #1343
Sticky Notes

This program, which loads in to the system tray, allows you to put 'post-it notes' on your desktop to remind you about stuff you have got to do. Features a date/time function for a Sticky Note to pop up and remind you what you wrote in it. Can be minimised and hidden, or minimised to the task bar depending on what you select. I use this program because I can never find enough space for more post-it notes as my screen becomes surrounded by yellow paper! :o)

2002ASP #4922
_NIS Updater - Reads INI To Tree View!!!!

This code does a lot. It has a function to read INI files. Then puts the information into a tree view! Its flexible, so it can have 99 or 2000 things in the tree view with out chaning the code. Once (None) is placed, it stops. Awesome!

2002ASP #5494
_Store data in the Registry_

beginner example of saving and reading data from the registry. made from a module i found on PSC.

2002ASP #6712
Cool Text Scroller

For those of you who want the source code to make a text scroller exactly like the one in the subseven defcon edition then download this. Commented some for beginners. If you do download this, vote for me.

Languages
Top Categories
Global Discovery