Settings and points system

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
5 posts Page 1 of 1
Contributors
User avatar
pip
VIP - Donator
VIP - Donator
Posts: 156
Joined: Tue Jul 12, 2011 3:13 am

Settings and points system
pip
Hi i need help i am making a super secret project XD, and i am having a small problem i want to use settings to save and load points. so i go to settings and put points but do i use string or integer? what i want it like on form load it loads the number of points so i put label2.text = my.settings.points.tostring and it worked, but now i want to make a save spot so it replaces the value like let's say you had 0 points and you earned 5 well after it adds i want it to save that can anyone help?? :D
<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

Re: Settings and points system
muttley1968
yh just use my.settings.points = label2.text +Val my.settings.points and do it as a string save conversion :P Should work i have used a similar code before in a project i have built any probs PM me :P
User avatar
pip
VIP - Donator
VIP - Donator
Posts: 156
Joined: Tue Jul 12, 2011 3:13 am

Re: Settings and points system
pip
#muttley1968, i did not explain good enough so anyways ok i have points as setting it is a string/integer idk you should tell me, but i am making it like after you complete one objective it adds those points on the form close and unlocks the ahcievement so i need this for every form close i make for it to save the points and the form1 load is my.settings.points.load but is it suppose to be string or integer? and what code could i use I need a better explenation if possible. dunnno;
<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

Re: Settings and points system
muttley1968
Um i could not think of a way to explain exactly what i meant so instead i have made thsi quick example odvisly it will need alot of changing for your
project but it explains how the system works and shows the settings ect :P
Example.rar
You do not have the required permissions to view the files attached to this post.
User avatar
pip
VIP - Donator
VIP - Donator
Posts: 156
Joined: Tue Jul 12, 2011 3:13 am

Re: Settings and points system
pip
muttley1968 wrote:
Um i could not think of a way to explain exactly what i meant so instead i have made thsi quick example odvisly it will need alot of changing for your
project but it explains how the system works and shows the settings ect :P
Example.rar

#muttley1968 Thanks i'll check this out and let you know!

Edit: thanks mutt lol works good! if you want to help me i might need it so if got skype can you pm me your skype id? and i can add you
<a href="http://www.points2shop.com/s/xbox_point ... 5082"><img src="http://points2shop.com/images/promotion ... ricoxg.gif" border="0"/></a>
5 posts Page 1 of 1
Return to “Coding Help & Support”