بازم سلام
من به يه چيزي پي بردم كه نمي دونم درسته يا نه . فكر مي كنم وقتي كه به( void InitializeComponent(void
چيزي اضافه مي كنم چنين مشكلي پيش مي ياد مثلا وقتي oleDbConnection1->Open() رو به انتهاي اين روال اضافه مي كنم
اين مورد رو هم تو جستجو هام پيدا كردم:
for no apparent reason when trying to open a form in designer mode the
following
error is occuring:
'An error occurred when loading the document. Fix the error and reload the
document. The error message follows:
MCppCodeDomParser error'
The solution still builds and runs ok and controls can be added or modified
programatically but no 'designer' facility available.اگر درست فكر مي كنم بگين من بايد open كردن connection رو كجا قرار بدم كه مجبور نباشم تو هر روال مثل كليك دكمه كه با بانك كار دارم اونو باز و انتهاي روال اونو ببندم؟ تو vb.net من اين كد رو تو قسمت pageload مي گذلشتم و مشكلي هم پيش نمي اومدThere might be some lines of code in the InitializeComponent method of your
Form that cannot be parsed back by the Form Designer.
Have you added yourself some lines of code to this method?
If yes, I would suggest you to comment them out step by step until the Form
Designer reopens again. It may help you find out the lines that cannot be
parsed.
اگر درست نيست بگين مشكل لود فرم چطور حل مي شه و اصلا چرا پيش مي ياد
ممنون از توجه تون