1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

method of object failed

Discussion in 'Visual Basic ( VB )' started by lewisNai, Apr 15, 2008.

  1. lewisNai

    lewisNai New Member

    Joined:
    Apr 11, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. Cseek

    Cseek New Member

    Joined:
    Dec 1, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    train driver
    Location:
    hubli / karnataka
    Home Page:
    Post the code demarking which line is causing error
    & what is the office version
     

Share This Page