Link to home
Start Free TrialLog in
Avatar of Ahmadal_najjar2003
Ahmadal_najjar2003Flag for Kuwait

asked on

How Can I change a settings

I have a variable in My.Settings  name ShortProductForm  as boolean .

How Can I change it to My.Settings.ShortProductForm = false / true . within My Application

Or as xml file.
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

You just need to save it after you change it

My.Settings.ShortProductForm = False
My.Settings.Save()
Avatar of Ahmadal_najjar2003

ASKER

I Put it but the editor itself says (property is read only)
You defined the scope (when you define the setting) as user, not as application.
So , do I have to set it as user. Bec I defined it as application .
ASKER CERTIFIED SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial