Subj: C# Startup Form Error

I am trying to use VS 2008 to change the startup form to a form that was imported (frmOpenPDF) from another project, but I get a “the type or namespace could not be found” error. The screen shots show the details.
 No error for the default form1:
Default FormProject Browser
ProjectObject Browser (no frmOpenPDF)
New FormThe error
ErrorPlease help the resolve error.
Mark01Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Shaun KlineLead Software EngineerCommented:
Is frmOpenPDF in another namespace? If so, you would need to either change it or import that namespace.
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
Mark01Author Commented:
The namespace for the imported form is CSh_Test2. The project name is CSh_Test3. I changed namespace for the imported form (frmOpenPDF) to CSh_Test3 and I get a "no suitable method found to override" error.
0
Shaun KlineLead Software EngineerCommented:
For forms, the namespace appears in two places: in the code file and in the designer file. Did you change it in both places?
0
Mark01Author Commented:
No. I did not change it in both places. Thank you, Shaun.
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
C#

From novice to tech pro — start learning today.