Results for "Volume: 3_2004-2005"
The purpose of this text is to attempt to answer the incessant queries on coloring text in RichTextBoxes. There is no magic command to do so, unless of course you have purchased a third party control from somewhere or other. There are plenty around, and some are cheap, some are not... Please read the article, download and enjoy the code. I'd appreciate a little feedback, and maybe a vote? Just so I know which bits are good, which aren't, and which i've left out. Thanks =) Update [15/10/02]: Fixed first line bug - thanks Rob =)
This is an advanced autocomplete function that will autocomplete for a textbox, a listview control or a listbox all from 1 function. I have seen code on this site before that had inspired me to create this function since I need it in a lot of my projects. I tried to comment everything as well as I could. if you have any questions email me and I will do my best to help you. oh yeah - Please vote for me if you like this code. thanks
Highlight the active control in a different colour to draw attention. Does not require the gotfocus, lost focus for each control. VERY EFFICIENT CODE
This code takes an input decimal number and converts it to roman numerals. Will work for any number inputted until the output string becomes too big (and testing seems to show this doesnt actuually happen)! This is the shortest piece of code to o this (to my knowledge), as all the others I've seen are useless....
Demonstrates how to convert Deciamls to Binary numbers, ASCII, or Hex. Enter one Hex, Binary, Decimal, or ASCII value and get its corasponding HEX, Binary, ASCII, or Decimal values. Enjoy
For reserving video rentals online at your Video Store's website. Allows searching of reservations by date. Has web-browser front-end for viewing reservations, deleting, and also customer entry and deletion. Uses ADO for database storage. Thanks to Christian Reisch for his code I used for the ASP based calender routine.
This is a basic example of how to use an access database in an application.. an address book... It has options like search, add, delete, view all.. again, just an example
This article will show you how to rename the Windows Start Menu button in Win 9x and WinXP ....
SQL Server Stored Procedure Creator Are you tired of having to manually create stored procedures to simply perform Insert, Update, Delete and Select functions on each of the tables and views in a newly created database ? If you answered YES to the above - this VB6 add-in is for you. I got tired of having to repeat the same steps each and every time I created a new SQL database, so I decided to automate the process for me. I've tested the Stored Procedures created on SQL Server 7.0 and SQL Server 2000. On a database with 21 tables - this add-in created a total of 184 different Stored Procedures for me when I selected all the options. That's 184 Stored Procedures that I didn't have to code myself. It will allow you to connect to the SQL Server database of your choice and to create the following 'default' stored procedures for you : - Insert - Insert with Identity - Update - Delete - Select * - Select - Select single record using ID / Key There are a few options available to the user when generating the Stored Procedures : - Drop stored procedure before creating the new one - Return ID of newly inserted record as an OUTPUT parameter or as a SELECT statement - Update the database directly or create a Script file This is Version 1 of the add-in and it is sufficient for my current needs. I can foresee several enhancements, but am not sure when I'll be able to get round to them : - formatting the text in the Stored Procedure to make it more human readable - enhance the error checking and handling - licence routines etc. You will need to compile the DLL in order to use it. Neat Stuff : This code demonstrates how to create a VB6 add-in, how to create a menu item under the Add-Ins menu that has a short-cut key as well as an icon, using ADO to retrieve information about the database, creating an ADO connection at run-time whilest allowing the user to select the connection properties, registry access and several other techniques. Please leave comments and opinions. I'm very keen to find out what other people think about this project. Thanx, Alon
Inspired by the sudden "explosion" of syntax hilighters around here I decided to roll my own, just to see how it would turn out. This is an extensible Object Oriented approach to syntax hilighting with very easy-to-read sourcecode. By default the program uses the CSS emitter, which generates colors using the included CSS file, you can switch it to use tags of you can write your own emitter with little to no effort. The parser and emitter parts of the code are completely distinct. Right now it parses keywords, numbers, comments, strings and plain text, have fun with it, it's certainly somewhat more useful than some of the other hilighter examples I've encountered here. Updated new version, new features: - Supports Progress 4GL as well as Visual Basic - Command line parameters for scriptability - Will expand and uppercase abbreviated keywords in P4GL - Added Plaintext emitter - Some general code cleanup and improvement
It removes a set of chars from a string, by using ParamArray, it is very simple! It was submitted as a alternative to another submission : http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=39842&lngWId=1
REV-X BETA DOWNLOADER! This software was mainly created for warez purpose. You can use the configurator (like Bobdown) and split your warez file into hundreds of little files, then configure your free accounts (like digiland, lycos, ecc.ecc...). The software automatically upload and rename all the files creating a fake ftp structure (Like images...website...). Then you can create a little file named.RVX. Now you can (and the final user) open with the Downloader included this little file and use it to automatically download the files and replitting it to recreate the original file! And the account don't delete the files because they seems part of a website!! It's complex to explain but easy to do! TRY IT!! It's made by me, if you like it vote for me or send feedback! For any explanation please e-mail me. YOU NEED ALSO REV-X BETA CONFIGURATOR. SEARCH AND DOWNLOAD IT IN PSC.
This project is an attempt to create an easy to use DLL, which will allow your programs to connect to the Internet. It makes use of the Winsock API functions and the ICMP API functions, as well as various other Kernel32 API functions, to allow you to easily connect to other computers, and allow other computers to connect to you. Once a connection has been established, the DLL allows data to be sent and received and information about the local and the remote end of the connection to be gained. There is also a feature in the DLL that will allow your programs to send a PING, connected or not.
hey all this is a sweet little player that sits on your systray and it plays *.jpg files that are actually *.mp3 files :-) Reason why: i have a really harsh boss and he does not like us to listem mp3 while we code, so i made this quick solution How to: step1 - copy all of your *.mp3 files to the JPG folder setp2 - Run mp.exe then push the *.mp3 to *.jpg button this should rename all of your mp3 files to blah.jpg setp3 - Now you can listem *.mp3 files that look like *.jpg files, and if the admin comes at your machine and searches for *.mp3 files guess what he aint going to find anything :-) setp4 - If you right lick the icon on systray it will close the player imediatelly. I hope you all can learn from this code and i hope to get some votes for this as well all developers out there have a nice day and may God Bless us all
My First Submission to PSCode.Com- After searching all over PSC for a SIMPLE registry reading article, i couldnt find one. Although i did find a Registry write and thats where i got this code from and altered it to do reading instead of writting. Plz vote, any comments welcome!! NOTE: To use this place this code in the Form Load and place a TextBox called Text1 on your form and you should be set...have any questions, post them and i will check them out later!!
UPDATE: -Services not inbuilt anymore, there's a "Services Server" i made at: http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=40066&lngWId=1 (slow) OR http://dillerthekiller.free.fr/pure -Better NetSplit resolving -Compiling as P-Code now, .exe and Native Code will crash on Netsplits for some reason. -Service System is actually almost perfect. This is a fully networkable IRC server. It is able to do everything apart from /whowas, which seems impossible to make. i have included a picture that shows a working network. i havent experienced any trouble on this. But netsplits are still a pain, and they need to be resolved by operators because often there will be gohsts remaining, ill find a solution to that as soon as possible. CHANGES: -Improved logging features, can be turned off and on now, also implemented an status file, which will be generated any ### seconds, customizable through .conf -using API-less solution now, to read the settings files. -fixed the whitespace in nicklist bug. Alright i have forgotten to choose a caterogy and ill do everything but writing this whole bit again, ive made an readme.txt with much better information anyway.
DateChanga views and modifies the date you see when you right click a file. This can be very useful in many ways, also shows how to convert SYSTEMTIME to FILETIME etc. I have tested on vb6 in winXP and it works fine. Please help me with some feedback regarding anything you like/dislike about this program. and please dont forget to vote.
ive seen lot's of people's input on bad and insecure some encryption codes. this is one i put togeather. im wondering how (in)secure it is. please give me your opinion so i can further improve on it. you dont need to vote, i just want feedback. sorry about the repost. i messed up the last one.
This detects your idlestate if there is no input from your keyboard or mouse a triggers an event so if you want to make your screensavers this is jus what you need..
As a computer programmer, you may be developing one or more projects to run on certain computers on a network environment. Once the initial installation takes place for each computer, you may have a need to change the code for a program, recompile, and create a new EXE file,and copy the EXE file to each computer needing this program update on your network. NOTE: To use this demo, you must have System Admin rights or try typing in a UNC path and access their computer remotely. (Example Shown Right) The file must be closed before you can copy it to networked computers. You could, of course, Use Start / Run / and type in the UNC path and dump the file to each computer (like illustrated above) - then copy the file over. There may even be other methods to do this, but the method I developed allows you to send the EXE file (or other file(s) if necessary), to each computer on the network (only those running your software) through its computer identification name. This program was written about 1 ½ years ago – found partial code that was missing – so I’m uploading this for you’ll. Did some simple modifications to it before uploading it to PSC. Forms are quite simple and it uses DAO (I know it’s old) but still works very well. See for yourself – then change to ADO if you wish. This YourApp.vbp and TransferApp.vbp does not require any outside OCX or DLL. You do have to reference the Microsoft Scripting Runtime. Please read the README.doc Word Document for proper preparation, setup, and execution of this demo. If you don't have MS WORD, you can download the WORD viewer from Microsoft's web site. If you like this program, please feel free to vote - please leave suggestions and/or comments. Thanks