Solved

What is going on on my form

Posted on 2006-11-20
7
185 Views
Last Modified: 2013-11-13
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!!!!!!!!!!
0
Comment
Question by:howidaelrasheed
7 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
could the file be renamed from .frm to .bas?
please check, rename the file if needed, and add it back to the project..
0
 
LVL 4

Expert Comment

by:seshu123
Comment Utility
i think your forms frx file (Binary file was corrupted try removing or renaming that binary file and check  the design)
0
 
LVL 9

Expert Comment

by:dancebert
Comment Utility
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.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:howidaelrasheed
Comment Utility
nothing solved. i don't know what is the cause or the solution of this problem. it makes me crazy
0
 
LVL 4

Accepted Solution

by:
seshu123 earned 500 total points
Comment Utility
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)
0
 

Author Comment

by:howidaelrasheed
Comment Utility
yeah seshu123. this is what i made it.  thank you
0
 

Author Comment

by:howidaelrasheed
Comment Utility
i just redesign the form. but it will be useful if another solution presents.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now