Hi! A Python-COM-server contain, essentially, a class. This class can have a method __init__(self, ...) This methode is called for each "opening" of the COM server. You can use that for control if your COM-server must, or no, continue. @-salutations -- Michel Claveau