Results 1 to 1 of 1

Thread: Adding command switches to ActiveX control

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    8

    Adding command switches to ActiveX control

    Hi

    I am a newbie to vb.net struggling to figure out how to add command switches to an ActiveX audio control. I need to be able to launch a sound recorder from an eLearning program authored in another software called Opus. The Opus-generated .exe can launch external .exe's and add command parameters or switches. So, for example, the sound recorder ActiveX, which has sample code in a vb sample, would need to have these command switches to run the compiled version minimized in the tray or invisible, and operate the record, stop, open .wav file, save .wav file as, close/quit.

    I've done a lot of reading about setting up additional code to add these command arguments, but, very new to vb.net/vb am totally at a loss. I don't yet even understand basic syntax, where in the form's code to add these, etc. The command switches would need to identified using names like record, stop, etc. that would allow the Opus-generated program to launch them by adding these basic word commands:
    LaunchFile("ActiveXControl.exe", \record \ "xyz.wav") and overwrite the .wav file (or give an option with dialog to not overwrite).

    I would be grateful if someone can takle a quick look at the audio ActiveX control which includes vb and vc samples/projects and suggest some direction (my vb.net 2003 has a wizard that converts the sample's vb to vb.net).

    http://www.viscomsoft.com/products/audiocapture/ (info)

    http://www.viscomsoft.com/demo/audio...edemosetup.exe (demo)

    Thanks for your help.

    Kind Regards,
    writer2
    Last edited by writer2; Jul 12th, 2007 at 09:15 AM.

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