Acessing variable from Global.vb after upgrading from vb to vb.net

Locked Acessing variable from Global.vb after upgrading from vb to vb.net

  • Monday, May 23, 2011 6:23 AM
     
     

    Hi all,

    I upgrade my vb project to vb.net. when access the varible form global.vb file, I am getting following initialization error.

    The type initializer for 'LayoutCheckin.Globals_Renamed' threw an exception  when initializing any variable, declared in Global .vb file.

    can anybody tell what should be done.

    Prasanta

All Replies

  • Thursday, May 26, 2011 9:59 AM
    Moderator
     
     

    Hello Prasanta,

    Thanks for your post.

    Could you please set breakpoint and debug step by step to check which variable leads to such error? Would you mind providing the converted VB.NET code? If so, we could reproduce the issue on our side.

    Best regards


    Liliane Teng [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.