Link to home
Start Free TrialLog in
Avatar of howidaelrasheed
howidaelrasheed

asked on

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!!!!!!!!!!
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

could the file be renamed from .frm to .bas?
please check, rename the file if needed, and add it back to the project..
Avatar of seshu123
seshu123

i think your forms frx file (Binary file was corrupted try removing or renaming that binary file and check  the design)
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.
Avatar of howidaelrasheed

ASKER

nothing solved. i don't know what is the cause or the solution of this problem. it makes me crazy
ASKER CERTIFIED SOLUTION
Avatar of seshu123
seshu123

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yeah seshu123. this is what i made it.  thank you
i just redesign the form. but it will be useful if another solution presents.