Input past end of file run-time error 50021 & Run-Time error 50304 An instance of....

Hello,

I have the pleasure of debugging somebody else's code.  When attempting to run this program (F5), the program generates the following error:

Run time error 50021.

Input past end of file 'C:\Documents and Settings..................someUserControl.ctx"

The second error occurs when trying to view the design of a particular form:

Run-time error 50304:
An instance of "deSol" cannot be created becasue its designer window is open.

Sounds fair enough, but how do I close it then?

I hope those are general enough errors where posting code is not required

thanks

LVL 7
brdrokAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aelatikCommented:
Doubleclick the "control" in design mode and close it. Maybe that will help
0
rdrunnerCommented:
Hello

You cannot have the control open in design mode and open a form with the control on it at once. So you need to close the design mode window of the control in order to access it on a form where it is used.

Whats causing the 1st error i cannot tell you though :(
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
brdrokAuthor Commented:
Never worked with Designers....

Inside my project window, there is a folder called "Designers".  Inside that folder is a node called "deSol (deSol.dsr)".  When I double click on it, it opens up a new window showing the connection & command folders.

Am I at the right place if I want to close the "design mode window" of deSol?

thanks

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

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.