kpgraci
Active member
Hi all,
I have a project with 7 forms. I wanted to change the startup form for testing, but in the project properties application tab under startup form, only 3 of my forms show up as available.
So I manually edited the Application.myapp file and changed the MainForm tag to frmSearch.
I checked the property pages and now frmSearch is listed in the dropdown, and it is selected.
Run I compile I get an error:
Error 1 'frmSearch' is a type in 'MyTestApp' and cannot be used as an expression. C:\Documents and Settings\...\My Project\Application.Designer.vb 35 27 MyTestApp
frmSearch is a form, just like other forms that work as the startup form.
What's going on here?
I have a project with 7 forms. I wanted to change the startup form for testing, but in the project properties application tab under startup form, only 3 of my forms show up as available.
So I manually edited the Application.myapp file and changed the MainForm tag to frmSearch.
I checked the property pages and now frmSearch is listed in the dropdown, and it is selected.
Run I compile I get an error:
Error 1 'frmSearch' is a type in 'MyTestApp' and cannot be used as an expression. C:\Documents and Settings\...\My Project\Application.Designer.vb 35 27 MyTestApp
frmSearch is a form, just like other forms that work as the startup form.
What's going on here?