Get Unique PC Identifier
Posted on 2013-05-25
Hi. I have a piece of software that I run on multiple machines. Currently you have the option of running it remotely off of the server db or off of the db on the local machine. I currently have all of the machines that use the software listed in a dropdown so that the user can either check "Remote" or the name of their machine, and the software finds the database from the machine name. It works fine but I would like to simplify it and allow them to simply choose "Remote" or "Local". If they choose "local, it will find the database on the machine that they are on.
When I am working on another machine I constantly choose my normal machine and then I have to wait until it times out because it can't find it (since that is not the machine that I am on) before I correct my mistake. There has to be a way to "find" the database on the local machine without hard-coding the name into a dropdown???