dcsimg

Search:

Type: Posts; User: Mustaphi

Page 1 of 11 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    2
    Views
    339

    From listview to database

    Hello experts
    I need to edit data in database according to listview checked or unchecked items.
    This is what I'm doing but without success.



    Private Sub lvw_ItemCheck(ByVal Item As...
  2. Re: [RESOLVED] Check if the first character in numeric

    Thank you sir
    it worked
  3. [RESOLVED] Check if the first character in numeric

    I found this precious code here. It is posted by


    Option Explicit

    Private Function CountSubstrings( _
    ByRef Text As String, _
    ByRef SubString As String) As Long

    Dim Pos As...
  4. Re: [RESOLVED] KeyDown event in CheckBox control

    PGBSoft thank you very much
    solved
  5. Re: KeyDown event in CheckBox control

    Hello sir
    I want to move from one control to another using keyboard array
    someting like this:


    Private Sub Check1_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyDown Then...
  6. Re: KeyDown event in CheckBox control

    Thank you sir
    That's a mistake of mine. I was trying all events
    I meant Check1_Keydown
  7. [RESOLVED] KeyDown event in CheckBox control

    Hello
    I wonder if I can use the checkbox' keydown event.
    The usual code doesn't seem to work


    Private Sub Check1_KeyUp(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyDown Then...
  8. Replies
    10
    Views
    449

    Re: Pinting problem

    but how shall I do that when printing from DataReport?
  9. Replies
    10
    Views
    449

    Re: Pinting problem

    He said he did but without success.
  10. Replies
    10
    Views
    449

    Re: Pinting problem

    is pinter is the same as mine (Brother DCP)
  11. Replies
    10
    Views
    449

    Re: Pinting problem

    yes
    and he told me that he can print other documents.
  12. Replies
    10
    Views
    449

    Re: Pinting problem

    yes
    and he told me that he can print other documents.
  13. Replies
    10
    Views
    449

    Pinting problem

    Hello everyone
    One of my users is having this error when trying to print datareport

    Did anyone meet this issue?
    thank you a lot
  14. Re: Count unique numbers in a listview column?

    Zvoni
    thank you very much
    solved
  15. Re: Count unique numbers in a listview column?

    Dim MyCollection As Collection
    Set MyCollection = New Collection
    For i = 1 To ListView1.ListItems.Count
    MyCollection.Add ListView1.ListItems(i).SubItems(1), ListView1.ListItems(i).SubItems(1)...
  16. Re: Count unique numbers in a listview column?

    I already declared it as collection but did not work

    Dim MyCollection As Collection
  17. Re: Count unique numbers in a listview column?

    techgnome
    would provide some help please because no idea about using collection
  18. Re: Count some occurances in a listview column?

    techgnome
    thanks for your interest
    Please can you telle me how should I declare it.

    Dim MyCollection As String
    didn't solve the issue
  19. Re: Count some occurances in a listview column?

    this how I'm doing

    For i = 1 To ListView1.ListItems.Count
    MyCollection.Add ListView1.ListItems(i).SubItems(1), ListView1.ListItems(i).SubItems(1) 'Note: Adding ListViewValue as the Value for...
  20. Re: Count some occurances in a listview column?

    Thanks sir
    I'm getting Objet required here

    Debug.Print MyCollection.Count
  21. [RESOLVED] Count unique numbers in a listview column?

    Hello experts
    I need to to count unique numbers in a listview column.
    In other words it is like we substitute by Group By when dealing with database.
    So I have a column like that:

    10
    20
    10...
  22. Re: How to end my program properly?

    fafalone
    Thanks a lot
    solved
  23. Re: How to end my program properly?

    yes,
    that's just a mistake of mine
  24. Re: How to end my program properly?

    yes,
    that's just a mistake of mine
  25. Re: How to end my program properly?

    Elroy
    Thanks a lot
    I did everything but no success.
    I deleted all forms and I kept only the MainForm but The windows error is still there when exiting the application.
    I deleted the manifest...
  26. Re: How to end my program properly?

    yes.

    But I dropped the manifest but the problem is still there.
  27. Re: How to end my program properly?

    What is causing the error is this code:

    Sub EndProgram()
    Dim tmpForm As Form
    For Each tmpForm In Forms
    If tmpForm.Name <> "MaiForm" Then
    Unload tmpForm
    Set tmpForm = Nothing
    End If
    Next
  28. Re: How to end my program properly?

    What is causing the error is this code:

    Sub EndProgram()
    Dim tmpForm As Form
    For Each tmpForm In Forms
    If tmpForm.Name <> "MaiForm" Then
    Unload tmpForm
    Set tmpForm = Nothing
    End If
    Next
  29. Re: How to end my program properly?

    Thanks fafalone
    Even when I used
    End in Form unload event, the error is still there.
  30. [RESOLVED] How to end my program properly?

    Hello Vbforums
    When ending my program, widows sends this message error but vb6 doesn't send any error.
    162393
    In my form unload event I'm destroying all forms and disabling all timers.
    In the...
  31. Replies
    20
    Views
    1,008

    Re: A big issue with saving Textboxes position

    gibra
    The attached sample of Mr PGBSoft is the same as mine.
  32. Replies
    20
    Views
    1,008

    Re: A big issue with saving Textboxes position

    Thanks PGBSoft
    I have been playing with your sample example for a hundred times wthout producing the error.
    It is nearly thesame thing I'm doing in my project
  33. Replies
    20
    Views
    1,008

    Re: A big issue with saving Textboxes position

    DataMiser
    There is no 0 written on the ini file
  34. Replies
    20
    Views
    1,008

    Re: A big issue with saving Textboxes position

    ChrisE
    I need to move the textboxes at runtime and save the new position.
  35. Replies
    20
    Views
    1,008

    Re: A big issue with saving Textboxes position

    Eduardo
    Thanks again
    It is exactly as you described.


    The problem occurs on other machines too.
    On one pc it may occur very frequently and on another it may occur very rarely.
  36. Replies
    20
    Views
    1,008

    Re: A big issue with saving Textboxes position

    PGBSoft
    thank you for the interest and thank you for the sample
    I tested the sample and everything is perfect.
    Is there any change in your codes?
    thank you
  37. Replies
    20
    Views
    1,008

    Re: A big issue with saving Textboxes position

    Thank you Eduardo- for the help

    It happens rarely and I cannot know when it is going to happen.


    Yes, only the left proprtty.
    Thanks
  38. Replies
    20
    Views
    1,008

    Re: A big issue with saving Textboxes position

    Thank you for replying
    This is what I'm doing:

    Public Function WriteToAppINI(strSection As String, strKeyName As String, strValue As String, strFile As String) As Long
    Dim intStatus As Long
    On...
  39. Replies
    20
    Views
    1,008

    A big issue with saving Textboxes position

    Hello VbForums community
    I'm saving my textboxes left , top, width and height properties in an ini file.
    From time to time everything gets collapsed.
    The textboxes are shrinked and become 0...
  40. Re: CommonControls (Replacement of the MS common controls)

    Krool

    thanks for sharing
Results 1 to 40 of 439
Page 1 of 11 1 2 3 4



Featured


Click Here to Expand Forum to Full Width