Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bbuk
  • Order by date
  1. bbuk

    Windows 7 application data locations

    Many thanks dilettante, you gave me enough information to solve my problem without over complicating things. I have succeeded in my update with the help of this post and a couple of others from you and strongm - it turns out it wasn't so difficult after all! This is a great community:)
  2. bbuk

    Windows 7 application data locations

    Hi I have to update my application which has previously run under XP to run on Windows 7 machines. I ran into a problem because my application stores an ini file in the application directory and .rtf output files in a sub folder of the application. I can see by some searching that this is a...
  3. bbuk

    Test if folder can be renamed

    Thanks for the reply Andy & sorry for the delay - I have been away. Yes I have done some tests and just having the folder open is enough. If it is the top level folder, i.e. the one I am trying to rename it is OK but any sub-folder will cause the problem. Andy
  4. bbuk

    Test if folder can be renamed

    Hi I have a simple app which renames 3 files and 2 folders to switch between multiple installations of another app. To keep things simple I use the Name statement. All is well unless the user decides to open one of the sub folders in explorer which results in my app crashing because the top...
  5. bbuk

    setting the "vbTab" width (or space)

    With the richtextbox control you have good control over tabs using the seltabs and tabcount properties - no need for the api? (Provided the rtb is the only control with tabstop=true on the form)
  6. bbuk

    Validate and Focus problem

    >Actually my code was specifically designed to NOT use the Tab Key as you originally requested. I wasn't trying to avoid using the tab key, I just want to include enter as an alternative way to change boxes. In my approach the tab key retains its default function as I don't trap it. >I did a...
  7. bbuk

    Validate and Focus problem

    Thanks George for casting me as the short fat kid, although the tall fat middle aged man would have been closer to the truth :-) I'm with strongm regarding the usefulness of this site. I often browse through the posts even if I haven't got a specific question and generally read the one which...
  8. bbuk

    Validate and Focus problem

    You say I am deviating from existing UI standards but I could have used MS Access to collect this data. There the enter key can be designated to do nothing, move between fields, move between records or create a ne line in the text box. Maybe the deviation is not in using the enter key to move...
  9. bbuk

    setting the "vbTab" width (or space)

    Don't know if it applies directly for you but might help. I produce a complicated printout using a richtextbox control: With fPrinter.rtbPrint 'use the rich text box .SelText = vbCrLf: .SelText = vbCrLf 'feed two lines...
  10. bbuk

    Validate and Focus problem

    I think perfection is one thing in life something which is rarely achievable, but I think a 'good' interface is one which takes into account the target user group in applying the standards. I would say that seeking confirmation when a user does something which has consequences which they might...
  11. bbuk

    Validate and Focus problem

    Thnaks for your input strongm I fully agree that using the tab key would be the standard way to move between fields, but what I have here is a number of field engineers who are called in to the office to carry ou the stock take function - these are not people who constantly use a standard gui...
  12. bbuk

    Validate and Focus problem

    Solved: Turns out it is a known bug if a msgbox is used in a valdate event. I found the answer over at http://www.xtremevbtalk.com. See microsoft KB - Q240749 Thanks for the kicking - I've learnt a lesson and that is to search more widely for my answers.
  13. bbuk

    Validate and Focus problem

    Here is a little of our product listing - it doesn't really break down into simple categories as you suggest. 766-100-560 Distributor 766-100-562 Pipes 766-100-570 Control plate bushing 766-100-583 85x70x0.5 Washer 766-100-593 Motor Pulley Acessories 766-100-598 Cover 766-100-608 Mounting head...
  14. bbuk

    Validate and Focus problem

    A little further information. When the problem occurs, ie the cursor is flashing in txtPartDesc but it acts as though it does not have the focus (even though the code in the GotFocus sub has run), the click event has not fired. If I then click anywhee on the form the click event for txtPArtDesc...
  15. bbuk

    Validate and Focus problem

    There are approx 3860 partnumbers with associated descriptions so a drop down box is not really practical. What I have is a data grid containing all the part numbers and descriptions, then as the user types the number the datagrid is filtered until only one part is left. This is needed becasue...
  16. bbuk

    Validate and Focus problem

    Hi HarleyQuinn Thanks for the reply. This is the validate code: Private Sub txtNewQty_Validate(keepfocus As Boolean) Dim ret As VbMsgBoxResult If Changed_Qty Then ret = MsgBox("Quantity value has been changed but not stored." & _ vbCrLf & "Choose 'Yes' to store the new...
  17. bbuk

    Validate and Focus problem

    Hi HughLerwill Thanks for the reply. It is possible that after entering the part number and the qty the user will notice that the part number is incorrect and will naturally click in the part number box to correct it, therefore I need to confirm if this is the case or if they actually want to...
  18. bbuk

    Validate and Focus problem

    Hi I hope someone here can help with this problem. I have two text boxes, one for part number one for qty. If the user enters a qty and presses enter it is stored and focus moves to the other box. I use the validate event of the qty box so that if the user enters a qty but does not press...
  19. bbuk

    ProcessID different on Win2K / Win XP

    Any suggestions gratefully received!
  20. bbuk

    ProcessID different on Win2K / Win XP

    Hi All I used the excellent code provided by Hypetia in thread222-837273 as part of an app which stops a running application and its support apps and switches folders then restarts it. All was well for sometime until forces outside my control changed one of the apps. No problem, I updated my...

Part and Inventory Search

Back
Top