dcsimg

Search:

Type: Posts; User: AlexanderBB

Page 1 of 13 1 2 3 4

Search: Search took 0.70 seconds.

  1. Replies
    15
    Views
    715

    Re: Listview Height

    Looks like either use cyitem result or the .ListItems(1).Height * count are a solution. Cool, thank you.
    I don't suppose you know a way to detect a sub item click ? Or change the column which accept...
  2. Replies
    15
    Views
    715

    Re: Listview Height

    I'm still trying to figure it all out. I think now you're right except I didn't expect a scroll bar.
    Adding 134 to cyitem and setting that height it goes away. But with and without the 134 cyitem...
  3. Replies
    15
    Views
    715

    Re: Listview Height

    My goal is to have the listview (and other controls) on a Frame. Their integral height sets the Top position for each.
    And the Frame scrolls the lot. The LV font is MS Sans Serif , Regular 8.
    If...
  4. Replies
    4
    Views
    318

    Re: Modeless Form

    Thanks for putting me straight with this, it's something I do with MS Office Forms and just thought the same would be possible.
  5. Replies
    15
    Views
    715

    Re: Listview Height

    Thanks Steve I see now the expected result, and find it's not what I want. Sorry La vople if I asked for the wrong thing.
    If I set Listview height to 500, add eight items, Listview height remains...
  6. Replies
    4
    Views
    318

    Modeless Form

    Can I open a Form modeless, to use the debug window to experiment with controls on it?
    At the moment it just dings at me, which I think means it's modal, but I see no Modal Property.
  7. Replies
    15
    Views
    715

    Re: Listview Height

    The code is running without any errors but isn't giving the expected result. cy is returning 163 with 9 entries.
    If I exclude the header this value changes to 180
    Both are too small. The height...
  8. Replies
    15
    Views
    715

    Re: Listview Height

    Thank you for that info. Done some Googling for FindWindowEx and it looks pretty advanced stuff (for me).
    Maybe there's some example code? What I hope to do do add x items, then calculate the...
  9. Replies
    15
    Views
    715

    Listview Height

    Is it possible to calculate LV Height by the number of entries?
    I tried multiplying .Count by font size but it didn't work at all!
  10. Replies
    12
    Views
    534

    Re: Showing Form

    Hi Sam,

    Thanks for the demo, I worked out what I'd done wrong and it's all going correctly now :)
  11. Replies
    12
    Views
    534

    Re: Showing Form

    Sam I ran into a problem with PGBs suggestion. The new Form could be seen when it shouldn't but a bigger problem was
    after exiting, "Project1" was still running in task manager. It may well have...
  12. Replies
    3
    Views
    267

    Re: Still running ?

    I found the problem, not that I really understand it. After removing a new Startup form as per
    http://www.vbforums.com/showthread.php?871851-Showing-Form
    the problem went away.
    In all probability...
  13. Replies
    12
    Views
    534

    Re: Showing Form

    Seems to be okay with a Form.Hide instruction in the original Form Load. Even though its in
    the new Startup Form Paint routine.
  14. Replies
    3
    Views
    267

    Still running ?

    I've compiled my project and everything seems fine - except after it's closed
    "Project1" still shows in Windows Task Manager with status "Running".

    What might be causing this ?
    Thanks.
  15. Replies
    12
    Views
    534

    Re: Showing Form

    Thanks for the ideas. I have never used a Timer and wasn't sure what may be involved so I tried PGSofts suggestion
    of another startup form. There's a msgbox in Form Load event and if/when that's...
  16. Replies
    12
    Views
    534

    [RESOLVED] Showing Form

    As my project runs, processing can start before the Startup Form shows.
    I have tried
    Me.Refresh
    Me.Show

    in Form load event but it makes little (no?) difference.
    Is there any way to halt...
  17. Replies
    1
    Views
    259

    Advice on UDF

    I've cobbled together the following which is intended to return
    a 1 based array containing subfolder names Under findWhere, matching Key.

    It works, but I wonder if there's a 'better' method...
  18. Replies
    11
    Views
    604

    Re: [RESOLVED] Open Files

    Thanks LaV and DataMiser. Appreciated. :)
  19. Replies
    11
    Views
    604

    Re: [RESOLVED] Open Files

    <If leaving a file open, you should cache its file number to a form-level/module-level variable, not within the same routine where the value will go out of scope.
    OK, will do. Thanks again.
  20. Replies
    11
    Views
    604

    Re: Open Files

    Aw sheeks! I forget what I thought the '1' was, but not that. So obvious now...
    Thanks for the solution :)
    I have used that code may times, but never with 2 open files.
  21. Replies
    11
    Views
    604

    Re: Open Files

    Hi PG, Yes I understand. Hence my question in msg 1. I intended to leave it open
    while reading in other files.
  22. Replies
    11
    Views
    604

    Re: Open Files

    Sub fileProblemDemo()
    Dim cc As String, r As String, ff As Integer, ff2 As Integer, TheData

    ff = FreeFile
    cc$ = App.Path & "\Verify.txt"
    r = "Files Verify " & vbCrLf
    Open...
  23. Replies
    11
    Views
    604

    [RESOLVED] Open Files

    Can you not have 2 files open at once?

    I'm opening a file for output then opening another for input.
    When I execute (on the second file) Input(LOF(filenumber),1) I get error 54 "Bad File Mode"....
  24. Replies
    4
    Views
    387

    Re: Program End/Restart

    Hi again LaVolpe thanks for the demo. Will have a play and see where it leads me.
    Not quite sure exactly what's needed until I do a bit more coding and see results
  25. Replies
    4
    Views
    387

    Program End/Restart

    I may be on the wrong track here... but if (at program end) you want to re-run it (like it had been launched anew)
    is there a method for clearing any variables and opening the project startup object...
  26. Replies
    3
    Views
    474

    Re: Aligning Controls Verically

    Cool, thanks.. I had tried that but their heights weren't the same. All good now.
  27. Replies
    3
    Views
    474

    Aligning Controls Verically

    I have 8 option buttons in a Frame.
    Easy to set Left, but how can I space them vertically equal.
    Google suggested Format-Align... but I can't get any of the options to work.
    Thanks for any help
  28. Replies
    42
    Views
    1,684

    Re: Including table

    Yes, pretty much. I added Cursor Location and that solved that. Nothing to add about the Resource Editor Load Behaviour - that's the same for you ?
    Thanks again for all this help and I hope others...
  29. Replies
    42
    Views
    1,684

    Re: Including table

    I found putting Set rsResFile.ActiveConnection = Nothing there gives "Operation Not Allowed When Object is Open'
    So I moved to after rsResFile.Close

    That bug mentioned about the Resource Editor,...
  30. Replies
    42
    Views
    1,684

    Re: Including table

    Hi LaVolpe, you're onto it. Prefect - and glad nothing was more seriously amiss here.

    I've made a note to myslf, will include in case you spot trouble. I don';t mean this as a "authorative guide"...
  31. Replies
    42
    Views
    1,684

    Re: Including table

    I was sure a d-click on it (the RES file with a Rubiks Cube icon) did something, but now there's nothing at all. A right click offers Properties
    and a few other options, but properties does nothing,...
  32. Replies
    42
    Views
    1,684

    Re: Including table

    I see how that would work. By the way, after reloading VB6 and opening the vbp file again I see MyRS.RES in the 'Related Documents' tree
    but no apparent way to show more, or how it's related to the...
  33. Replies
    42
    Views
    1,684

    Re: Including table

    AAhhh "Like" - I was still using = Duh !
    Thanks again.
  34. Replies
    42
    Views
    1,684

    Re: Including table

    Success! Everything working just as hoped. Many thanks indeed.
    I've learned quite a lot, might even be able to add something else to the resource file.
    I should have thought/known to try rs.Find...
  35. Replies
    42
    Views
    1,684

    Re: Including table

    I did find this
    To receive query results in stream format instead of in a Recordset, you must specify the adExecuteStream constant from ExecuteOptionEnum as a parameter of the Execute method of a...
  36. Replies
    42
    Views
    1,684

    Re: Including table

    I picked up on one Resouce file only, containing many resources; and that it is read only.

    > I would call Set rsResFile.ActiveConnection = Nothing after you reset the .Filter property.
    And both...
  37. Replies
    42
    Views
    1,684

    Re: Including table

    We're inching closer, but some guesswork remains. I have changed to ADO and have "MyRS.RES" under Related Documents as you advised
    I wasn't sure what to enter as the name of the Resource, so I...
  38. Replies
    42
    Views
    1,684

    Re: Including table

    Hi Lavolpe, I didn't get very far although I read through the links and kindof made a start. I have the Recordset loaded into vb6
    but stuck on putting that in the resource file. The vbzonelink...
  39. Replies
    42
    Views
    1,684

    Re: Including table

    Got that. Will give it all a tryout and get back to you. Prob. Tomorrow. Thanks again.
  40. Replies
    42
    Views
    1,684

    Re: Including table

    I really appreciate your help with this and will work through the instructions/links.
    But like anything new, it's a bit of a minefield. I *think* this is what you're telling me
    I connect to Access...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width