954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Pls Help: Convert from vb6 to vb.net debug fail (URGENT!!!!!)

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!!!!!

Attachments Debug_error.JPG 95.42KB
happy006
Newbie Poster
4 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

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.

codeorder
Posting Virtuoso
1,913 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
 

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

happy006
Newbie Poster
4 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

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.

codeorder
Posting Virtuoso
1,913 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
 

Still Cant fix after replace..

Attachments Debug_error_2.JPG 102.98KB
happy006
Newbie Poster
4 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

Can anyone hep me?

happy006
Newbie Poster
4 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: