Results 1 to 3 of 3

Thread: Runtime error

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Posts
    22

    Runtime error

    As others have stated - no search option at this time so here goes...

    I created an .exe and have a few people that use it on a shared folder on our server. In the program I am using MS Chart (mainly so I could see what it does) and everyone who runs it on a PC has no trouble viewing the charts but a couple of users are accessing it through a IBM Thinkpad. The authority to the folder isn't a problem since the pgm and files I'm using are all in there but they are getting a Runtime error 339. MSCHRT20.OCX or one of its dependencies not correctly registered, a file is missing or invalid.
    Has anyone else run across this or know how to resolve it?

    Thanks for your help

  2. #2
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    The Chart control isn't installed on the computers that generate this error. If you've got the Package and Deployment Wizard that comes with VB, use that to create a setup program. It'll automagically detect the dependencies (that's the error you have: OCXs are controls, and your program can't find the control it needs to run). If you run the setup program on all the computers it has to run on, there'll be no problem.
    Things I've Said:
    "Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
    "Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
    "You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Posts
    22
    I did all that then sent one person the exe to have him run it but when it was opened he got an error saying he was missing a file in C:/temp Why would it look for something locally that isn't there when running the setup.exe? Did I miss something when creating it? Or will I have to send him more than just the setup pgm?


    Thanks

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