How do I convert a windows forms app from C# to VB ?
        Posted  
        
            by SLC
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by SLC
        
        
        
        Published on 2010-03-17T10:35:18Z
        Indexed on 
            2010/03/17
            10:51 UTC
        
        
        Read the original article
        Hit count: 352
        
I've been converting all kinds of other things, classes, interfaces, ASP.NET MVC apps, and WPF applications, but I am stumped as to how to convert a windows forms application, as the whole structure seems to be different. Does anyone have any advice on how to tackle this problem?
I see essentially that you have two files, Form1.cs and Form1.Designer.cs. Literally translating them from C# to VB doesn't work because of some intricacies or other of how Visual Basic works. I think you /might/ be able to convert Form1.cs in this way, as it's just a constructor plus event handlers, but the designer contains the references to the controls etc. and I am not sure how to go about doing that.
I am using Visual Studio 2010 Beta 2.
© Stack Overflow or respective owner