Results 1 to 7 of 7

Thread: loading .ocx from changind path name

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2005
    Posts
    103

    loading .ocx from changind path name

    I need to load a .ocx from the folder that the program executable is in. The problem is the folder that the program is located in can change. I want to load the .ocx from the folder so that if you do not have rights to install programs then i could still use .ocx's that are not already in windows.

    Thanks

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: loading .ocx from changind path name

    A program will use the OCX regardless of where it is installed as long as it is registered. So I don't really understand your question.

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

    Re: loading .ocx from changind path name

    He wants to use an .OCX without registering it.
    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.

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: loading .ocx from changind path name

    Quote Originally Posted by Dave Sell
    He wants to use an .OCX without registering it.
    Is that true FES Germany? If so why do you want to do that?

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

    Re: loading .ocx from changind path name

    Quote Originally Posted by FES Germany
    I need to load a .ocx from the folder that the program executable is in. The problem is the folder that the program is located in can change. I want to load the .ocx from the folder so that if you do not have rights to install programs then i could still use .ocx's that are not already in windows.
    Thanks
    From the poster...
    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.

  6. #6
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: loading .ocx from changind path name

    Well, Windows 2000 added something called temporary register of components (or something like that) but you would still need permission to register the component even if it's only during the life time of the process.

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Mar 2005
    Posts
    103

    Re: loading .ocx from changind path name

    Yeah, i do want to be able to use the .ocx's withoutout registering them. The reason i am trying to do this is because i want my program to be able to run on guest accounts which don't have rights to install let alone register an ocx. I did find a program, thinstall, that allows me to compile the ocx's directly into the executable but in order to download the tria you must hav a company email which i don't have. Well, if any of this info helps anyone come up with a solution to my problem that would be great. Thanks

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