Advertisement

Results for "Author: john galanopoulos"

2002ASP #6127
Excel : A tip for you that deal with add-ins, Menus and Submenus

This is the source that i've been looking for, when i was trying to create an add-in that installed a new menu option with submenus in the shortcut menu of a workbook. (Look at the screenshot). The whole project is designed to be as simple as possible and it is an Excel Add-in. It is very helpfull for those of you that try to develop professional Add-ins. Any comments or suggestions are always welcomed (A special "Thank you" to all of you who voted for me)

2002ASP #6721
API - Simulate multithreading with WaitForMultipleObjects (eg. How ICQ monitors connection state)

In this article, we are going to see how to use WaitForSingleObject, WaitForMultipleObjects, RasConnectionNotification and many other commands with Visual Basic. We are also going to see how to monitor multiple events without the need of multithreading. I have included two examples : how to monitor when a shelled application has ended and how ICQ monitors connection state (that little flower that gets green when we dial-up and establish a connection). If you like it, post a comment. I ll be happy to read your thoughts or suggestions. (****** A Special "Thank you" goes to all of you who spent a few secs to rate this article :)

2002ASP #6722
Exploit: Kill active Win95/98 password-protected screensaver using API

Kill the active password-protected screensaver of a windows 95/98 pc using Windows API. Please read first the included MustRead.txt! The source is FULLY commented. I would appreciate any thoughts or suggestions :-)

2002ASP #6723
Wipe out a file using Windows API. No traces, no recover.

Completely destroy a file with no chance of recovery or trace. Use of CreateFile, FILE_FLAG_NO_BUFFERING (Open the file with no intermediate buffering or caching) FILE_FLAG_WRITE_THROUGH (Write through any intermediate cache and go directly to disk) and also FlushFileBuffers function to ensure that file buffers will be flushed! A must test and see.

2002ASP #6724
Instant Read-only Form

This source can dynamically turn a normal form to a read only one and vice versa. Uses API functions. Also you can exclude a control from turning into a read-only one. Suggestions and thoughts always welcomed.

2002ASP #6725
The function that Microsoft forgot to include in Err object

Error trapping in API Functions? Remember Err.LastDLLError? No description was available for you. With this function (LastDLLErrorDescription()) you can get the description of an API error. Includes a tester and is FULLY(!!!) commented. Comments or suggestions r always welcomed. Thanks to all the people who voted :)

2002ASP #6726
DoEvents evolution; the API approach. (Method for 100% optimized loops)

Do you want to make your loops 100% faster? Here's how : Many of us have used several times DoEvents, to supply a bit of air to our App, on Heavy-Duty times such as loops for updates or inserts on recordsets etc. As we most know, DoEvents processes Windows messages currently in the message queue. But what if we wanted to execute DoEvents only in times, when we want to allow user (Keyboard and Mouse) input? ( A special "thank you" to all of you who rated this article)

2002ASP #6727
MS Access 97 : Undocumented Startup option that repairs and optimizes

While searching for a way to repair a corrupted database file, that couldn't be fixed with just Repair and Compact, i found this undocumented option that prooved to repair and optimize my database file. Read the whole article. Any comments or feedback are welcomed.

2002ASP #6728
The password protected textbox control. Cure to the hack (updated)

In the past days, we have seen an exploit on how to get the text behind the password protected textbox control. This was sure a security breach. Windows XP don't have the same problem with their password protected textbox. They use their control from comctl32.dll and not user32.dll! Our textbox has the same protection. It is subclassed to intercept the WM_GETTEXT and EM_SETPASSWORDCHAR by transforming them into WM_NULL upon receival. Download the source and check it out. Any comments or suggestions are always welcomed :-) Subclassing source was borrowed by Stephen Kent's excellent article on PSC site : http://www.planet-source-code.com/xq/ASP/txtCodeId.30275/lngWId.1/qx/vb/scripts/ShowCode.htm

2002C #14731
Excel : A tip for you that deal with add-ins, Menus and Submenus

This is the source that i've been looking for, when i was trying to create an add-in that installed a new menu option with submenus in the shortcut menu of a workbook. (Look at the screenshot). The whole project is designed to be as simple as possible and it is an Excel Add-in. It is very helpfull for those of you that try to develop professional Add-ins. Any comments or suggestions are always welcomed (A special "Thank you" to all of you who voted for me)

2002C #15325
API - Simulate multithreading with WaitForMultipleObjects (eg. How ICQ monitors connection state)

In this article, we are going to see how to use WaitForSingleObject, WaitForMultipleObjects, RasConnectionNotification and many other commands with Visual Basic. We are also going to see how to monitor multiple events without the need of multithreading. I have included two examples : how to monitor when a shelled application has ended and how ICQ monitors connection state (that little flower that gets green when we dial-up and establish a connection). If you like it, post a comment. I ll be happy to read your thoughts or suggestions. (****** A Special "Thank you" goes to all of you who spent a few secs to rate this article :)

2002C #15326
Exploit: Kill active Win95/98 password-protected screensaver using API

Kill the active password-protected screensaver of a windows 95/98 pc using Windows API. Please read first the included MustRead.txt! The source is FULLY commented. I would appreciate any thoughts or suggestions :-)

2002C #15327
Wipe out a file using Windows API. No traces, no recover.

Completely destroy a file with no chance of recovery or trace. Use of CreateFile, FILE_FLAG_NO_BUFFERING (Open the file with no intermediate buffering or caching) FILE_FLAG_WRITE_THROUGH (Write through any intermediate cache and go directly to disk) and also FlushFileBuffers function to ensure that file buffers will be flushed! A must test and see.

2002C #15328
Instant Read-only Form

This source can dynamically turn a normal form to a read only one and vice versa. Uses API functions. Also you can exclude a control from turning into a read-only one. Suggestions and thoughts always welcomed.

2002C #15329
The function that Microsoft forgot to include in Err object

Error trapping in API Functions? Remember Err.LastDLLError? No description was available for you. With this function (LastDLLErrorDescription()) you can get the description of an API error. Includes a tester and is FULLY(!!!) commented. Comments or suggestions r always welcomed. Thanks to all the people who voted :)

2002C #15330
DoEvents evolution; the API approach. (Method for 100% optimized loops)

Do you want to make your loops 100% faster? Here's how : Many of us have used several times DoEvents, to supply a bit of air to our App, on Heavy-Duty times such as loops for updates or inserts on recordsets etc. As we most know, DoEvents processes Windows messages currently in the message queue. But what if we wanted to execute DoEvents only in times, when we want to allow user (Keyboard and Mouse) input? ( A special "thank you" to all of you who rated this article)

2002C #15331
MS Access 97 : Undocumented Startup option that repairs and optimizes

While searching for a way to repair a corrupted database file, that couldn't be fixed with just Repair and Compact, i found this undocumented option that prooved to repair and optimize my database file. Read the whole article. Any comments or feedback are welcomed.

2002C #15332
The password protected textbox control. Cure to the hack (updated)

In the past days, we have seen an exploit on how to get the text behind the password protected textbox control. This was sure a security breach. Windows XP don't have the same problem with their password protected textbox. They use their control from comctl32.dll and not user32.dll! Our textbox has the same protection. It is subclassed to intercept the WM_GETTEXT and EM_SETPASSWORDCHAR by transforming them into WM_NULL upon receival. Download the source and check it out. Any comments or suggestions are always welcomed :-) Subclassing source was borrowed by Stephen Kent's excellent article on PSC site : http://www.planet-source-code.com/xq/ASP/txtCodeId.30275/lngWId.1/qx/vb/scripts/ShowCode.htm

2002VB #23335
Excel : A tip for you that deal with add-ins, Menus and Submenus

This is the source that i've been looking for, when i was trying to create an add-in that installed a new menu option with submenus in the shortcut menu of a workbook. (Look at the screenshot). The whole project is designed to be as simple as possible and it is an Excel Add-in. It is very helpfull for those of you that try to develop professional Add-ins. Any comments or suggestions are always welcomed (A special "Thank you" to all of you who voted for me)

2002VB #23929
API - Simulate multithreading with WaitForMultipleObjects (eg. How ICQ monitors connection state)

In this article, we are going to see how to use WaitForSingleObject, WaitForMultipleObjects, RasConnectionNotification and many other commands with Visual Basic. We are also going to see how to monitor multiple events without the need of multithreading. I have included two examples : how to monitor when a shelled application has ended and how ICQ monitors connection state (that little flower that gets green when we dial-up and establish a connection). If you like it, post a comment. I ll be happy to read your thoughts or suggestions. (****** A Special "Thank you" goes to all of you who spent a few secs to rate this article :)

Languages
Top Categories
Global Discovery