Results 1 to 3 of 3

Thread: [RESOLVED] Class library (dll) with ocx

  1. #1

    Thread Starter
    Addicted Member scsfdev's Avatar
    Join Date
    Feb 2008
    Location
    Singapore
    Posts
    224

    Resolved [RESOLVED] Class library (dll) with ocx

    Hi all,

    I'm creating a dll (class library project) file for an OCX.

    I have an OCX (not Active X, just normal ocx and no need to put on form in order to use it.) which I normally call it from normal windows project's code behind. However, in order to use this OCX, I need to install one software and register with the correct license key.

    I got an idea of calling all functions in a class library and use this library in windows project. (I want to hide messy function calling code and make it simple for windows project to call it).



    1. My concern is if I create a class library like this, when I pass my dll to other project, "should I also pass the OCX file"?

    2. What will happen "if other PC already has different version of this OCX"?



    Because I only have access to two PCs at the moment and both PCs have already installed the same OCX. So, I can't do any testing, beside we are also restricted from copying file out of the network so I also can't test at home.

    Hope those who have this kind of knowledge and experience can share to me.

    Thanks.
    I'm using VS 2005 & 2008 & 2010 with SQL Server 2005 Express.

    My hobby beside programming: http://dslrstranger.wordpress.com

  2. #2
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Class library (dll) with ocx

    1) yes
    2) it wil be overwritten if you want it to be


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  3. #3

    Thread Starter
    Addicted Member scsfdev's Avatar
    Join Date
    Feb 2008
    Location
    Singapore
    Posts
    224

    Re: Class library (dll) with ocx

    Quote Originally Posted by Radjesh Klauke View Post
    1) yes
    2) it wil be overwritten if you want it to be
    Hi Radjesh,

    Thanks for your info.
    I'm using VS 2005 & 2008 & 2010 with SQL Server 2005 Express.

    My hobby beside programming: http://dslrstranger.wordpress.com

Tags for this Thread

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