.Net not adding classes to dialogs!?
-
figured maybe this post was better in this forum.. arg.. i have been using .net since it shipped and now i have added a new dialog.. i right click on the dialog and say 'Add Class'.. specify the class name and set it to be derived from CDialog (instead of CHtmlDialog).. and click ok.. and it doesn't make the .h or .cpp or add the class to my project!!! i have tried deleting the source safe files and setting all of the files to not be read only.. i have tried adding a dummy dialog and adding a class for it, and it will NOT make a frickin' class for any dialog at all now.. if i try to add a message handler for a button i have tried to make a class for it gives me a frickin' debug error in the 'script' since all of there dialogs are apparently html driven now.. arg.. i cant deal with making every dialog manually instead of having .net make the classes for me, its just too much of a pain in the arse.. :mad::mad: is anyone familiar with this error, or can anyone give me an expectation of what to expect if i try to get technical support from microsoft?! i have spent the last 6 months developing this frickin' software and now i cant add any classes to any dialogs?! i thought this was perhaps a screwup in the .rc or the recourse.h, but i am not familiar with these files, and they seem to look the same for the new dialogs as they have for every other dialog ive ever made in .net arg.. i cant make any classes from any dialogs.. plz give me advice as to what my next plan of action should be (besides manually adding these classes..).. arg.. -dz -dz
-
figured maybe this post was better in this forum.. arg.. i have been using .net since it shipped and now i have added a new dialog.. i right click on the dialog and say 'Add Class'.. specify the class name and set it to be derived from CDialog (instead of CHtmlDialog).. and click ok.. and it doesn't make the .h or .cpp or add the class to my project!!! i have tried deleting the source safe files and setting all of the files to not be read only.. i have tried adding a dummy dialog and adding a class for it, and it will NOT make a frickin' class for any dialog at all now.. if i try to add a message handler for a button i have tried to make a class for it gives me a frickin' debug error in the 'script' since all of there dialogs are apparently html driven now.. arg.. i cant deal with making every dialog manually instead of having .net make the classes for me, its just too much of a pain in the arse.. :mad::mad: is anyone familiar with this error, or can anyone give me an expectation of what to expect if i try to get technical support from microsoft?! i have spent the last 6 months developing this frickin' software and now i cant add any classes to any dialogs?! i thought this was perhaps a screwup in the .rc or the recourse.h, but i am not familiar with these files, and they seem to look the same for the new dialogs as they have for every other dialog ive ever made in .net arg.. i cant make any classes from any dialogs.. plz give me advice as to what my next plan of action should be (besides manually adding these classes..).. arg.. -dz -dz
oh ya, and one of my dialogs mystically dissapeared today too.. .net is totally screwing up on me with classes and dialogs.. i compiled.. ten minutes later i compiled again.. it told me the resource.h and .rc were modified outside of visual studio.. it reloaded them and deleted the dialog.. (no there is noone else modifying my code).. -dz
-
figured maybe this post was better in this forum.. arg.. i have been using .net since it shipped and now i have added a new dialog.. i right click on the dialog and say 'Add Class'.. specify the class name and set it to be derived from CDialog (instead of CHtmlDialog).. and click ok.. and it doesn't make the .h or .cpp or add the class to my project!!! i have tried deleting the source safe files and setting all of the files to not be read only.. i have tried adding a dummy dialog and adding a class for it, and it will NOT make a frickin' class for any dialog at all now.. if i try to add a message handler for a button i have tried to make a class for it gives me a frickin' debug error in the 'script' since all of there dialogs are apparently html driven now.. arg.. i cant deal with making every dialog manually instead of having .net make the classes for me, its just too much of a pain in the arse.. :mad::mad: is anyone familiar with this error, or can anyone give me an expectation of what to expect if i try to get technical support from microsoft?! i have spent the last 6 months developing this frickin' software and now i cant add any classes to any dialogs?! i thought this was perhaps a screwup in the .rc or the recourse.h, but i am not familiar with these files, and they seem to look the same for the new dialogs as they have for every other dialog ive ever made in .net arg.. i cant make any classes from any dialogs.. plz give me advice as to what my next plan of action should be (besides manually adding these classes..).. arg.. -dz -dz
Try deleting the *.NCB and *.APS files in the project directory.
"Think of it as evolution in action." - 'Oath of Fealty' by Larry Niven and Jerry Pournelle