Results for "Volume: 5_2007-2008"
MZ-Tools 3.0 is a freeware add-in for VB 5.0, 6.0 and the VBA (Office) which adds several productivity features to the IDE. You can download it from www.mztools.com, i am using this addin for 1.5 years and my productivity has really increased. i really like its feature particularly 'clear intermediate windows', 'close all windows' and 'procedure caller'. Take a look at my other PSC submission ID: 58620 & 58651
Create a cool 3D shape from a 2D region. See screenshot which pretty much says it all. The direction of the 3D shape is hardcoded at 45deg angles. If you choose, you can modify to allow any angle. Updated to include sample of blt'ing an image over the plain shape.
Add a new button to the window caption. Supports Windows XP theming.
This extends the functionality of the listbox by (1) allowing you to create an attractive header with 3 styles ( sunken, framed, raised) (2) specify a header backcolor, forecolor and font.. as well as the fore and backcolor and font of the list portion of the control. The best part of this control is that is specifically designed to be a listbox with tabstops AND you can retrieve AND set data in the list based upon a row and column setting...so all the dirty working of juggling text data is taken care of. This is something i whipped together in a couple of hours so its not totally complete..but its pretty much there..and I am hoping to get suggestions from you on how to enhance and refine it..but I am pretty sure you will like and appreciate it!!
Authenticates user using LDAP/ADSI
you know how it can be difficult to resize the height of the listbox because it only allows you to reset its height + or - a full font height and not in incerments inbetween ? Well this little tip I found out purely by accident.
This is a full Text Fader Example allowing you to fade text by three (3) colors. It uses nine (9) scrollbars (3 for each color to fade by) allowing you to set the color of each of three (3) Color Labels. It has a great Fade Preview so you can see what the Faded Text looks like as you type it. It also has Bold, Italic, Underline and Strike Through options that can be changed real time (the Faded Text Preview updates as you change the options). There is also a very cool option that Dynamically updates the Faded Text Preview as you change or scroll any of the color scrollbars. If enabled, it allows you to change the colors dynamically and see what the Faded Text looks like instantly. It does, however, require a fairly fast PC with at least 256MBs of RAM. It doesn't slow down your PC or eat up memory, slower PCs just don't scroll the scrollbars smoothly and the RGB values jump in large increments instead of smoothly by 1 if the Dynamic Option is enabled. This is a perfect start for an AOL Chat Fader or any other type of Chat Fader.
I want to promote the idea of giving your client-side apps a reconnection feature. This is convenient if you need your clients to automatically reconnect to the server. Good for server-client cafe management and networked desktop locking. I do believe that there are other ideas and ways to do this and if you DO have a better idea, I'll appreciate it if you could share it with me since I need this feature for a school project. I have included a simple server-client chat to demonstrate this feature. To test, compile both server and clients into exe format then just run any number of clients either with the server running or not. Then just close the server and then run it again to see your clients reconnecting. That's it. Hope this helps and if you feel like it please do vote. Cheerio!
This code demonstrates one of the iRender 3D game engine features - md2 loading, rendering with dynamic lighting and shadows. There are only 50 lines of code. This sample uses iRender3D.dll which you can download from http://irender3d.com in download section (It is about 250 kb).
This Game uses alpha-beta search to play reversi (othello), it has five levels of computer intelligence and the highest level plays really well (better than the previous version). The game also has some more features like: save/load position, setup position, undo/redo, sound,...
I decided to make a winsock app to help "newbies"(No offense to anyone) understand winsock and how it connects, send's data, recieves, etc. A chat program would be a perfect example, but there are so many chat examples out already. In this chat, all the messages are recieved in MsgBox's. It's a bit original, if this code doesn't help you fully understand how winsock works, it will help you to some extent if you have no idea what your doing.
AliasEXE32 is a program that allows users on a network to automatically get an updated EXE for a Visual Basic program whenever that program is modified. Why This Program Was Written The problem: We were developing applications rapidly for a Y2K coversion from the legacy database to SQL Server. We needed a way to distribute these front-end applications to all of the users on the network. As the programs were modified and new EXEs were created, it was not practical to have the users run a setup program for each update. The solution: Basically the way the tool works is it creates an alias EXE based on the original .VBP project file. For example, your application EXE name is myapp.exe. This tool creates an EXE named myapp_run.exe. On the network you have created a directory called apps\bin where all of the program executables reside. In order for this to work all of the users must be mapped to the same common drive on the network. During distribution of the program you include the alias EXE file (myapp_run.exe) in the setup and the desktop icon and the program group link point to this file instead of the actual program EXE. When the user runs the program, it goes out to the specified network location and checks to see if there is a more recent version of the base EXE file. If one exists it copies the file from the network location to the home directory of the user and then executes the program and closes itself. Obviously this was a quick fix and it worked great for a time, but later other methods were put into place. The reason I am submitting this code example is because it is an interesting little project using VB6 to actually create a VB project and then compile it into an EXE on the fly. I don't know if there is another program of this type on PSC, but here it is. I hope this is useful to someone. It came in handy at the time it was needed and would probably be usable on any any small network today.
rotating players in 2d games? make clocks, rotate stuff in whole three hundred and sixty degrees :P .. rate it please ;) and ENJOY
Well, It's all in the title! The text is fading in and out. Smooth scrolling, no flicker. Left, center or right alignment. Very simple and compact code. No API's used, just plain and simple basic drawing code. Only two subs: Form_Load & Timer1_timer. You can change background, forecolor or even add your own image as background! There are 2 different demo forms to try out. (don't mind the screenshot, it's a bit fuzzy due to jpg conversion) All comments welcome ;-)
I always wanted to 'imprison' microsoft word and this is the execution of the sentense. I wanted word to reside inside an activex control and not run by itself. I also wanted full control of it and also use it as a report generator. Of cource you must have microsoft word 2000+ on your computer (Sorry for that, but we are going to IMPRISON it so feel a bit better). I have only tested this with word 2003 and I would like your feedback. First loading can be slow (Microsoft!!). This is the VERY first version (pre-alpha) and any comments will be highly appreciated. Forgive my dirty programming demo program but this is the work of a single day and I put effort on the control and not the demo. The concept is for word to live inside the Webbrowser control. You can create named bookmarks and replace them with values at runtime. This is the backbone for custom reports (or templates like reminding letters etc). You can insert pictures, files etc at will anywhere. You can toggle various things on-off. You can print, load and save documents in various formats (see code for 'Save File'). Click on the 'Load Test file' to test the predefined bookmarks. Also there is a technique to load files from the resource file (see code in the control). Well I hope that somebody out there wanted something like this. I wil keep on improving it as I need it in one of my projects (Radiologist reports with IC10 codes etc) but thought that I get some feedback from you while at it. If you care to vote then please leave a message as some sort of feedback that will help me in this project. Have fun and enjoy VB = Very Beautyful :)
This is my ListGrid control..so called because it basically merges the functionality of a listbox with a listgrid control. Some of its appealing features are (1) with a short, simple call you can get or set the text of a specified "cell" in the list (2) you create attractive header (2 possible styles) with as many columns as you wish. (3) clicking any of the columns headers cause the list to be sorted in ascending or descending order (alphabetically) just like in outlook or kazaa (4) There is a property call .highest_index which makes for slightly easier looping...for example with the listbox or any of ms controls..there is a property such as the listcount so if you want to loop through the list you go> for i = 0 to list1.listcount -1 the .highest_index property already takes that into account so now you just loop by>> for i = 0 to listGrid1.highest_index. The listcount is still available to you as well if you prefer that, (5) your can set the font/forecolor/backcolor, individually for both the header and the list itself. If you prefer the lightweightness (not a real word i dont think) of the listbox, and used the settabs api to try to increase the functionality of the listbox but felt like you wish you could take the improvements many steps further than that then you will love this control. Suggestions for improvement will be implemented so suggest away.
A button that you would use to minimise your app to the system tray. I liked a submission made earlier by AB Software (code id = 58679) but didnt like the need for external controls and bas files. This submission does the same job but everything is contained within one usercontrol making it easy to just drop into any project. It has its limitations and there is scope for further development. If I do anything further on it I will post updates. Feedback appreciated. Acknowledgements made within the code where appropriate.
a replacement for the standard line control. creates a line that looks more like the line that makes up the edge of the frame control (screenshot) there are 3 types, (single,double, triple) and 2 different types (embossed, raised). Not a huge or fancy control but will save you about 4 or 5 lines of code, without having to think too hard. with there control there is no coding whatsoever..like the standard line control..just drop and position and your done
Makes a cool Lightning Ball thing on the screen. Looks cool, see screen shot. If anyone wants to help me translate it into a Java Applet so i can put it on a Web Page, just leave a comment.
This program can clean: IE History, IE temporary files, IE typed urls, Cookies, Temp, recent documents, typed commands in run, searched files, WMP recent files, ...