Results 1 to 10 of 10

Thread: [RESOLVED] how do i register dll or ocx all at once?

  1. #1

    Thread Starter
    Enjoy the moment
    Join Date
    Feb 2011
    Location
    Barrio Del pilar madrid spain
    Posts
    5,204

    Resolved [RESOLVED] how do i register dll or ocx all at once?

    hey
    i have some dll and some ocx that i register
    i made something in a batch file
    but when i run it i need to press ok any time it is registered.
    is there a way to register it in one time instead of pressing ok
    each time?
    this is my code
    Code:
    regsvr32 c:\windows\SYSWOW64\COMCTL32.OCX
    regsvr32 c:\windows\SYSWOW64\MSCOMCTL.OCX
    regsvr32 c:\windows\SYSWOW64\COMCT232.OCX
    regsvr32 c:\windows\SYSWOW64\MSCOMCT2.OCX 
    regsvr32 c:\windows\SYSWOW64\COMCT332.OCX
    regards
    salsa

  2. #2
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    5,156

    Re: how do i register dll or ocx all at once?

    Use the /s option as in “silent”

    cheers,
    </wqw>

  3. #3

    Thread Starter
    Enjoy the moment
    Join Date
    Feb 2011
    Location
    Barrio Del pilar madrid spain
    Posts
    5,204

    Re: how do i register dll or ocx all at once?

    Quote Originally Posted by wqweto View Post
    Use the /s option as in “silent”

    cheers,
    </wqw>
    ahhh?

  4. #4
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,905

    Re: how do i register dll or ocx all at once?

    Code:
    regsvr32 /s c:\windows\SYSWOW64\COMCTL32.OCX

  5. #5

    Thread Starter
    Enjoy the moment
    Join Date
    Feb 2011
    Location
    Barrio Del pilar madrid spain
    Posts
    5,204

    Re: how do i register dll or ocx all at once?

    Quote Originally Posted by Arnoutdv View Post
    Code:
    regsvr32 /s c:\windows\SYSWOW64\COMCTL32.OCX
    thank you Arnoutdv & wqweto

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: [RESOLVED] how do i register dll or ocx all at once?

    You would be far better off just creating a proper installer.

  7. #7
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,905

    Re: [RESOLVED] how do i register dll or ocx all at once?

    You are absolute correct and I really don't understand why salsa needs this.

  8. #8
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: [RESOLVED] how do i register dll or ocx all at once?

    I also would suggest a proper installer. It is very simple to create a proper setup package, much safer and much fewer headaches.

  9. #9

    Thread Starter
    Enjoy the moment
    Join Date
    Feb 2011
    Location
    Barrio Del pilar madrid spain
    Posts
    5,204

    Re: [RESOLVED] how do i register dll or ocx all at once?

    Quote Originally Posted by dilettante View Post
    You would be far better off just creating a proper installer.
    how?

  10. #10
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: [RESOLVED] how do i register dll or ocx all at once?

    Quote Originally Posted by salsa31 View Post
    how?
    The package and deployment wizard that comes with VB will do the job

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