Search:

Type: Posts; User: AccessShell

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    442

    Re: Option Control

    OK, I solved the problem. Change the Value property to 2 --> Grayed. The caption background color remains the same.
  2. Replies
    7
    Views
    442

    Re: Option Control

    DataMiser, that only works if you have picture. I just have a caption.
  3. Replies
    7
    Views
    442

    Re: Option Control

    Yes, you're right I can. But, when I click on it I want the color NOT to change. I tried the following code in the cmdclick event

    me.cmdName.value = 0 . That just makes it execute a second...
  4. Replies
    7
    Views
    442

    [RESOLVED] Option Control

    I am using an option button with a style = Graphical. This is because I want to change the back color, I can't change it on a command button.
    However I want to keep the same back color when I...
  5. Replies
    26
    Views
    1,189

    Re: [RESOLVED] Playing music

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

    Thanks
  6. Replies
    26
    Views
    1,189

    Re: [RESOLVED] Playing music

    I ALWAYS use OPTION EXPLICIT.

    I'll try your code

    Thanks
  7. Replies
    26
    Views
    1,189

    Re: [RESOLVED] Playing music

    Yes I am




    Private Function PlaySound(mstrSoundFile As String)


    Set FilgraphManager = New QuartzTypeLib.FilgraphManager
    Set IMediaEventEx = FilgraphManager
  8. Replies
    26
    Views
    1,189

    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...
  9. Replies
    26
    Views
    1,189

    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....
  10. Replies
    26
    Views
    1,189

    Re: [RESOLVED] Playing music

    yereverluvinuncleber very interesting post. I will evaluate for my needs. Thanks
  11. Replies
    4
    Views
    317

    Re: [RESOLVED] VScrollBar Issue

    Got it baka
  12. Replies
    4
    Views
    317

    Re: VScrollBar Issue

    Wow. It was that simple. Thanks Arnoutdv.
  13. Replies
    4
    Views
    317

    [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...
  14. Replies
    26
    Views
    1,189

    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...
  15. Replies
    26
    Views
    1,189

    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.
  16. Replies
    26
    Views
    1,189

    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...
  17. Replies
    26
    Views
    1,189

    [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...
  18. Replies
    10
    Views
    471

    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...
  19. Replies
    10
    Views
    471

    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?
  20. Replies
    10
    Views
    471

    Re: SQL statement problem

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

    Re: SQL statement problem

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

    Re: SQL statement problem

    I get Err code 3095 Too Few Parameters 1
  23. Replies
    5
    Views
    454

    Re: [RESOLVED] Form to jpg

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

    [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...
  25. Replies
    5
    Views
    454

    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...
  26. Replies
    5
    Views
    454

    Re: Form to jpg

    I did it. Somehow.
  27. Replies
    5
    Views
    454

    [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...
  28. Replies
    15
    Views
    1,359

    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...
  29. Replies
    15
    Views
    1,359

    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...
  30. Replies
    15
    Views
    1,359

    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.
  31. Replies
    15
    Views
    1,359

    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.
  32. Replies
    15
    Views
    1,359

    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...
  33. Thread: Picture

    by AccessShell
    Replies
    5
    Views
    413

    Re: Picture

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

    by AccessShell
    Replies
    5
    Views
    413

    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...
  35. Thread: Picture

    by AccessShell
    Replies
    5
    Views
    413

    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?
    ...
  36. Replies
    16
    Views
    1,008

    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...
  37. Replies
    3
    Views
    373

    Re: PictureBox Control

    I wasn't aware you could do that. OK
  38. Replies
    16
    Views
    1,008

    Re: Volume Control

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

    [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...
  40. Replies
    16
    Views
    1,008

    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...
Results 1 to 40 of 496
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width