Home > Back-end >  Ask questions about the double open applications
Ask questions about the double open applications

Time:10-06

A software to connect SQL database information written to the registries, registered list like this:

[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ StuInfo]
"ServerIP"="192.168.0.9"
"UserID"="sa"
"PassWord"="123456"
"DCatalog"="UserData"

Now want to make a copy of the software again, still run in the same computer, and connected to another database, how to do? Don't want to use a virtual machine,
Thank you all for the great god!

CodePudding user response:

CodePudding user response:

With sand box, individual users free of charge,
http://sandboxie.com/

CodePudding user response:

There is no way, modify the software to get the database configuration code,
Can determine the parameters used when start the software, and then from a different location registry database configuration information

CodePudding user response:

Pass by, to learn

CodePudding user response:

The
reference 3 floor tcmakebest response:
there is no way, obtaining the database configuration code, modify the software
Can determine the parameters used when start the software, and then from a different location registry database configuration information

There is no source files, cannot be modified,
At the time of first run the software configuration window will pop up a database, fill in the corresponding database information, this information will be written to the registry after the first run,
Copy the program to run at a time, don't pop up database configuration window, automatically connected directly copy programs before connecting database,

CodePudding user response:

Write a small program that is used to modify the registry, then start the program with no source code you.
Later not to execute the program, this small program is executed

CodePudding user response:

refer to 6th floor wr960204 response:
write a small program that is used to modify the registry, then start the program with no source code you.
Not to execute the program, after execution of this small program can

Takeshi means good brothers, or you keep the content of the registry, double drive, import registration form first, and then run, or using a batch,
  • Related