Results for "Author: shroom"
Lets you set the minimum size your form can be (I haven't seen anything else like this, I did it cause I wanted a form of mine to not go below a size), Also provides a one-step way to add a bitmap to a menu item (someone submitted something like this in the previous day or two, although I didn't take my code from them), and an easy way to add your icon to the system tray. This is my first submission, although I've been using PSC for a while now. I'ld appreciate any voting you could do. Also, comments are greatly appreciated. I'ld love it if you could fix any bugs you come across and send me an email!
Allows you to accept multiple winsock connections! Great for beginners to intermediate! I know, still some bugs, but overall some nice coding. Uses TCP/IP connection, not UDP! Take a look, comments up the wazoo on this one =) This would be wonderful if you want to create your own gaming server, chat server, or just a file server! PS - Guess what, guys?! In my code, when the server "broadcasts" a message, I have a doevents in the loop. This is because of a problem with the winsock control that the doevents fixes. HOWEVER! Service pack 4 fixes this. So d/l service pack 4 and remove the doevents from the "broadcast" loop, and have instantaneous broadcasting!!!
Offers 6 ini functions that are extremely useful. Handy, because it has a "setup" function that specifies the filename and the number of characters you'ld like to retrieve (max) so that you don't have to re-specify them every time you write to your INI file (great if you only have one or two INI files per project). Someone else did a "complete INI module" that actually hard-code edited the ini file to find out the number of sections, and so on, but this one uses in-built features of GetPrivateProfileString. Have fun! Read_Ini -- Returns a string with the appropriate INI key in it Write_Ini -- Writes to a specific ini key Read_Sections -- Returns a Chr(0) delimited string containing all the [Sections] of the INI file Read_Keys -- Same as above, but returns all the keys=values under the appropriate section Delete_Key and Delete_Section do just what they say =) Note: vbCrLf's are turned into a funky string because I noticed when writing vbcrlf's to ini files it has the tendency to screw up and actually place them on separate lines so you can't retrieve the whole thing again. The funky string is recognized by this module when you read the values in again, and converts em back to vbCrLf
I whipped this up because a huge project I worked on used the registry to store an enormous amount of settings. Rather than lose them all, which couldn't be regained, I ported them to a .REG file and then took a look at the format. Noticed a pattern, so I made this to convert a REG file to an INI! I've only tested it on my Win2k and WinME setup, and any feedback would be appreciated!
Lets you set the minimum size your form can be (I haven't seen anything else like this, I did it cause I wanted a form of mine to not go below a size), Also provides a one-step way to add a bitmap to a menu item (someone submitted something like this in the previous day or two, although I didn't take my code from them), and an easy way to add your icon to the system tray. This is my first submission, although I've been using PSC for a while now. I'ld appreciate any voting you could do. Also, comments are greatly appreciated. I'ld love it if you could fix any bugs you come across and send me an email!
Allows you to accept multiple winsock connections! Great for beginners to intermediate! I know, still some bugs, but overall some nice coding. Uses TCP/IP connection, not UDP! Take a look, comments up the wazoo on this one =) This would be wonderful if you want to create your own gaming server, chat server, or just a file server! PS - Guess what, guys?! In my code, when the server "broadcasts" a message, I have a doevents in the loop. This is because of a problem with the winsock control that the doevents fixes. HOWEVER! Service pack 4 fixes this. So d/l service pack 4 and remove the doevents from the "broadcast" loop, and have instantaneous broadcasting!!!
Offers 6 ini functions that are extremely useful. Handy, because it has a "setup" function that specifies the filename and the number of characters you'ld like to retrieve (max) so that you don't have to re-specify them every time you write to your INI file (great if you only have one or two INI files per project). Someone else did a "complete INI module" that actually hard-code edited the ini file to find out the number of sections, and so on, but this one uses in-built features of GetPrivateProfileString. Have fun! Read_Ini -- Returns a string with the appropriate INI key in it Write_Ini -- Writes to a specific ini key Read_Sections -- Returns a Chr(0) delimited string containing all the [Sections] of the INI file Read_Keys -- Same as above, but returns all the keys=values under the appropriate section Delete_Key and Delete_Section do just what they say =) Note: vbCrLf's are turned into a funky string because I noticed when writing vbcrlf's to ini files it has the tendency to screw up and actually place them on separate lines so you can't retrieve the whole thing again. The funky string is recognized by this module when you read the values in again, and converts em back to vbCrLf
I whipped this up because a huge project I worked on used the registry to store an enormous amount of settings. Rather than lose them all, which couldn't be regained, I ported them to a .REG file and then took a look at the format. Noticed a pattern, so I made this to convert a REG file to an INI! I've only tested it on my Win2k and WinME setup, and any feedback would be appreciated!
Lets you set the minimum size your form can be (I haven't seen anything else like this, I did it cause I wanted a form of mine to not go below a size), Also provides a one-step way to add a bitmap to a menu item (someone submitted something like this in the previous day or two, although I didn't take my code from them), and an easy way to add your icon to the system tray. This is my first submission, although I've been using PSC for a while now. I'ld appreciate any voting you could do. Also, comments are greatly appreciated. I'ld love it if you could fix any bugs you come across and send me an email!
Allows you to accept multiple winsock connections! Great for beginners to intermediate! I know, still some bugs, but overall some nice coding. Uses TCP/IP connection, not UDP! Take a look, comments up the wazoo on this one =) This would be wonderful if you want to create your own gaming server, chat server, or just a file server! PS - Guess what, guys?! In my code, when the server "broadcasts" a message, I have a doevents in the loop. This is because of a problem with the winsock control that the doevents fixes. HOWEVER! Service pack 4 fixes this. So d/l service pack 4 and remove the doevents from the "broadcast" loop, and have instantaneous broadcasting!!!
Offers 6 ini functions that are extremely useful. Handy, because it has a "setup" function that specifies the filename and the number of characters you'ld like to retrieve (max) so that you don't have to re-specify them every time you write to your INI file (great if you only have one or two INI files per project). Someone else did a "complete INI module" that actually hard-code edited the ini file to find out the number of sections, and so on, but this one uses in-built features of GetPrivateProfileString. Have fun! Read_Ini -- Returns a string with the appropriate INI key in it Write_Ini -- Writes to a specific ini key Read_Sections -- Returns a Chr(0) delimited string containing all the [Sections] of the INI file Read_Keys -- Same as above, but returns all the keys=values under the appropriate section Delete_Key and Delete_Section do just what they say =) Note: vbCrLf's are turned into a funky string because I noticed when writing vbcrlf's to ini files it has the tendency to screw up and actually place them on separate lines so you can't retrieve the whole thing again. The funky string is recognized by this module when you read the values in again, and converts em back to vbCrLf
I whipped this up because a huge project I worked on used the registry to store an enormous amount of settings. Rather than lose them all, which couldn't be regained, I ported them to a .REG file and then took a look at the format. Noticed a pattern, so I made this to convert a REG file to an INI! I've only tested it on my Win2k and WinME setup, and any feedback would be appreciated!
Lets you set the minimum size your form can be (I haven't seen anything else like this, I did it cause I wanted a form of mine to not go below a size), Also provides a one-step way to add a bitmap to a menu item (someone submitted something like this in the previous day or two, although I didn't take my code from them), and an easy way to add your icon to the system tray. This is my first submission, although I've been using PSC for a while now. I'ld appreciate any voting you could do. Also, comments are greatly appreciated. I'ld love it if you could fix any bugs you come across and send me an email!
Allows you to accept multiple winsock connections! Great for beginners to intermediate! I know, still some bugs, but overall some nice coding. Uses TCP/IP connection, not UDP! Take a look, comments up the wazoo on this one =) This would be wonderful if you want to create your own gaming server, chat server, or just a file server! PS - Guess what, guys?! In my code, when the server "broadcasts" a message, I have a doevents in the loop. This is because of a problem with the winsock control that the doevents fixes. HOWEVER! Service pack 4 fixes this. So d/l service pack 4 and remove the doevents from the "broadcast" loop, and have instantaneous broadcasting!!!
Offers 6 ini functions that are extremely useful. Handy, because it has a "setup" function that specifies the filename and the number of characters you'ld like to retrieve (max) so that you don't have to re-specify them every time you write to your INI file (great if you only have one or two INI files per project). Someone else did a "complete INI module" that actually hard-code edited the ini file to find out the number of sections, and so on, but this one uses in-built features of GetPrivateProfileString. Have fun! Read_Ini -- Returns a string with the appropriate INI key in it Write_Ini -- Writes to a specific ini key Read_Sections -- Returns a Chr(0) delimited string containing all the [Sections] of the INI file Read_Keys -- Same as above, but returns all the keys=values under the appropriate section Delete_Key and Delete_Section do just what they say =) Note: vbCrLf's are turned into a funky string because I noticed when writing vbcrlf's to ini files it has the tendency to screw up and actually place them on separate lines so you can't retrieve the whole thing again. The funky string is recognized by this module when you read the values in again, and converts em back to vbCrLf
I whipped this up because a huge project I worked on used the registry to store an enormous amount of settings. Rather than lose them all, which couldn't be regained, I ported them to a .REG file and then took a look at the format. Noticed a pattern, so I made this to convert a REG file to an INI! I've only tested it on my Win2k and WinME setup, and any feedback would be appreciated!