Advertisement

Results for "Author: jason newland"

ASP_Volume3 #65986
Carles P.V's Custom Scrollbar Control - Updated

This is Carles P.V's great scrollbar control that I have updated to allow the "themed" property to correctly draw a themed scrollbar under Windows Vista. Also tidied up the code a lot. Don't vote for this, as this is not my code and credit goes to Carles P.V (the Steve McMahon of pscode.com, lol). Comments would be nice tho.

ASP_Volume3 #65987
A Way To Use Configuration INI Data

Ever had an application that had a large INI file for its configuration settings? Did you have loads of public variables all over the place just to store the setting for something? Well, in this demo project you can make use of Hash Tables (or "Linked Lists") which are stored in memory and can be called at anytime during the application's runtime. Works similar to the built in collection but is a lot faster at finding, adding and removing data than the collection. I have implimented several functions to save the need to learn how the class module works such as hMake, hFree, hAdd, hDel, hFind, hGet, SaveHashToINI and LoadINIToHash. You would normally hMake the hash first, then hAdd data, hGet(table,item) would retrieve data of the item from the table, hDel(table,item) would remove, etc. Works similar to mIRC's hash functions. Hash tables are great in my opinion and I love utilizing them where ever I can. Note: I am not the original author of the cHashTable.cls file and I'm not sure who is, so credit goes to whoever wrote it. Please enjoy my code and vote for it ;)

ASP_Volume3 #65988
A Simple Way To Create New Instances Of A Form

This demonstrates an easy method using and array to create multiple instances of a form for use in anything from a IM client, IRC client, or a data base.

ASP_Volume3 #65989
A Complete IRC Socket Parser Engine v.1.0

This is a complete IRC socket and parser engine suitable for simply dropping in your project. It contains the socket API, socket control commands (similar to normal winsock properteries .connect, etc.. see Read Me for more details). It will also parse out the raw socket data, split it into its relevant parts, raise an event that the data has parsed, which can then be sent on to the second parser. The second parser splits the data into events, such as TEXTCHAN, ACTIONCHAN, JOIN, PART, etc and raises its associated event. All you need to simply do is supply the code to tell your client what to do after that event has been raised. Makes making an IRC client a lot simpler in the long run, as most of the hard work (the parser) has been done for you. Please enjoy this, a don't forget to vote and comment on my code :)

ASP_Volume3 #65990
Terminating an application correctly

This is to explain the all too common problem for beginners to VB of "Why does my application hang when I close it and why is the compiled EXE version still in Windows Processes?".

ASP_Volume3 #65991
Draw Picture Transparently On Another Picture

This demonstrates simply how to draw a bitmap/gif using a mask color (such as rgb(255,0,255)) as the transparent color and placing it on top of another image (or form DC).

ASP_Volume3 #65992
An IRC Chat Frame Text Control (Updated)

This mIRC-style text output window displays IRC formatted text in a scrollable picturebox and also allows for copying of the lines of text, as well as double clicking on nicknames (if AddNick is implemented), #channel names and URL links, just like mIRC. Another mIRC like feature, is the ability to load background images either stretched, tiled, centered or photo (top right corner). EventColor() array is used to set predetermined IRC color numbers for particular events such as Join, Part, Quit, Action, etc. This has taken me about a year to get working properly and more than likely has one bug, or two, but i hope someone finds it useful. This would be most useful, obviously in an IRC client. There is a reference included "strings.tlb" which is used for the word wrapping routine which must be copied to your windows/system32 folder. Have fun :) UPDATE: Fixed a few bugs. UPDATE 2: Added UTF-8 support and loading of part of a log file (useful for onjoin "reload logs" feature like mIRC) - also included a better demo project to show more of its features

ASP_Volume3 #65993
Advanced Token Functions

From time to time when using VB one needs a Token identifier of some description to do simple string manipulation without the need to do big loops and InStr. There are 8 total token functions within the module AddTok, DelTok, PutTok, RepTok, InsTok, GetTok, IsTok and FindTok. Hope this has proved useful for someone and I wrote it over 6 months ago as the sources on the net i found for GetTok just did not provide the functionality of string manipulation that I required. A good use for this module would be in an IRC client or such other chat program (or anything for that matter) for parsing and splitting the incoming socket data. :) have fun!

4_2005-2006 #171283
Carles P.V's Custom Scrollbar Control - Updated

This is Carles P.V's great scrollbar control that I have updated to allow the "themed" property to correctly draw a themed scrollbar under Windows Vista. Also tidied up the code a lot. Don't vote for this, as this is not my code and credit goes to Carles P.V (the Steve McMahon of pscode.com, lol). Comments would be nice tho.

4_2005-2006 #171284
A Way To Use Configuration INI Data

Ever had an application that had a large INI file for its configuration settings? Did you have loads of public variables all over the place just to store the setting for something? Well, in this demo project you can make use of Hash Tables (or "Linked Lists") which are stored in memory and can be called at anytime during the application's runtime. Works similar to the built in collection but is a lot faster at finding, adding and removing data than the collection. I have implimented several functions to save the need to learn how the class module works such as hMake, hFree, hAdd, hDel, hFind, hGet, SaveHashToINI and LoadINIToHash. You would normally hMake the hash first, then hAdd data, hGet(table,item) would retrieve data of the item from the table, hDel(table,item) would remove, etc. Works similar to mIRC's hash functions. Hash tables are great in my opinion and I love utilizing them where ever I can. Note: I am not the original author of the cHashTable.cls file and I'm not sure who is, so credit goes to whoever wrote it. Please enjoy my code and vote for it ;)

4_2005-2006 #171285
A Simple Way To Create New Instances Of A Form

This demonstrates an easy method using and array to create multiple instances of a form for use in anything from a IM client, IRC client, or a data base.

4_2005-2006 #171286
A Complete IRC Socket Parser Engine v.1.0

This is a complete IRC socket and parser engine suitable for simply dropping in your project. It contains the socket API, socket control commands (similar to normal winsock properteries .connect, etc.. see Read Me for more details). It will also parse out the raw socket data, split it into its relevant parts, raise an event that the data has parsed, which can then be sent on to the second parser. The second parser splits the data into events, such as TEXTCHAN, ACTIONCHAN, JOIN, PART, etc and raises its associated event. All you need to simply do is supply the code to tell your client what to do after that event has been raised. Makes making an IRC client a lot simpler in the long run, as most of the hard work (the parser) has been done for you. Please enjoy this, a don't forget to vote and comment on my code :)

4_2005-2006 #171287
Terminating an application correctly

This is to explain the all too common problem for beginners to VB of "Why does my application hang when I close it and why is the compiled EXE version still in Windows Processes?".

4_2005-2006 #171288
Draw Picture Transparently On Another Picture

This demonstrates simply how to draw a bitmap/gif using a mask color (such as rgb(255,0,255)) as the transparent color and placing it on top of another image (or form DC).

4_2005-2006 #171289
An IRC Chat Frame Text Control (Updated)

This mIRC-style text output window displays IRC formatted text in a scrollable picturebox and also allows for copying of the lines of text, as well as double clicking on nicknames (if AddNick is implemented), #channel names and URL links, just like mIRC. Another mIRC like feature, is the ability to load background images either stretched, tiled, centered or photo (top right corner). EventColor() array is used to set predetermined IRC color numbers for particular events such as Join, Part, Quit, Action, etc. This has taken me about a year to get working properly and more than likely has one bug, or two, but i hope someone finds it useful. This would be most useful, obviously in an IRC client. There is a reference included "strings.tlb" which is used for the word wrapping routine which must be copied to your windows/system32 folder. Have fun :) UPDATE: Fixed a few bugs. UPDATE 2: Added UTF-8 support and loading of part of a log file (useful for onjoin "reload logs" feature like mIRC) - also included a better demo project to show more of its features

4_2005-2006 #171290
Advanced Token Functions

From time to time when using VB one needs a Token identifier of some description to do simple string manipulation without the need to do big loops and InStr. There are 8 total token functions within the module AddTok, DelTok, PutTok, RepTok, InsTok, GetTok, IsTok and FindTok. Hope this has proved useful for someone and I wrote it over 6 months ago as the sources on the net i found for GetTok just did not provide the functionality of string manipulation that I required. A good use for this module would be in an IRC client or such other chat program (or anything for that matter) for parsing and splitting the incoming socket data. :) have fun!

5_2007-2008 #193801
Carles P.V's Custom Scrollbar Control - Updated

This is Carles P.V's great scrollbar control that I have updated to allow the "themed" property to correctly draw a themed scrollbar under Windows Vista. Also tidied up the code a lot. Don't vote for this, as this is not my code and credit goes to Carles P.V (the Steve McMahon of pscode.com, lol). Comments would be nice tho.

5_2007-2008 #193802
A Way To Use Configuration INI Data

Ever had an application that had a large INI file for its configuration settings? Did you have loads of public variables all over the place just to store the setting for something? Well, in this demo project you can make use of Hash Tables (or "Linked Lists") which are stored in memory and can be called at anytime during the application's runtime. Works similar to the built in collection but is a lot faster at finding, adding and removing data than the collection. I have implimented several functions to save the need to learn how the class module works such as hMake, hFree, hAdd, hDel, hFind, hGet, SaveHashToINI and LoadINIToHash. You would normally hMake the hash first, then hAdd data, hGet(table,item) would retrieve data of the item from the table, hDel(table,item) would remove, etc. Works similar to mIRC's hash functions. Hash tables are great in my opinion and I love utilizing them where ever I can. Note: I am not the original author of the cHashTable.cls file and I'm not sure who is, so credit goes to whoever wrote it. Please enjoy my code and vote for it ;)

5_2007-2008 #193803
A Simple Way To Create New Instances Of A Form

This demonstrates an easy method using and array to create multiple instances of a form for use in anything from a IM client, IRC client, or a data base.

5_2007-2008 #193804
A Complete IRC Socket Parser Engine v.1.0

This is a complete IRC socket and parser engine suitable for simply dropping in your project. It contains the socket API, socket control commands (similar to normal winsock properteries .connect, etc.. see Read Me for more details). It will also parse out the raw socket data, split it into its relevant parts, raise an event that the data has parsed, which can then be sent on to the second parser. The second parser splits the data into events, such as TEXTCHAN, ACTIONCHAN, JOIN, PART, etc and raises its associated event. All you need to simply do is supply the code to tell your client what to do after that event has been raised. Makes making an IRC client a lot simpler in the long run, as most of the hard work (the parser) has been done for you. Please enjoy this, a don't forget to vote and comment on my code :)

Languages
Top Categories
Global Discovery