{ Learn Code. Share Code. Teach Code. Love Code. }

  • Simple compression?

  • If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules: Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
 #73770  by Cheatmasterbw
 Sat Dec 22, 2012 12:56 am
I've been trying to make functions that can compress and decompress strings, but what I have so far is really inefficient
The strings won't contain numbers (but can contain any other character), and will compress like this:
Code: Select all
ABBCCCDDDDEEEEEFFFFFFFFFF!!?
will convert to...
A2B3C4D5E10F2!?
Can you make functions that compress and decompress like this? Thanks!
 #73773  by Cheatmasterbw
 Sat Dec 22, 2012 1:05 am
That might be a lot simpler than what I was going to do, and probably more effective.
There's only one problem... I can't find a way to use clsCompressedString...

EDIT: Never mind, it was in the source files. Thanks!