call command line function in VB

Is there a function in VB to execute a DOS style command?

I wanted to call the registration command

regsvr32 "C:\mydll.dll"

programmatically from within a VB program without launching a DOS window or batch program?
need_help_00Asked:
Who is Participating?
 
deightonConnect With a Mentor progCommented:
Shell "regsvr32 ""C:\mydll.dll"""
0
 
Z_BeeblebroxCommented:
Hi

Shell "regsvr32 ""C:\mydll.dll""" ,vbHide

Will hide the dos window.

Zaphod.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.