Results 1 to 6 of 6

Thread: Register ocx file in winxp

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2005
    Posts
    1

    Register ocx file in winxp

    I am trying to register a .ocx file in windows xp (msinet.ocx this is a built in component of vb6). i developed a program in excel that requires a certain report to be ftp'd in the server.The users unfortunately dont have VB6 on their workstations. Upon installing the program, users must place a copy of the .ocx file to a specific directory. I am planning to create a batch program to do this but i don't know how to register the ocx. MS Excel cannot recognize the control even it is in the right directory unless it's registered.

    do you have any suggestions pls?
    Last edited by Aman Pulido II; Nov 10th, 2011 at 12:37 PM.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Register ocx file in winxp

    Please read Installation Problems in my signature.

  3. #3
    Lively Member sishe's Avatar
    Join Date
    Aug 2004
    Location
    Izmit/Turkey
    Posts
    115

    Re: Register ocx file in winxp

    You'd better prepare an installation script with "Package and Deployment Wizard" for users to install the program.

    If you want to register the ocx manually, you can use "regsvr32 msinet.ocx" and you must give full path of ocx in the line like "regsvr32 c:\Test\msinet.ocx"

    Edit : Sorry for rpt..
    System Halted..
    -----------------------------------------
    Sishe

  4. #4
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: Register ocx file in winxp

    I've made apps for people with WinXP and I just put the ocx's in the Win\Sys folder. I didn't have to register them, the apps work perfectly without.

    Your msinet.ocx will need to be in the Win\Sys folder not App folder.

    Don't forget you may need Admin rights on Win2k/XP machines.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Register ocx file in winxp

    Moved to Application Deployment.

  6. #6
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Register ocx file in winxp

    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

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