Results 1 to 3 of 3

Thread: Really need help with this OLE thing

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2001
    Location
    Québec, Canada
    Posts
    284

    Really need help with this OLE thing

    I really need your help with this one...

    I've got an OLE object thatis a MIDI file in my program.
    I used the command


    Code:
    OleToTown.DoVerb
    to run it, but now when my form unloads the music is still playing so I have an error. I would like it to stop on the click of the OK button.

    I tried
    Code:
    OleToTown.Close
    but it doesn't work...

    Can somebody help me?

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2001
    Location
    Québec, Canada
    Posts
    284
    Can't anybody help me?

  3. #3
    jim mcnamara
    Guest
    Most of us don't know what the OleToTown object is.

    Try OleToTown.Quit

    Set OleToTOwn = Nothing

    Or see if the Object Browser brings up methods you can use.

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