Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Packaging problem.. dll file not found...how to add it...

Packaging problem.. dll file not found...how to add it...

Scheduled Pinned Locked Moved Visual Basic
helpcomtutorial
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JustmeNick
    wrote on last edited by
    #1

    I package my program, installed it and now when i am running it, I is giving me this error: File or assembly name Interop.SQLMO, or one of its dependencies was not found. The file SQLDMO is a dll file i had to add to my project. i also try adding the file to the application folder before a went a head a build the project...but still it is having a problem finding it.. have any of you guys came across an error of this sort, if so, what was the solution.. i realise that i am having this problem with all the dll files that i had added to my project...please help I am behind time with this project, my boss needs it like last week...but i can't package for them to use... thanks in advance...

    Nab

    K D 2 Replies Last reply
    0
    • J JustmeNick

      I package my program, installed it and now when i am running it, I is giving me this error: File or assembly name Interop.SQLMO, or one of its dependencies was not found. The file SQLDMO is a dll file i had to add to my project. i also try adding the file to the application folder before a went a head a build the project...but still it is having a problem finding it.. have any of you guys came across an error of this sort, if so, what was the solution.. i realise that i am having this problem with all the dll files that i had added to my project...please help I am behind time with this project, my boss needs it like last week...but i can't package for them to use... thanks in advance...

      Nab

      K Offline
      K Offline
      Kschuler
      wrote on last edited by
      #2

      Maybe one of these will help you. Google Search Results: setup deploy with SQLDMO[^]

      1 Reply Last reply
      0
      • J JustmeNick

        I package my program, installed it and now when i am running it, I is giving me this error: File or assembly name Interop.SQLMO, or one of its dependencies was not found. The file SQLDMO is a dll file i had to add to my project. i also try adding the file to the application folder before a went a head a build the project...but still it is having a problem finding it.. have any of you guys came across an error of this sort, if so, what was the solution.. i realise that i am having this problem with all the dll files that i had added to my project...please help I am behind time with this project, my boss needs it like last week...but i can't package for them to use... thanks in advance...

        Nab

        D Offline
        D Offline
        dptalt
        wrote on last edited by
        #3

        Have you created a Setup project for you application? When I use the Setup wizard it scans the application project for dependencies and adds them to the setup project. When running the setup.exe it installs all the files needed to run your application.

        J 1 Reply Last reply
        0
        • D dptalt

          Have you created a Setup project for you application? When I use the Setup wizard it scans the application project for dependencies and adds them to the setup project. When running the setup.exe it installs all the files needed to run your application.

          J Offline
          J Offline
          JustmeNick
          wrote on last edited by
          #4

          Yes i have created a setup project for my application but not with the wizard, i am going to try using the wizard and see if it helps out better, because i am also using a twain device and it is missing that file also.. Question?.. when i use the wizard..how does it know which application to package?

          Nab

          D 1 Reply Last reply
          0
          • J JustmeNick

            Yes i have created a setup project for my application but not with the wizard, i am going to try using the wizard and see if it helps out better, because i am also using a twain device and it is missing that file also.. Question?.. when i use the wizard..how does it know which application to package?

            Nab

            D Offline
            D Offline
            dptalt
            wrote on last edited by
            #5

            When the solution is open click File | Add | New Project and select the Setup wizard. In the wizard I normally select Primary Ouput File. When the wizard finishes you can look in the Solution Explorer to verify it added you dependencies.

            J 1 Reply Last reply
            0
            • D dptalt

              When the solution is open click File | Add | New Project and select the Setup wizard. In the wizard I normally select Primary Ouput File. When the wizard finishes you can look in the Solution Explorer to verify it added you dependencies.

              J Offline
              J Offline
              JustmeNick
              wrote on last edited by
              #6

              Ok thanks..i am going to try it now.. will let you know if i got through...on more thing..have u seen my post on Twain problem...I need help with finding a Twain software which is free or any other suggestions as to how to capture images from a scanner or a digital camera and save that picture to a file as well as a database..

              Nab

              D 1 Reply Last reply
              0
              • J JustmeNick

                Ok thanks..i am going to try it now.. will let you know if i got through...on more thing..have u seen my post on Twain problem...I need help with finding a Twain software which is free or any other suggestions as to how to capture images from a scanner or a digital camera and save that picture to a file as well as a database..

                Nab

                D Offline
                D Offline
                dptalt
                wrote on last edited by
                #7

                Why not use an off-the-shelf program to accomplish this?

                J 1 Reply Last reply
                0
                • D dptalt

                  Why not use an off-the-shelf program to accomplish this?

                  J Offline
                  J Offline
                  JustmeNick
                  wrote on last edited by
                  #8

                  if i could i would...but this is a custom in house system for doing company business...which meams only data specify by the company i can use..but thanks anyway..

                  Nab

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups