Convert Type in Vb.net
-
i save my project form name in a table in database i want read formname from database and save formname in a string variable then use this command for this form example: form1.enable=false but i have a problem because formname is a string and no have enable property thank you
-
i save my project form name in a table in database i want read formname from database and save formname in a string variable then use this command for this form example: form1.enable=false but i have a problem because formname is a string and no have enable property thank you
i think you could do this make a new column in your database having boolean values which specify whether the form is enabled or not, then do this:
if YourBooleanProp = True then
form1.enable = true
else
form1.enable = false
end ifor you can just do this:
form1.enable = YourBooleanProp
TheMrProgrammer TheCalcMan: A no-mouse required Calculator supporting constant operator and visual effects Try it once, its awesome! Just 17.1 KB download. No installation required. No dlls. Just unrar and go. And its a freeware. http://www.hotlinkfiles.com/files/2642094\_kjwr0/TheCalcMan.rar