I've started making a VB application and all my forms are window forms. However, I came across a video tutorial on the the msdn website about creating a data entry page for something like customer details.
http://msdn.microsoft.com/en-us/vbasic/cc707833.aspx
This is exactly what I'm trying to achieve (adding details to a database). However, in the tutorial the lady (Beth Massi) shows the process using a wpf form (not a windows form). I don't mind doing it her way, but I don't know how to call up the wpf window. With a standard windows form i can use something like Form2.Show() to open a windows. I tried to display a WPF windows by calling wpfwindows.show() but this doesn't work.
Another idea that i though of but haven't tried yet is just following her instructions but instead of using a WPF form, just use a windows form. what do you think?
I've probably made the question sound a lot more complicated than it really is. Any help will be much appreciated.
@loverofwine: I checked the link you sent but I'm not sure its what I'm after. I have textboxes on my form and a save button. When the user clicks the save button, I want the values in the textboxes to be saved to the relevant fields in the database.
The difference is in the level of graphical support and capability you get (flash, 2d, 3d graphics, etc.). The target system where you want to deploy a WPF may require more libraries than a standard VB.
From what I've see in your questions a form is the best thing. There is a good example of the two methods avaible for VB described here http://www.vbexplorer.com/VBExplorer/vb_feature/june2000/Database_Beginner_ADO_DAO.asp.
The source below gives a good description of WPF. If you don't need a visually intensive application you can ignore it.
June 29th, 2009 at 8:07 pm
The difference is in the level of graphical support and capability you get (flash, 2d, 3d graphics, etc.). The target system where you want to deploy a WPF may require more libraries than a standard VB.
From what I've see in your questions a form is the best thing. There is a good example of the two methods avaible for VB described here http://www.vbexplorer.com/VBExplorer/vb_feature/june2000/Database_Beginner_ADO_DAO.asp.
The source below gives a good description of WPF. If you don't need a visually intensive application you can ignore it.
References :
http://en.wikipedia.org/wiki/Windows_Presentation_Foundation