Results for "Volume: Java_Volume1"
Now you can have a site where your potential customers can post projects for you to accept. The best is no haggling when you control the site.
Demonstrates how to use ShellExecute with variants. If you rate it i might upload the code for the more advanced version (it doesn't look as good but you can change what operation you wish to use on the path(and open the 'find' window)).
I am making a game that needs the ability to play multiple sounds at one time. After asking around at many fourums, everyone said "you will need to use DirectX" So I downloaded the SDK, and found it kind of confusing, and i dont like to use multiple classes for one purpose, so i took the examples from the SDK and shrunk them down into one easy-to-use class. This class allows you to load up a WAVE, alter the panning, frequency and volume.. and finally play it. If you need to run 2 wavs at the same time, load up another class and bam, your ready to go. It basically takes 3 lines of code to play a sound in DirectX7 with this class! have fun!
Just a skeleton to look out when building yours. So you can remember how each part goes into the window skeleton using the platform SDK. My friend asked for this.
Heres a little Winsock IP Chat. Using a rich control. A Perfect example if you dont know how to use winsock.h
This code will open a DAT file in the c:\windows\history folder and pull out all sites visited
Simple Direct Draw game. Shows how to make simple operations with Direct Draw surfaces. Does not require DelphiX
Class module for resizing/repositioning controls on a form. See source code for details.
I saw the earier example of a global error handler written in C#, but needed it written in VB for my company. I translated the earlier work into my version in VB. It was suggested by a couple of people that I provide my VB version, so here it is. I just hope you find it useful. You can visit the C# version at: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=948&lngWId=10 It was submitted by Joel Thoms on 2/5/2003. Thanks to all that asked me to post the VB version. Special thanks to Charles Richardson for helping me track down a bug. When you paste the code into the IDE, most of the formatting should return.
Allows you to backup a source file and have the destination file name be the current date. Great for database backups!
A class for creating Windows, Buttons, Edit boxes, and Multiline Edit boxes. It is very simple to use, and later I will add more types(Listbox, static(label), frame, etc). I included project files for Brland C++ Builder 5, and MS Visual C++ 6.
This very simple routine avoid checking if a correct path already exist before using it and, if not, create it exactly as you want. Imagine you wont to write a log file in a path defined as: C:\Myapplic\Services\logs\LOG.TXT you must check before if the directory Myapplic exist and then check all other subdirectory (Service,logs) before opening the file For Output. Probably you will use a lot of Error Resume Next, Mkdir(...), Error GoTo 0, dir(....) and so. Instead you can use this routine as described below: Myfile="C:\Myapplic\Services\logs\LOG.TXT" Call CheckDir(Myfile) nf=FreeFile() Open Myfile For Output As #nf . . . Close #nf and including the following .bas module: Public Sub CheckDir(file) Ix = 4 'Initial index KSlash = InStr(1, file, "\", 1) 'Search for first "\" For Cnt = 1 To Len(file) 'Run until discover 'other directories KSlash = InStr((KSlash + 1), file, "\", 1) If KSlash = 0 Then Exit For 'Last slash dir1 = Left(file, (KSlash - 1)) cdir1 = Mid(dir1, Ix) Ix = Ix + Len(cdir1) + 1 hh = Dir(dir1, vbDirectory) 'If Directory doesn't exist, create it If StrComp(hh, cdir1, 1) 0 Then MkDir (dir1) End If Next Cnt End Sub
An *unfinished* (but well-working* RPG, that is a GREAT learning tool for aspiring game programmers who do not know a lot about C++. The game also has a pretty cool battle system.
This simple code will allow you to programmatically select an item in a listview. Hope this helps.
PhpICalendarX is a class through which you can set a calendar to your page. I have build so many features into the same. Please mail me the comments and other queries you liked to know. And I hope it will be of good use to the planetsourcecode.com viewers.
I converted the original C# code for the IconMenu(http://www.vbaccelerator.com/home/index.asp) to VB.NET. The only Changes that I made to the actual code is that I added a property that allows you to select the Menu style you want, Classic Or XP Style. Everywhere I go that offers source code and it's in C# people are always asking for the VB.NET port of it, so Here's the VB.NET port of VBAccelerator's IconMenu
Alternate way of using Shell command in .Net
This program causes a button's color and text color to fade between its usual colors and those of its window's title bar's color and text color when the user rolls over that button with the mouse arrow.
Recently started with PHP. Here is a simple counter, which uses animated images to create sliding effect.
This source code demonstrates the techniques used to handle 3D graphics from scratch - without using an API such as OpenGL. The code includes Gouraud shading, which gives much better quality than flat shading for curved surfaces. Also included are methods for building general 3D shapes. The code does not yet include texture mapping. Some things that it can do are: build models, wire-frame rendering, lighting, flat shading, gouraud shading, phong shading, backface culling, perspective projection, world space to view space transformation, camera movement, frustum culling. There is a delphi project included to demostrate how to use the rendering engine.