PANTHEON™ Help

 Категории
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]PANTHEON упатства
  [Expand]Guide for PANTHEON
  [Expand]Ръководство за PANTHEON Търговия
  [Expand]Ръководство за PANTHEON Vet
  [Expand]Ръководство за PANTHEON Фермерство
 [Collapse]PANTHEON потребителски ръководства
  [Expand]Ръководство за потребителя за PANTHEON
  [Expand]Ръководство за потребителя за PANTHEON Retail
  [Expand]Ръководство за потребителя за PANTHEON Vet
  [Expand]Ръководство за потребителя за PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]PANTHEON Web Guides
  [Expand]Ръководство за PANTHEON Web Light
  [Expand]Ръководство за PANTHEON Уеб Терминал
  [Expand]Ръководство за PANTHEON Web Legal
  [Expand]Архив на стари продукти
 [Collapse]PANTHEON Web User Manuals
  [Expand]Започване на PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
   Ръководство за потребителя за PANTHEON Web Terminal
  [Expand]Ръководство за потребителя за PANTHEON Web Legal
  [Expand]Архив на стари продукти
[Collapse]PANTHEON Гранула
 [Collapse]Ръководство за PANTHEON Гранули
  [Expand]Гранула за служители
  [Expand]Пътни заповеди Гранула
  [Expand]Гранула за документи и задачи
  [Expand]Гранула Табло
  [Expand]Гранула за B2B поръчки
  [Expand]Гранула за обслужване на клиенти
  [Expand]Инвентаризация на дълготрайни активи
  [Expand]Гранула за складови наличности
 [Collapse]PANTHEON Granules
   Започване
   Using PANTHEON Granules at Tecta, a fictional company
  [Expand]PANTHEON Granules and activation
  [Expand]PANTHEON Granule Work records
  [Expand]PANTHEON Granule Travel orders
  [Expand]PANTHEON Granule Documents and Tasks
  [Expand]PANTHEON Granule B2B orders
  [Expand]PANTHEON Granule Dashboard
  [Expand]Полеви сервизен гранул
   PANTHEON Granules - FAQ
  [Expand]Инвентаризация на дълготрайни активи
  [Expand]Инвентаризация на склада Гранула
   Архив
[Expand]Потребителски сайт

Load Time: 343,7506 ms
"
  6613 | 1 | |
Label


.ini File

.ini File

 

PANTHEON's .ini file (by default named Pantheon.ini) specifies to which database server Pantheon.exe should connect to, and stores a list of avialable databases on that server. The list is update when you press the Resfresh button on the Logon screen. Using shortcuts and different .ini files allows you to connect to different servers with a single Pantheon.exe. See Command line parameters for specifying which .ini file should be used.

The installation places the default Pantheon.ini in the Windows folder. It is recommeded that you leave that file intact and alter copies of it.

Layout of the .ini File


[Program]
User=AD
ZagonPrograma=11.12.2004
PathToUpgrade=C:\Program Files(x86)\Datalab
[Database]
Podjetje=Demo d.o.o. (DEMO)
DataBaseName=DEMO
ServerName=GIZMO
DataOnServer000=DEMO; (DEMO)
DataOnServer001=DEMO1; (DEMO1)

 

The .ini file has two sections: the Program section and the Database section.

Program section


[Program]
Section title

Uporabnik=AD
Last user who logged on

ZagonPrograma=11.12.2004
Date and time of last logon
PathToUpgrade=
Path, to upgrade files. If you work on the same computer as executing an upgrade, it is possible to read and write from this folder. From here, files are read and files are written, for example, for ESlog, unless otherwise set in the program.

Database section


[Database]
Section title

Podjetje=Demo d.o.o. (DEMO)
Last used database.

DataBaseName=DEMO
Database name on database server

ServerName=GIZMO
Database server name or its IP address

DataOnServer000=DEMO; (DEMO)
DataOnServer001=DEMO1; (DEMO1)
...
DataOnServerNNN=...
List of all databases on the above specified database server. This list is updated everytime you press the Refresh button on the Logon screen.
The rationale behind this list is that this way, PANTHEON does not need to look for available databases everytime it is started.

 

Using .ini Files for Connecting to Different Servers

Let us assume we have two database servers with the IP addresses 192.168.0.1 and 192.168.0.2, and you need to be able to connect to different databases on each of the servers.

First, you need two separate .ini files. They can be placed anywhere, but it is most convenient to put them in PANTHEON's installation folder.

All you have to do here is to set the ServerName parameter to the appropriate server name (and instance, if required) or IP address.

Pantheon_1.ini


[Program]
Uporabnik=AD
ZagonPrograma=11.12.2004
[Database]
Podjetje=Demo d.o.o. (DEMO)
DataBaseName=DEMO
ServerName=192.168.0.1
DataOnServer000=DEMO; (DEMO)

Pantheon_2.ini


[Program]
Uporabnik=AD
ZagonPrograma=11.12.2004
[Database]
Podjetje=Demo2 d.o.o. (DEMO2)
DataBaseName=DEMO2
ServerName=192.168.0.2
DataOnServer000=DEMO2; (DEMO2)

 

Second, you have to create two shortucts to the same Pantheon.exe, but each pointing to a different .ini file:


"C:\Program Files\DataLab\Pantheon.exe" /INI="C:\Program Files\DataLab\Pantheon_1.ini"

"C:\Program Files\DataLab\Pantheon.exe" /INI="C:\Program Files\DataLab\Pantheon_2.ini"

Now you just have to run the appropriate shortcut.


  

     


Оценете темата
Темата беше ли ви полезна?
Коментар
Вашият коментар ще бъде видим и във форума!