Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
2 projects in one solution?
I have an issue with a VB.NET program I am developing in Visual Studio. It has 2 projects in its solution - one project is for command buttons and the other is for SQL Query forms.
I need a command button in the first project, called QueryCommand.vb, to be able to open a form located in the second project called QueryForm.vb. I know that if you're working in a single project, then QueryForm.show() is used to open the form, but what about calling it from a different project?
Currently, using QueryForm.show() from the command buttons project complains that QueryForm is not declared. Is there a way to declare the form globally for all projects in a solution?
0 · ·