Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange errors in WinForms project in VS 2019

Status
Not open for further replies.

IlyaRabyy

Programmer
Nov 9, 2010
568
US
Colleagues,
I just have obtained VS 2019, and I started a new (quite simple) project just to see what differs in 2019 from 2012 version.
I created project, renamed the form, saved - all was OK.
I added a button (Exit one), coded it, then tested it (F5) - worked as expected.
Then I added Directory Entry control from Toolbox... and all hell broke loose!
Here are the screenshots:
1. As inscription I've put on says, this lib was added to Resources... to no effect

2022_01_18_15_31_TextSrch_MainFormErrors_01_dfa7c2.jpg


2. It says it's not the first class...

2022_01_18_15_31_TextSrch_MainFormErrors_02_hmsorw.jpg


- but it is!

2022_01_18_15_31_TextSrch_MainFormErrors_03_cdl4qu.jpg


I've never seen naything like this when I created projects in VB in VS 2012!
What am I missing/doing wrong?
Please advise!

Regards,

Ilya
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top