No announcement yet.

embedding VB application n HTML

  • Filter
  • Time
  • Show
Clear All
new posts

  • embedding VB application n HTML

    Hi everyone,

    i think my first post was not clear enough.i have created a simple applicaton in Vb with two command buttons. clicking on one button plays the sound (.wav file) and clicking on other button stops the sound.

    Now want to put this VB application into HTML web page. i have some idea it can be done using vb script. i am new to vb script. can anyone give me a hint how to do this.

    here is my vb code
    Private Declare Function sndPlaySound _
    Lib "winmm.dll" Alias "sndPlaySoundA" _
    (ByVal lpszSoundName As String, ByVal _
    uFlags As Long) As Long
    Private Sub cmd1_Click()
    rc = sndPlaySound(App.Path & "\applause.wav", 1)
    End Sub
    Private Sub cmd2_Click()
    sndPlaySound 0, 0
    End Sub

  • #2
    To get vB support on these forums you first need to be a licensed customer and register for Priority Forum Support. To do this, please click HERE and enter your email address in one of the boxes. You'll need to have your customer number and password to access the page.

    If you still have problems after doing this, send an email to [email protected]. Please include your user name, then email address you registered with and your customer number so we can fix the problem.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography

    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.