Hello, I had convert my program from vb6 to vb.net, how come there is a error when i debug??

http://img51.imageshack.us/i/debugerror.jpg/

Pls help me, URGENT!!!!!

I am not really sure since I have never converted a project from vb6 to vb.net, although when loading a Form1.Designer.vb in Notepad++ or Notepad, your image code looks similar to it.

Try replacing the first lines of code with these lines.

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class frm_Merge
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.

EDIT::
Overlooked the image again and it seems that maybe just adding a line break in between <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ and Partial Class frm_Merge should solve the issue.

Hi, thank you but it cant help, still the same error message point to the first line, frm_merge.

Try replacing the first line w/the first 2 lines provided in my previous post. Partial Class frm_Merge should be on the second line, not first.

Still Cant fix after replace..

Can anyone hep me?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.