Jazz Soft Contact us?   JazzSoft@live.com     English   English  Japanese  Chinese (Traditional)  Chinese (Simlified)
Factory Automation & Yield Management Solution Provider 
Skip Navigation LinksHome > Products > Swing > Swing HSMS Reference > Methods > Config

Swing HSMS Reference   

Properties
Active
Appearance
BorderStyle
IniFile
IniSection
IPAddress
LocalPortNumber
Log
LogFile
MaxLength
PortNumber
Selected
Server
Show
T3
T5
T6
T7
T8

Methods
Config
ConvertIPAddress
Disconnect
GetHostName
LoadIni
Send

Events
Connected
Errors
Read
SelConnection

Config Method

Show dialog box to edit properties.

Syntax

Visual Basic

Function Config(pszTitle As String) As Boolean


Visual C++

BOOL Config(LPCTSTR pszTitle)


ArgumentDescription
pszTitleCaption title of dialog box. If this value is NULL or empty string, IniSection Property is used for caption title.

Return Value

Example

Visual Basic

.Config "HSMS Configuration"


Visual C++

m_hsms.Config("HSMS Configuration");

Remarks

If user press OK button to close dialog box, ActiveX control will save properties to .ini file specified by IniFile Property and IniSection Property. After save procedure has been completed successfully, this method returns True. To retrieve saved information from .ini file, call LoadIni Method.

When port has already been opened (when Active Property is True), it is impossible to change IPAddress Property, PortNumber Property and LocalPortNumber Property.

See Also

Contact us?   JazzSoft@live.com
  Copyright © 1997 - 2018 Jazz Soft, Inc.