Solved

What is going on on my form

Posted on 2006-11-20
7
192 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 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17977638
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
ID: 17978181
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
ID: 17980898
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:howidaelrasheed
ID: 17985306
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
ID: 17985437
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
ID: 17986674
yeah seshu123. this is what i made it.  thank you
0
 

Author Comment

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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 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