Hello Fellow Engineers!
I have a doubt and welcome useful suggestions from all of you.
I have the following problem:
I am programming a vi that asks a user for his/her username and password. The user has an option of changing the password . When he/she clicks on the option 'change password?', there is a dialog box asking the user for the old password and new password. If the old password is authenticated, the new password is sent through a global string to a sub vi. This sub vi simply has a table with user name and password column fields. So, on checking the validity of the old password, the main vi sends the new password through a global string to this sub vi and overwrites the old password field with the value of the current password.
My problem is this-
When I close the main vi, restart it and look at the sub vi, it doesn't show the new password. The sub vi has the original password as default. In other words, the changes I make to the sub vi are not saved on closing of the complete application. If I don't close the main vi and try changing the password any number of times, it works fine and does its job! But, when I shut down the application and start again, the sub vi has the original values.
Is there any way by which I can make sure that the changes I make to sub vi through the main vi are permanently saved each time the changes are made?
Hoping to hear from all of you,
With warm regards,
Aparna.
Student,
Germany.