Results 1 to 6 of 6

Thread: Referencing Files

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Posts
    127
    I have a program that I created thats funs fine on my machine, but fails to run when I copy it to another machine. I have a feeling thats its either looking for a file thats not there, or its using an outdated file. The only error I get when I run it is Run-Time Error "5".

    Is there any way to check what files a program uses so that I can check them agains the target computer?

    Thanks in advance.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Did you just move over the exe, or did you create a setup package and isntall it the 2nd computer?
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Posts
    127
    just copied the exe over. If I make an install file, will that copy the necessary components over with it?

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    yes.You have to make a setup package with Vb. Package and Deployment will include any refereneced controls and dlls in the package.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Posts
    127
    it works. Thanks.

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Any time!
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

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