Advertisement

Results for "Volume: 7_2009-2012"

7_2009-2012 #229274
Bomber

Simple Direct Draw game. Shows how to make simple operations with Direct Draw surfaces. Does not require DelphiX

7_2009-2012 #217424
Form Resizer Deluxe

Class module for resizing/repositioning controls on a form. See source code for details.

7_2009-2012 #219138
Global Error Handler in VB.Net

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.

7_2009-2012 #217425
Command1_click

Allows you to backup a source file and have the destination file name be the current date. Great for database backups!

7_2009-2012 #224659
Window Creation Class

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.

7_2009-2012 #217426
Easy routine to check/create directories

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

7_2009-2012 #224977
ARENA: Evolution

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.

7_2009-2012 #227172
Select ListView Item Programmatically

This simple code will allow you to programmatically select an item in a listview. Hope this helps.

7_2009-2012 #221794
PhpICalendarX

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.

7_2009-2012 #221323
VBAccelerator IconMenu

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

7_2009-2012 #229262
Alternate way of using Shell

Alternate way of using Shell command in .Net

7_2009-2012 #234810
GlowButtons

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.

7_2009-2012 #229480
Simple LCD Sliding Counter

Recently started with PHP. Here is a simple counter, which uses animated images to create sliding effect.

7_2009-2012 #233778
Detect Enter Key (vbkeyreturn) in Keypress Event

It able to detect ENTER key press by user. VB6 use " Keyascii = vbkeyreturn " but .Net need to write another function to detect it. Try to use this function to help you. Vote this code if you found it useful 2 you.

7_2009-2012 #233755
Let take a look at PHP

Hoon It is Funny and Cool. Be sure that you have MS word to read this Article.

7_2009-2012 #225008
Buzz Phrase Generator

This is a reasonably simple piece of code to generate a random hitec phrase. Its something I made just for the practice, but has a nice demonstration of switches and random number generation. Also now generates a logfile and reports on the size of that logfile. (I plan to infect Bill Gates PC with this a sa virus and make it pop up random phrases every 7.65 minutes. MWA HA HA HA HA!!!!)

7_2009-2012 #234992
Using DAO with VB.NET

Most users especially those bigenners with vb.net asks how to use DAO with vb.net

7_2009-2012 #234077
Insert Image into Sql Server

This Code will help the programmer to insert the image into a Sql Server Database through DataReader in VB.NET

7_2009-2012 #225027
charactor arrays

this code is for the person who is dumbfounded about arrays. In the example charactor arrays are fully explained in detail. This is a must download for a beginner. Web: http://neo.8op.com/~fatal/

7_2009-2012 #225056
word.cpp

This class was developed to assist me in creating an assembler. I found that by making my own class to deal with strings I could better understand what whas happening.

Languages
Top Categories
Global Discovery