Dear all,

This is my first post on this forum and its worth to tell that I learned much from here so far.

I wrote a program which made of several files and
  1. it will be hosted in a computer on the company network,
  2. Each user going to open it from that specific computer (maybe with a file shortcut)

The question in here is how can I lock this files to that computer. For example, there are several methods of locking an excel file to a compter like comparing getting and comparing mac or IP addresses. But when I test these methods, they always give me the information about the computer I ran from main file; not the hosting computer of the file (in this situation, the network comp.)

Is there a way to achive this?

Thanks in advanved.

-MAG