Search Results - VBForums

Search:

Type: Posts; User: isnoend07

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    102

    Problem with a function

    This is a Keno game
    Clicking the lblcredit switches between Currency and credit display based on the the bet mode
    5 Bet modes:
    1 cent
    2 cent
    5 cents
    10 cents
    25 cents.

    try as might i cannot...
  2. Re: Show only part of a filename in a label vb6

    You must spread some Reputation around before giving it to Bonnie West again.
  3. Re: Show only part of a filename in a label vb6

    Just what i needed thanks
  4. [RESOLVED] Show only part of a filename in a label vb6

    How do i get the last part of a filename after the last backslash and leave off the extension ?
    Typical file name:
    C:\Documents and Settings\All...
  5. Re: Help with eratic loop counter in a timer

    Found the problem
    The timer was being called again while running reseting to miCounter = 0
  6. [RESOLVED] Help with eratic loop counter in a timer

    This counter keeps starting over for some reason.(miCounter)
    i have changed the name of the counter in case it was referenced elsewhere in my code
    sometimes it gets to 10 and starts over other...
  7. Replies
    12
    Views
    1,505

    Re: Allow only numeric value in Datagrid

    Thanks for adding that. I do not use the data grid now, but may in an upcoming vb6 project. I will bookmark your code
  8. detecting a vscrollbar in msflexgrid vb6

    I am trying to set the width of a Msflexgrid based on if it has a vertical scrollbar

    Code:


    Const GWL_STYLE = (-16)
    Const WS_VSCROLL = &H200000
    Const WS_HSCROLL = &H100000

    Private...
  9. Replies
    3
    Views
    169

    Re: [RESOLVED] Find reference to ocx vb6

    Thanks for adding that, that would have been easier. I will remember
  10. Replies
    3
    Views
    169

    Re: [RESOLVED] Find reference to ocx vb6

    Found Them
  11. Replies
    3
    Views
    169

    [RESOLVED] Find reference to ocx vb6

    I have a custom ocx command button that i am trying to remove from references, but cannot find where in my project it is referenced.
    The project has many forms and scanning the the properties...
  12. Re: probably something easy, but i do not seem to find it

    uploaded the file here
    http://real20cardkeno.com/cleopatra%20flicker.zip
  13. probably something easy, but i do not seem to find it

    This is an 80 number keno game using the msflexgrid
    I pulled this form from a larger project to try and control msflexgrid flickering
    The wins is when most of the flickering starts and is based on...
  14. Replies
    7
    Views
    271

    Re: Exit a do loop

    What do you mean frequently ?
    I have tried using DoEvents many times for different issues, but it seemed to never work.
    This is the second time in the last week i found it useful.
    The other to...
  15. Replies
    7
    Views
    271

    Re: Exit a do loop

    Thanks
    adding that doevents now sees the form click. Don't remember why i added the do loop inside the timer, but it fixed some issue i was having
  16. Replies
    7
    Views
    271

    Re: Exit a do loop

    Thanks
    I put a break here
    sndPlaySound ByVal 0, 0 'Stop the Sound
    And it is not hit when the form is clicked
  17. Replies
    7
    Views
    271

    [RESOLVED] Exit a do loop

    I have an 80 number keno game that win run if a win 2 labels are rotated and a sound plays the amount of the win
    I am trying to make the labels update instantly if the form is click and skip the...
  18. Re: make a sound file repeat using WINMM.DLL

    for some reason oi got to work by changing this line:
    sndPlaySound sndData(0), SND_LOOP
    to this
    sndPlaySound sndData(0), SND_LOOP Or SND_ASYNC Or SND_MEMORY
  19. [RESOLVED] make a sound file repeat using WINMM.DLL

    i am trying to make a sound file loaded from a resource file repeat until stopped using WINMM.DLL

    Dim sndData() As Byte


    Private Declare Function sndPlaySound Lib "WINMM.DLL" Alias _
    ...
  20. Replies
    21
    Views
    419

    Re: timer not firing

    in frmCleoBonus:
    Public Sub StartBonus()
    Dim i As Integer
    For i = 1 To miMax_Runs '12 constant
    Generate20Numbers 'lot of processing here
    Next
    If Val(Me.lblRunWin) > 0 Then...
  21. Replies
    21
    Views
    419

    Re: timer not firing

    in the calling form named frmCleoBonus
    Load frmBonusWin
    Me.Visible = False
    frmBonusWin.StartTimer< starts the timer here
    frmBonusWin.Show
    only...
  22. Replies
    21
    Views
    419

    Re: timer not firing

    I have tried this:
    deleted timer1
    put a new timer named it timer2
    mTime = 0 < added this to make sure
    set the timer to Timer2.Enabled = false before true
    closed and opened the ide
    rebooted...
  23. Replies
    21
    Views
    419

    Re: timer not firing

    No the timer is on the form being called
  24. Replies
    21
    Views
    419

    Re: timer not firing

    Don't need static as mTime is form variable see below
    Option Explicit
    Dim mTime As Integer

    Public Sub StartTimer()
    mTime = 0 < added this to make sure
    Timer2.Interval = 1000
    ...
  25. Replies
    21
    Views
    419

    Re: timer not firing

    put a break on Public Sub StartTimer stepping thru each line it does not start timer
    it steps all the way to end sub without going to the timer
    Public Sub StartTimer()
    Timer2.Interval = 1000...
  26. Replies
    21
    Views
    419

    timer not firing

    From form frmBonus12
    frmBonusWin.StartTimer

    in calling this sub it does not fire the timer


    Public Sub StartTimer()
    Timer2.Interval = 1000
    Timer2.Enabled = True
    End Sub
  27. Re: [RESOLVED] form to fill the screen,but not cover the taskbar

    I think that may work on win7, but not xp
  28. Re: form to fill the screen,but not cover the taskbar

    thanks that seems to work when
    adding this:
    Private Sub Form_Load()
    Me.Left = 0
    Me.Top = 0
    Dim r As RECT
    Dim hWnd As Long

    hWnd = FindWindow("Shell_traywnd", vbNullString)
  29. Re: form to fill the screen,but not cover the taskbar

    Already tried that, but it still covers the taskbar
  30. Re: form to fill the screen,but not cover the taskbar

    Thanks but no it still covers the taskbar
  31. [RESOLVED] form to fill the screen,but not cover the taskbar

    I have a form I want to fill the whole screen, but not cover the taskbar.
    I realize the taskbar could be on the top, bottom or sides.
    How to write this ?
  32. Replies
    10
    Views
    423

    Re: 盛衰講釈煮豆真逆

    cant read thiis
  33. Replies
    10
    Views
    423

    Re: calling a timer in a loop

    thanks everyone got some code to work:

    Option Explicit
    Dim mlAmount As Long
    Dim iCnt As Long
    Dim miCounter As Integer
    Dim waitflag as Boolean '<<<< declare this


    Sub Start()
  34. Replies
    10
    Views
    423

    Re: calling a timer in a loop

    i think i have given too much info and only complicated the question. I have attempted many of the fixes suggested, but have not been successful. so i made a little sample program.
    I want to run the...
  35. Replies
    10
    Views
    423

    Re: calling a timer in a loop

    Looks like i need to give more clarification.
    This is an 80 number keno game where 20 spots are randomilly selected each time the start button is clicked.
    During the randomize if a win then the 2...
  36. Replies
    10
    Views
    423

    [RESOLVED] calling a timer in a loop

    how can i correct this code to run 12 times
    The timer is only called in the first run and never gets called again.


    Option Explicit
    Dim mlAmount As Long
    Dim iCnt As Long
    Dim miCounter As...
  37. Replies
    2
    Views
    178

    Re: Ongoing vb 6 timer problem

    Thanks for the info:
    Got it to work by replacing if with a do loop
    'If miCnt <= mEndNum Then
    Do While bFinished = False
    do sound and rotate labels

    If miCnt > mEndNum Then
    ...
  38. Replies
    2
    Views
    178

    [RESOLVED] Ongoing vb 6 timer problem

    I had a previous qustion about a timer not working correctly http://www.vbforums.com/showthread.php?751975-RESOLVED-Sound-and-labels-rotates-no-longer-work-correctly
    and found a fix by adding both...
  39. Re: Sound and labels rotates no longer work correctly

    I have found a work around by putting label rotation and sound both in the timer
    Private Sub Timer2_Timer()
    If iCnt <= mEndNum Then
    lblWinThisRun.Caption = iCnt
    ...
  40. [RESOLVED] Sound and labels rotates no longer work correctly

    I have an 80 number keno game and on a win 2 labels rotate up to the amount won
    at the same time a sound plays at the same time and the sound stops when the labels stop rotating.
    This has worked in...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.