DonationCoder.com Software > Post New Requests Here
IDEA: Simple PC Usage Timer
Ruffnekk:
Okay Fealit, I made some changes you should test to see if the SQL Server part is working correctly or not.
I added a file called 'sqldb.data' to the installation. You can edit it with notepad.
The current contents of the file are:
--- ---Server=YourServerName
Database=TheDatabaseName
Table=TheTableName
StatusField=TheFieldnameContainingTheStatusCode
IDField=TheFieldnameContainingTheComputerName
User=YourSQLServerUsername
Password=TheMD5HashForYourSQLPassword
/* Please do not change the order of the above parameters */
/* Do not insert spaces before or after the '=' sign */
/* You don't have to use quotes if a value contains spaces */
I hope it is self-explanatory. If you have questions, contact me!
I couldn't test it at all since my PC at work doesn't have SQL Server, but I think it should work if you set the parameters correctly. I hope to hear from you soon about it :D
fealeit:
I'll give it a go this afternoon and let you know.
Cheers
fealeit:
When it asks me for the database password when I start the app, do I use plain text or the md5 hash?
Ruffnekk:
I don't have the source code here at home, but I think you should give the real password so it can be compared to the hash in the sqldb.data file. (I'm working on a lot of projects for work and personal use so I can't remember every detail lol, sorry 'bout that)
fealeit:
I'll try both. Cheers
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version