Results for "Volume: ASP_Volume2"
Client/Server network/internet application. Full skinning support. Has Private/Public chat-rooms (Optional password), Messageboard (Private/Public), Peer2Peer file-search/transfer. Also has multi-user login to the server application.
This example shows how to shift colors (RGB)
Yes, you can use GDI+ with VB6 (and maybe previous versions with a little editing) along with Win98 or better! Fixed GdiplusShutdown declaration [8/3]. Added ImageLockMode and ImageCodecFlags enums [1/22]. Dana Seaman contributed the translation of the huge EmfPlusRecordType enum and I fixed a frame delay bug in Play GIF [12/4]. Dana created an even better function for getting all GUID constants [12/19]. The goal was to simply port the C++ APIs to VB6, and as I never personally found any comprehensive examples or declarations, although there was one newsgroup post mentioned to me that clarified one issue holding me back (See "HOWTO: call GDIPLUS directly from VB6" in comp.lang.basic.visual.misc), I decided to port nearly 30 SDK samples and declared basically every single API I could find and the required enums and constants. There is so much, I hope I didn't miss anything else... Estimated API conversion accuracy: 99% Correct. If you don't have WinXP, you may need the GDI+ Redistributable RTM which is available here: http://www.microsoft.com/downloads/release.asp?releaseid=32738 . . . You should also read the beginning of the GDIPlusAPI module, as it has some useful information. If you find anything wrong, complain away, but show the fix when possible! I don't like when people have a problem and then simply say "I fixed it", as others may have a similar problem and not know how to fix it. I encourage everyone to edit the sample, post better samples, and make some classes to simplify the GDI+ usage even more! I'm not great at writing boring or even exciting introductions, so I'll try my best to explain some core ideas to you, and the code is also heavily commented, though not "well" commented. A GDI+ object class, for the purposes of VB, is simply a pointer (aka Long). The pointer, once retrieved, is simply passed ByVal to the API functions. All you really have to worry about is remembering to delete the object that the pointer represents when you are done. You could also think of the pointer as a handle, if it helps you understand better. Some API functions also want arrays of types for a parameter (you'll usually see a count parameter associated with that function). Another important fact to remember is that ALL strings that GDI+ returns or uses MUST BE UNICODE! In this code I opted to use StrConv to achieve Unicode strings, and the APIs are accordingly declared As String, but you can alter the APIs to use the StrPtr result if you like by selecting the API function declarations and Replace " As String" with " As Long". I opted not to do that as I feared I might forget what type of variable is really required, although doing so improves performance. Also, if you see "argb" floating around, it stands for Alpha-blending, Red, Green, and Blue - it is the color "encoding" scheme used by GDI+. I hope this will quickly cover some of the finer points about GDI+, but I can't rival the explainations of the GDI+ documentation: http://msdn.microsoft.com/library/en-us/gdicpp/gdi+/gdi+.asp?frame=true . . . Notes about the example code: Look at the mnuRedraw_Click menu event to see a list of available samples, and uncomment them to view the demo. I did this to encourage you to view the source. For the thumbnail sample, you'll have to insert the filename of a huge file you'd like to view the thumbnail for. There is also a very basic "freehand" curve drawing demo under the file menu [9/4]. Added a rough on demo how to play an animated GIF [9/7]. Added a SaveGrayscale demo with code from Dana Seaman [11/26]. Added a wrapper demo from Dana [11/30]. Added a DrawTextBackColor demo [1/18]. Added a LockBits demo [1/22]. Added two different BMPtoGIF demos [2/6].
Visual basic with flash.This is my first code for pscode.I am new.
You Gotta Check This Out! Rotate a picture any angle -359.999° to 359.999° with or without Anti-Alias effect. I have coded it 3 different ways to show you the advantages and disadvantages of various graphics routines. First example rotates from 1 picture to another using Point and Pset. The second one uses GetPixel and SetPixel APIs. The third, a very fast technique using GetDiBits and SetDiBits (The fastest way to rotate a picture using API). Also includes my CodeTimer class which is useful for benchmarking your code. It is returns values in milliseconds accurate to 2 decimal places (10 nanoseconds). I have put in TONS of comments and optimized the code to its fullest potential. It is even possible to rotate a picture in realtime! Update - Point/Pset and GetPixel/SetPixel are now even faster.
This is a responce to a question that was posted earlier. It cuts an image into quarters without api. note: to save the images, use SavePicture pic.Image, "C:\file.bmp"
** Release 6 ** Added BackMode, BackColor, BackPicture, BackFileName, DisableMultiSelect, New Tutorial (Disable Multi-Node Select), updated Tutorial 1 (demonstrate new Back features) and added Animated TreeView Image Background (YES - A first! Pretty unique huh!). BackColor & BackPicture work independantly of the Nodes therefore Nodes maintain their original colors! No other VB code does this - enjoy! ** Release 5 - 26 New Features, 2 new Tutorials ** Now boasts 75 Properties & Methods (features), 7 tutorial/example applications and detailed Html help files and still growing! New features include:- **Disabled Nodes Interface** with full keyboard and mouse support (Unique!), HitTestEx (with comprehensive feedback), IsNodeTextUnique, IsPathExpanded, NodeAbsolutePosition, NodeAbsoluteIndex, NodeCoord, NodeCountChildren (recursively for all sub-branches), NodeFindEx1 (containing), NodeFindEx2 (advanced pattern-matching), NodeFindObjectInTag (advanced pattern-matching), NodePosition, NodeUniqueText, SubNodesSorted, and EditLabelMaxLength. The Disabled Nodes Interface allows individual nodes to be enabled/disabled (not selectable) and toggled with the ability to affect child nodes with a single command; disabled Fore/Back colours and Bold state are programmable (preserves the original Forecolor, Backcolor and bold status of each individual node) and fires a StateChange event when a node or a range of nodes are disabled/enabled. The treeview control by itself is a powerful control when used properly. This wrapper is designed to deliver the most common and also complicated features that's expected from the control but are not included or are very difficult to implement. [See the animated ScreenShots for examples of the new features] The included tutorials also demonstrate how to tie multiple ADO recordsets to a Treeview control with drag'n'drop automatic updates(move & copy nodes and branches), load-on-demand for instataneous display of large amounts of data; benchmarking; cursor management; TabStrip management; working with common dialogs through APIs; and much, much more...
Explains how to change the color in richtextbox text. For newbies Vote if like!
It works pretty much like a normal calendar, you can enter a event and if you wish chose to be reminded at that date, and if you wish time. The program when not actively used is run in the background, taking up very little resources, and can be accessed through a icon in the system tray. It has two hardcoded dates (related to the Star Wars club I'm a memeber of) but they can easily be removed, or changed.
The best, simplest number conversion ever! There are only 2 lines of code to convert decimal to binary (or to any other base from 2 to 10). Contains 2 VERY simple functions, one to convert binary to decimal, the other does the opposete. I'd like to know what you think about it so any feedback would be welcome.
The code will remove the banner of MSN Messenger v 4.6(4.6.0082) + Let you run more instances :))) " You like it so vote for me "
This code searches a listbox for a given string, and returns the the ListIndex of the Item that matches the given string.
Search and Replace is a search utility that can find and replace one or more strings in multiple files. Operations are done using regular expressions. You have a lots of options too choose from. If you like it please vote. There is one OCX (in OCX folder) that you have to register first - it's a folder tree view. To register the OCX use: Regsvr32 [PATH]\ccrpftv6.ocx PS: Since PSC doesn't allow any OCX in zips you can download it here: http://www.europeum.net/open_source/download/ccrpftv6.ocx You need it for the folder browsing. UPDATE: It's the same functionality, but without any errors. Give it a try now.
Removes Size item from a form's system menu. So that resizable form can't be resized. It is a better methode than using in the Form_Resize event; if me.width
If you are interested to develop any data driven form application. The Important Basic Code to do so... Try it out... Give me your vote ...
ReUpLoad for CodeLib for All programmer's that don't have it.. Sorry about the Rar Zip on my first upload.. This one is WinZip No votes Please!! Injoy!!! I deleted the first one. This a Eastwood program that is free and he also has a Pro Version. This is not my code!!!!
This code ADDS controls. This program is an example with bacterial pictures. It Adds as many bacterial pictures as possible! Just check it out what I mean. And if you like it please vote for me or give comments
Third version of "Greg's Pool 3D". New features include better playability with basic European rules for eight-ball pool and some bug-fixes. For those of You, who have not seen the previous versions, I include the original description: "The programme is an example of a relatively simple game written in Visual Basic 5.0 with Direct3D, DirectSound, some physics and a handful of mathematics. It uses DirectX 8.0, thus appropriate libraries must be installed on Your computer in order to run the code. Techniques used in this project include: collision detection and response, matrix transformations, linear interpolations, vertex and index buffers, textured meshes, shadows, lighting and few more…"
Frogger game. Hop over the road avoiding the traffic, then over the river using the logs, and home, but watch out for the snake! MIDI and wav audio.
This is a more clear version of the previous post i have posted. This Code adds an image (ball) every time you click on the form, unlimited. So actually your app adds a control by itself. I know many people where looking for this code, so here it is. You can use every control, eg command buttons, textboxes, timers etc. Greets, Melvin