2 Replies - 6961 Views - Last Post: 08 July 2012 - 09:43 PM Rate Topic: -----

#1 ruchikabeddy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 13-July 08

GetSetting + SaveSetting

Posted 18 July 2008 - 12:14 PM

Below is the code in VB. I want GetSetting + SaveSetting in VB.Net---


VB
Call SaveSetting(App.ProductName, App.title, "CheckBox1", values)

call CheckBox1.value=GetSetting(App.Productname,App.title,"CheckBox1",VbUnChecked)


VB.Net


Call SaveSetting(Application.ProductName, Application.ProductName, "CheckBox1", values)
Abive SaveSetting is rite or not???
Secomdly. what is the code gor GetSetting???

Is This A Good Question/Topic? 0
  • +

Replies To: GetSetting + SaveSetting

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1619
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: GetSetting + SaveSetting

Posted 18 July 2008 - 12:17 PM

Information for GetSetting() can be found in this link. Information regarding SaveSetting() can be found at that link. I don't quite understand your other questions. I'm normally good at reading & speaking Typoneese, but this one escapes me.
Was This Post Helpful? 0
  • +
  • -

#3 putoboss  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 08-July 12

Re: GetSetting + SaveSetting

Posted 08 July 2012 - 09:43 PM

View Postruchikabeddy, on 18 July 2008 - 12:14 PM, said:

Below is the code in VB. I want GetSetting + SaveSetting in VB.Net---


VB
Call SaveSetting(App.ProductName, App.title, "CheckBox1", values)

call CheckBox1.value=GetSetting(App.Productname,App.title,"CheckBox1",VbUnChecked)


VB.Net


Call SaveSetting(Application.ProductName, Application.ProductName, "CheckBox1", values)
Abive SaveSetting is rite or not???
Secomdly. what is the code gor GetSetting???



Hey! I did it, in .net is different than vb
here my example:
- to save state
Call SaveSetting("myProgram", "Estados", "Loot", ckLoot.Checked.ToString)

-to get state
ckLoot.Checked = GetSetting("myProgram", "Estados", "Loot", ckLoot.Checked.ToString)

and it works for me :D

PD: sorry, my english is bad :/
thanks!!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1