how to measure time which expire between two events
how (in simplest way) to measure time which elapsed between two events.
StartFunction (start timer).......
......//some period of time//......
StopFunction (stop timer) //e.g. event OnTimer
and now I need to know how much time elapsed. Where am I find this
The time is small... < 1s so I need mesauring periods in ms.
Easiest one is GetTickCount():
DWORD dwStart = ::GetTickCount();
// whatever function
DWORD dwEnd = dwStart - ::GetTickCount();
dwEnd now holds the time it took in milliseconds. However, you could also
use QueryPerformanceCounter() if you need higher precisi...change my email account
im having the hardest time trying to figure out how to change my email
account on outlook, i have a new address that i need to change it to, but
have no clue how....please please help !! thanks!!! -liz
click the link below
Hope this help!
> im having the hardest time trying to figure out how to change my email
> account on outlook, i have a new address that i need to change it to, but
> have no clue how....please please help !! thanks!!! -liz
liz <email@example.com...Auto reply to Sent Item after a specified time
I need to use some an auto reply on one account that will check
specific Sent Items and their corresponding replies and send an email
after x days if no reply has been received.
Joe Bloggs sends an email (with Voting Buttons). The recipient
receives this email but does not reply. If after 10 days their is no
reply received then a "chase email" is sent asking the user to action
I'm really not sure if this is possible but if it is I think it will
need some scripting. The rule must work on only sent emails that
haven't been replied to (i.e not Out ...Unexplained change in variable
I have something very strange happening, that I can not explain. I have 2
TotalValue = ActiveCell.Offset(16, 0).Value
(Gets set to 102,000, which is a correct value.)
TargetTotal = ActiveCell.Offset(64, 0).Value
(Gets set to 35000, which is a correct value, BUT TotalValue becomes 35,000)
I am not sure what I am missing in this process. Can anyone tell me why this
I'd think that people here will ask for a bit more of your code to
tell where the problem is.
From the top of my head the first reason that wo...CPrintDialog changes locale settings
I have run into a strange situation. The following code show the problem I'm
struct lconv* l_cConv = NULL;
CString l_sString = _T( "" );
// Create a print dialogbox.
m_cPrintDlg = new CPrintDialog(FALSE, PD_NOSELECTION |
PD_RETURNDC | PD_NOPAGENUMS, NULL );
l_cConv = localeconv( );
l_sString.Format( _T( "Before: %c" ),
AfxMessageBox( l_sString );
// E...Item not selected by default when changing folders
It used to be that I would change folders and the first
item (contact, e-mail, whatever) would be
selected/highlighted. I must have changed something
though because now when I change folders, no item is
selected. This is a real pain when I try to do a quick
lookup of a contact (where you just type the first few
characters), because I have to use my mouse to first
highlight one of the contacts, and then start typing. Any
...change comment color in Excel when background is the same
when you have a red background color in a cell the comment indicator flag
should not be red also, its hard to see.
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/office/community/en-us/default.mspx?mid=a6b8f27e-88ec-4798-9e01-50428d13af2f&...How do you change cells with formula's to the value or text?
In lotus it is possible to change the formula in a cell to the text or the number that that formula returns. Of course, you can not reverse it, but in is very helpful sometimes. Is that possible in Excel
CTRL + ~ will toggle between formulas and values
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL2K & XLXP
Attitude - A little thing that makes a BIG difference
----------------------------------------------------------------------------...Change default value without influencing old records
There are the following tables:
Each time I choose a "Supplier Name" I want "Invoice Payment Time" to be
filled with a corresponding value (30,60 days etc.).
My form uses a combo box for supplier name which asigns these values.
In case "Invoice Payment Time" for a supplier changes (30 -> 45 days) I want
a new value to be used for new records and don't modify existing ones.
The above described design doesn...Why the attached files size changed sometimes ?
Hi All ,
I found it is very strange that why the microsoft outlook's attached files
size changed sometimes ?
That means before I open the email , it tell me the size of such email is
not the same after I opened of it & sometime not the same after I transfered
of it ! Why ? Do anybody also have my problems too ?
As I don't know how to explain to my boss & my workmates now , they ask me
Thanks a lot .
I think when a message is transferred externally, encoding adds about 30% to
the size of the message.
http://ww...change the display data format cell already contain data as date
In Excel sheet a column contains datas as like 19.12.2008 this column
contains"General" format. Now I want to change and display above as date
format like 12/19/2008
Hi May this can help
press ctrl and F then click replace
and Type FIND WHAT .
in Replace with type / then click replace all
> In Excel sheet a column contains datas as like 19.12.2008 this column
> contains"General" format. Now I want to change and display above as date
> format like 12/19/2008
You can use the 'Convert Text to Columns Wizard to ...Deploy password change ? How to encrypt VBS ? or any other method ?
we would like to deploy a new local admin password to all of our
computers (approx 1000).
As the password will be changed regularly, we want to create a registry
key at the same time as changing the password.
So, I am thinking about a VBS script to do so but of course I dont want
that the password remains in clear text in my VBS.
My question is do you know how can I encrypt my VBS with a secure
method? (I have read that VBE file are not really secured)
Thank you :)
What is this key for? Is it to contain the password? If that is the case
that...Convert time to a number when linking?
I'm referencing a time value in Worksheet "A" from the Data worksheet "B"
like this; =Data!A1. Cell A1 is formatted as time and shows as 01:00, and
I need it to be a general number (just a 1) in Worksheet "A" so I can divide
it by another general number. Cells B1 & B2 are formatted as general in the
In other words, the difference between 1:00 (A1) and 8:00 (A2) is 7. At
1:00 the temp was 32 (B1) degrees and at 8:00 the temperature was 152 (B2)
degrees. In these 7 minutes the temperature rose 120 degrees. What I'm
trying t...junk folder setting changed
we had one exchange server previoulsy of 2003 with Outlook 2003 . Outlook
2003 just email filter all junk mail to junk folder automatically.
Now we setup front-end back-end configuraiton. In this configuration,
Front-end server has SMTP, HTTP,POP3 while back-end has Exchange type account.
After setting of Front-Back config. In outlook 2003 mails are not goin into
junk folder automatically rather coming in main inbox.
Just to double check.
Was the filtering being done by Outlook 2003.or maybe by IMF in the single
How did you go about the new setup? Did you just add a new s...Some wat to change Outlook's importing rules for contacts?
When I import files to Outlook's contacts, the "File As" seems to
default to the Name. This is fine when there is no Company, but when
there is a Name and a Company I'd rather have the "File As" default to
Is there any way to make this happen without (as I have been doing)
manually going through the contacts and editing them?
...Long time to save or open a form
I have a problem when opening a form or save the code behind . I am using
Access XP with Windows XP on machine P4 3.4 GHz, 1.5 GB RAM the problem is
that access take too much time to save or to open a form ,any idea to solve
this problem is appreciated
thanks in advance
Is there a network that separates your computer from the actual .mdb file?
If so, my advice is to only do design changes on a local copy.
You might also try the undocumented /decompile switch. First, make a backup
copy of your database, just in case something horribly wrong happens. With
Acce...How do I change 6 digit field, cols 1 thru 6 to one (1) blank?
How do I change a 6 digit field in columns 1 thru 6 to one (1) blank or null?
It's an 80 character record with random 6 digit numbers in the first 6
positions that I need to delete and file is too big to do by hand.
Assuming that each record is a separate paragraph, a macro containing the
following code will do it:
Dim i As Long
Dim frange As Range
For i = 1 To .Paragraphs.Count
Set frange = .Paragraphs(i).Range
frange.End = frange.Start + 6
Or usin...MSN Maps Has Changed
In Outlook 2003 by clicking on an icon it allows you to map an address
automatically using MSN Maps. Now the format of MSN Maps has seemed to
change and I'm forced to click on a link to enter the old site. Is there a
way to fix this or even change to another mapping service like Mapquest?
All the best,
Robert Sparnaaij [MVP-Outlook]
Tips of the month:
-FREE tool; QuickMail. Create new Outlook items anywhere from within Windows
-Properly back-up and restore your Outlook data
"Stev...Slight change now macro error
Active Cell being A1, Date D15, Payment Received E15 , H14 Value which is
subtracted by its value to get Zero in H15
But I am getting a error now on the last line!
..Offset(14, 3) = (Date)
..Offset(14, 4).Value = "PAYMENT RECIEVED"
..Offset(14, 7).Formula = "=-" & ActiveCell.Offset(13, 6)
This was the original but wanted to change the active cell to A1 instead of
..Value = (Date)
..Offset(0, 1).Value = "PAYMENT RECIEVED"
..Offset(0, 4).Formula = "=-" & Act...change dimensions of a rectangle
When I try to change the relative shape (make it narrower for example) the
original proportions are retained. I just want to make it narrower.
On Tue, 13 Feb 2007 09:43:02 -0800, Kernull
>When I try to change the relative shape (make it narrower for example) the
>original proportions are retained. I just want to make it narrower.
select the shape, then
menu Format -> Protection and ensure that the width, height and aspect
ratio are not protected.
If changing them doesn't allow you to change the size then you will
have to lo...Changing font
I'm writing a text on a control by using :
pwnd->SetDlgItemText(IDDC_MYCONTROL, "Hello World");
and I need to change the font I use to write this text (make it
I was thinking of a kind of "pwnd->SetDlgItemFont()" function, but I
can't find any ... ;-)
Is there a simple method to achieve that ?
Ceci est une signature automatique de MesNews.
Site : http://www.mesnews.net
> I'm writing a text on a control by using :
> CWnd *pwnd;
> pwnd->SetDlgItemTex...use Publisher thesaurus to change Publ. incorporated to Pubintegra
I cannot find out how to change Publisher, incorporated to Publisher,
Integrated using Publisher thesaurus. Does anyone know
What exactly are asking?
How to use the thesaurus? Just right-click on the word, choose "Proofing
If the question involves something else, please restate you question, with
more detail and more clearly.
"new" <firstname.lastname@example.org> wrote in message
> I cannot find out how to change Publisher, incorporated to Publisher,
> Integrated u...Some date &/or Times will not format
I've imported some Date & Time data into excell, but when I try to format
the colums as either date or time, some of the cells will not formatt. I've
been told that sometimes importing data will result in hidden characters that
will prevent formatting. Any way to correct this using a formula or other
ex: 11/27/2009 16:23:00 PM .
> Good afternoon,
> I've imported some Date & Time data into excell, but when I try to format
> the colums as either date or time, some o...change time formating
I want 1:00 pm and i keep getting 1:00:00 pm
how do i get rid of the seconds part in a long column of time?
formating the cells does not do it.
Formatting the cells has to work, unless the cells have text in them, rather
than a number. Try changing one of your cells into a number, by using a formula
like =a1+0, then format this cell as a time (hh:mm am/pm). If this works, then
you need to change your cells from text to a number before formatting will work
Please reply to newsgroup, not e-mail
"just me" <just email@example.com&...How to send and receive at the same time?
This is a silly question but it has a use.
Some time ago I recall sending email with cc to myself and that the
email was received instantly during the same send/receive session.
Now this never happens but when I immediately do another send/receive