Advertisement

Results for "Category: Miscellaneous"

7_2009-2012 #223137
DivX player

Its a DivX player, plays avi,mpeg, etc... Uses msdxm.ocx. I just wanted a slick, small player, cuz I hate the new mediaplayer(7) which consumes lotsa resources and is soooo slow. Didn't want to add the commondialog so you load a file by dropping it onto the form. Someone knows how to make ALL controls on a form sensitive to OLE-dropping? As it is, I have to watch each and every one for drops... Hope you like it, vote if you do. Been working on a pan and scan function but haven't figured it out yet...

7_2009-2012 #223146
DUN Password Cracker (See Screen Shot ! ! !)

It grabs the Dial-Up Networking passwords that are saved with the Save Password checkbox. Very easy to understand. Has a kool interface .

7_2009-2012 #223151
Taking advantage of the Templates folder for VB

Article to show those who do not know about the Templates folder for VB how to save templates to it for future use.

7_2009-2012 #223153
VB Tech Tips 2

Just some VB Tech Tips, nothing fancy, but informative.

7_2009-2012 #223156
RGCC - Challenge1 Candidate

Just wanted to stab at this contest...I know a lot more can be added to this to make it more...complex yet fun...but I am at work and this is what I could through together during lunch. This program will just tell you the number of times the program was ran by using a custom control to access a ASP page on an external website which connects to a database to read the hit count then the ASP formats the results in INI format then the custom control saves that dowloaded ASP page to an INI file on the users hard drive then uses simple API calls tor read the value and display it. Just wanted to start of the contest with a little something that uses the web as well. BTW: The custom control code is included since I know you are not supposed to upload OCX's. The control was made by me and you can find a compiled version at http://lafever.iscool.net if you like it.

7_2009-2012 #223157
Resource File (Custom File Usage)

Example code that will show how you can use the custom section (and LoadResData) of the resource file to store misc. files into your executable. Along with that, if one of the files is a .WAV file, to play it directly from the resource file without extracting it. Other parts of the code will show how you can embed JPG files into the resource file instead of .BMP files and use those files for your images in your program. This will help lower the size of your program if you love to use images in your program. Using the same code it will also show how you can extract out files to the users hard drive that were put in the resource file. A good usage of this is lets say you have a DB application and would like to give the ability to make a new DB file, but you want to make sure the DB has the write structure and filled with default data. Just embed your DB file into the resource and extract it out to a new file when the user wants a new file. I know a few days ago somebody else posted code similar, but I had this up here on PSC a long time ago (been removed since) and thought that since resource files can provide so much, it would be a good idea to post again for those who missed the other authors post. KEYWORDS: WAVE WAV RESOURCE LOADRESDATA CUSTOM SOUND PLAY EMBED SNDPLAYSOUND SND_ASYNC SND_LOOP

7_2009-2012 #223158
Extract and Register from EXE

From time to time I write some little application or game for me and my co-workers to use and in the program I am using some new control I made or downloaded. I already know they have the VB runtimes so I dont really feel like making an install for them so I just embed the OCX into the EXE using the resource file, then on the program start up it checks for the files existance. If it cannot find it [like on the first time] it will extract the OCX from the EXE to their hard drive and register it. Then it will open the form(s) that use it. This project shows how I do it. While I would never do this in a professional application, some of you may like this. However, I know this code can show some of you malicious programmers out there how to embed a virus or something like that. I had to think long and hard before I shared this. It is not all that advanced and if you are any good you would of figured out this on your own. So I decided there are enough legitimate reasons that others may like this code so I posted it. Please everyone who is responsible...please get a Project Scanner to scan source code projects for code like this (like the one listed here on PSC or mine at http://vbasic.iscool.net )

7_2009-2012 #223159
Remote Database Connection (connect to web based database)

The demo will show you how to use ADO to connect to a database hosted on a web server. From there all standard uses of ADO recordsets and what not are possible. I see this question asked a lot in newsgroups so I thought I would share this code here to to help refer them to a working example. Note, the web server has to be a server you have rights to and not just some free web hoster like GeoCities so don't get too excited if you thought that is what this was. This demo will connect to my web server and read data from the NorthWind database found in SQL Server. Also note, my web server cannot handle a lot of traffic so depending on how many people download this and try it, you may have some slow responses or errors on connection. Sorry, but this is just a demo. This code is really not advanced, but many people do not know you can use ADO like this so I just wanted a demo up to point people to later on. Hope it helps some. KEYWORDS: REMOTE DB DATABASE ADO RECORDSET WEB SERVER WEBSERVER CONNECTION SQL IIS

7_2009-2012 #223160
Implode Form (with API) Project Included

I posted this code yesterday but I had comments on it and emails sent directly to me from my web site asking how to use it. Guess that is the problem when you only post the sub routine. So, here is the code again, but this time with a demo project. This uses the API to simulate the minimize effect you see of a form shrinking to the taskbar, but with this code you can shrink it to any place you want, like itself to show it imploding, or the tray, or to the mouse. KEYWORDS: FORM ANIMATION DRAWANIMATEDRECTS FOLD IMPLODE MOUSE TASKBAR EFFECT EFFECTS

7_2009-2012 #223163
Example of a fun Easter Egg Form

I am a guy who still loves the tradition of putting easter eggs in programs. I know some think they are a waste of code but hey, they are a fun way of letting a developer personalize his work. The form in this demo is just a fun example of one that I added to one of my projects. I just thought I would share something simple like this. Maybe it will give some others some insiration to make other egg type forms. I always likes to keep it simple myself. If too much is done in an egg, you may bring bugs or extra undue size to your product. This demo will also show how to play a WAV in a LOOP from the resource file (even though there are tons of examples of that here). KEYWORDS: EASTER EGG WAVE RESOURCE LOADRESDATA RES SOUND WAV

7_2009-2012 #223171
A Basic-like Programming/Scripting Lanuage and compiler

This code is a full-blown scripting language a little like BASIC. It takes a program textfile and runs it, and can also compile to exe. Can be used for ANYTHING, eg scripting languages, in games, or anything you can think of...

7_2009-2012 #223219
Easy Progress Bar

Make an easy progress bar using only a label, timer, and a few lines of code. No .ocx needed!...

7_2009-2012 #223220
Accept multiple passwords.

Accept multiple passwords, yet still deny access for wrong password entries.

7_2009-2012 #223239
PHP Calendar System

This is the beginning of a complete PHP Calendar System that I decided to write. The code that is here will display a calender of the entire year that the user chooses. I found a script somewhat similar to this a while back, and have used it's ideas to build this one. I would credit the author, but I don't remember who it was. Regardless, I am planning on making a complete calendar system for appointments, important dates, or anything else of that nature. As it stands now, I haven't commented the source, and hard coded a few things here and there. In the next version which is coming soon, I plan on making the customization much easier. Feedback is encouraged.

7_2009-2012 #223246
Adding menu items at run time

This .zip file shows you how to add items to a menu at run time. It is extremely easy and works too. This would be useful for making a favorites menu in a browser or any such thing. If you like it please vote. Thank's

7_2009-2012 #223247
Beginners Visual Basic Tutorial

I wrote this 10 page tutorial because my brother wanted to learn visual basic. He decided not to read it any more after I wrote what I got done and so I never finished it. It is pretty good to start out beginners with programming. If it gets rated high enough I might continue writing it. Hope you all enjoy it and learn something.

7_2009-2012 #223250
IP Subnet Calculator Update

This is an update to my previous code submission. This one will calculate Class A, B and C addresses. I would like to thank flipmode for informing me that it is the last ip and not the first that is the network number. It takes a while to calculate Class A addresses since they are so large. So if you are calculating a Class A and it stops responding just let it go for a while and it will probably catch up. I also ran out of memory trying to calculate a Class A address so you might want to watch out there to. I appreciate comments so I can improve my work. Thank's

7_2009-2012 #223251
IP Subnet Calculator

This is a Class C IP Subnet Calculator. I made it to help me remember how to subnet. I'm working on doing Class B and A addresses. I can't seem to remember if it's the first or the last ip that is the network number but I'll fix that once I figure it out. Comments are appreciated.

7_2009-2012 #223254
Card Shuffle Example

Using Class Modules to shuffle the deck of cards 10 times to insure they are thoroughly shuffled this shuffle example is great for those looking to make a card game as a test project, code submittal for here or other various code submittal areas... You can use these modules freely all i am asking is for 2 seconds of your time to just simply scroll down once you are ready to download this example and simply click on that cute little vote button. This example holds so many oppurtunities for you guys to explore.

7_2009-2012 #223277
a 3D animation with flash(vector)

This shows you how to use the macromedia flash/shockwave ocx. Also demonstrates 3D animation in a vector based environment with Flash.

Languages
Top Categories
Global Discovery