Search:

Type: Posts; User: AccessShell

Page 1 of 13 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    26
    Views
    796

    Re: [RESOLVED] Playing music

    baka, your code is nice and slick. It works as promised. I took out all references to the timer.

    Thanks
  2. Replies
    26
    Views
    796

    Re: [RESOLVED] Playing music

    I ALWAYS use OPTION EXPLICIT.

    I'll try your code

    Thanks
  3. Replies
    26
    Views
    796

    Re: [RESOLVED] Playing music

    Yes I am




    Private Function PlaySound(mstrSoundFile As String)


    Set FilgraphManager = New QuartzTypeLib.FilgraphManager
    Set IMediaEventEx = FilgraphManager
  4. Replies
    26
    Views
    796

    Re: [RESOLVED] Playing music

    The SetNotifyWindow does indeed trigger the event. But it triggers it when the music starts and when it ends by itself. I use the timer to ignore the start notification. The timer is set to half a...
  5. Replies
    26
    Views
    796

    Re: [RESOLVED] Playing music

    Post #11 was very interesting. I never heard of Audacity, but I already have VB6 code to get info about an .mp3 file. It is easy for me to strip out all the other info that I do not need for this....
  6. Replies
    26
    Views
    796

    Re: [RESOLVED] Playing music

    yereverluvinuncleber very interesting post. I will evaluate for my needs. Thanks
  7. Replies
    4
    Views
    201

    Re: [RESOLVED] VScrollBar Issue

    Got it baka
  8. Replies
    4
    Views
    201

    Re: VScrollBar Issue

    Wow. It was that simple. Thanks Arnoutdv.
  9. Replies
    4
    Views
    201

    [RESOLVED] VScrollBar Issue

    I have 2 programs with a VScrollBar. They both have the same scrolling code.
    The first program was last updated 9/1/20. It has always worked correctly, including today.
    The second program is...
  10. Replies
    26
    Views
    796

    Re: [RESOLVED] Playing music

    I found that after I closed the program (still only in the IDE), and reopened, the event code was now 13, not 14. So, I longer check for an event code value. I placed a timer on the form set to 30...
  11. Replies
    26
    Views
    796

    Re: Playing music

    OK, I solved the problem. I was using the wrong error code. I was using 13, it should have 14. I still vave not correlated the vb constants with the numeric values, but that's ok.

    Thanks to all.
  12. Replies
    26
    Views
    796

    Re: Playing music

    baka,
    Your code is great. It works as presented. I need to know a list of event codes for this control. I placed a invisible command button on the control just so the code as point of start the...
  13. Replies
    26
    Views
    796

    [RESOLVED] Playing music

    I am using FilgraphManager and IMediaEventEx. I have several panels on my form. Each panel is set up as an array. On each pane ther are some labels and a play image and a stop image. When the...
  14. Replies
    10
    Views
    339

    Re: SQL statement problem

    I have found the problem.

    1. The field name are NOT Field1 etc. That was not the problem.

    2. The problem was I was accessing the WRONG DB. When I changed the directory, in the code, the sql...
  15. Replies
    10
    Views
    339

    Re: SQL statement problem

    If I can copy the SQL statement and put it into the DB and it runs correctly, What does that mean?
  16. Replies
    10
    Views
    339

    Re: SQL statement problem

    Very interesting. I copied the SQL statement into the database, It ran perfectly
  17. Replies
    10
    Views
    339

    Re: SQL statement problem

    dilettante
    with both your suggestions I still get Err code 3095 Too Few Parameters 1
  18. Replies
    10
    Views
    339

    Re: SQL statement problem

    I get Err code 3095 Too Few Parameters 1
  19. Replies
    5
    Views
    349

    Re: [RESOLVED] Form to jpg

    I didn't have to worry about lossy compression. I also change the png to jpg.
  20. Replies
    10
    Views
    339

    [RESOLVED] SQL statement problem

    I am writing as sql statement in VB6 code, I have two where clause parameters. One is simple. I just pass a parameter to the function and the sql statement picks it up correctly.

    The parameter...
  21. Replies
    5
    Views
    349

    Re: [RESOLVED] Form to jpg

    Correct, I should have. I got the code from
    https://www.codeproject.com/Articles/23234/VB6-Save-Form-Image-To-File

    written by Santosh Visal

    I referenced his code in my program. I should...
  22. Replies
    5
    Views
    349

    Re: Form to jpg

    I did it. Somehow.
  23. Replies
    5
    Views
    349

    [RESOLVED] Form to jpg

    I need to copy a form during the program execution. In other words, the code to fill the form with the data need to be copied into a jpg maybe using bitblt, I think.

    Did I make myself clear? Can...
  24. Replies
    15
    Views
    1,145

    Re: VB6 and WIN 11

    I have check with the manufacturer's web site for my computer to see if it is upgradable to Win 11. UNFORTUNATELLY it is. :down: I was hoping it was not.

    One of the previous post detailed how...
  25. Replies
    15
    Views
    1,145

    Re: VB6 and WIN 11

    One of the previous posts referenced the article “How to Block the Windows 11 Update From Installing on Windows 10” by Mahesh Makvana. This article in turn referenced “What Is the Latest Version of...
  26. Replies
    15
    Views
    1,145

    Re: VB6 and WIN 11

    My WIN 10 Home just wants me to click "Check Hardware Requirements". When I do that, it just sits and checks. I turned it off after 10 minutes.
  27. Replies
    15
    Views
    1,145

    Re: VB6 and WIN 11

    Well, I still have a WIN 7 PC that is not connected to the internet. The problem is that the majority of my VB6 programs access information on the internet.
  28. Replies
    15
    Views
    1,145

    VB6 and WIN 11

    I really don't know where to post this. I remember the angst when trying to load VB6 onto WIN10. With LOTS of sweat and help, from the forum, I finally got it installed and working.

    But now, I...
  29. Thread: Picture

    by AccessShell
    Replies
    5
    Views
    372

    Re: Picture

    But, of course, that doesn't help me now!
  30. Thread: Picture

    by AccessShell
    Replies
    5
    Views
    372

    Re: Picture

    I though about doing what OptionBase1 suggested in post #3.

    If I had a lot of PBs, I thought about creating a dummy routine and just listing each picture box. This would be similar to using the...
  31. Thread: Picture

    by AccessShell
    Replies
    5
    Views
    372

    Picture

    Quite some time ago I wrote a program that included a PictureBox. In the IDE, entered the picture location and name in the Picture Property. How di I now get the path and name of that picture?
    ...
  32. Replies
    16
    Views
    960

    Re: Volume Control

    Somewhere on this forum I got a zip file DirectShow Music.zip. I don't know if someone in this thread gave me a link to it, or if I searched for sound. Anyway, I thank the person who gave me the...
  33. Replies
    3
    Views
    344

    Re: PictureBox Control

    I wasn't aware you could do that. OK
  34. Replies
    16
    Views
    960

    Re: Volume Control

    I tried using IBasicAudio.Volume. But,, it always gave an error msg. See post #8 in this thread.
  35. Replies
    3
    Views
    344

    [RESOLVED] PictureBox Control

    I am using a PB as a command button. I need to put a picture on the control.

    At times during program execution, I need to make the PB not enabled, and later on make it enabled. The problem is...
  36. Replies
    16
    Views
    960

    Re: Volume Control

    I now know why that most of the volume control software suggested, The ones that change the system volume, do not display the volume percentage. The volume number on the system volume, does not...
  37. Replies
    16
    Views
    960

    Re: Volume Control

    I know the file I am playing has volume. I can adjust the volume with the vol control on the notification area of the taskbar.

    I'll try the read.
  38. Replies
    16
    Views
    960

    Re: Volume Control

    I reviewed IBasicAudio.Volume and the program crashes on the statement

    iAudio.Volume = Me.slVolume.Value
    in the routine Private Sub slVolume_Change()
    with the msg run-time error '445' Object...
  39. Replies
    16
    Views
    960

    Re: Volume Control

    Thank you all for your examples. I will evaluate and try to incorporate one of then into my code.

    The main point, I think, is that however you are playing the the mp3 files has no bearing on the...
  40. Replies
    11
    Views
    713

    Re: API's

    This was a hypothetical question. I don't need a specific API right now. I just wanted to find a better way of determining if I needed one.
Results 1 to 40 of 492
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width