i have compiled a program in vb6 i want to view a selected database tables records in word\ before compiling its works ( i can send the data to MS word and word write or pours the data on a word page) but after compiling the application the first time i clicks the send/print to word then the application open the message run time error 5152 method of object failed then later it open and prints only the first line in word and cant go any futher thanks