I'm getting an error when I run the program with the following message:
And when I look at line 1107, there's this code:
Me.Name = "mainForm"
If I delete this line or comment it out then the program runs fine but with a warning about conflict variable name. However, after a couple of runs, the program will generate the same exact above error again. And this time, if I look at the line, 1107, again, the code Me.Name = "mainForm" is back.
Does anyone have any suggestion why this happened? If anyone wish to see my whole project to help me diagnose, I'm willing to attach it in here or send it to you. I'm greatly appreciate for any help I can get.
Thank you,
ljCharlie
C:\VB_Project\Computers\mainForm.vb variable 'Name' conflicts with property 'Name' in the base class 'Control' and so should be declared 'Shadows'.
C:\VB_Project\Computers\mainForm.vb(1107): Value of type 'String' cannot be converted to 'System.Windows.Forms.DataGridTextBoxColumn'.\
And when I look at line 1107, there's this code:
Me.Name = "mainForm"
If I delete this line or comment it out then the program runs fine but with a warning about conflict variable name. However, after a couple of runs, the program will generate the same exact above error again. And this time, if I look at the line, 1107, again, the code Me.Name = "mainForm" is back.
Does anyone have any suggestion why this happened? If anyone wish to see my whole project to help me diagnose, I'm willing to attach it in here or send it to you. I'm greatly appreciate for any help I can get.
Thank you,
ljCharlie