السلام عليكم ...
عندي سؤال .. كيف ممكن نخزن اي تغيير في البرنامج بحيث يحافظ على التغيرات
بعد تشغيله مرة ثانيه ؟؟؟ ممكن مثال ؟؟؟
وشكراً جزيلاً
السلام عليكم ...
عندي سؤال .. كيف ممكن نخزن اي تغيير في البرنامج بحيث يحافظ على التغيرات
بعد تشغيله مرة ثانيه ؟؟؟ ممكن مثال ؟؟؟
وشكراً جزيلاً
ممكن أخي توضح أكثر؟

مدير مشاريع محترف - PMP
محلل أنظمة معتمد
مدير فريق برمجة تطبيقات ويب .Net
======|||||=====
======@ @====
==o0o== ( ) ==o0o===
================
كل منا يحتاج إلى الإرادة حتى يستطيع أن يقوم بعمله
If txtPassword.text <> "" then SaveSetting app.exename, "Maverick:","MyPassword",txtPassword.text end if
Private sub Form_Load() Dim Pass as string Pass = GetSetting (app.EXEName,"Maverick","MyPassword")
راكان الحنيطي
Be Open Source

بصراحة أخوي ما فهمت شي من الكود
ممكن تشرحة ولو بشكل سريع
اقتباسSaveSetting:This function allows you to save your program's changes at run-time.
Syntax of the function :
SaveSettin(appname as string, Section as string, Key as string, Setting as string)
appname is your program's name. you can specify the name of your application by taking it from app class
App.EXEName
Section is the name of the section in registry where you want to put the setting
eg: "MyProgram"
KeyName is the registry keyname which you will use to save the value of the setting in
eg: "Password"
Setting is the value of the control you want to save
maybe a password of a username
eg "Maverick"
اقتباسYou can use GetSetting the same way where you pass the appname , section and the setting name and it will give you the valuebut there is an extra param to pass the get setting function which is called "Default"
Ignore that one
تم تعديل هذه المشاركة بواسطة Maverick في 17 مارس 2004 في 16:53
راكان الحنيطي
Be Open Source

هذا الموضوع مغلق.
المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية
جارٍ التحقق من المتواجدين…