Results for "Category: Miscellaneous"
This is a class to encapsulate the functions of the SAP Remote Function Call Library (librfc32). The class can be used to call SAP R/3 function modules from a Visual Basic application. It supports IMPORT parameters, EXPORT parameters, TABLES and receives EXCEPTIONS. Allocating and freeing memory is completely encapsulated. The example application shows how to read the countries from table T005T with the standard function module RFC_READ_TABLE. The class depends on the Remote Function Call Library (librfc32.dll) from SAP. Tested on SAP Netweaver 7.0 (2004s) and SAP Netweaver 6.4 (2004). This is the first Rfc-example on PSC.
Super-simple way to disable Ctrl+Al+Del (but not Alt+Tab) in Windows XP and probably NT/2K as well. Anyone can do it, and it works in any language that lets you launch another app! How cool is that?
The aim of this tutorial is to show you how to write a developed kernel in C++. At this stage you should be fairly competent in the use of C++ and to have a little knowledge of how protected mode functions would be recommended. I’ll try my best to walk you through the more important parts of the code.
(Refer to DataLogger 2 for newest version) - I wrote this program to monitor the input of an RS232 Serial Port and graphically log all activity. It acts and operates just like a Digital Storage Oscilloscope, capable of logging up to 5 hours in one file. It also has real time cursors, displaying amplitude, time and frequency. The program monitors a selected Comm Port and records the digital values sent to it (Range 0 ~ 255). It runs in two clock modes (Horiz step modes) selectable by the user. It does not send anything out the port. It reads the port only. All files are saved as DataLogger Files (*.dlg). This is a fully functional program which will allow you to hunt bugs and/or test your embedded micro projects with ease.
NEW v7.0 W/Instruction Manuel - DataLogger II is an extremely improved version of my original program. I’ve added all the suggestions posted by users and made numerous improvements to all aspects of the program. It now has optional on-screen cursor info; print capabilities and screen capture capabilities. You can now pinpoint an event through a very accurate timing system based on the cursors. These are just some of the improvements. You can save either an image (screenshot) of the display window or the whole program (form). You can use the Cursor Display function to include all cursor data in a display window save. Files are saved in “.bmp” format. The print function will automatically print a landscape image of the screen. It will include all cursor data in the print. This is based on your computers default printer and paper configuration. It works fine with standard 8”x11” paper. The program is intuitive and if you experiment by clicking (both left & right mouse buttons) on buttons and in the display window, you’ll discover a lot of additional functionality. For those unfamiliar to this program, I wrote this program to monitor the input of an RS232 Serial Port and graphically log all activity. It acts and operates just like a Digital Storage Oscilloscope, capable of logging up to 5 hours in one file. ADDED ACCURATE TIMER API / External SYNC Variable Triggering.
This is a nicely done 24 hour alarm clock. It allows you to select the alarm sound (wav), which it keeps in an ini file. The alarm time is easily set with sliders. It displays Day, Date, Time, Alarm time and Sleep Time (how much time you have to sleep). Several cool “animation” tricks.
A nice way of closing your apps. or a menu on a playnig movie, like a football match start-up!
:::An easy way to implement Print Preview::: 1. On Form Load, the ADO data control will fetch records from the database and bind to datagrid to be displayed. 2. The data control then clone a copy of the recordset and set to a local variable 3. When user selects Print Preview, the cloned recordset will be saved as an xml file to the system temp folder, with a unique file name created using CoCreateGuid API. 4. Once the xml file is created, it will be launched in the hidden Web Browser control. When the download of the xml file is completed, it will fire a download complete event, after which the print preview screen will be launched. 5. User can change the page orientation, select print type etc. via the print preview screen without using sophisticated Active X controls. 6. For additional security, the footer of the preview screen is always set to empty. This is to prevent user from locating the xml file using the printed url. The xml file is deleted each time user closes the print preview screen.
Calculates the montly cost of a grow room depending on how many lights there are and the wattage of the light
Shows how to launch forms modaly from popup menus while retaining the abailty to use popup menus on the new form. (Windows bug work-around)
Color Wheel is a very practical program to find colors that are related together. Just choose a start color and the program does the rest for you. All the start colors are among the 4096 Smart colors palette, these colors are formed from doubles as #5599dd or #44cc11. You can also create Gradients Palettes with up to 4 colors. It is also possible to save and load the wheel palettes in 3 formats: PAL, ACT and Photoshop ACO. By the way: No MFC trash here!!! Hope it is useful for somebody out there. Have fun with it.
It is a Client/server app, please scroll a little and vote 5 globes :D
This is for a beginner who requested I add source code so that he could learn from it.
tells you if a postcode you enter is a valid UK postcode. It includes all current criteria for a valid postcode including length, format and valid characters in each postition. see code for more info. Please note no other postcode checker on PSC currently checks the full criteria that this function/application does.
Tells you if a National Insurance Number (NINO) is valid
read values from any LM75-Sensor connected to your printer-port (up to 8 pieces) / you need some basic inp/outp control like that from jspayne! This explains a lot about initialising the I2C bus and or the LM75 sensor!
UPDATED ON 18th Feb. 2004 WITH NEW YAHOO KEY LOGGER AS CLIENT. KeyLogger is a DLL engine for logging keys typed by a computer user.The features that make this unique is that it can capture special keys like Windows Menu Key , Context Menu Key,Print Screen and also tell you the status of toggle keys like Caps Lock,Num Lock , Scroll Lock And Insert Key. The most important part of it is that you can even capture the keystrokes of a specific application by providing its Class Name of its Window Caption.It Store All The Keys Into A File In Encrypted Form So This Submission also include a Log Viewer Which decrypt them and make them readable and show it in a ListView Control. A Yahoo Key Logger Client Sample is also included which can log all the keys pressed during the yahoo messenger's Login Dialog box is visible and active. All In All This is a great tool but still contains some bugs as this is very first version. please inform me any bugs and errors and also dont forget to rate my code but most important is ur comments. TRY THIS ATLEAST ONCE BY URSELF.
An example to get process memory usage. You can get *any* process's RAM usage and Page File usage (via exename) This project also includes some code to use more memory for demonstration like creating arrays, creating forms, loading files into memory and drawing pictures.
Well i don't know if you have seen the movie "Hackers", but when i saw it, i saw a showing program that run at a specific time and completes a task. That's what my program does. You choose the time that you want to run and the task you wish to accomlish (Play a music song to wake you up, run a specific program or shutdown the PC) Well, that's all. Please feel free to mail me at al_fa@mail.gr for any ideas. Please vote even if it is a bad vote.
Enumerate network resources - get computer, domain and share names on your lan network, works with xp. Having looked at Mark van Renswoude's code for "Show all Domains and Computers in LAN" that didn't work with XP because of the way it didn't recursively find each network resource, I have written this for those out there who need this! This example is simple and contains only 5 api calls and 4 short functions, easy to add to your own applications and there are no bugs! If you like please vote.