Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2011, 08:50 AM
Registered User
 
Join Date: Aug 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Convert DAO Coding to ADO Coding

Hi Guys,

It's been 8 years. I am completely out of programming. Recently wanted to update my self. I tried to open all my projects done in the year 2002 using VB as fronted and MS Access 97 as database and connection thru DAO crystal reports 4.6.


1) My new laptop ( having windows 7) is not allowing to load visual studio 6.

2) I tried to copy all the backups in another desktop computer having windows Xp service pack 2, Office 2000 and visual studio 6 and crystal report 4.6 . It is giving me an error and asking for password for accesing MS Acess data base which i never set.

problem at crystal report1.action = 1.

Here below is the code.

{Private Sub CmdPrint_Click()
CrystalReport1.DataFiles(0) = App.Path & "\misov.mdb"
CrystalReport1.ReportFileName = App.Path & "\AccountList.rpt"
CrystalReport1.WindowState = crptMaximized
CrystalReport1.Action = 1
End Sub}


I require from you the following:

1) How to change from DAO to ADO
2) How to retrieve and run my old softwares in windows xp, access 2000, crystal reports 4.6?
3) How to migrate to the latest version with out doing major changes.

Your advises are highly appreciable.

Best regards,

Uday





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert this DAO connection code to ADO Con ruth26 VB Databases Basics 0 May 11th, 2006 05:15 AM
Convert ADO connection to DAO database dr_morose Access VBA 0 November 17th, 2004 05:44 PM
Convert ADO reocordset to DAO recordset use report redd Access 1 September 24th, 2004 03:34 PM
Convert ADO recordset to DAO recordset andrew_taft Access 1 May 5th, 2004 02:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.