I am building an application (vb.net and MySql) in which multiple users (using multiple computers) can add tasks.
In order to get a new number for each task they add, i have created a value in My.Settings (lets Call it TaskNumber)
The main idea is that whenever a user will open a new task, i will load the number from the My.Settings, increase the value by 1 and save it.
If I inderstand correctly, since it is 'User based' and saved in %appdata%, every user will start from the first number i have configured in the app and will make duplicates in the Database (forbidden - unique)
Logically I would expect to make this value "Application Based" but if I change the scope of the property to 'application' it says its read only - and that the script cannot modify it
I know i can use a table with a single record with column for each desired serial number i need in the app and update it when needed but i was hoping VB can make it easier.
any suggestion? Thanks,