How to check if an application is running locally or on server using V

I need to make it so users are unable to run a copy of an application

Page 1 of 1

2 Replies - 7281 Views - Last Post: 04 March 2008 - 09:52 AM Rate Topic: -----

#1 ocant13  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-March 08

How to check if an application is running locally or on server using V

Post icon  Posted 03 March 2008 - 02:19 PM

How would i check if an application is running locally or on server using Visual Basic 6.
I need to make it so users are unable to run a copy of an application from the server. I have an application in a directory that users are supposed to copy the .exe from over to their pc, but sometimes they tend to just double click it and run it from its location which then locks it up for any changes that may be taking place at that time. Im not sure really which direction to go with this so i thought maybe checking if the app is being run locally or from the server would be a good place to start, and how to accomplish this.
Any and all help would be greatly appreciated.
Thank you all in advance.

Is This A Good Question/Topic? 0
  • +

Replies To: How to check if an application is running locally or on server using V

#2 bhandari  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 9
  • View blog
  • Posts: 754
  • Joined: 31-January 08

Re: How to check if an application is running locally or on server using V

Posted 03 March 2008 - 11:55 PM

you may change the extension to .txt and don't give them rights to change the name of the file. That way they will have to copy it. Ask them to change the extension when they have copied it onto their PC.
Was This Post Helpful? 0
  • +
  • -

#3 ocant13  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-March 08

Re: How to check if an application is running locally or on server using V

Posted 04 March 2008 - 09:52 AM

View Postbhandari, on 3 Mar, 2008 - 11:55 PM, said:

you may change the extension to .txt and don't give them rights to change the name of the file. That way they will have to copy it. Ask them to change the extension when they have copied it onto their PC.



thank you very much. i will try that.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1