Results 1 to 8 of 8

Thread: [20% Resolved] How to distribute reference DLL

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    146

    Lightbulb [20% Resolved] How to distribute reference DLL

    My project uses WBCustomizer.dll.

    I assembled all the required ocx files and WBCustomizer.dll into the same folder as the application and distribute it to another computer..


    But my program can't load WBCustomizer.dll on another computer. Please help.
    It seems that ocx files are ok.
    But my program is still trying to load WBCustomizer.dll with the absolute path C:/windows/system32/WBCustomizer.dll instead of relative to the folder...
    Last edited by winterslam; May 3rd, 2007 at 12:34 AM.

  2. #2
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: [urgent] How to distribute reference DLL

    have you installed your program in the other computer or just copied the files to other computer and tried running...
    to make the dll work you can type "RegSvr32 C:/windows/system32/WBCustomizer.dll" at the run command prompt...
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    146

    Re: [urgent] How to distribute reference DLL

    not installed. i copied the application folder..


    it only works with ocx

  4. #4
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: [urgent] How to distribute reference DLL

    you need to create a setup program to make your program run on other computers...
    do you have vb installed in the other computer...anyway just register you dll as I stated in my earlier post and revert if that works...
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    146

    Re: [urgent] How to distribute reference DLL

    actually i wanna distribute my application via CD ROMs.

    Its just a catalogue showing products. I dont want a setup file. Cuz its such a hassle for the customers., who should just click and run.

  6. #6
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: [urgent] How to distribute reference DLL

    if you have dlls or ocxs in your program and you have created that using vb you HAVE to create setup program to districute that via CD ROMs...

    anyways...have you tried just registering the dll and try to run it on the other computer...
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    146

    Re: [urgent] How to distribute reference DLL

    Quote Originally Posted by ganeshmoorthy
    "RegSvr32 C:/windows/system32/WBCustomizer.dll" at the run command prompt...
    Thanks
    Oh yes, it works..

    But all the users have to do that before they run it right?


    No other ways, huh?

  8. #8
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: [urgent] How to distribute reference DLL

    you can add this line to your program code (using shell), likely it will work...but the best way is to create a setup program and distribute your software...you can use Package and Deploy wizard or other such things to create a setup for your program...
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


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