Search Results - VBForums

Search:

Type: Posts; User: isnoend07

Page 1 of 13 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    210

    Re: file saved by mshflexgrid

    Found it was version number generated with vb6
  2. Replies
    2
    Views
    210

    [RESOLVED] file saved by mshflexgrid

    I have a saved MsHflexgrid that looks like below
    the 8 stands is for rows
    the 12 is columns
    what does the 5 stand for Y
    8,12,5
    "","Entry Date","Reminder Description","Date/Time","Reminder...
  3. Replies
    2
    Views
    202

    Re: add 24 hours to a time

    thanks
  4. Replies
    2
    Views
    202

    [RESOLVED] add 24 hours to a time

    this works for adding a week to a date
    Dim newdate 'add a wreek
    Dim mydate
    mydate = gridMaster.textmatrix(mintgridMasterCurRow, 3)
    newdate = DateAdd("ww", 1, mydate) add a week...
  5. Re: Problem moving File using vb 6

    thanks
  6. Re: Problem moving File using vb 6

    Found the problem The file was 0 length, don't know how did a copy and paste
  7. Re: Problem moving File using vb 6

    thanks for your reply
    The path/Filename you listed is the old path that works fine
    i have moved the file here
    C:\Users\Public\Documents\Personal\Contacts\Customer.dat
    I have double checked the...
  8. [RESOLVED] Problem moving File using vb 6

    I have manually moved the file
    I am trying to move a text file( Customer.dat) to a new location and cannot get get the LOF(miFilenumber) to stop displaying 0
    Public Sub LoadMyFile
    Open cusfile...
  9. Re: Time difference giving incorrect results vb 6

    this seems to work
    With gridMaster
    If InStr(1, .TextMatrix(lngReminder, GRD_NEXT_REMINDER), "Hours") > 0 Then'it has hours
    MyHours = Left(.TextMatrix(lngReminder, GRD_NEXT_REMINDER),...
  10. Re: Time difference giving incorrect results vb 6

    Thanks I will use that if my parsing doesnt work
    i am using the code the coder wrote to determine between dates and times
    If InStr(1, .TextMatrix(lngReminder, GRD_TIME_DATE), "M") > 0 'its a time
  11. Re: Time difference giving incorrect results vb 6

    Thanks the data is stored in a textfile no database
    i am trying to parse the data in the Next Reminder column which seems to be accurate to get the info i need
  12. Re: Time difference giving incorrect results vb 6

    Never realized dates-times were so sensitive-involved. good thing this is just for me and my kids. looks like i am stuck with strings as all the calculations are done on data in a mshflexgrid....
  13. Re: Time difference giving incorrect results vb 6

    The programmer wrote it where if a alert is due it opens another flexgrid with no way to mark it as done, instead of message boxes
    when i say it works i mean it properly displays times and dates in...
  14. Re: Time difference giving incorrect results vb 6

    Thanks for your feedback. i plan on adding a sound with the messagebox the code works fine and is hooked to a timer.and is updated every ten seconds.
    the coder wrote this using strings and it works....
  15. Re: Time difference giving incorrect results vb 6

    The grid looks like this:
    135213
  16. Re: Time difference giving incorrect results vb 6

    Actually I am trying to modify code written by a coder that is more advanced that my capabilities.
    this is a reminder program that uses a mshflegrid to hold values. the coder scans the date/time...
  17. [RESOLVED] Time difference giving incorrect results vb 6

    Dim Time As String
    Time = "09:58 AM"

    Minutes = DateDiff("n", Time, Format(Now, "short time"))
    when ran at 8:57PM
    the minutes say 661, but should be 780
    what is wrong ?
  18. Re: trying to determine the days between dates between now and the dates listed using

    All you people have helped me. thank you
    each got a message "to spread reputation"
  19. Re: trying to determine the days between dates between now and the dates listed using

    good eye, finally got it to work
  20. Re: trying to determine the days between dates between now and the dates listed using

    Had already checked that
    Debug.Print .TextMatrix(i, GRD_TIME_DATE) produces 07-04-216
    next line the error
  21. Re: trying to determine the days between dates between now and the dates listed using

    also tried this
    MyDate = CDate(.TextMatrix(i, GRD_TIME_DATE))<-Type Mismatch error
  22. Re: trying to determine the days between dates between now and the dates listed using

    tried that and still get the overflow problem
  23. Re: trying to determine the days between dates between now and the dates listed using

    You are right about the overflow
    changed Days from integer to long and now Days = 657290
  24. Re: trying to determine the days between dates between now and the dates listed using

    I am using datepicker to enter values
    the grid only has 1 row for now
    maybe i should change the format to 07/26/2016
  25. [RESOLVED] trying to determine the days between dates between now and the dates listed using vb6

    this gives an overflow error
    dates are in this format: 07-26-2016

    Dim i As Integer
    GRD_TIME_DATE = 3 'hard coded
    Dim Days As Integer
    With gridMaster

    For i = 1 To .Rows - 1
    Days =...
  26. Re: Check if DTPicker1 time value is incresed by 5 minutes from the current time

    This works

    If DateDiff("n", Time, TimeValue(DTPicker1.Value)) < 5 Then
    MsgBox "You must increase the time by at least 5 minutes."
    End If
  27. Re: Check if DTPicker1 time value is incresed by 5 minutes from the current time

    Thanks , but need to check total time, if hours are increased then it wold be more than 5 minutes
  28. [RESOLVED] Check if DTPicker1 time value is incresed by 5 minutes from the current time

    I have a time picker that sets reminders it opens to the current time. I want to make sure the time is increased by 5 minutes when the OK button is clicked
    if DTPicker1.value < 5 minutes from now
    ...
  29. Re: trying to determine if a date has changed in a mshflexgrid vb6

    got it handled
    thanks did not realize i could do this to overcome the error in trying to show vbmodal
    frmCalendar.Hide
    frmCalendar.Show vbModal
  30. Re: trying to determine if a date has changed in a mshflexgrid vb6

    the grid also has a hidden column where the date determines the filename eg:
    C:\Program Files (x86)\Microsoft Visual Studio\VB10\Tasks\Personal\Tasks\10-25-2016.rtf
    if a date is changed then the...
  31. Re: trying to determine if a date has changed in a mshflexgrid vb6

    frmCalendar.Show vbModal
    thanks i tried showing frmCalendar vbmodal, but got an error saying
    "Form alrady displayed cannot show modally" don't know why it has not been accessed previously
  32. trying to determine if a date has changed in a mshflexgrid vb6

    I have mshlexgrid that has a column of dates if the date is clicked it opens another form with a calendar
    if a new date is selected it replaces the selected date
    how can i wait to see if a new date...
  33. Get Datepicker am pm time to a 24 time in a variable vb6

    Date picker displays 7:30 Pm
    How can i get the time to a 24 hour variable ? using vb6
    eg
    Dim mytime as date
    mytime = 1730
  34. Replies
    10
    Views
    498

    Re: [RESOLVED] working with 24 hour times

    that produces 9/25/1904
  35. Replies
    10
    Views
    498

    Re: working with 24 hour times

    I tested the code and it produces 30
    what does 30 mean ?
  36. Replies
    10
    Views
    498

    Re: working with 24 hour times

    Thanks for your help
    just trying to make a little app to remind my sister when to take her medicine with a messagebox
  37. Replies
    10
    Views
    498

    Re: working with 24 hour times

    thanks
    my problem is i do have a date the 1700 is part of a file name
    Dy1700.rtf with the Dy and .rtf removed i am trying compare the current time to the 1700

    this outputs 2490120

    Dim mytime...
  38. Replies
    10
    Views
    498

    [RESOLVED] working with 24 hour times

    I have some 24 hour times that i am trying to compare to the users pc time
    task time = 0500 thats 5:AM
    say the users pc time is 3:AM
    The Difference is 2 hours

    task time = 1700 thats 5:PM
    say...
  39. Replies
    4
    Views
    372

    modify existing vb 6 code

    I have a vb6 program that checks for reminders. the files are saved with the due date as the file name
    i am trying to modify it to create a file 1 year later when the file is deleted
    if...
  40. Re: [RESOLVED] find and color text red in a richtextbox each time the find button is

    Thanks Bonnie West Idid this:

    Private Sub cmdFind_Click()
    Dim NewStart As Integer
    Dim str As String
    Static Start As Integer
    Dim Length As Integer
    str = Me.txtFind...
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.