Results 1 to 5 of 5

Thread: Controlling a Prg from VB

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2005
    Posts
    41

    Question Controlling a Prg from VB

    Hi,

    I want to change a volume-slider in a DJ-Prog. from my
    VB-prog.

    How can I control it ?

    CU

    Byte

  2. #2
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Controlling a Prg from VB

    Well, you could try getting the handle of it first. If its an actual slider control it shouldn't be too hard to use SendMessage() to change the value of it. If its a custom control, which just looks like a slider control, then I'm not sure if there is a way..

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  3. #3

    Thread Starter
    Member
    Join Date
    Mar 2005
    Posts
    41

    Re: Controlling a Prg from VB

    Thanks,

    can you tell me, how I can get the Handle ?

    Cu

    Byte

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Controlling a Prg from VB

    Use a program such as the Spy++ Window Finder, to obrtain the class name of the control. If you don't have Spy++ there is a clone by Joacim Andersson in the Codebank-VB6 section.

  5. #5
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Controlling a Prg from VB

    In this link, is a program that'll allow you to play wavs forward, reverse, scratching (in real time), volume, etc etc etc.

    http://www.vbforums.com/showpost.php...8&postcount=45

    For mp3's, here is my DirectShow engine )volume control is part of the module too:

    http://www.vbforums.com/attachment.p...chmentid=39229

    Also made another example in my DirectShow engine that allows 2 or more mp3s to play at the same time.

    http://www.vbforums.com/attachment.p...chmentid=39230

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