Advertisement

Results for "Author: enmity"

ASP_Volume2 #26806
Components Detection

detect various components such as DoesDotNETFrameworkExist, DoesIE6Exist, DoesIISExist, DoesMDAC27Exist, DoesMSSQLServerSP3Exist, DoesSQLServer2kExist, DoesSQLServer2kExistEx, DoesWindows2kSP2Exist, DoesWindows2kSP3Exist, DoesWindows2kSP4Exist, DoesWindowsInstaller2Exist etc.

ASP_Volume2 #27618
updated v3 : ADO-like OO class Read/Write dBase database file without any dll/ocx

This is an updated version to (http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=53106&lngWId=1) It is quite out of date: 1.I found it years ago; 2.it is first written in 1992 by Ethan Winer; 3. seldmom people use dBase nowadyas. But I picked it up last night and decided to make it better: wrap it into a handy OO class, support for all character-sets, tidy up all the codes that strictly follows the coding standard. Changes: 2004/4/13 15:05 GMT-8 1.mimics part of the ADO mechanism(MoveFirst/MovePrevious/MoveTo/MoveNext/MoveLast/BOF/EOF) 2.State(Open/NotReady) 2004/4/14 09:55 GMT-8(v3) 1.all long types to support as more records as possible 2.built-in all field types

ASP_Volume2 #28556
Smart Storage with 2 compressions(zip/huffman) #update 4

Smart Storage with 2 compressions(zip/huffman) Smart Storage is something like a file packager, you can add any file(s) of any format to the storage file(AddUpdateItem function) and remove them(DeleteItem function), of course. It uses index(file) technique for a better performance, thus it has VaccumStorage() function. And this project is originally aimed to be the storage part of Carles P.V's Thumbnailer 1.0 (image thumbnailer-viewer with GDI+)(http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=59677&lngWId=1), thus it includes the PictureFromByteStream() function to directly return a picture object from a byte array! Beside that, there are: GetItemText() function for direct return of plain text content; GetItemPicture() function for direct return of picture object according to the index; SaveItemToFile() function to save the content to disk file according to the index. Some of the codes are not written by me, such as cHuffman, cCRC. They are from psc, now they are back for you guys:) The zlib dll is generated at runtime of sample test since psc will remove all PE file. It is easy for you to remove the zlib dependancy, that's why I only enclosed it in the sample project. And I make all these functions into a class for handy usage. I also use Copymemory for a better performance. Please feel free to leave any comments, bugs or suggestions are welcome! Usage: 1.Simply open the sample storage, then click listed files, content displayed, doubleclick to save. 2.Select DB File->Create->Open->Select Item File, add it... Sorry for lack of code comments, but I think that the method is really simple. #update 1: now with compression and better sample, fixed some bugs and improve error handling #update 2: added huffman compression, CRC, GetItemText()/GetItemPicture() functions, fixed bugs in VaccumStorage. #update 3: added support for byte array(such as DIBs)/text etc. And ItemData for extract info. #update 4: added FilterItems() function for quick searcing. please visit a new version: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=59797&lngWId=1 with updates: #update 5: added ReadItemContentChunk(), chunk by chunk to read a file, rather than read the whole file at once. added Version support. Improved OpenStorage result. Now with full DIBs support, from an image to store in storage, then from storage back to be an image! #update 6: fixed bug in ReadItemContentChunk() due to changed with serialized section chunk.

ASP_Volume2 #28651
SWF Forge

SWF Forage, a parser/extractor and a compiler of swf file. I found similar codes on psc but I wish to do it in a more clear and faster way. Extracting compiled flash(.exe) back to swf file. It is easy to do compile a swf file to a standalone exe without a separate palyer, but it depends on what version Flash you made the swf, because new features with new Flash. If new features used in swf, older player maybe play it correctly. So a workaround solution is to use the latest player:) And I included a small play game as resource and automatically extracted it to "Marshi Maro.exe" since psc will automatically remove any file with PE headers, no matter what you name the file. And I make these two functions into a class for handy usage. I used Copymemory for a better performance. Please feel free to leave any comments, bugs or suggestions are welcome! Next version will feature in automatically list IE cached swf files for users to select. Maybe I will develop a much more robust version in really parsing the frames of a swf file to gifs. Some basic function classes are found on psc, but the core swf storage class is written by me. I strictly follow the coding standard so that I hope you can learn abou it without too much difficult. Sorry for lack of detail code comments, but I think that the method is really simple.

ASP_Volume2 #29037
Smart Storage with 2 compressions(zip/huffman) #BIG update 6

Smart Storage is something like a file packager, you can add any file(s) of any format to the storage file(AddUpdateItem function) and remove them(DeleteItem function), of course. Now it comes into two separate version: with/without compression. You can choose zlib/huffman or no compression for each file. It uses index(file) technique for a better performance, thus it has VaccumStorage() function. And, the most inportant part is that it uses serialized section(chunk) technique to handle the CRC & compression of large file. And this project is originally aimed to be the storage part of Carles P.V's Thumbnailer 1.0 (image thumbnailer-viewer with GDI+)(http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=59677&lngWId=1), thus it includes the PictureFromByteStream() function to directly return a picture object from a byte array! Beside that, there are: GetItemText() function for direct return of plain text content; GetItemPicture() function for direct return of picture object according to the index; SaveItemToFile() function to save the content to disk file according to the index. Some of the codes are not written by me, such as cHuffman, cCRC. They are from psc, now they are back for you guys:) The zlib dll is generated at runtime of sample test since psc will remove all PE file. It is easy for you to remove the zlib dependancy, that's why I only enclosed it in the sample project. And I make all these functions into a class for handy usage. I also use Copymemory for a better performance. Please feel free to leave any comments, bugs or suggestions are welcome! Usage: 1.Simply open the sample storage, then click listed files, content displayed, doubleclick to save. 2.Select DB File->Create->Open->Select Item File, add it... Sorry for lack of code comments, but I think that the method is really simple. #update 5: added ReadItemContentChunk(), chunk by chunk to read a file, rather than read the whole file at once. added Version support. Improved OpenStorage result. Now with full DIBs support, from an image to store in storage, then from storage back to be an image! #update 6: fixed bug in ReadItemContentChunk() due to changed with serialized section chunk.

ASP_Volume2 #29380
MDI Child Count

Count how many mdi child forms in a MDI form.

ASP_Volume2 #29381
Dir Maker

Make any level directories, such as: MakeDir "c:\abc\1234\aaaa\1111\6666\ggggggggg\dddddddddd\ssssssss\7676\dsdsds"

ASP_Volume2 #29478
Batch UI 4 VB - For Maximum Speed & Safety to Batch Modify Forms' UI - A Must See!!!

Batch UI 4 VB, for maximum speed and safety to batch modify forms' UI! wanna Save your time when changing the appearance of your forms? Batch UI 4 VB is intended to batch change the appearance of forms, such as fonts, borders, etc with high speed! Batch UI 4 VB strictly follows the coding standards with a nice UI. Please vote & commend for Batch UI 4 VB for a better speed and safety with custom borders, styles, texts, captions, tooltips, menus and more!!!!!!

ASP_Volume2 #36446
Smart Flex Input

Ever too tired to control user's input? Ever want to control maxlength of a combobox? Ever want to validate and correct and hint(optional) user's input automatically? This is what you need to control user's input with textbox, combox etc. I am working on it and have figured out many improvements that can be done if you are so kind to rate it! Any comment or vote is appreciated! Please vote for it if you guys desire a much better version :-)

ASP_Volume2 #43943
Create Excel Spreadsheet without Excel

Create Excel Spreadsheet without Excel automation. A port from vb6(enclosed) by Paul Squires at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=11898&lngWId=1

ASP_Volume3 #57971
Smart Flex Input

Ever too tired to control user's input? Ever want to control maxlength of a combobox? Ever want to validate and correct and hint(optional) user's input automatically? This is what you need to control user's input with textbox, combox etc. I am working on it and have figured out many improvements that can be done if you are so kind to rate it! Any comment or vote is appreciated! Please vote for it if you guys desire a much better version :-)

ASP_Volume3 #57972
Batch UI 4 VB - For Maximum Speed & Safety to Batch Modify Forms' UI - A Must See!!!

Batch UI 4 VB, for maximum speed and safety to batch modify forms' UI! wanna Save your time when changing the appearance of your forms? Batch UI 4 VB is intended to batch change the appearance of forms, such as fonts, borders, etc with high speed! Batch UI 4 VB strictly follows the coding standards with a nice UI. Please vote & commend for Batch UI 4 VB for a better speed and safety with custom borders, styles, texts, captions, tooltips, menus and more!!!!!!

ASP_Volume3 #57973
MDI Child Count

Count how many mdi child forms in a MDI form.

ASP_Volume3 #57974
Dir Maker

Make any level directories, such as: MakeDir "c:\abc\1234\aaaa\1111\6666\ggggggggg\dddddddddd\ssssssss\7676\dsdsds"

ASP_Volume3 #57975
Components Detection

detect various components such as DoesDotNETFrameworkExist, DoesIE6Exist, DoesIISExist, DoesMDAC27Exist, DoesMSSQLServerSP3Exist, DoesSQLServer2kExist, DoesSQLServer2kExistEx, DoesWindows2kSP2Exist, DoesWindows2kSP3Exist, DoesWindows2kSP4Exist, DoesWindowsInstaller2Exist etc.

ASP_Volume3 #57976
SWF Forge

SWF Forage, a parser/extractor and a compiler of swf file. I found similar codes on psc but I wish to do it in a more clear and faster way. Extracting compiled flash(.exe) back to swf file. It is easy to do compile a swf file to a standalone exe without a separate palyer, but it depends on what version Flash you made the swf, because new features with new Flash. If new features used in swf, older player maybe play it correctly. So a workaround solution is to use the latest player:) And I included a small play game as resource and automatically extracted it to "Marshi Maro.exe" since psc will automatically remove any file with PE headers, no matter what you name the file. And I make these two functions into a class for handy usage. I used Copymemory for a better performance. Please feel free to leave any comments, bugs or suggestions are welcome! Next version will feature in automatically list IE cached swf files for users to select. Maybe I will develop a much more robust version in really parsing the frames of a swf file to gifs. Some basic function classes are found on psc, but the core swf storage class is written by me. I strictly follow the coding standard so that I hope you can learn abou it without too much difficult. Sorry for lack of detail code comments, but I think that the method is really simple.

ASP_Volume3 #57977
Smart Storage with 2 compressions(zip/huffman) #BIG update 6

Smart Storage is something like a file packager, you can add any file(s) of any format to the storage file(AddUpdateItem function) and remove them(DeleteItem function), of course. Now it comes into two separate version: with/without compression. You can choose zlib/huffman or no compression for each file. It uses index(file) technique for a better performance, thus it has VaccumStorage() function. And, the most inportant part is that it uses serialized section(chunk) technique to handle the CRC & compression of large file. And this project is originally aimed to be the storage part of Carles P.V's Thumbnailer 1.0 (image thumbnailer-viewer with GDI+)(http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=59677&lngWId=1), thus it includes the PictureFromByteStream() function to directly return a picture object from a byte array! Beside that, there are: GetItemText() function for direct return of plain text content; GetItemPicture() function for direct return of picture object according to the index; SaveItemToFile() function to save the content to disk file according to the index. Some of the codes are not written by me, such as cHuffman, cCRC. They are from psc, now they are back for you guys:) The zlib dll is generated at runtime of sample test since psc will remove all PE file. It is easy for you to remove the zlib dependancy, that's why I only enclosed it in the sample project. And I make all these functions into a class for handy usage. I also use Copymemory for a better performance. Please feel free to leave any comments, bugs or suggestions are welcome! Usage: 1.Simply open the sample storage, then click listed files, content displayed, doubleclick to save. 2.Select DB File->Create->Open->Select Item File, add it... Sorry for lack of code comments, but I think that the method is really simple. #update 5: added ReadItemContentChunk(), chunk by chunk to read a file, rather than read the whole file at once. added Version support. Improved OpenStorage result. Now with full DIBs support, from an image to store in storage, then from storage back to be an image! #update 6: fixed bug in ReadItemContentChunk() due to changed with serialized section chunk.

ASP_Volume3 #57978
Smart Storage with 2 compressions(zip/huffman) #update 4

Smart Storage with 2 compressions(zip/huffman) Smart Storage is something like a file packager, you can add any file(s) of any format to the storage file(AddUpdateItem function) and remove them(DeleteItem function), of course. It uses index(file) technique for a better performance, thus it has VaccumStorage() function. And this project is originally aimed to be the storage part of Carles P.V's Thumbnailer 1.0 (image thumbnailer-viewer with GDI+)(http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=59677&lngWId=1), thus it includes the PictureFromByteStream() function to directly return a picture object from a byte array! Beside that, there are: GetItemText() function for direct return of plain text content; GetItemPicture() function for direct return of picture object according to the index; SaveItemToFile() function to save the content to disk file according to the index. Some of the codes are not written by me, such as cHuffman, cCRC. They are from psc, now they are back for you guys:) The zlib dll is generated at runtime of sample test since psc will remove all PE file. It is easy for you to remove the zlib dependancy, that's why I only enclosed it in the sample project. And I make all these functions into a class for handy usage. I also use Copymemory for a better performance. Please feel free to leave any comments, bugs or suggestions are welcome! Usage: 1.Simply open the sample storage, then click listed files, content displayed, doubleclick to save. 2.Select DB File->Create->Open->Select Item File, add it... Sorry for lack of code comments, but I think that the method is really simple. #update 1: now with compression and better sample, fixed some bugs and improve error handling #update 2: added huffman compression, CRC, GetItemText()/GetItemPicture() functions, fixed bugs in VaccumStorage. #update 3: added support for byte array(such as DIBs)/text etc. And ItemData for extract info. #update 4: added FilterItems() function for quick searcing. please visit a new version: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=59797&lngWId=1 with updates: #update 5: added ReadItemContentChunk(), chunk by chunk to read a file, rather than read the whole file at once. added Version support. Improved OpenStorage result. Now with full DIBs support, from an image to store in storage, then from storage back to be an image! #update 6: fixed bug in ReadItemContentChunk() due to changed with serialized section chunk.

ASP_Volume3 #57979
updated v3 : ADO-like OO class Read/Write dBase database file without any dll/ocx

This is an updated version to (http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=53106&lngWId=1) It is quite out of date: 1.I found it years ago; 2.it is first written in 1992 by Ethan Winer; 3. seldmom people use dBase nowadyas. But I picked it up last night and decided to make it better: wrap it into a handy OO class, support for all character-sets, tidy up all the codes that strictly follows the coding standard. Changes: 2004/4/13 15:05 GMT-8 1.mimics part of the ADO mechanism(MoveFirst/MovePrevious/MoveTo/MoveNext/MoveLast/BOF/EOF) 2.State(Open/NotReady) 2004/4/14 09:55 GMT-8(v3) 1.all long types to support as more records as possible 2.built-in all field types

ASP_Volume3 #57980
Create Excel Spreadsheet without Excel

Create Excel Spreadsheet without Excel automation. A port from vb6(enclosed) by Paul Squires at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=11898&lngWId=1

Languages
Top Categories
Global Discovery