Results 1 to 6 of 6

Thread: [RESOLVED] Register OCX's

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    Resolved [RESOLVED] Register OCX's

    How do you register ocx's using vb code.

    I thought it would be like the code below but it comes up with an error.

    VB Code:
    1. Shell "regsvr32 (app.path + "\data\ocx\mscomctl.ocx")"

    Thanks in advance chris1990

  2. #2

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    Re: Register OCX's

    i am making an install for my program but my program wont run without the ocx, so i am trying to install the ocx when installing my program.

  4. #4

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    Re: Register OCX's

    i am installing more than one program at a time, my program consits of seperate exe's so it will be more stable

  6. #6

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