|
I have a DataGridView control in a form, and as of a day ago, when I click on the control, I get *no* properties listed in the Properties pane of the IDE. The properties pane is totally blank. Neither properties nor events are visible. I have tried everything. Prior to this, the properties and events displayed normally.
Other controls' properties are displayed when I click on them, but not the DataGridView control. If, after clicking on my DataGridView control, I use the combo-box on the Properties pane to look at any other control's properties, they come right up. If I then select my control's name (DataGridView1) in the Properties pane combo-box, the IDE crashes completely and I have to restart.
I tried a repair re-installation. The same things happens.
I can set properties etc. programatically, but that sorta defeats the point of an IDE, not so?
Does anyone have any suggestions on how to fix this? - Moved byYiChun ChenMSFT, ModeratorThursday, October 22, 2009 8:15 AMVB IDE issue (From:.NET Framework Setup)
- Changed TypeYiChun ChenMSFT, ModeratorWednesday, October 21, 2009 1:58 AM
-
| | MianFida Tuesday, October 20, 2009 7:54 AM | Hi Mian, Thank you for your reply. Based on your description, your issue is caused by this specific project. Some file could be corrupted. For your existing form with DataGridView control, I would suggest you to create a new form and drag and drop the control. Then copy and paste the code in Code Designer. For the existing form without DataGridView control, you can directly add *.Designer.vb, *resx and *.vb. Hope this helps. Best regards, Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Marked As Answer byYiChun ChenMSFT, ModeratorTuesday, October 27, 2009 2:23 AM
-
| | YiChun Chen Thursday, October 22, 2009 6:32 AM | hi Mianfida I would like to add on to Yichun chens reply "I mean that you should add existing item to a new project instead of existing project since the existing project could be corrupted. :) "
Also make sure that when u r adding exisiting items select multiple items i.e all 3 (*.Designer.vb, *resx and *.vb. for that specific form)at a time and add them all at once instead of adding one by one Thanks anliS
Best Regards, anliS BICPlease remember to mark the correct replies as answers - Marked As Answer byYiChun ChenMSFT, ModeratorTuesday, October 27, 2009 2:23 AM
-
| | anlis Thursday, October 22, 2009 7:07 AM | Hi Mian, Thank you for your reply. Please make sure that you create a new project or blank project. Or you can consider sending your project (zip package) to me for investigation. Best regards, Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Marked As Answer byYiChun ChenMSFT, ModeratorTuesday, October 27, 2009 2:24 AM
-
| | YiChun Chen Thursday, October 22, 2009 8:15 AM | Hi Refer this similar thread http://social.msdn.microsoft.com/Forums/en/vbide/thread/9bd79643-35d8-44be-8ec6-bf6a922ec481Try Martin Xie MSFT Suggestions One kind request to u This is .Net Framework Setup Forum Try posting ur query to same thread above or inVisualBasicIDE Forum Refer link here http://social.msdn.microsoft.com/Forums/en/vbide/threadsThanks anliS
Best Regards,
anliS
BIC
Please remember to mark the correct replies as answers | | anlis Tuesday, October 20, 2009 9:09 AM | I am sorry this problem still exist........... no one could help...... even this topic was closed and now its out of discussion, while its very important and common issue. the said link is not helpful. no add ins found in affected project. only affected project have such type of issue..... any help........... regards, Mian Fida. | | MianFida Wednesday, October 21, 2009 3:43 AM | Datagridview in vs2005 was working correctly...... sudden the property window of said control disappeard. now in whole project DGV does not show properties panel on striking F4 key or by right cliking--->>properties. it shows but empty,blank. i tried to add new window form and draged and droped a new DGV control on said form but problem exist still. this problem is comming only one project.... others projects are working fine.. i tried to reinstall vs2005 even but in vain... any help pls regards, Fida - Merged byYiChun ChenMSFT, ModeratorThursday, October 22, 2009 9:56 AMDuplicate
-
| | MianFida Wednesday, October 21, 2009 3:54 AM | Hi Does this Problem occur even if u drag a new datagridviewcontrol to a newproject ? Whats the error message that u r getting? reply me.. AllI can do to help u is Insert ur Visual Studio CD and try repairing the Installation Also make sure that u have System.Windows.Forms.dll present on your machine If u have compiled ur project in 3.5 thenTry compiling in lower .Net Framework 3.0,2.0 etc... or viceversa See if this helps Do u have a restore point Can u please try restoring your system to an earlier date time .See if this works Thanks anliS
Best Regards, anliS BICPlease remember to mark the correct replies as answers | | anlis Wednesday, October 21, 2009 5:09 AM | Hi MianFida, Thank you for your post. Firstly, as Anlis mentioned, please try creating a new project. Then drag and drop one Datagridview control to have a try. This can help us to eliminate the possible cause of specific project. If it doesn't work, could you please try the points mentioned here: http://social.msdn.microsoft.com/forums/en-US/vssetup/thread/0376db8f-4761-4ae5-9af2-98c53216318a#VS_IDE_unexpected_problemsto narrow down the possible cause of your problem? Hope this helps. If you have any concern, please feel free to let me know. Best regards, Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. | | YiChun Chen Wednesday, October 21, 2009 10:58 AM | Sounds like something got corrupted somehwere. See things like this every now and then, and a lot of the suggestions are just educated guesses. 2things: 1. why not download/install VS2008? VS2005 is no longer distributed/supported by MS, and any projects done in 2005 should work in 2008 2. maybe post in the VS Setup Forum: http://social.msdn.microsoft.com/Forums/en-US/vssetup/threads | | jwavila Wednesday, October 21, 2009 11:42 PM | Hi, let me clear my problem....... 1) DGV does not show its properties panel on only one specific project say "A". if i create new project its working fine.... 2) what i have tried already a)changed name of DGV in its designer coding b) tried to add a new form then draged and droped DGV control on it........but no properties appeared....... c) re-installed VS
in short i can say DGV properties panel is not being displayed on a specific project..........any help....
Regards, Mian.Fida | | MianFida Thursday, October 22, 2009 4:18 AM | Hi SoDGV is not working for ur specific project 'A' right Do u have a backup of that project folderwhen DGV displayed properties panel. Try to see which file is missing in your recent project 'A'and backup project by compairing them. If u find any missing files paste them to ur recent project 'A'see if this helps or u can create a new project.create a blank form and DGV to it.see if now this displays the properties panel nowchose add Existing Items fromsolution Explorer and add the Formsfrom ur old project 'A' refer this similar threads https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=380675http://forums.asp.net/t/1367768.aspxhttp://stackoverflow.com/questions/1412830/my-datagridview-properties-window-went-blankThks anliS
Best Regards,
anliS
BIC
Please remember to mark the correct replies as answers | | anlis Thursday, October 22, 2009 5:37 AM | Thanks for replying....
i have old backups of said project but they are behaving alike....hmmm now pls let me guide there are many items with different extesion i.e rex, .vb etc wht type of item should i include in new project? once i tried, new project gives compilation errors.............help Regards, Mian Fida | | MianFida Thursday, October 22, 2009 5:56 AM | Hi Mian, Thank you for your reply. Based on your description, your issue is caused by this specific project. Some file could be corrupted. For your existing form with DataGridView control, I would suggest you to create a new form and drag and drop the control. Then copy and paste the code in Code Designer. For the existing form without DataGridView control, you can directly add *.Designer.vb, *resx and *.vb. Hope this helps. Best regards, Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Marked As Answer byYiChun ChenMSFT, ModeratorTuesday, October 27, 2009 2:23 AM
-
| | YiChun Chen Thursday, October 22, 2009 6:32 AM | Hi, if i create new form in existing project and drag and drop DGV, it again does not shows its properties:( | | MianFida Thursday, October 22, 2009 6:48 AM | Hi Mian, Sorry for little explanation. I mean that you should add existing item to a new project instead of existing project since the existing project could be corrupted. :) Best regards, Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. | | YiChun Chen Thursday, October 22, 2009 6:51 AM | hi Mianfida I would like to add on to Yichun chens reply "I mean that you should add existing item to a new project instead of existing project since the existing project could be corrupted. :) "
Also make sure that when u r adding exisiting items select multiple items i.e all 3 (*.Designer.vb, *resx and *.vb. for that specific form)at a time and add them all at once instead of adding one by one Thanks anliS
Best Regards, anliS BICPlease remember to mark the correct replies as answers - Marked As Answer byYiChun ChenMSFT, ModeratorTuesday, October 27, 2009 2:23 AM
-
| | anlis Thursday, October 22, 2009 7:07 AM | when i add existing items in new project......... it makes duplicate classes for example, my original class is BDO, it create two classes one BDO and second BDO1
after that it gives compilation errors on BDO1 class | | MianFida Thursday, October 22, 2009 7:11 AM | Hi Mian, Thank you for your reply. Please make sure that you create a new project or blank project. Or you can consider sending your project (zip package) to me for investigation. Best regards, Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Marked As Answer byYiChun ChenMSFT, ModeratorTuesday, October 27, 2009 2:24 AM
-
| | YiChun Chen Thursday, October 22, 2009 8:15 AM | Hi all, I can confirm this as an issue. I find the following, on many different projects: Dragging a datagridview object into a form work fine..properties display, all is good. If I save this form, I can reopen it and it still works..however... As soon as I try to import the form (by adding it as an existing item) into a new (or open) project, it will work BUT ONLY UNTIL I RESAVE THE NEW PROJECT., From that moment, that particular form inside the newly saved project will result in a DataGridView object with completely blank properties field. I have tried many different methods of exporting/importing/adding into projects both new and existing, and always only the dgv object ends up after saving with a blank properties field. I notice several people have the same issue, and it is really a point beyond which i cannot continue. Is this being looked at by Microsoft? I would be happy if a completely compatible net framework version could be suggested for which these issues do not rear themselves...to be honest, the net framework seems to be in a shambles...too bulky, compatibility issues...can anyone shed some light on which version is which in terms of a feature set? I should add that the only framework installed on this development virtual machine is the one installed by default by the VB express 2008 installer. Any help would be greatly appreciated...oh, and awesome work with this forum! Zeureo | | zeureo Tuesday, November 10, 2009 12:51 PM |
|