| | |
Vb6 Data Report Error
![]() |
•
•
Join Date: Aug 2007
Posts: 47
Reputation:
Solved Threads: 0
HI
I AM COMPUTER SCIENCE STUDENT.
My Instructor gave me thesis project. Any database program at any programming languages. This is stand alone program. I designed my program in visual basic 6.0 which is record keeping. It works fine in my computer. But when i installed it in other computer without visual basic 6 system and the time of my presentation an error occured "Invalid data source". All part of my program using data report do not works at that time. My instructor gave me a chance to fix this problem and present it again.
Anyone experienced this problem?
Help me please?
Thankyou
I AM COMPUTER SCIENCE STUDENT.
My Instructor gave me thesis project. Any database program at any programming languages. This is stand alone program. I designed my program in visual basic 6.0 which is record keeping. It works fine in my computer. But when i installed it in other computer without visual basic 6 system and the time of my presentation an error occured "Invalid data source". All part of my program using data report do not works at that time. My instructor gave me a chance to fix this problem and present it again.
Anyone experienced this problem?
Help me please?
Thankyou
In your dataenvironment put this in Initialize event
I used DAO to connect to database I put this code.
I don't know if this is what you are looking for. Hope this would help
I used DAO to connect to database I put this code.
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Connection1.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\Sample.mdb") & "; Persist Security Info=False"
Last edited by jireh; Sep 4th, 2007 at 12:13 am.
A conclusion is the place where you got tired of thinking. http://www.martin2k.co.uk/forums/index.php?showforum=4
http://www.a1vbcode.com/a1vbcode/vbforums/Forum3-1.aspx
http://www.developerfusion.co.uk/for...orum&ForumID=4
•
•
Join Date: Aug 2007
Posts: 47
Reputation:
Solved Threads: 0
Thank you for your help. Regarding the "invalid data source" error. It occured only in data report. But the from the other operation. Like Adding, editing, viewing, deleting of records from the database works fine and the microsoft access database is present. I only use one access data base with 2 tables. I use free installer to make my program to install easy. Some required files i try to copy in this path because it is required windows/system32. These files are .dll, tbl, ocx.. But the error still displayed. I try to use Visual basic "Package and Deployment Wizard" to make installer but when i try to setup again to other computer without visual basic. MDAC_Type.exe installer displayed error "Files are out of date". Thank you again and I hope you can help me for this problem.
![]() |
Similar Threads
- Vb6 Data Report Repeatedly Shows Previous Report (Visual Basic 4 / 5 / 6)
- Data Read Error at startup after Power Failure (Windows NT / 2000 / XP)
- about data report (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: random number generation
- Next Thread: how to obtain the date and time of server from client by vb coding
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





