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 TouchToneTommy 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
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. bbuk

    Subclass to read WM_POWERBROADCAST ?

    Hi I am looking for a way to close an external app, shelled from my app, when the computer is about to enter standby. Standby is initiated either by power management or button press. Research so far suggests that I need to use subclassing to trap the WM_POWERBROADCAST message, then execute some...
  6. bbuk

    When is a variant true

    Hi Trying to track down an elusive bug I found the following suspect statement in my program: If .L_Serv_Lock Then lockcount = lockcount + 1 where .L_Serv_Lock is a variant which can be "0" or "1" I have now changed this to: If .L_Serv_Lock = "1" Then lockcount = lockcount + 1 My question...
  7. bbuk

    Print entire form including off screen

    Hi I have an application which displays the results from a vehicle diagnostic machine. I use the Innovasys FramePlus control as a container for several shape controls to represent the status of the leds on the machine. To produce the printout I have an invisible form with a standard frame...
  8. bbuk

    Save copy of printed output

    Hi In the final stages of a project which produces a printed report with reletively complex formatting (font style changes, lines, tabs etc) using the printer object, the customer decided that he wants a copy of the printout to be filed for possible later reprint. If I had know this from the...
  9. bbuk

    Simple filter question?

    Hi I've been trying to filter an ADO recordset (rsType) to distinguish between a list containing data like: 2 Axle Class V and 2 Axle Class VII etc. with rsType.Filter = "field2 Like '*CLASS V*'" it returns both Class V and Class VII. Is there a way that I am missing? TIA Andy
  10. bbuk

    form.show causes GPF in Win98/ME only

    Hi I have a ResetAll sub in my application which resets all variables, unloads any forms showing then reloads the home form. This works fine in win2K and XP but under windows 98 or ME a GPF in User.exe is caused at the point where the home form is reloaded. I am using Unload form first then...
  11. bbuk

    showopen combo lists all files

    Hi I am using the common dialog control showopen to allow the user to select an access database file to connect to. My problem is that the drop down filename box lists several files on various drives, including one on a removable drive which is not mounted. My questions are : 1 where are these...
  12. bbuk

    Always on Top / Keyboard input

    Hi I am creating an application which lives in the system tray, but when the icon is clicked the main window is opened on top of any others. I use the SetWindowPos api call to achieve this. My problem is that I cannot get the window to have the focus when it opens. Keyboard input always goes to...
  13. bbuk

    Get xsl:variable Name in VB

    Hi *** Cross posted with xml forum *** I am just dipping into xml for one project so I hope an expert here can help me. I need to produce a VB6 prog to edit an existing .xsl file, which is part of a much bigger project, allowing the user to input his address details. The xsl file consists of...
  14. bbuk

    How to get Name of xsl:variable in VB

    Hi I am just dipping into xml for one project so I hope an expert here can help me. I need to produce a VB6 prog to edit an existing .xsl file, which is part of a much bigger project, allowing the user to input his address details. The xsl file consists of many lines of comment then the active...
  15. bbuk

    Trap Enter Key leaving Text Box

    I wnat to trap the enter keypress event for a text box on a user form in Excel/VBA. When Enter is pressed I want to check that the text of the text box is a valid date, and prevent the focus shifting to the next control if its not. I can perform the validation, but I can't seem to stop the focus...
  16. bbuk

    Datagrid font/colour change per row

    Hi Is it possible to set the font and or colour for an individual row in a bound datagrid? If so how do I do it :p

Part and Inventory Search

Back
Top