Results 1 to 5 of 5

Thread: [VB6] - seting volume micro with mciSendString()

  1. #1

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,964

    [VB6] - seting volume micro with mciSendString()

    can i control the micro volume with mciSendString() API function?
    (i need these because i have 1 problem on system micro volume and maybe i can resolve it with an hidden program on startup)
    VB6 2D Sprite control

    To live is difficult, but we do it.

  2. #2

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,964

    Re: [VB6] - seting volume micro with mciSendString()

    i build these code:
    Code:
    Private Declare Function mciSendString Lib "winmm.dll" _
    Alias "mciSendStringA" (ByVal lpstrCommand As String, _
    ByVal lpstrReturnString As String, ByVal uReturnLength As Long, _
    ByVal hwndCallback As Long) As Long
    
    Dim blnActivate As Boolean
    
    Private Sub Command1_Click()
        Dim nReturn As Long
        blnActivate = True
        Do While blnActivate = True
            nReturn = mciSendString("input volume to " & 255, "", 0, 0)
            Debug.Print nReturn
            DoEvents
        Loop
    End Sub
    but seems not working
    VB6 2D Sprite control

    To live is difficult, but we do it.

  3. #3
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: [VB6] - seting volume micro with mciSendString()

    I'm not sure if this would help?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  4. #4

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,964

    Re: [VB6] - seting volume micro with mciSendString()

    Quote Originally Posted by Nightwalker83 View Post
    I'm not sure if this would help?
    sorry but don't helps but thanks
    VB6 2D Sprite control

    To live is difficult, but we do it.

  5. #5

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,964

    Re: [VB6] - seting volume micro with mciSendString()

    i found these code:http://translate.google.pt/translate...%2Fkb%2F178456
    but the microphone code isn't right, i have tested
    VB6 2D Sprite control

    To live is difficult, but we do it.

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