3 Replies - 2933 Views - Last Post: 20 June 2009 - 11:22 AM Rate Topic: -----

#1 youngharry  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 05-March 09

Save Settings in a VB.Net Mobile Project

Post icon  Posted 05 March 2009 - 11:17 AM

Hi,
I like the way one saves settings in VB.Net, that is, with the project properties. However, I want to develop a mobile project that includes saving some settings. Problem is that the project properties doesn't include "Settings" when developing a mobile project.
Can some one show me how it's done?
Thanks
Is This A Good Question/Topic? 0
  • +

Replies To: Save Settings in a VB.Net Mobile Project

#2 sonia.sardana  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 132
  • Joined: 01-June 08

Re: Save Settings in a VB.Net Mobile Project

Posted 06 March 2009 - 10:21 AM

can u plz tell me,of which control u want to make Savesetting,GetSetting.Like Combobox.& so on..Plz explain in detail
Was This Post Helpful? 0
  • +
  • -

#3 youngharry  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 05-March 09

Re: Save Settings in a VB.Net Mobile Project

Posted 06 March 2009 - 07:41 PM

View Postsonia.sardana, on 6 Mar, 2009 - 09:21 AM, said:

can u plz tell me,of which control u want to make Savesetting,GetSetting.Like Combobox.& so on..Plz explain in detail

In this case I would like to save the text in a label. It's to count the number of times the form is used.
Label1 is on frmForm1, it starts off reading "30" and decreases each time the form is loaded. It should save the number so that next time it is loaded Label1 reads "29" and so on down to zero.
I can write the code changing the number, of course, and in the VB 6 I just used SaveSetting and GetSetting which are not available in .Net. And the Settings property is not available for mobile controls in .Net.
Thanks
Was This Post Helpful? 0
  • +
  • -

#4 edraven  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 20-June 09

Re: Save Settings in a VB.Net Mobile Project

Posted 20 June 2009 - 11:22 AM

G'day all,

I'm struggling to find the same answer to youngharry's question.

Can anyone please suggest a method of saving user settings for a vb.net application running on Windows Mobile (> v5). As I understand it, the .net compact framework does not support the my.settings method, so I need an alternative solution to save user configured values.

Youngharry - If you've solved this could you please update on how.

Thanks and regards,
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1