| |
|
Power Strings
currently comes as a Microsoft COM-based version for Visual
Studio 6.0 and is available only through the purchase of mvComponents.
A general version of Power Strings sold as a separate product will be
available during the 2nd Quarter of 2002. Power Strings will be
offered in three versions; a COM version, a .NET version, and a Java
(J2EE) version. VPLib20
General Procedure Object Library: Functions, Conversions, ValidationsPower
Strings comes with a procedure library that when used with Visual
Basic, provides functional enhancements directly to the Visual Basic language. All you have to do is add a simple reference to your project and a whole host of subroutines and functions are automatically at your disposal, nothing to declare, just like they were part of the native Visual Basic language.
For other development environments the procedure library objects can
be instantiated and they make available all the same functions and
subroutines. There are routines for validating data, converting data from one format to another, dynamic string array functions, and general string management routines. The Power Strings procedure library includes the following:
|
Functions:
CenterJustify, Change, CStrToBStr, Field, InStrRev, LeftJustify, NumToWords, OpenTextFile, Pad, ParseFileName, ParseGetDrive, ParseGetExtension, ParseGetFileName, ParseGetFullFileName, ParseGetFullPath, ParseGetPath, ParseStr, Pause, QuoteStr, ReplaceParams, RightJustify, SaveTextFile, StripChar, and Swap.
Dynamic Array:
ArrayToDynArray, ChangeDelimiter, CountElements, DelimiterCount, DeleteElement, DynArrayToArray, ExtractElement, InsertElement, InsertSortedElement, LocateElement, ReplaceElement, and SortElements.
Validation:
BooleanCheck, CurrencyCheck, IsNum, Matches, PercentCheck, RangeDate, RangeNum, RangeTime, and TimeCheck.
Conversions:
Alpha, AlphaPlus, BooleanIn, BooleanOut, CurrencyIn, CurrencyOut, DateIn, DateOut, NonNum, Num, NumPlus, PCase, PercentIn, PercentOut, TimeIn, and TimeOut.
|
VPDsa20 Dynamic String Array Object LibraryPower Strings also includes a Dynamic String Array object. Imagine working with arrays of variable length data. Arrays that can have any number of dimensions, containing records, fields, values, and even sub-values, or any architecture that you want. Arrays that are truly dynamic, in that they can easily have elements replaced, inserted, deleted, or even
sorted. It can even support XML structures with support for
multidimensional elements and attributes. Now imagine these dynamic arrays as an encapsulated object with an extensive set of properties and
methods that make it easy to manage your data. An object that can be persistently saved to
disk and restored from disk. An object that can import XML files or ADO
record set objects, or export its contents to Tab-delimited or CSV standard text, HTML tables, a valid XML file with
optional DTD or XML Schema, or an ADO record set object. An object that can be set for unattended use so that it can be used within remote objects that utilize n-tier programming approaches, taking advantage of
COM+/MTS
or DCOM. Imagine an object that easily lets you find its data. You want to locate a particular element within your multidimensional array object, you have powerful search methods that will find what your looking for, with exact matching, partial sub-string matching, or searching with wild card characters. And the methods of a Dynamic String Array object are
very efficient.
There is a lot more to a Dynamic Array Object. The following is a list of its properties and methods:
|
Properties:
Comments, CreationDate, Delimiter, Dimensions, DimFieldName, DimFieldOutput, DimFieldType, DimName, Extension, FormatData, LastPostion, Modified, Name, Path, RevisionNumber, SaveDate, Title, UnAttended, User, and Value.
Methods:
Add, Clear, Count, Create, Delete, Export, Extract, Import, Insert, InsertSorted, Load, Locate, Replace, Reset, SearchAll, Save, and Sort.
|
VPDDO20 Data Definition Object Library
In addition, Power Strings has a series of objects that encapsulates complex data types. These are Data Definition Objects or DDO’s and they provide extensive logic in validating data, converting data to a display output format, and converting data into an internal storage format if a persistent state is needed. These objects are great when you want to add field validation and output formatting for User Interface controls such as Text Boxes, Combo Boxes, Labels, and Grid controls.
For the COM-based version they can work hand in hand with the DataFormat property and Validation events of controls in Visual Basic 6.0.
As an example, you can use the Validate method of a DDO PhoneData object to verify if data entered into a Text Box control is valid for a US or Canadian phone number. The object can provide an internal or storage format that strips any formatting characters from the data, just leaving the numbers. The object can also be used to convert the data into an output format that includes formatting characters to reload the Text Box with a phone number properly displayed. If a user types the value "801-292-5344" into a Text Box control, the PhoneData object would be used in the control’s Validate event to verify that it was a valid phone number with the proper number of digits, and convert it into an internal or storage format such as "8012925344" , and finally convert the same data to an output display format such as "(801) 292-5344".
DDO objects are useful for all kinds of data management and Power Strings provides a template class for you to develop your own custom Data Definition Objects. The following are the predefined DDOs that come with Power Strings:
|
AlphaData, AlphaNumericData, AnyData, BooleanData, CountryData, CurrencyData, CurrencyIntData, DateData, FinancialData, NumericData, PercentData, PhoneData, PhoneExtData, PhoneIntData, PhoneIntExtData, PostalCodeData, SsnData, StatesData, TimeData, and ZipCodeData.
|
If there is something you need to do with string data, Power Strings can help. Its great for parsing delimited data, no matter what the delimiter character or combination of delimiter characters. It is very useful for composing and parsing complex data to pass multiple arguments in one string to remote
server methods, thus minimizing marshalling of multiple properties. It is wonderful when working with data that has complex relationships. With Dynamic String Arrays you can actually fashion your own database with variable length records, fields, values, and sub-values. And it really is useful when converting a result set of data from a database to an output format within a database class that you use to bind to your User Interface or when using the Format and Unformat events of the StdDataFormat object of Visual Basic 6.0. Want to write an application that manages and parses XML data, Power Strings has the tools you need.
The more you use Power Strings the more ways you will come up with to save you time in your development efforts. You will wonder how you ever programmed without it. There really is something for everyone in Power Strings.
But don’t take our word for it...
"I have not bought many software packages that lived up to expectations, but two that have met or exceeded my expectations are Visual Basic and your add-on. I was delighted with the ease of use and speed with which your string routines worked. Thanks for the fine product."
-- Rick Garner, Creative Web Designs
"I can’t conceive of programming in VB without them now. The routines and objects in Power Strings makes data management a breeze. A must utility for any serious VB programmer."
-- Steve Backman, Database Designs
"Other enhancements such as the Dynamic String Array Object make Power Strings the most popular component in my Visual Basic applications. They have great tools for use with Visual Basic. Check ‘em out!"
-- Mark Bonafe’, Metro Information Services
Power Strings 2.0 Pricing
Power Strings 2.0 comes with an extensive set of example programs to help you quickly get started. It also includes on-line help and an on-line manual in Adobe Acrobat PDF format.
A single development license is $299.00 and includes free runtime licensing. A site license for an unlimited number of developers is only $1,499.00 and also includes free runtime licensing.
There is a discount available for those interested in more than one of the
available versions of Power Strings. Power Strings will have three
versions, a COM-based version, a .NET version, and a Java-based version.
All three versions of Power
Strings will be available the 2nd quarter of 2002.
For additional information, please send and E-mail to:
info@vpsoft.com |
|