| |
Store and manage application data remotely. It is intended for
application settings, configuration files, user preferences, and other
relatively small amounts of data that need to be available beyond the
local computer. The control uses secure services provided by
SocketTools servers without requiring accounts with other cloud
service providers.
Reference
Control Information
| Object Name |
WebStorageCtl.WebStorage |
| File Name |
CSWEBX12.OCX |
| Version |
12.0.3041.1380 |
| ProgID |
SocketTools.WebStorage.12 |
| ClassID |
4B0A4542-02B2-42ED-9816-E001B1A4C4D4 |
| Threading Model |
Apartment |
| Help File |
CST12CTL.CHM |
| Dependencies |
None |
Overview
The WebStorage ActiveX control provides a straightforward way to
securely store and retrieve application data hosted on SocketTools
servers. Data is stored as named objects within storage containers. An
object can contain text, binary data, or the contents of a local file,
allowing applications to use the format that best fits their
requirements. For example, an application can store configuration
settings as a text object or upload an existing settings file
directly. Functions for working with strings, memory buffers, and
files simplify transferring data between the application and remote
storage.
Application identifiers organize stored data and determine which
application can access it. Developers can use separate identifiers for
different products or versions, or use a common identifier when data
should be shared. Storage containers provide additional control over
the scope of that data: global storage makes objects available to all
users of the application, while other container types associate
objects with a particular Windows domain or workgroup, computer, or
user account. Data associated with a specific system or user
configuration may become inaccessible if that configuration changes,
so these containers are best suited to information that can be
recreated when necessary.
The control supports managing stored objects throughout their
lifecycle. Applications can enumerate objects, retrieve their
metadata, examine their size and modification time, and copy, move,
rename, or delete them. Comparison functions can determine whether a
stored object matches a local file, memory buffer, or string, helping
applications decide when an update is needed. Together, these features
support maintaining shared configuration data and keeping remote
copies of application settings.
The control communicates with SocketTools API servers using HTTPS
over TCP port 443, with TLS 1.3 or TLS 1.2 securing the connection. On
networks that restrict outbound traffic, firewall rules must allow the
application to connect to these servers on that port. Applications can
check account quotas, including available storage, maximum object
size, and object count limits, to plan their use of the service.
Progress notifications, transfer status information, cancellation, and
configurable timeouts provide control over storage operations and help
applications remain responsive while transferring data.
Requirements
The SocketTools ActiveX Edition components are self-registering
controls that are compatible with any programming language that
supports the Component Object Model (COM) and the ActiveX control
specification. If you are using Visual Basic 6.0, Service Pack 6 (SP6)
is required. We recommend installing all available updates for your
development tools. Although the Visual Basic 6.0 runtime is supported
on Windows 11, the IDE itself is no longer officially supported by
Microsoft. Legacy IDEs and compilers may also require elevated
(administrator) privileges to run properly.
The ActiveX controls are supported on Windows 7, Windows Server
2008 R2, and later versions of both desktop and server editions of
Windows. For Windows 7, Service Pack 1 (SP1) is the minimum
requirement. For Windows 8 systems, the 8.1 update must be installed.
On ARM-based platforms, the minimum supported version is Windows 10
build 1709.
SocketTools includes components for both 32-bit (x86) and 64-bit
(x64) Windows platforms. All modern versions of Windows are 64-bit,
but we continue to include 32-bit components for compatibility with
legacy development tools such as Visual Basic 6.0. We also provide
native ARM64 ActiveX controls for systems running Windows on ARM. Note
that 32-bit applications on ARM run using x86 emulation, and Microsoft
no longer supports native ARM32 applications.
If you are using VBScript, Visual Basic for Applications (VBA), or
another scripting environment on an ARM-based system, be aware that
64-bit hosts will require ARM64 components, while 32-bit hosts will
use x86 components under emulation. This includes applications created
with Visual Basic 6.0. To reduce deployment complexity and avoid
confusion, SocketTools does not include ARM32 ActiveX controls in its
standard redistribution packages but they are available on request for
legacy or specialized scenarios.
Distribution
When distributing an application which uses this control, you can
either install the OCX file as a shared component in the appropriate
system folder or in the same folder as your application executable. If
the control is installed in a shared system location, the installer
should manage it as a shared component to prevent other applications
from being affected when it is updated or removed. If you install the
control in the same folder as your executable, it is recommended that
you use registration-free activation or COM redirection to ensure that
the correct version of the control is loaded by the application.
This control has no external runtime dependencies beyond the
standard Windows system libraries. It does not require the Microsoft
Visual C++ Redistributable or any additional third-party libraries to
be installed. All required components are either provided by Windows
or statically linked into the ActiveX control, simplifying deployment
and eliminating the need to distribute additional runtime files.
|
|