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:
Shell "regsvr32 (app.path + "\data\ocx\mscomctl.ocx")"
Thanks in advance chris1990
Printable View
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:
Shell "regsvr32 (app.path + "\data\ocx\mscomctl.ocx")"
Thanks in advance chris1990
Are you trying to distribute a program that uses that ocx or are you trying to use in in your VB IDE?
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.
Moved.
You don't need to make your own installer. Just use the P&D Wizard that comes with VB or Inno which is also free.
i am installing more than one program at a time, my program consits of seperate exe's so it will be more stable
Then look into Inno and ********** (written by our member randem) which will let you do that.