Unless a process has a file in the Temp folder open it's safe to delete anything in there.
In fact, it can be a good idea security-wise to empty the Temp folder regularly.
I use a utility called TempCleaner to empty my temp directory on bootup - you'll find it here http://www.ipaw.net/index.php
Hi,
Short version of this question first:-
Is it possible to configure WinXP Pro so that it automatically executes a batch file (or other type of script) whenever it resumes from standby mode?
Longer version:-
I use a PCI latency utility to override the default PCI latencies on my PC...
D'oh!
This string is being constructed in VB or Acces VBA isn't it?
If Access, try:
"TimeSheet.MonthYear = '" & format(formonth, "dd mmm yyyy") & "'"
I don't know off-hand what the VB equivelent of Access' format function is, but if your code is running in VB...
Hi,
At the very least, error trapping keeps your application up and running (especially important if it has been compiled as an mde), without presenting your user with too many unfriendly system dialog boxes.
A very simple error trap would look like this:
public sub MyProc()
dim strMsg as...
...& ";" & _
"Extended Properties=Excel 8.0;HDR=Yes;"
adoCNN_XL.Mode = adModeRead
adoCNN_XL.Open
adoRST_XL.Open "SELECT * FROM [SHEET1];", adoCNN_XL, adOpenStatic
.. and is failing at the line adoCNN_XL.Open with everyone's favourite "Could not find...
Hi,
Open the form in acDialog mode, e.g.
' Open a form that will effect the rowsource of me.lstitems
docmd.openform "myForm",,,,,acDialog
' The following line will not execute until frmMyForm has closed
me.lstItems.requery
Hi,
If you could persuade your users to be disciplined in naming their queries, e.g. by prefixing them all with user_, then you could clean them up programtically.
Public Sub RemoveOldQueries(dtmCreatedBefore As Date)
Dim daoDB As DAO.Database
Dim daoQDF As DAO.QueryDef
Set...
Hi,
Try this query...
SELECT FilmTitle,
iif((Responsibility like "*produced*" or Responsibility like "*direct*"), "", Responsibility)
FROM YourTable
Hi,
This is a SQL procedure I developed recently to ensure postcodes always have a space in the correct place - the syntax should be easy enough to convert into an Access function (I've added a few comments to help)
<code>
-- Make sure the postcode has a space in the right place
--...
The trick here is to open the form in acDialog mode (as opposed to making visible). e.g.
docmd.openform "frmOkYesNo",,,,,,acDialog
select case frmOkYesNo.Reply
...
...
end select
You could try putting something along these lines behind the command button that opens the second form (posted on the fly, so some of the syntax will be wrong - should give you the general idea though...)
private sub MyCommandButton_Click()
dim CNN as new adodb.connection
dim RST as new...
Hi,
I'm pretty sure a datasheet form is actually a table/query (and vice-versa) so this may never work as you anticipate.
You could try making your datasheet form a sub-form of a new parent form and have your code open the parent instead?
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.