4 Replies - 14329 Views - Last Post: 10 February 2008 - 01:46 AM Rate Topic: -----

#1 w_sampath  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 17-January 08

How can I store small data (save) using VB.net

Posted 17 January 2008 - 12:09 PM

I am developing a small VB.net application, a foot ball score card. In this application I want to store some numeric values (10 integers) as data (some label locations X & Y values). And I want to read & write these values every time this application opens. What is the easiest way to do this in VB. net. Like save to a text file or other way

This post has been edited by w_sampath: 17 January 2008 - 12:10 PM

Is This A Good Question/Topic? 0
  • +

Replies To: How can I store small data (save) using VB.net

#2 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5796
  • View blog
  • Posts: 12,631
  • Joined: 16-October 07

Re: How can I store small data (save) using VB.net

Posted 17 January 2008 - 02:05 PM

Take a look at the project properties, under settings. You can define all the stuff you want with default values and it will actually create a default properties properites object you can read and write from in your program.

Hope this helps.
Was This Post Helpful? 0
  • +
  • -

#3 w_sampath  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 17-January 08

Re: How can I store small data (save) using VB.net

Posted 18 January 2008 - 01:59 AM

View Postbaavgai, on 17 Jan, 2008 - 02:05 PM, said:

Take a look at the project properties, under settings. You can define all the stuff you want with default values and it will actually create a default properties properites object you can read and write from in your program.

Hope this helps.



First of all thanks for the reply, But this is not that I am expecting. How ever I have learned new things about Properties & settings.

I'll explain my question deeply below

From my application, user can change locations (move through screen) of 6 labels, I create navigation panel for this, Next I want to give option to save 5 locations. Then user able to call these locations directly through his preset buttons.

Navigation panel has 5 radio buttons, one "save" button & one "recall" button.

So how can I store these label locations.

Pls help

This post has been edited by w_sampath: 18 January 2008 - 02:01 AM

Was This Post Helpful? 0
  • +
  • -

#4 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5796
  • View blog
  • Posts: 12,631
  • Joined: 16-October 07

Re: How can I store small data (save) using VB.net

Posted 18 January 2008 - 05:07 AM

"Application settings allow you to store and retrieve property settings and other information for your application dynamically, and they allow you to maintain custom application and user preferences on the client computer. " - Link

This really does look like what you want. I've used to numerous times to do exactly what you're asking. If you don't want to save and retreive information as described, I'm afraid I'm still lost.
Was This Post Helpful? 0
  • +
  • -

#5 w_sampath  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 17-January 08

Re: How can I store small data (save) using VB.net

Posted 10 February 2008 - 01:46 AM

Thank You, you'r correct, It works fine

Thank You again
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1