VB_Developer Newbie
Joined: 25 Feb 2006 Posts: 18 Location: Hyderabad, India
|
Posted: Feb 27th, 2006 07:44 AM Post subject: |
|
|
Hi,
You could do this, it's very simple.
-give a reference to ADO 2.8
- write code in your application to connect to a database and open the recordset.
-place some label controls on your form. then assign the field values to your label controls.
- like this.....for Example : lblName.Caption = RecordSet!FieldName (else...RecrodSet.Field("Name")...else....RecordSet(Index))
- this way you can assign values to all your label controls
- then place 2 buttons, as MoveNext and MovePrevious.
- In the click event of these 2 buttons you can write the code....as
RecordSet.MoveNext(On MoveNext Click)......RecordSet.MovePrevious (on MovePrevious Click)
- Once you finish your coding, you can create a EXE, going to the File Menu, create MyProj EXE
-Once the EXE is created you can create a package using Visual Studio, Packaging and Deployment wizard.
- when you create a package, It automatically takes the dependency files and the required Dlls and Files need to make the application run.
-then using the installation package you can install the application anywhere and run.
Hope, this will help you.
Thanks
Deepak |
|