Results for "Volume: 2_2002-2004"
One of the best code that i developed for the purpose of children entertainment. In this code you will see another "Cool GUI Vertical Menu" that can be scrolled vertically by using your mouse, etc. And this Puppet can read a story, actions/commands, and have a conversation with human by asking the Puppet with some questions. This is actually the 2nd version of my Smart Artificial Intelligence that i have sent. PLEASE VOTE FOR THIS CODE AND HAVE FUN WITH IT.
Uses api calls that use hwnd (window handle) to manipulate properties and other api functionseg.. hides windows closes windows moves them disables them (any window - tasbar, start menu etc.. included in program)
Don't miss this guys coz' this is a corporate code that i developed before using ADO with complete Login Entry,Masterfiles,Transactions such as Sales Order, Purchase Order,Receiving Order, Reports such as Inventory Report,Sales Report,Critical Report and Backup/Restore/Password Security features. Using this example you can learn a lot about how ADO really works without using any data controls. This is the best contribution of mine in PSC so far so you better not miss this coz' this code really rocks. PLEASE DON'T FORGET TO VOTE FOR THIS CODE COZ' THIS CODE REALLY ROCKS!!!
allows viewing and changing of file and folder attributes batch or one at a time. contains warning msg boxes where nessary
*UPDATED* New URL: http://www.planet-source-code.com/xq/ASP/txtCodeId.15030/lngWId.1/qx/vb/scripts/ShowCode.htm This is a VERY cool app. It adds a button to the windows default buttons for forms (X, Max/Restore, Minimize) for Minimize to System Tray. This is a fully working version tested in WinNT (2K) and Win98. Please comment on any bugs Apart from: 'Some windows stay on task bar' - I'm fixing that at the moment.. (note, you can send upto 999 apps to the system tray.. I wouldn't try it though..)
This is an example on how to create borderless, resizable and skinned forms. It would be nice with some comments(and votes to;P)
SUN EPHEMERIS GENERATOR V1.5 Program written by Jay Tanner - [email protected] It was built around revision 6 of the VSOP87 core modules. ====================================================================== The program is based on an implementation of the full VSOP87 theory computations of the orbit of Sun in spherical variables. The original VSOP theory was developed of Pierre Bretagnon et al. of the Bureau des Longitudes in Paris and was implemented in the FORTRAN computer language. Theoretically, the heliocentric coordinates upon which the geocentric computations are based are accurate to within an arcsecond or better over the range from 2000 BC to 6000 AD in the case of the inner planets, Mercury to Mars. Due to the popularity of Microsoft Visual BASIC and the much faster speed of modern computers, I thought it was about time to develop a version of the theory that would be more accessible to the amateur astronomers with Windows PC computers. The result of that effort is the development of a series of ephemeris generating programs for the Sun and the eight major planets from Mercury to Neptune. The computations of the planetary positions include the interacting gravitational perturbations of the planets, precession, the long-term effects of relativity, light-time, aberration and nutation. Then the coordinates of the planets are reduced from the dynamical coordinates of the VSOP87 theory to the apparent geocentric coordinates according the standard J2000 FK5 system of coordinates. Consequently, the computations compare very favorably with the published ephemerides. The basic ephemeris computations are: Apparent Geocentric: Right Ascension Declination Distance to the sun Semidiameter The planetary orbits are determined by the computation of three spherical variables. These variables are: L = Heliocentric longitude B = Heliocentric latitude R = Radius vector or distance between centers of Earth and Sun Program Statistics for the Sun ephemeris program: Total Computational Term Counts For the VSOP87 Orbit of EARTH are: Total # L Terms: 1080 Total # B Terms: 348 Total # R Terms: 997 Total All Terms: 2425 The Earth module is used to compute the position of the sun. This is the simplest case, since the Sun may be considered directly opposite the Earth. In this case, the position of the Earth is computed and 180 degrees is added to its heliocentric longitude and the sign of the Earth's heliocentric latitude is reversed. The radius vector requires no modification. ======================================================================
Uses Mutex Objects to track multiple instances of the same .EXE. A Mutex object is an interprocess synchronization object whose state is set to signaled when it is not owned by any thread, and nonsignaled when it is owned. Only one thread at a time can own a mutex. Use of mutex objects makes possible batch processing and other synchronous tasks, from concurrent instances of the same application.
This app creates a new button (top right) for each window. This button if clicked on sends the app and all it's threads to the system tray with the correct icon. If you right click on the button, a list of already minimized apps comes up and you can select one and it will be removed from the tray and back to normal (or you can click on the system tray.. either way). If you use it for a day or so, you won't be able to stop using it. Although it is a bit hard to get used to. *UPDATES Since 1.0* ==================== - Multi-thread Windows now supported (ie VB6) - Added 'Balloon' Support for Win2000 users - Added Options Form (not much of an options form though) - Made much better about form - Removed many bugs (thanks for bug reports) - Zip file includes all files (sorry, had files in 2 folders for some reason) * Please leave comments on bug reports if any as I really want to make this app bug free. *
YES YES YES!!! I GOT THIS PROGRAM WORKING IN ABOUT 1 - 4 SECONDS FLAT. FOR ANY VB EXE PROJECT UNDER 3.5 MEG IS FAST TOO, NOT YET TRIED A VB EXE OVER 20 MEG BUT I KNOW IT TAKES A MINIMUM OF 30 SECONDS FOR A 9.80 MG FILE. This program writes to a vb EXE and changes the name of runtime dll, msvbvm60.dll for example which the program is looking for at startup and you can change that dll's name into what ever you want. To try this and to see what i'm on about use the program and specifie a EXE and a new dll name and run the EXE after writing to it. You might get a missing DLL message, all you have to do is rename msvbvm60.dll to that new DLL you used. (This code can be used for any dll used or even any string in the EXE!!!!!) PLEASE YOU HAVE TO LEAVE A VOTE... SOME OF YOU DON'T AND CAN'T BE BOTHERED, THATS THE POINT YOU HAVE TO VOTE AND LEAVE A COMMENT. THANKS AGAIN ALL YOU BRAINY PROGRAMMERS.
Microsoft's ActiveX Control NTSVC.OCX Version 1.1. I've ported the Source-Code to VC++ 6, and updated it. Added two methods and one property: ReportStatus(), GetServiceStatusHandle() and WaitHint. I think this is an "Open Source"-project and to publish a new version, won't get me in a trouble regarding license regulations. I hope so.
You can use ADSI to manage local and remote services. This code shows and describes the different methods and properties ADSI provides for services. Please vote and leave your comments for this submission.
---------FIXED-------------------- -MINOR CODE ADJUSTMENTS- -ADDEDD MISSING FILE: SoundModule.bas- ------------------------------------- A fully functional Win32 Bit Bulletin Board System Server. It has all the essential and necessities. Multi-user of course and can handle as many connection as ur computer can take., It has MOTD and Announcement, a built in Message System and a finger service lookup. You can kick unruly users at ur wish. It traces all commands sent by users. You should create the folder: C:\Articles , or else it wont work. You can change the directory if you change all the code used with it. Authors Note: Im looking for some good programmers to help me out with the next version/entry.. contact: [email protected] for more details. -Well thats pretty much it- -JadaCyrus-
This function centers a child form within a parent form (not MDI), and can be used for custom messageboxes etc... Please try and leave a comment - Dan
This user control is my own personal replacement for the VB frame control. It more closely emulates the "panels" found in many 3rd party control libraries. It is an excellent example of using the DrawEdge API function. The control exposes 3 properties to this affect: BorderWidth, BorderEdges, and BorderStyle. The sample app visually demonstrates how these properties affect the control. In all of my personal code, I maintain 2 base modules: 1 for declaring constants and API stuff, and the other for containing generic function. Thus, the sample project includes a subset of those 2 files, plus the UserControl... and a test harness screen that allows you to set the frame properties on the fly. For the current versions of this control, or other cool controls or code, hit my web page: http://members.tripod.com/thefrogprince/ If you are not currently involved in the coding contest, I WOULD REALLY APPRECIATE YOU VOTING FOR MY CODE. Will only take a minute or two to make an account, and while it won't make me any money... =) it will encourage me to keep posting good quality code and controls like this one.
I made this code for a friend to help him learn VB. Its a badic game of pong with 4 paddles with score and speed control. This teaches every basic command you will need to learn.
This control has been reworked from the original by Michael L. Barker. It is now much more robust and has many more properties. It exposes all CD info (lengths/frames/offsets/number of tracks) and will connect to CDDB to grab album/genre/artist/track names. Enjoy! Thanks to Michael and whoever supplied the CCd.cls class.
This code will dynamically create an Insert SQL query for a database. It also teaches some things like how to create a database and table though code, how to use the ADOX library, data formatting and etc...just look at the code, to much to write. Requires ADO 2.5 and was created with VB6 SP4. Not tested on anything else. Reasonably good commenting, should be easy to understand.
This is is originally from Mark Withers . Mark Withers Mark Withers Mark Withers I do not want anyone to tell me I steal code. I just wanted to show Mark how to Update is code... I got it running under 1 second for a 20 Mb file... yes!!! under 1 second no, no API required... only pure VB optimization... I first calculated all FileLen and Len before the loop... this is THE optimisation that did all the thing then I used a buffer for looping through the file and I added null chars at the end of the dll name if it was too short, because in C++, strings ends with null chars I hope this helps you Mark Best regards, Jean-Philippe Leconte Senior programmer Win32/64 expert C++ / VB
This is a great chat program. It has many features such as background options, private messaging(only on NT(, ten chat windows, the coolest shutdown sequence ever, and some really cool sound effects! Also avaliable are many administrator options. In the main chat window press alt + a and type the password "scow". This code is made for networks, but works great without one. To setup the program either place the .exe in a place that can be accessed from any computer or set the variable thefullpath equal to a place that everbody can access(more info on this in code). I put a lot of work into this so *PLEASE VOTE*