Advertisement

Results for "Author: mike canejo"

2002ASP #256
WIN Functions

This is basically for all you prankers out there that want to scare your friends or play jokes on them..In this project I made a Module with Functions that will do many things to your Windows, but never harm it in anyway. Like: Hide/Show or Destroy the Windows ToolBar, Taskbar, Clock, Start Button, Icons in the Systray and more. It also lets you Reboot the Users computer, Restart it, Log Off the windows, and Force programs to close if they don't respond. I also made a Function that will make your Form black and cover the whole screen. Well that may seem simple but If the program is hidden from the Close Dialog box and the Control Alt Delete buttons are Disabled and the TaskBar and Toolbar is Hidden plus if the Form is OnTop of everytihng.. It will definatly scare or drive your friends crazy trying to close the program. On top of that, try to even figure out what happened? You could even put a message on the form saying "Virus Uploaded" or some lame junk like that :) To demonstrate these Functions I put together a "Enter Password" form that will do one or more or all of the Above if the user enters the password wrong 3 times.

2002ASP #257
Mike's VirtualListbox!

The reason i wrote this class and project demo was because the vb listbox control is a great, fast and easy way of storing large amounts of information in memory and then being able to retreive that info after from an organized list w/indexed items etc. But.. What you will see in this class is the exact same thing as the vb listbox control except for the activex control interface of course (not a bad idea if you wanted to make one with this class). I also wrote functions in this class that arent included within the vb listbox control, such as RemoveDuplicates, ResizeList, RemoveItemByString, and FindItem. This class is faster than vbs listbox because the vb listbox is a memory hog (when it's listcount is in the thousands) because of the graphic routines and cause of this its slow as well. Im only saying this based on using the vb listbox control for just storing information and then retrieving it after, Im not saying the control in general, its great for use in programs, but if all your using it for is to store info, like i said earlier, then this is a better substitute since it's just code based. The great part about this is you can just keep adding functions and your own routines or modify mine to your own liking. What you can learn from this class is the following: (1) How to use and create property functions in classes such as Property Get or Property Let. (2) How to use arrays and their features in vb, such as UBound and LBound, redeclaring arrays, and how to preserve them as well. This is a great class and i hope if you havnt voted for this yet on planetsourcecode.com, then please do if you find this a good replacement for storing information or just in general rather the vbs sluggish listbox control, Heck, all this needs is a activex control added and it would be a new listbox control ;]

2002ASP #258
Make your own CD-Player!

Fixed it! This is the source that will let you make your own CD Player! It uses the Media Control Interface (MCI) via API to play a audio cd. [NOTE: For this class to work on a form you must reference the class eg. (Set Snd = New CDAudio. I already have prepared it in the included zip.)

2002ASP #259
Move Form without a Title Bar!

This code will allow you to move your Forms without even having to have a Title Bar! So this means if you choose to make your Form's BroderStyle 0-None, which means no TitleBar, you will still be able to move the form with this code! You can do multiple things with this code also like: Clicking on the form and dragging to move the form, clicking on a Label and dragging it to move the form, clicking on a CommandButton and dragging it to move the form and so on if you get the picture :-) This code is very useful and cool if your sick of that dumb old BlueBar on the top of your form and want to make your own cool TitleBars and Borders and anything else that you put your mind to!

2002ASP #260
Picture Commands

This includes the source code for Rotating a Picture 45 Degrees, Flipping a Picture Horizontally, and Flipping a Picture Vertically! Very usefull if your working on your own picture editing program. Questions: mikecanejo@Hotmail.com

2002ASP #261
Mike's File Merger (Version 2)

BUG: It put a extra byte at the end of the merge due to a mis-calculation, fixed it!! This is Version 2 from my last file merging submission which shelled 'copy' file commands to DOS which merged the files. Well as pathetic as that seemed, i was a lazy programmer and today i rewrote it from scratch to merge the files to one in binary in vb. This application will let you merge any type of file(s), one or more, into one big file. This will work with Almost all audio files (.mp3, .wav) and almost all Video files (.Avi, .Mpeg). Just think, merging all your favorite mp3s into one big file so you don't have to keep making playlists on your audio player and just think if you have a split up DiVX movie and want to put all of the parts together, this will do it. It especially works good on Motion Picture Experts Group (MPEG) formats flawlessly. The only errors I have noticed with merging mp3s together was if one of the mp3s is a bitrate under 100 and another is above 100 the one below becomes distorded. As for mpegs it seems to work perfect on all types. This will also merge .VOB files ripped from your DVD! Please vote for this if you like this or find it useful. -Mike Canejo

2002ASP #262
File Dependency Sniffer v3! [MUST SEE!]

(******Another Big Update, v3 now... I added a 'All Files' (*.*) scan to it so you can see Every File found in an EXE!!! It also sorta the listbox alphabetically! Check It Out!)(*****Updated!!! v2, Calling it v2 cause of the major changes i made to the project including a working filtering scheme that correctly fixes the found filenames correctly as far as i can tell... tell me what u think of this new version!)(****Updated!, Now has a Search Query box feature so you can search for more than one file extention at once! I also included 2 filtering loops to remove bogus findings, but since it is untested fully i left the original project in the zip for you to have regardless... Check it out.)(***Updated, removes dupes now cause some programs have a reoccuring file being found in the search, so i gave the option to remove dupes or not, check screenshot!)(**Updated, I just fixed the VB5 InstrRev part, sorry if it didn't work..)(*Updated, Just added a save feature to it for developers who want to include it in a readme or something, good luck) Description: I needed a file dependency sniffing program really quick for a friend who sent me a Borland exe and needed to know which dlls it needed so I ran to PSC to find my self searching for keywords and not get anything, then I tried one word and kept browsing through the many entries of PSC. Then I came accross one, called nFile_Search, it was so pathetic I could have cried, the only thing i liked was the interface so I kept it for this program, heh, but I cleared the whole form of code and wrote this up and made it so you can search for other types of files besides .dlls, to expand its usability (.ocx, .exe, @ for emails, anything) so enjoy and if anyone out there has tips or ideas to make it more effecient then please submit. Also please vote if it isnt too much trouble ;p IM me at: Mike3dd Email: MikeCanejo@hotmail.com for anything. ;]

2002ASP #263
Mike's File Merger *Fixed*

This will let you merge any type of file(s) into one big file. This will work with Almost all audio files (.mp3, .wav) and almost all Video files (.Avi, .Mpeg). Just think, merging all your favorite mp3s into one big file so you don't have to keep making playlists on your audio player and just think if you have a split up DiVX movie and want to put all of the parts together, this will do it. This will also merge .VOB files ripped from your DVD! This program includes the following:1.) Ability to merge a list of files top to bottom all together into one file.2.)Lets you have the option of just generating a Batch file to merge your files. This way if you wanted to you could include the batch file with your split up files so a user can merge them together again.3.) Option menu to manipulate the File Listbox4.)Ability to add a file either by Drag and Droping a file(s) into the File Listbox or by pressing the Add File CommandButton or Menu.5.) Ability to add all the files from a selected folder and/or it's sub-directory's files.So check it out and please vote for my code.-Mike Canejo

2002ASP #264
How to use VB's InStr with a String

This example I put together teaches you how to use the InStr function with a string. InStr is very important to use because you can get certain information from a String by using it. Example: say a String has your first and last name in it like "Mike Canejo". InStr allows you to get just the last name or first name. First and Last name are just an example. You could do tons of things with Instr. This is very important for a beginner to know trust me. You'll be surprized if you end up using it in your next vb project :)

2002ASP #265
Play TicTacToe over the Internet!

I've seen other entries on this simple little game but I didn't see one that was playable over the internet using Microsoft's Winsock control so I decided to make this complete Game that would let you play someone on the Internet. This Game includes a little Chat Room(with color from Microsoft's RichText Control), a Score Keeper that will keep track of your score and your partner's score, plus more. Do what you want with this coding, add more options for the chat room or anything you can think of. This is perfect for all you programmers that want to make a simple game playable over the internet with the help of the Winsock Control. Good Luck E-mail me at: mikecanejo@hotmail.com or AIM: Mike3dd-Mike Canejo

2002ASP #310
Mike's Ping Utility

This pinging utility will allow you to keep a host address alive and will let you be able to quickly see if a person is online by pinging their IP address or even if you wanted to see if a website like www.aol.com or www.planetsourcecode.com was down or up, this would tell you. It also gives you the option of either running the ping window hidden, so this way you can keep a address alive without seeing it doing its junk or getting in the way. Another option it has is that you can loop the ping so it will loop forever until you stop it, if this isn't checked, the windows closes on the third ping. This is a simple program that everyone might understand, I don't expect to get votes for it. I just wrote it out of boredom, so enjoy and ping the hell out of your friends or a website :)

2002ASP #311
Mike's Skin Example v1.0

This is a decent example on how to skin a form. I made 10 skins and Commented every line in this project so you can see what's going on and how BitBlt works from top to bottom. If you don't know BitBlt that well or at all, this is a perfect example for you. Please RATE this and soon I'll make a v2.0 of this. And if you make a good skin for this, E-mail me it at: mikecanejo@hotmail.com! :)

2002ASP #312
Mike's Chat v1.0

This is a basic Server/Client Chat made using Winsock and the UDB Protocal. The chat is in Rich Text so it looks just like an AOL chat and it also has Sounds when chatting. If the Client/Server closes the program, the other side gets an error saying so. This is so you don't talk to your self..heh All the client's Nicknames get logged into a ListBox and if they leave the room, their name gets removed from the chat listbox. I also included a "Boot Ip" for the server so he/she can boot someone in the chat that is acting up. Check this example out and RATE it! :PContact me atAIM: Mike3dd

2002ASP #313
Search for file(s) on a Drive with API

My coding actually does several things. The main thing is that it can search an entire Drive and all of its Directories for a file you specify and at the end of the search display the results of it. Or you can do the same thing but this time look for any file with an extention you specify. I made this search for the file using API but I left a function in there you can edit to search for the files without API but it's a little slower and not recommended. This Screen Shot can pretty much explain it all... E-mail: mikecanejo@hotmail.com AIM: Mike3dd

2002ASP #314
Mike's Move Objects - Must See!

This is a must see. This project lets you Add objects to a form and lets the User move the object anywhere on it, I also made it so that the object couldn't be moved off of the form. You can also Rename or Delete the object by Right Clicking them. The best thing about this is that you and Load and Save the Objects to/from a .dat file, It saves each open Object's: Top position, Left position, Caption, and Visibility and then is able to load that info. This is a perfect example For you programmers who want to make a program that lets The user move objects around on the Form. See the Screen Shot..Here's an example on how this is useful..Visual HTML making programs...Like FrontPage or Macromedia DreamWeaver...They let the user add objects and lets them move it around. (Input Button, Option Button..Checkbutton...etc

2002ASP #315
Mike's ListBox Functions

This project I made shows you how to: RemoveDoubles(Removes all strings found more than once in a listbox) RemoveDoubleString(Removes a specified string found more then once in a listbox) RemoveEmptyItems(Removes all empty items in a listbox)These functions I made use VB's built-in listbox procedures(Not API), to remove strings fast from a listbox with 100% accuracy. -Mike Canejo-

2002ASP #316
Mike's Picture Commands

This includes the source code Loading a picture, Rotating a Picture 45 Degrees, Flipping a Picture Horizontally, Flipping a Picture Vertically and Saving it After! Very usefull if your working on your own picture program. I made a nice layout for this and Commented everything. Please, I worked hard on this for yous So check it out then Rate it.... Questions/Comments: AIM: Mike3dd

2002ASP #317
Mike's String Checker

This shows you how to search for a "string" inside of a "string" to see if it's there or not. This makes a good E-mail validator.. If the user doesn't put the "@" character, this will know it's not there and return false. This also works the same way if your trying to validate a Full Name. I commented everyline so enjoy and good luck.-Mike

2002ASP #318
Mike's Animation Example

This is an great example of how to use BitBlt to make a simple Animation either for a game or for a application. Every line commented in this and I tell you exactly what's going on. So check it out, the Screen Shot pretty much Explains it all...

2002ASP #319
Mike's Trial Creator

This is an example on how to make your programs have a trial counter on it.This example uses VB's "SaveSetting" and "GetSetting" to the number of times the program was opened. I made a function in here to detect how many times it was open and if the number of times open is greater than the number you specify, then it displays a "Trial Over" message and exits the program. And also, if you wanted to add a "Register" part, I Included a "Reset TrialCount" feature so if they register it, make it "Registered" and stop the trial count. This is perfect if your working on a program and want it to be Shareware.

Languages
Top Categories
Global Discovery