Results for "Volume: Java_Volume1"
This code enumerates a list of the logical drive letters recognized by Windows, and displays this list in a message box.
This code read all running process on the system, and detect classname called 'Notepad' (Do you know what is this? :P) Then, it gets the Handle, and post a message for close the app.
This code password protects a program and has an example of it by protecting an OpenGL window. It can be used for protecting simple functions or actions also.
my code calculates mortgage and or loan payments
Unlock the mysteries of output buffering with PHP.
Simple Audio Player, shows how to load up a DX9 initialized video into a controllable Picturebox. Also displays some other techniques for .Net like OpenFileDialog, ResizeEvents in .Net, and how to load up pictures at run time in .Net.
A Very Simple COM Server and Client in MSVC++ 6.0 without using MFC,ATL or IDL. This very simple com server is something I had been looking for to help me understand the insides of the "black box" that is COM as presented in MFC and ATL. As a developer learning COM, I was unable to find an extremely simple, clear implementation of COM without having to also deal with ATL, MFC or the IDL (not that they are difficult to understand, but just additional overhead). I hope this will be useful to others who want to understand some of the insides not usually seen when using the AppWizards. The Server is implemented as an empty win32 simple dll project with no original files or text created by Visual Studio, other than the Stdafx.h and Stdafx.cpp files. The client was created as an empty simple win32 console application, including no generated code from Visual Studio. The Globally Unique Identifiers were created using Guidgen.exe included with Visual Studio. After downloading the code, unzip and open the file Pig.dsw in MS Visual C++. Both Pig and Pig Client should open. Compile Pig first, then register the dll using regsvr32.exe. (inside the directory containing Pig.dll, run regsvr32 using the command "regsvr32 Pig.dll"). After successful registration, compile and run PigClient. You should get a messagebox indicating the server was accessed successfully. Albert
This example will show you how easy it is to draw objects using openGL. It draws a giant pyramid and you can walk around inside this foggy temple. Not much to it but it is really cool to learn from. If there are any probs email me.
Generates a schedule in HTML using various options.
This function converts amount in words with supplied currency parameters. e.g. AmtToWords(12345.01, "GB POUND", "PENNY", "GB POUNDS", "PENNIES") will return GB POUNDS TWELVE THOUSAND THREE HUNDRED FORTY-FIVE and ONE PENNY ONLY
ICQ-Pager is a complete GUI-application which lets you send a message to the ICQ-Pager. The downloadable zip-file includes the complete project for MS Visual C++. The subfolder 'Release' contains the compiled and 'ready to run' exe-file. The sourcefiles are fully documentated, so this is a good start if you want to learn something about basic GUI- and winsock-coding. The code does not use the MFC, just standard WIN-API.
This is a game based on Game of BRICKS. Written in C++ ,this is very good if you a begginer to writing games.
Update (3/31/2003): Added IsNationalID to validate various types of ID's of various nationalities. Added IsEIN (which in turn calls IsNationalID). Corrected IsPhoneNumber for all three C#, VB.NET, and .js. Hopefully I won't need to correct it again and again anymore. Update (3/30/2003): Corrected an issue with the IsPhoneNumber() method and added IsPostalCode that calls IsZipCode, but is intended for non USA type postal codes. Also added as a javascript file for client-side validation. Update (3/29/2003): Corrected a C# IsNumber() issue with negative numbers; added IsBoolean and IsGender methods and optimized the IsCritiaAccepatble methed to make better use of RegEx's than previously. Update (3/27/03): Corrected major issues with the IsNumber() patterns and C# issues and added some features. Validate if the querystring values or Form object values in ASP.NET are of the expected *format* (Phone number, zip code, numeric, state, email address, etc.) using regular expression. Source code projects provided in both C# and VB.NET. Update for provides both client and server-side validation.
This class encapsulate QueryPerfomanceXXX API functions to mesure small time intervals. You can use this class to mesure how much time your code take. This function can mesure time intervals near 0.1 ms , 10 times better then timeGetTime() API or GetTickCount() that have an error of 50ms. Example: Dim m_performance As CPerformance Dim i As integer Set m_performance = new CPerformance m_performance.StartCounter() 'Do something For i = 1 to 1000 next i m_performance.StopCounter() Debug.print m_performance.TimeElapsed() 'Time in ms (1/1000) s 'this is a float number 'ex: 1.54 ms
(UPDATE)I added a bit of java for easier page creating but its not working perfectly. Check the Screen shot.(UPDATE) (UPDATE) I have added a PHPcode allow/disallow and its own code EZcode (You have seam them or boars is stead of 's its []'s) (UPDATE) I wanted a small web site were i can allow people a small web space for free, easiest signup, banner suport already added, really easys to config, option to block HTML, etc... Now its still in the beta so be nice. The GUI isnt the best but this is like I said the first beta. It was also developed to work with all servers no DataBase Required. You can see a working version at http://web.wcc2.net Please take the time to vote for my code. If there are any errors email me (dogbone @ whartoncomputer. com) or post here. Look for beta2 which will be realsed soon.
This is an standard IRCd that anyone with a client will be able to connect to. It is an ongoing project and you should expect updates every once in a while. This server follows the RFC articles 1459 and 2182 strictcly, so there should be no compatibility problems at all. At the moment the server is unable to form a network, but as mentioned earlier, this is an angoing project and will be available in later releases. This Server features all commands and stuff most other servers are capable of. One major thing is the self-coded Asynch Identd lookup and the Asynch DNS lookup that the server performs. The server is multithreaded by nature. So you can even learn how to use the sockets correctly.
Generic sort class. Works with any in memory structure and will sort in any order. Does this by exposing two simple to code events: isLess and SwapItems.
Takes a roman number and convert into decimal.
Shows you how to use randomise and the mouse move event.
Datagrid with sorting, paging, highlighting cols when mouseover, stylesheet, change fontcolor of dataitems when a if then function is true.