Advertisement

Results for "Author: barry dunne"

2002ASP #1580
Faster encryption/decryption with CryptoAPI

This module provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This module uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this module to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file This is a faster version of my previous posting which has the CSP connection and release moved into seperate functions which must be called by the user at the start and end of all encryption. This takes the time taken for 200 encryptions down from 1 minute to 1 second. A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a vbNullString first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

2002ASP #1581
Encryption/Decryption using CryptoAPI

This is a module that you can add to your project to encrypt/decrypt using the CryptoAPI. This is the standard API used regardless of who provides the dll which actually does the encryption. Microsoft give you one such dll as standard with windows or NT, but the API ensures that you have the same interface to anyone elses, or even write your own. These different encryption dlls are called Cryptographic Service Providers (CSP's) and the standard Microsoft one is called "Microsoft Base Cryptographic Provider v1.0". To use a different CSP all you have to do is change a constant in this module. This module ensures that there are no carriage returns or line feeds in the encrypted value so that you can easily write it to an ini file for example. This version contains a fix to the original version.

2002ASP #1582
To play RTTTL (nokia ring tone) tunes

If you have a nokia mobile phone and looked at ring tones you will have come across RTTTL, the text format for the tunes. This is a stand alone module with one public function PlayRTTTL. You give it a tune as a string in RTTTL format and it plays it using beeps. Note that this only works on NT as the Beep function is different on windows. If you are wondering what it could be used for, here is an example, at work we have written a phone book system for staff extension numbers and when you click on an entry you see details about the person and a picture. I wanted to let staff also give themselves a theme song that would play when you clicked on them. Since there are hundreds of RTTTL tunes available on the internet I decided to use that format as it is easily edited by users and saved to the database, and users can add new ones whenever they like. The code could have been written better, but I wanted to keep it in a self contained single module that you could plug and play into any project. This has nothing to do with Nokia mobile phones, it just uses the same format for the tunes. If you have not seen them, this is an example of the format: Simpsons:d=4,o=5,b=160:c.6,e6,f#6,8a6,g.6,e6,c6,8a,8f#, 8f#,8f#,2g,8p,8p,8f#,8f#,8f#,8g,a#.,8c6,8c6,8c6,c6 The Simpsons are probably copyrighted so don't use that one at home kids :)

2002ASP #7313
Encryption/Decription using the windows CryptoAPI

This class provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This class uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this class to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a NULL first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

2002C #10184
Faster encryption/decryption with CryptoAPI

This module provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This module uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this module to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file This is a faster version of my previous posting which has the CSP connection and release moved into seperate functions which must be called by the user at the start and end of all encryption. This takes the time taken for 200 encryptions down from 1 minute to 1 second. A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a vbNullString first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

2002C #10185
Encryption/Decryption using CryptoAPI

This is a module that you can add to your project to encrypt/decrypt using the CryptoAPI. This is the standard API used regardless of who provides the dll which actually does the encryption. Microsoft give you one such dll as standard with windows or NT, but the API ensures that you have the same interface to anyone elses, or even write your own. These different encryption dlls are called Cryptographic Service Providers (CSP's) and the standard Microsoft one is called "Microsoft Base Cryptographic Provider v1.0". To use a different CSP all you have to do is change a constant in this module. This module ensures that there are no carriage returns or line feeds in the encrypted value so that you can easily write it to an ini file for example. This version contains a fix to the original version.

2002C #10186
To play RTTTL (nokia ring tone) tunes

If you have a nokia mobile phone and looked at ring tones you will have come across RTTTL, the text format for the tunes. This is a stand alone module with one public function PlayRTTTL. You give it a tune as a string in RTTTL format and it plays it using beeps. Note that this only works on NT as the Beep function is different on windows. If you are wondering what it could be used for, here is an example, at work we have written a phone book system for staff extension numbers and when you click on an entry you see details about the person and a picture. I wanted to let staff also give themselves a theme song that would play when you clicked on them. Since there are hundreds of RTTTL tunes available on the internet I decided to use that format as it is easily edited by users and saved to the database, and users can add new ones whenever they like. The code could have been written better, but I wanted to keep it in a self contained single module that you could plug and play into any project. This has nothing to do with Nokia mobile phones, it just uses the same format for the tunes. If you have not seen them, this is an example of the format: Simpsons:d=4,o=5,b=160:c.6,e6,f#6,8a6,g.6,e6,c6,8a,8f#, 8f#,8f#,2g,8p,8p,8f#,8f#,8f#,8g,a#.,8c6,8c6,8c6,c6 The Simpsons are probably copyrighted so don't use that one at home kids :)

2002C #15917
Encryption/Decription using the windows CryptoAPI

This class provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This class uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this class to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a NULL first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

2002VB #18788
Faster encryption/decryption with CryptoAPI

This module provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This module uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this module to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file This is a faster version of my previous posting which has the CSP connection and release moved into seperate functions which must be called by the user at the start and end of all encryption. This takes the time taken for 200 encryptions down from 1 minute to 1 second. A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a vbNullString first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

2002VB #18789
Encryption/Decryption using CryptoAPI

This is a module that you can add to your project to encrypt/decrypt using the CryptoAPI. This is the standard API used regardless of who provides the dll which actually does the encryption. Microsoft give you one such dll as standard with windows or NT, but the API ensures that you have the same interface to anyone elses, or even write your own. These different encryption dlls are called Cryptographic Service Providers (CSP's) and the standard Microsoft one is called "Microsoft Base Cryptographic Provider v1.0". To use a different CSP all you have to do is change a constant in this module. This module ensures that there are no carriage returns or line feeds in the encrypted value so that you can easily write it to an ini file for example. This version contains a fix to the original version.

2002VB #18790
To play RTTTL (nokia ring tone) tunes

If you have a nokia mobile phone and looked at ring tones you will have come across RTTTL, the text format for the tunes. This is a stand alone module with one public function PlayRTTTL. You give it a tune as a string in RTTTL format and it plays it using beeps. Note that this only works on NT as the Beep function is different on windows. If you are wondering what it could be used for, here is an example, at work we have written a phone book system for staff extension numbers and when you click on an entry you see details about the person and a picture. I wanted to let staff also give themselves a theme song that would play when you clicked on them. Since there are hundreds of RTTTL tunes available on the internet I decided to use that format as it is easily edited by users and saved to the database, and users can add new ones whenever they like. The code could have been written better, but I wanted to keep it in a self contained single module that you could plug and play into any project. This has nothing to do with Nokia mobile phones, it just uses the same format for the tunes. If you have not seen them, this is an example of the format: Simpsons:d=4,o=5,b=160:c.6,e6,f#6,8a6,g.6,e6,c6,8a,8f#, 8f#,8f#,2g,8p,8p,8f#,8f#,8f#,8g,a#.,8c6,8c6,8c6,c6 The Simpsons are probably copyrighted so don't use that one at home kids :)

2002VB #24521
Encryption/Decription using the windows CryptoAPI

This class provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This class uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this class to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a NULL first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

ASP_Volume2 #40257
Encryption/Decription using the windows CryptoAPI

This class provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This class uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this class to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a NULL first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

ASP_Volume3 #46886
Encryption/Decription using the windows CryptoAPI

This class provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This class uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this class to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a NULL first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

C_Volume2 #81319
Encryption/Decription using the windows CryptoAPI

This class provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This class uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this class to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a NULL first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

Java_Volume1 #99863
Encryption/Decription using the windows CryptoAPI

This class provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This class uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this class to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a NULL first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

1_2002 #105542
Faster encryption/decryption with CryptoAPI

This module provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This module uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this module to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file This is a faster version of my previous posting which has the CSP connection and release moved into seperate functions which must be called by the user at the start and end of all encryption. This takes the time taken for 200 encryptions down from 1 minute to 1 second. A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a vbNullString first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

1_2002 #105543
Encryption/Decryption using CryptoAPI

This is a module that you can add to your project to encrypt/decrypt using the CryptoAPI. This is the standard API used regardless of who provides the dll which actually does the encryption. Microsoft give you one such dll as standard with windows or NT, but the API ensures that you have the same interface to anyone elses, or even write your own. These different encryption dlls are called Cryptographic Service Providers (CSP's) and the standard Microsoft one is called "Microsoft Base Cryptographic Provider v1.0". To use a different CSP all you have to do is change a constant in this module. This module ensures that there are no carriage returns or line feeds in the encrypted value so that you can easily write it to an ini file for example. This version contains a fix to the original version.

1_2002 #105544
To play RTTTL (nokia ring tone) tunes

If you have a nokia mobile phone and looked at ring tones you will have come across RTTTL, the text format for the tunes. This is a stand alone module with one public function PlayRTTTL. You give it a tune as a string in RTTTL format and it plays it using beeps. Note that this only works on NT as the Beep function is different on windows. If you are wondering what it could be used for, here is an example, at work we have written a phone book system for staff extension numbers and when you click on an entry you see details about the person and a picture. I wanted to let staff also give themselves a theme song that would play when you clicked on them. Since there are hundreds of RTTTL tunes available on the internet I decided to use that format as it is easily edited by users and saved to the database, and users can add new ones whenever they like. The code could have been written better, but I wanted to keep it in a self contained single module that you could plug and play into any project. This has nothing to do with Nokia mobile phones, it just uses the same format for the tunes. If you have not seen them, this is an example of the format: Simpsons:d=4,o=5,b=160:c.6,e6,f#6,8a6,g.6,e6,c6,8a,8f#, 8f#,8f#,2g,8p,8p,8f#,8f#,8f#,8g,a#.,8c6,8c6,8c6,c6 The Simpsons are probably copyrighted so don't use that one at home kids :)

1_2002 #111275
Encryption/Decription using the windows CryptoAPI

This class provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This class uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this class to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file A word of warning: If you are going to use WritePrivateProfileString to write the encrypted value to an ini file, you must write a NULL first to delete the existing entry as it does not clear previous entries when writing binary data. This is a problem if you are overwriting a value with a smaller one.

Languages
Top Categories
Global Discovery