I used a data report and used Jet.OLEDB.4.0 (something like that) and mapped it to C:\(folder name)\(database name). The connection was successful and i used Visual Studio's package and deployment wizard to make the installer. Windows did not want me to install the software (due to security reasons in the network) so what i did was just temporarily copied the files in a directory along with all the DLLs and .exe file. Please note that everything works ok but upon clicking print (upon clicking print, i want the datareports to pop up) i keep getting an error, "Object not defined"
I made sure that the path to the database was correct. I did the same to my pc (that has VB installed in it) to test it just in case it did not want me to install using package and deployment wizard and it worked fine. I don't know if this is because i already have VB in my pc already which could be a possibility.
So when i just copy all the DLLs, OCXs, and exe files to a specific directory without actually using the wizard, how to i get the data report to work? Another question, how can i manually code the database path in the dataenvironment if i want to access a database in another pc on a network?
Please help me out and thanks in advance. I would really appreciate it!