Announcement

Collapse
No announcement yet.

embedding VB application n HTML

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Steve Machol
    replied
    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.

    Leave a comment:


  • its_me_suman
    started a topic embedding VB application n HTML

    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
    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
    thankx
    Suman
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X