Results for "Volume: 7_2009-2012"
I created this code so people can get there self into an Internet Explorer.
To disable form's system menues.(close,Min,Max)
Have you ever wanted to display an extra button or two next to the minimize, maximize and close buttons? Now you can! Just download this easy to use ActiveX control and you're done. Compile it (it's safer that way in the IDE) and just add some to your form. The only thing you'll need to do manually is position the buttons on your window's caption bar (only if you have more than one), set a picture to use on it and you'll receive nice MouseMove, MouseUp, MouseDown and Click events from it, just like a normal button. A test project is included, see the screenshot.
This Module allows easy connection to SQL Server 2000, ODBC, Access 97 and Access 2000 databases. The code is well commented, so may also help a beginner to get started with DB programming. If you use it, please rate it, and i look forward to any feedback you might have.
To show how useful a flexgrid is.
This Code reads and follows the VB code in a textbox using "Microsoft Scripting Controls" (Only one line of code required) The Ocx file can be found at: http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/MSDN-FILES/027/001/732/msdncompositedoc.xml&frame=true
This code shows make form, modules and how to use command button, pictures, combo box,timers etc. while start learning VB.This code also shows some advanced concepts like running the application in background (system tray) and how to make your form stay on top of all the running applications.
Do you want to make a program like paint, but trying to fighure out how to print your image is driving you mad? It is actually pretty simple! Check out this simple example, and please vote!!!
This example made with DirectX8 demonstrates the power of D3DX by making teapots, spheres, boxes, and toruses(doughnuts)! Also, you can change the light to red, green, blue, white, black, purple, and two other shades of blue. You may change the backcolor to if you like. Please comment and vote! I will hopefully put the comments in shortly, have fun and enjoy!
A complete Skin Layer to any visual Basic Form NOW 10 SKINS WITH XP THEMES , SO YOU CAN CREATE A OFFICE XP LIKE WINDOW WITHOUT WRITING THE CODE FOR IT. It supports Different ANIMATIONS, TIMINGS,RESIZE and ..... . It is the easiest layer to add Skins and transitions to any of your VB form, . whether it is new or Old VB Forms. Now you can Make your Applications Most attractive with a single Statement. the ZIP is (WinZIP/99.0 KB). Memmory Leak Fixed and Transition types are added on 20th July. OFFICE XPTHEME, 5 NEW SKINS and SUCLASSING are added on 29th July. I've also mentioned the All credits after mutual discussion for the Same.
This small piece of code will set the cursor to the hand cursor that is shown when you hover above a hyperlink. I know you can use a .RES file to load the cursor, but the cursor can be changed in the Mouse control panel, and a .RES cursor will not reflect the changes. NOTE: This is not all my code. I found the API call on PSC (had to do quite a bit of searching), and put together a little Subroutine to make it easier to do. The original source is here: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=31572&lngWId=1
Icon creator
--New features Added to your OLD Richtextbox Control.
*** Update: See my new submission here... http://www.exhedra.com/vb/scripts/ShowCode.asp?txtCodeId=42918&lngWId=1 If you do want the original zip then email me at [email protected] *** cSuperClass.cls is i believe the fastest, safest compiled in window subclasser around. Speed: The WndProc is executed entirely in run-time dynamically generated machine code. The class only calls back on messages that you choose. Safety: So far I've not been able to crash the IDE by pressing the end button or with the End statement. Flexible: The programmer can choose between filtered mode (fastest) and all messages mode. In filtered mode the user decides which windows messages they're interested in and can individually specify whether the message is to callback after default processing or before. Before mode additionally allows the programmer to specify whether or not default processing is to be performed subsequently. No module: AFAIK this is the only subclasser ever to eschew the use of a module. So how do I get the address of the WndProc routine? Simple, the dynamically generated machine code lives in a byte array; you can get its address with the undocumented VarPtr function. The real magic in cSuperClass.cls is getting from the WndProc to the callback interface routine using ObjPtr against the owning Form/UserControl, see the assembler .asm model file included in the zip. Speaking of which... it may well be the case that my assembler is sub-optimal. Any experts out there willing to take a look? I thought I had a nifty/dirty stack trick working for a while but it didn't pan out. Should work with VB5 if VarPtr & ObjPtr were in that release? Sample project included. Regards.
This will monitor all data being sent between an IRC client and server. Just run the program, press listen, then in IRC type /server 127.0.0.1 (6667) And it should work. Great if you want to write an IRC client/server/bot. I tried to comment the code a little. Its pretty easy code too, most of it is just UI stuff.
Beginner level discussion on proper use of the Timer Control. Give your About Box a bit of sex appeal.
This script mergers multiple PDF files into one. You MUST have Adobe PDF writer (http://www.adobe.com/products/acrobat/) installed on your computer. Place your PDF files in the same directory with the Merge.vbs. Double click the Merge.vbs. The script will create a "Output.pdf" file. If you want to control the ORDER in which files are merged, just drag and drop your files onto Merge.vbs; the script will place it into the end of the "Output.pdf" file.
This is the fastest string concatenation method you'll ever come across in Visual Basic. I use a novel buffering technique that leaves the competition choking on my dust.
This simple example shows you how to create an irregular shapped form (see screenshot). You can choost from the sample, or click on the form to view the tamagotchi-shapped form! What shapes can you make? Send the code to me! Thanks!
Remotely control Winamp over a network using winsock and Winamp IPC. The code includes a class module to interface with Winamp's IPC's.