What is going on on my form

yesterday, i was working on my application made by visual basic 6.0 and my pc hanged and i saved the application and restart my pc. and opened my application again andit gave me an errror and one of my forms disappeared, i added it but surprisingly it is added as MODULE not a normal form i.e i couldn't be able to see the design of it only available the code with strange code added. when i ran the application i could perform the form at runtime but couldn't be able to modify its design.
anybody help!!!!!!!!!!
Who is Participating?
seshu123Connect With a Mentor Commented:
try this way
   Find the form frx file and rename it and open the form file.  surely you will get the form.

Other wise pls. copy coding part of your form and design the new form and pate the code.
writing of the code is harder than design of the form(i think i am correct, i also suffered like this in my project.  and i did the same thing)
Guy Hengel [angelIII / a3]Billing EngineerCommented:
could the file be renamed from .frm to .bas?
please check, rename the file if needed, and add it back to the project..
i think your forms frx file (Binary file was corrupted try removing or renaming that binary file and check  the design)
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

You may be able to recover lost work by opening the form file with notepad, remove any garbage that's present, then save the code in a new .frm file.
howidaelrasheedAuthor Commented:
nothing solved. i don't know what is the cause or the solution of this problem. it makes me crazy
howidaelrasheedAuthor Commented:
yeah seshu123. this is what i made it.  thank you
howidaelrasheedAuthor Commented:
i just redesign the form. but it will be useful if another solution presents.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.