• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

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?
0
need_help_00
Asked:
need_help_00
1 Solution
 
deightonCommented:
Shell "regsvr32 ""C:\mydll.dll"""
0
 
Z_BeeblebroxCommented:
Hi

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

Will hide the dos window.

Zaphod.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now