Results 1 to 3 of 3

Thread: Error - Sub or Function not defined

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    Montreal, Quebec
    Posts
    400

    Question Error - Sub or Function not defined

    I've developed an application which loads an Excel Chart into an ImageBox using:
    Code:
    Image1.Picture = LoadPicture(Fname)
    It works fine on my PC but when I run it on someone else's machine, I get an error message that the "Sub or Function" for "LoadPicture" is not defined. Any ideas as to what's the problem?

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    did you import all the proper dlls to that pc ass well
    including the excel object files?

  3. #3
    New Member
    Join Date
    Nov 2001
    Location
    Mocambique
    Posts
    6
    Perhaps you have to put the 'PICCLP32.OCX' in the windows\system directory.

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