Failed to share

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zelalem
    New Member
    • Nov 2006
    • 19

    Failed to share

    Hi ...

    I want to share the application program that has been under development
    in VB-6 and trying to access it from another machine. To do that I put the project and the database in the same folder and shared it . Although I can find the shared folder in the second computer,I failed to compile and run the program.

    Is there any thing that i miss?
  • willakawill
    Top Contributor
    • Oct 2006
    • 1646

    #2
    Originally posted by Zelalem
    Hi ...

    I want to share the application program that has been under development
    in VB-6 and trying to access it from another machine. To do that I put the project and the database in the same folder and shared it . Although I can find the shared folder in the second computer,I failed to compile and run the program.

    Is there any thing that i miss?
    Hi. Are you running vb on both computers? This does not work very well. Do you want to develop the app on both computers or just run it?

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      It seems likely that the path to the folder is different on each PC. There may be paths hard-coded in the database or the program source, which won't work when opened from the other PC.

      Comment

      • Zelalem
        New Member
        • Nov 2006
        • 19

        #4
        Originally posted by Killer42
        It seems likely that the path to the folder is different on each PC. There may be paths hard-coded in the database or the program source, which won't work when opened from the other PC.
        Hi
        What am I supposed to do here? Is there any remedy to fix?

        Comment

        • willakawill
          Top Contributor
          • Oct 2006
          • 1646

          #5
          Originally posted by Zelalem
          Hi
          What am I supposed to do here? Is there any remedy to fix?
          You could start by answering my questions :)

          Comment

          • Zelalem
            New Member
            • Nov 2006
            • 19

            #6
            Originally posted by willakawill
            You could start by answering my questions :)

            Ok...

            I want to run the program in the second machine which is connected to the first computer.

            Comment

            • willakawill
              Top Contributor
              • Oct 2006
              • 1646

              #7
              Originally posted by Zelalem
              Ok...

              I want to run the program in the second machine which is connected to the first computer.
              The simplest way is to install your compiler on both machines. Failing that you will have to create an install package.

              If the app runs and fails to find the database you will need to create a system dsn on both computers with the same name that connect to the database. That way the connection in your app will work.

              Comment

              Working...