Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   method of object failed (http://www.go4expert.com/forums/method-object-failed-t10044/)

lewisNai 15Apr2008 11:43

method of object failed
 
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

Cseek 14Dec2009 16:03

Re: method of object failed
 
Post the code demarking which line is causing error
& what is the office version


All times are GMT +5.5. The time now is 07:20.