Results 1 to 16 of 16

Thread: Adding pdf.ocx in VB6?

Hybrid View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Adding pdf.ocx in VB6?

    I have a strange problem.
    I wish to browse a pdf-file from VB6, so I have created a form with a picturebox and the code below:

    VB Code:
    1. Form7.Pdf1.src = "http://www.logstor.com/productcatalogue/uk/uk_4_5.pdf"

    And this has been working, but now I receive this error when making the project file:

    Code:
    Compile Error. Method or data member not found.
    What is going on?????

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Adding pdf.ocx in VB6?

    hpl,

    What is Pdf1?

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Adding pdf.ocx in VB6?

    Pdf1 is the picturebox

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Adding pdf.ocx in VB6?

    hpl,

    So on what line do you get an error?

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Adding pdf.ocx in VB6?

    At this line
    Form7.Pdf1.src = "http://www.logstor.com/productcatalogue/uk/uk_4_5.pdf"

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Adding pdf.ocx in VB6?

    hpl,

    The is no such property (src) for a picturebox.

  7. #7
    Addicted Member VbMafia's Avatar
    Join Date
    Sep 2004
    Location
    Pilipinas
    Posts
    177

    Re: Adding pdf.ocx in VB6?

    You can download pdf.ocx from www.download.com
    " I never did anything worth doing entirely by accident.... Almost none of my inventions were derived in that manner. They were achieved by having trained myself to be analytical and to endure and tolerate hard work."

    " Many of life's failures are experienced by people who did not realize how close they were to success when they gave up. "
    - Thomas Alva Edison-

    In God We Trust

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width