Advertisement

Results for "Volume: ASP_Volume3"

ASP_Volume3 #60528
Very Easy Keyboard Shortcuts... F1, F2, F3... Without hooks Garbage...

Ever wanted to have function keys in your application (F1, F2, F3 etc..)? Here is the very simple and streight forward solution to it. Moreover, its very very solid to impliment. No API calls, no HOOKS grabage. Just use form functions. Download code and see the instructions on form.

ASP_Volume3 #46321
Gravity Simulator (2D)

A simple 2D gravity simulator between particles of varying sizes. The gravity strength, along with other parameters can be modified, with the program also performing 2D collision detection and reaction, using conservation of momentum and energy laws. This is a small program I knocked up for school, so is unfortunately not commented and has scope for improvement, but it could be of interest for basic graphics and physics programming.

ASP_Volume3 #56963
UNIX Epoch Timestamp via API (+ Other Time-Related Subs) Updated!

This module is a collection of various time functions, including the generation of GMT offset UNIX Epoch timestamps, Leap Year calculation, Days In Month calculation, and the completely unique GetTimeZoneOffset(), GetCurrentTimeZoneOffset() and isDaylightSavings() functions! I was unable to find any VB code for timestamp generation, so I had to make my own! Have you ever needed to compare dates that were created in two different countries? If so then you've probably run into the differences in dates in various regions of the world. The US formats dates as "mm/dd/yy" where as most of the rest of the world uses "dd/mm/yy". This is all fine and good, until you need to compare one to the other. According to VB's documentation, the date format is defined by the local systems settings. This has the effect of improper comparison when equating dates generated in two different regions. IE - is CDate("3/4/03") March 4th or April 3rd? VB makes the assumption that the date was generated on the local system, so if the local system's format is different then the system that generated the date it will be incorrect. It becomes even more fun when dealing with other languages! CDate("Mar 4, 2003") will generate an error on a non English machine as "Mar" is not a recognized month or abbreviation. Utilizing a GMT offset UNIX Epoch timestamp can avert this issue. The timestamp is the number of seconds that have elapsed since the epoch (January 1 1970 00:00:00 GMT). So instead of storing "3/4/03" you store "1046700000" which is the number of seconds between March 4th, 2003 and the epoch. Best of all, this module allows you to convert back from a timestamp into a date variable, allowing you to format it for the local user. ** In a nutshell, utilizing a timestamp in place of a locally formatted date will allow you to correctly compare dates no matter what language or format was used during the creation of either date you're attempting to compare. ** The other unique functionality of this module is the GetTimeZoneOffset(), GetCurrentTimeZoneOffset() and isDaylightSavings() functions. These allow you to determine the Time Zone Offset and Current Time Zone Offset of the local system. IE - Canberra, Australia is GMT + 10:00, so 10 is Canberra's Time Zone Offset. During summer daylight savings, Canberra's Current Time Zone Offset is 9. If you didn't follow that, then you'll probably never need this functionality (but it's in here if you do)! The rest of the functions are pretty standard, though well-commented and optimized functions concerning leap year and days in a month calculation. The module is pretty well tested, but your mileage may vary. Please leave a comment or send an email if you find a bug or have a new feature to add or request! Thank and enjoy! UPDATED - (Finially) fixed the leap year bug. Please let me know if you find any issues!

ASP_Volume3 #58955
CPU Usage on all 32bit Windows OS

A simple to use class that returns the current CPU load usage of the system as a percentage. Works with all 32bit Windows operating systems (9x, ME, NT, 2000, XP) and also works with multiple processors. I couldn't find any CPU usage code on PSC that would work with XP, so I had a hunt around the web and came across the NtQuerySystemInformation API. The class detects the OS and uses the appropriate CPU usage retrieval system.

ASP_Volume3 #61709
Get Files In A Directory

This gets a list of files in a directory using the Dir$() function and displays them in a ListView control with their FileName, FileSize, and Path. Comments are always appreciated...:)

ASP_Volume3 #57829
Windows IN Windows (like VB)

Hi, all dudes out there. This thing is very cool. Have you ever imagine that you could make a window within a window without using MDI form? Well, this is the solution. Using only couple of API, you can create window inside window like vb does...

ASP_Volume3 #62040
Kyma Pentatonic Chimes

Kyma Pentatonic Chimes is a windchime program for use with DirectX7 or later. It features a pentatonic scale editor and the ability to save presets for your chimes. Included in the .zip are bamboo, rod and tubular chime .wav files, an assortment of scales to experiment with and some presets for your enjoyment. Your comments and/or suggestion are invited to: Michael Hebert [email protected]

ASP_Volume3 #56252
PSC Chat 4 Beta 1

PSC Chat 4 is a Chat room we made for pscode.com this new version supports rtf, Private Messaging, Web Cam support, Whiteboard and a hole lot more. I hope that all of you try PSC Chat4 and hope that you enjoy this new version of Psc Chat. We have been testing this edition for a long time and have found a few bugs which have been removed. But before we make the final release of PSC Chat we would like to have more testing done to PSC chat. This beta version works perfect as far as we tested but of course there will always be some bugs that weren’t discovered while the main testing took place. We hope to have the Server running 24/7, so if you find the servers down please don’t be mad and give up your hopes. Also be sure to extract the converter.zip inside the folders of Client XP and Client 9x. And I would also like to thank everyone that participated in this project. The IntraDream Team, Carsten Dressler, Timothy Marin

ASP_Volume3 #57379
Active Worlds User Compass

This is a piece of code rather specialist in that it is developed for use with the Active Worlds Browser (www.activeworlds.com) it is a sister application that will allow you to enter a set of Active Worlds Coordinates into the targeting box and be shown the direction to which you must face to arrive at those coordinates. Thanks to the VB super API spy (on PSC) for helping me learn about the API to make this possible.

ASP_Volume3 #62097
Recursive Get ALL files from a Folder and its Subfolders and its Subfolder Subfolders etc.

Recursive Get ALL files from a Folder and its Subfolders and its Subfolder Subfolders etc.

ASP_Volume3 #61491
Firework

Show firework in motion

ASP_Volume3 #54703
PHP style string explode function

This code extracts undetermined-legth-strings (separated by delimiter) from a single string. NOTE** UPLOADED A NEW EXAMPLE, LAST EXAMPLE HAD A MISTAKE IN IT. SORRY ABOUT THAT.

ASP_Volume3 #62106
FormatCurrencyDateTimePercentNumber

Demonstrate use of FormatCurrency, FormatNumber, FormatDateTime, FormatPercent. Good for beginners. Easy to understand.

ASP_Volume3 #47060
Delete a file in use - Run an EXE in another process' memory - EXE Hijacking

Updated 4/23/2003- Deletes itself from disk and unloads from memory, and then creates a new form from SCRATCH in the remote process, which shows up perfectly. Also shows how to send data to the remote process. Descritpion: Hey everyone, I've spent over 5 days non-stop coding this piece of code. Basically, it allows you to run your EXE in the memory space of a running process. You could for example run test.exe in the memory of explorer.exe, and then include a module called "DeleteOriginal", which will be run as a thread inside explorer.exe. You could make it delete your original exe, as well as perform any additional tasks. This is called "Process Hijacking" and is an extremly advanced technique, performed till now only in C++ or ASM/Delphi. The original ASM/Delphi code is included, with credits to Aphex. Please please PLEASE do read the comments in the main bas file, they will explain how to get the code to compile properly. The problem for now is that it can only inject code into VB6 executables (you will need to compile a blank project). I am requesting PSC's help on this. Nevertheless, everything till that point works perfectly, and might help some of you. Everything is fully commented, and once again, please read the comments in the bas, they will explain how to get the app to compile.

ASP_Volume3 #60776
VB Holiday Calculator

This code will give you the dates on which the major American and Jewish holidays fall (from what I could see, there are not many resources out there for calculating the Jewish holidays). The code is modularized so that you can use it for your purposes. The sample app has you input a year and outputs the dates for all of the holidays that year.

ASP_Volume3 #56232
ADOX tutorial 1

The code demonstrate the use of ADOX (Microsoft ActiveX Data Objects Extensions for Data Definition Language and Security). This will be a series of sample codes that will demonstrate the use of ADOX. For this sample the code will access an mdb file and display its tables and related fields in the listbox. Also supports password protected mdb file.

ASP_Volume3 #62215
[!!!!! C00l Ch@t !!!!!]

A Basic Chat Program written in extremely clean and reader friendly code. Good for the newbies to Socket programming. 2 ppl can use this program in a chat room at a particualr time . This program can also be run from a single computer by running 2 copies simultaneously.

ASP_Volume3 #61458
GUI Design Tips v2.0

I am very surprised to see the lack of information in the area of Graphical User Interface (GUI) Design on this web site. Here are some tips to get you seriously thinking about how people use your software.

ASP_Volume3 #59690
[_a particle system, pure VB 1.3_]

A particle system, done in pure VB. It shows how to create such an effect system. The program is not accelerated in any way and does not use DirectX or OpenGL. It just demonstrates the technique. It can be great fun to watch the animation and play arround with the gravity settings etc. ;) I added some animation stuff in this version which is not necessary for the system itself but makes the code more interesting ;) If you only want to understand the basics please download version 1.1

ASP_Volume3 #57274
[____A Great and Easy Mouse Position Recorder]

This is a mouse recorder example. It records an unlimited amount of mouse moves and then replayes them! (See ScreenShot). Uses imtermediate loops, the vb Split() function, and the mouse API. Give it a try. KEYWORDS: Jaime jaime Muscatelli muscatelli api API Api Split split SPLIT mouse Mouse MOUSE recorder Recorder RECORDER Play play PLAY GetCursorPos SetCursorPos GetCursorPos() SetCursorPos() pointapi PointApi POINTAPI cursor CURSOR Cursor

Languages
Top Categories
Global Discovery