borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (how to make a back-up/recovery system for an access database..)Next Topic (server share\'s DB with client..) New Topic New Poll Post Reply
AndreaVB Forum : Database : Include form created in Access in Express Edition project
Poster Message
DianeJ
Level: Protégé

Registered: 01-08-2006
Posts: 5

icon Include form created in Access in Express Edition project

Ok, I've answered my own previous post (sort of) by using the Wizzard in Access to create the search button for me.  My question now is how do I include this form in my project.  As I said I am using Visual Studio Express Edition.  And yes as you have probably gathered, I am an extreme newbie  

02-08-2006 at 01:55 AM
View Profile Send Email to User Show All Posts | Quote Reply
GeoffS
Level: VB Lord


Registered: 29-09-2004
Posts: 536
icon Re: Include form created in Access in Express Edition project

Hi Diane,
Sorry, but it cannot be done. The Forms engine for Access is totally different than the VB.NET engine, and since Access stores the Form definition internally you cannot get at the coding to try and adapt it. You will need to create the Form from scratch in your VB.NET Express Development environment.
This will be the easy part, as you do it in much the same way as you did in Access, by dragging a Textbox control from your toolbox and dropping it on the Form.
The hard part will be the coding for the search, as I am guessing that if you have used the Access Wizard to create the Event code for your "Search" button, all that is doing is invoking the inbuilt "Find" dialog box. You cannot do this in VB, and will need to create your own dialog  - another Form with a Textbox to enter the string to search for and a button to start the search. Then put code in the Button_Click Event to get the record that matches your search string, and display it on your first Form.
I would suggest that in your VB.NET Express Development environment you click "Help" on the toolbar and select "How do I?" then select "Data Access" - this will help you to understand what you need to do.



____________________________
multi-tasking - the ability to hang more than one app. at the same time.

02-08-2006 at 09:17 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Database : Include form created in Access in Express Edition project
Previous Topic (how to make a back-up/recovery system for an access database..)Next Topic (server share\'s DB with client..) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder