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
حاولت اخي دون جدوى
هل هناك طريقه لايجاد سبب الخطأ
لاني غيرت بعض الاعدادات في Debugging
قمت بعمل ريسيت لكل الاعدادات وفجاه البرنامج يظهر هذا الخطأ
مع العلم لا يوجد انترنت لدي علي هذا الجهاز الذي اعمل عليه