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...
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...
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...
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...
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...
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...
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...
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...
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
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.