Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
GeneralRe: Ip scanner? Pin
Luc Pattyn17-Sep-09 6:56
sitebuilderLuc Pattyn17-Sep-09 6:56 
GeneralRe: Ip scanner? Pin
Dave Kreskowiak17-Sep-09 7:22
mveDave Kreskowiak17-Sep-09 7:22 
GeneralRe: Ip scanner? Pin
nhqlbaislwfiikqraqnm17-Sep-09 10:21
nhqlbaislwfiikqraqnm17-Sep-09 10:21 
GeneralRe: Ip scanner? Pin
Dave Kreskowiak17-Sep-09 10:41
mveDave Kreskowiak17-Sep-09 10:41 
QuestionComparing ObservableCollections and making them same Pin
ramk_chirra17-Sep-09 5:16
ramk_chirra17-Sep-09 5:16 
AnswerRe: Comparing ObservableCollections and making them same Pin
Pete O'Hanlon17-Sep-09 5:24
mvePete O'Hanlon17-Sep-09 5:24 
AnswerRe: Comparing ObservableCollections and making them same Pin
N a v a n e e t h17-Sep-09 5:43
N a v a n e e t h17-Sep-09 5:43 
QuestionVB6 to C# conversion SetIndex issue Pin
xtr33me17-Sep-09 4:20
xtr33me17-Sep-09 4:20 
I was wondering if anyone has run into this problem and gotten around it in any way. Currently I am performing a front end conversion from a VB6 GUI to C#. It is quite a big change and therefore we are performing this in stages. Now in this process we currently are using "Microsoft.VisualBasic.Compatibility.VB6" array objects at times eg.RadioButtonArray, CheckBoxArray, etc.

Now when using these, there is a "SetIndex" method that is used throughout the existing code and it seems that the designer does not like the idea of this method being called when EndInit has been called already. It essentially renders the designer useless and we get an error in the designer. What we currently do is in the "InitializeComponent" method we call only "BeginInit" on the various arrays, and then in the form constructor after "InitializeComponent" is called we have another method we created called "InitializeComponentArrays" which we call all methods needing to call "SetIndex" and then we call their "EndInit" methods. This allows designer to load everything fine until we make any adjustments to the designer. When this happens, the windows generated code inserts all the "EndInit" methods into the "InitializeComponent" method which causes the designer to crash, and I then need to go in and delete the lines that it has entered. It is quite annoying and I felt it was time to reach out and see if anyone else has any better resolutions.

Thanks everyone!
Dan
AnswerRe: VB6 to C# conversion SetIndex issue Pin
Luc Pattyn17-Sep-09 4:28
sitebuilderLuc Pattyn17-Sep-09 4:28 
GeneralRe: VB6 to C# conversion SetIndex issue [modified] Pin
N a v a n e e t h17-Sep-09 5:33
N a v a n e e t h17-Sep-09 5:33 
GeneralRe: VB6 to C# conversion SetIndex issue Pin
Luc Pattyn17-Sep-09 5:38
sitebuilderLuc Pattyn17-Sep-09 5:38 
GeneralRe: VB6 to C# conversion SetIndex issue Pin
xtr33me17-Sep-09 5:44
xtr33me17-Sep-09 5:44 
GeneralRe: VB6 to C# conversion SetIndex issue Pin
N a v a n e e t h17-Sep-09 5:45
N a v a n e e t h17-Sep-09 5:45 
Questionpremature garbage collection of static class causing problem Pin
akhanal17-Sep-09 4:05
akhanal17-Sep-09 4:05 
AnswerRe: premature garbage collection of static class causing problem Pin
Luc Pattyn17-Sep-09 4:19
sitebuilderLuc Pattyn17-Sep-09 4:19 
GeneralRe: premature garbage collection of static class causing problem Pin
akhanal17-Sep-09 4:31
akhanal17-Sep-09 4:31 
GeneralRe: premature garbage collection of static class causing problem Pin
Luc Pattyn17-Sep-09 4:57
sitebuilderLuc Pattyn17-Sep-09 4:57 
GeneralRe: premature garbage collection of static class causing problem Pin
akhanal17-Sep-09 5:18
akhanal17-Sep-09 5:18 
GeneralRe: premature garbage collection of static class causing problem Pin
akhanal17-Sep-09 5:25
akhanal17-Sep-09 5:25 
QuestionError in Loading assembly from Assembly.Load Pin
SRKSHOME17-Sep-09 3:31
SRKSHOME17-Sep-09 3:31 
AnswerRe: Error in Loading assembly from Assembly.Load Pin
Not Active17-Sep-09 4:19
mentorNot Active17-Sep-09 4:19 
AnswerRe: Error in Loading assembly from Assembly.Load Pin
Luc Pattyn17-Sep-09 4:20
sitebuilderLuc Pattyn17-Sep-09 4:20 
QuestionCalling GUI & path finding gurus Pin
izakfick17-Sep-09 3:27
izakfick17-Sep-09 3:27 
AnswerRe: Calling GUI & path finding gurus Pin
Pete O'Hanlon17-Sep-09 4:11
mvePete O'Hanlon17-Sep-09 4:11 
QuestionAllow space in text box - add the code for allowing spaces in regular expression validator Pin
coolsharath17-Sep-09 3:21
coolsharath17-Sep-09 3:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.