![]() Create an instance of Form1 and call the Show method of it in a button event handler of the Main form: Private Sub ButtonClick(sender As Object, e As RoutedEventArgs) Handles Button1.Click Dim form. You do this under Project->Add Reference->Projects->Solution in Visual Studio. My MSDN profile but will not answer coding question on either. Add a reference to the FileScan project from your Main project. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Both Visual Studio IDE and Visual Studio Code are very powerful editors and almost everyone must be familiar with using these editors. That is the basics, if it does not work then by all means provide specific details to exactly what you want and what you tried. Visual Studio Code, a lightweight code editor for developing and debug modern web and cloud applications.This cross-platform development tool can run on Windows, Linux, and OS X. There is a caught, if you want to access say a TextBox on the foreign form you will get an error while trying indicating it's not possible because it's declare with protection level so in the property window say for a TextBox we change private to public VB to C Dim f As New WindowsFormsApplication1.Form1 No matter which way you go, vb to c or c to vb we must use a using or import statement to reference the other form e.g.Ĭ to VB var f = new WindowsApplication1.Form1() It's a good idea to indicate what you have tried.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |