Jazz Soft Contact us?   JazzSoft@live.com     English   English  Japanese  Chinese (Traditional)  Chinese (Simlified)
Factory Automation & Yield Management Solution Provider 
Skip Navigation LinksHome > Products > Savoy > Savoy GEM Reference > Properties > IniFileName

Dorian.Core is added. Dorian now supports .NET 6 and 7.

Savoy GEM Reference   

Properties
ALCD
ALIDCount
ALTX
Appearance
BorderStyle
CEIDCount
CEIDDescription
CommunicationState
ControlState
ControlStateSwitch
DataBakCount
DataFileName
DeviceID
DiscardDuplicatedBlock
Function
Host
IniFileName
IPAddress
Log
LogBakCount
LogCommunication
LogFileName
LogicalConnection
LogSize
Msg
MyPortNumber
Node
NodeCount
NodeType
NodeValue
NodeValueHex
OfflineRequest
OnlineRequest
Reply
PhysicalConnection
PortNumber
PType
Server
SessionID
SML
Stream
SType
SystemBytes
T1
T2
T3
T4
T5
T6
T7
T8
Verification
VIDCount
VIDDefault
VIDDescription
VIDMax
VIDMin
VIDNodeType
VIDRawValue
VIDType
VIDUnit
VIDValue
ViewStyle
Wbit
WorkSpace

Methods
AboutBox
DefProc
InvokeAlarm
InvokeEvent
IsValidVID
LoadData
LoadIniFile
RegisterALID
RegisterVID
SaveData
Send
Setup
ToALID
ToCEID
ToVID
UnregisterALID
UnregisterVID
WriteLogFile

Events
CommunicationStateChanged
Connected
ConnectionStateChanged
ControlStateChanged
Disconnected
Problem
Received
Sent
VIDChanged

IniFileName Property

Gets or sets INI file name to read/write settings. If INI file name is either full path name or containing relative reference of folder name, INI file will be created and read in such location. Otherwise, INI file will be created in Windows OS system folder. For this reason, it is highly recommended using with folder name. If current directory is the location, add “./” at the beginning.

Either “/” (slash) or “\” (back slash) can be used for separator of folder name.

Syntax

Visual Basic

IniFileName As String


Visual C++

CString GetIniFileName()
void SetIniFileName(LPCTSTR)

Return Value

Example

Visual Basic

.IniFileName = “./Savoy.ini”


Visual C++

m_ctrl.SetIniFileName(“./Savoy.ini”);

Remarks

Persistent property.

SavoyGem will reserve a bunch of INI sections. If user application would share same INI file, please be careful of naming confliction.

See Also

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