15-04-19, 09:37 AM
(آخر تعديل لهذه المشاركة : 15-04-19, 09:43 AM {2} بواسطة dametucorazon.)
لازالت احوال الوصول لحلح قمت بعمل ريسيت لاعدادات Debugging
والان يظهر هذا الخطأ
Exception thrown: 'System.NullReferenceException' in CONTROL.exe
Exception thrown: 'System.AccessViolationException' in System.Windows.Forms.dll
كل ما فعلته هو
قمت بتغير Public Function الي Public sub
لانه كان يظهر ليس دائما هذا الخطأ
Warning BC42105 Function 'fromApplication' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. CONTROL H:\VISUALBASIC\NEW 2019\new 2019 \CONTROL\DETAILS.vb 145
والان يظهر هذا الخطأ
Exception thrown: 'System.NullReferenceException' in CONTROL.exe
Exception thrown: 'System.AccessViolationException' in System.Windows.Forms.dll
كل ما فعلته هو
قمت بتغير Public Function الي Public sub
لانه كان يظهر ليس دائما هذا الخطأ
Warning BC42105 Function 'fromApplication' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. CONTROL H:\VISUALBASIC\NEW 2019\new 2019 \CONTROL\DETAILS.vb 145
