Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

I have a program that copies two .OCX files to the %SystemRoot%\System32 folder and then registers them using

 

shell cmd """regsvr32 C:\Windows\System32\MSWINSCK.OCX", null

shell cmd """regsvr32 C:\Windows\System32\MSCOMCTL.OCX", null

 

This brings up a message box saying that the registration has succeeded, I was wondering if there was a way I could do this silently. Either in the command prompt or completely in the background.

 

If anyone has any suggestions I would greatly appreciate it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...