دليل المحترفين للفيجول بيسيك ج2 — الصفحة ٥٧٧

المشغل السريع Sub SaveConfig () اكتب الخيارات الحالية إلى ملف التهيئة " Dim Section As String Dim Key As String Dim Value As String Dim Result As Integer Dim Counter As Integer Dim PicFile As String الخيارات العامة " "ملف التهيئة الخاص ببرنامج المشغل السريع" = Section "المبرمج" = Key "جمال عمارة" = Value Result = WritePrivateProfileString(Section, Key, Value, IniFile) Section = "Global Options" Key = "Rows" Value = Str$(NumOfRows) Result = WritePrivate ProfileString(Section, Key, Value, IniFile) Key = "Columns" Value = Str$(NumOfCols) Result = WritePrivateProfileString(Section, Key, Value, IniFile) Key = "ShowExpress" Value = Str$(ShowExpress) Result = WritePrivateProfileString(Section, Key, Value, IniFile) Key = "ShowTopMost" Value = Str$(ShowTopMost) Result = WritePrivate ProfileString(Section, Key, Value, IniFile) Key = "ShowDescription" Value = Str$(ShowDescription) Result = WritePrivateProfileString(Section, Key, Value, IniFile) Key = "SaveStyle" Value = Str$(SaveStyle) Result = WritePrivateProfileString(Section, Key, Value, IniFile) Key = "ConfirmOnExit" Value = Str$(ConfirmExit) Result = WritePrivate ProfileString(Section, Key, Value, IniFile) orq
ص ٥٧٧

النص مستخرج آليًّا من صور الكتاب، وقد يقع فيه خطأ.