STATISTICA Visual Basic and COM Examples
The STATISTICA object model can be called from a service or application using a COM-compliant programming language. Download examples in VB.NET, C++ and C# that demonstrate how external applications can communicate with STATISTICA.
The object model can also be called within the STATISTICA application via the STATISTICA Visual Basic (SVB) language. It can be used to write custom extensions within STATISTICA and integrate systems. It provides access to the .NET Framework objects and Visual Basic for Applications (VBA) objects.
Example code is offered "as-is" without any guarantee. StatSoft's goal is to post accurate and functional code. Examples are written by StatSoft employees and customers.
Popular or New Examples
Read example SVB code for STATISTICA document objects: spreadsheets, graphs, reports, workbooks. Learn how to query data from a database, access Visual Basic functions within Microsoft Excel and Microsoft Word.
Download SVB macro example files.
Search for example macros.
Contribute New Examples
StatSoft invites you to contribute your code and programs by emailing email@example.com. We appreciate your input. Please follow the guidelines below to ensure that other users will best take advantage of your efforts:
- Provide a description of the task the program will perform.
- Provide a list of requirements for running the program (such as the type of output spreadsheet that must be active before running the program or the necessary data file needed to run the program properly).
- Note any adjustments that must be made to the code before running the program (such as data file path or variable names).
- Include comments throughout the code that will assist others in understanding each section's purpose. The better the documentation, the easier it will be for someone to use your program. Also, please include the description of the task the program will perform at the beginning of your program.