how to measure time which expire between two eventshow (in simplest way) to measure time which elapsed between two events.
e.g.
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
value ?
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 accountim 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
Hi, Liz
click the link below
http://support.microsoft.com/default.aspx?scid=kb;en-us;289467
Hope this help!
Yvon
"liz" wrote:
> 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 <liz@discussions.microsoft.c...
Auto reply to Sent Item after a specified timeHi,
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.
For e.g.
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
the email.
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 variableHi Group,
I have something very strange happening, that I can not explain. I have 2
variables:
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
would happened.
Thanks,
--
David
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 settingsHi,
I have run into a strange situation. The following code show the problem I'm
encountering:
CPrintDialog *m_cPrintDlg;
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" ),
*l_cConv->decimal_point );
AfxMessageBox( l_sString );
// E...
Item not selected by default when changing foldersIt 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
ideas? Thanks.
...
change comment color in Excel when background is the samewhen 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
--
Regards
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 recordsThere are the following tables:
tblSuppliers
supplierName (PK)
invoicePaymentTime
(other fields)
tblGoods
goodsID (PK)
goodsName
supplierName (FK)
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.
QUESTION:
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
why ....~__~
Thanks a lot .
Sam Mok
2006-10-16
I think when a message is transferred externally, encoding adds about 30% to
the size of the message.
--
Neil Hobson
Exchange MVP
http://ww...
change the display data format cell already contain data as dateIn 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
"Harun" wrote:
> 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 ?Hello,
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 :)
--
Eric
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
source worksheet.
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 changedwe 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
server setup?
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
the Company.
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 formhi all
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
Wael
Hi Wael,
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.
Any Ideas?
thanks,
Bentley
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
With ActiveDocument
For i = 1 To .Paragraphs.Count
Set frange = .Paragraphs(i).Range
frange.End = frange.Start + 6
frange.Delete
Next i
End With
Or usin...
MSN Maps Has ChangedIn 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,
Steve
Yep, see;
http://www.outlook-tips.net/howto/displaymap.htm
--
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com
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 errorActive 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!
Sub PayRecieved()
With ActiveCell
..Offset(14, 3) = (Date)
..Offset(14, 4).Value = "PAYMENT RECIEVED"
..Offset(14, 7).Formula = "=-" & ActiveCell.Offset(13, 6)
End With
End Sub
This was the original but wanted to change the active cell to A1 instead of
D15
Sub PayRecieved()
With ActiveCell
..Value = (Date)
..Offset(0, 1).Value = "PAYMENT RECIEVED"
..Offset(0, 4).Formula = "=-" & Act...
change dimensions of a rectangleWhen 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
<Kernull@discussions.microsoft.com> wrote:
>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 fontHello,
I'm writing a text on a control by using :
CWnd *pwnd;
pwnd->SetDlgItemText(IDDC_MYCONTROL, "Hello World");
and I need to change the font I use to write this text (make it
bigger).
I was thinking of a kind of "pwnd->SetDlgItemFont()" function, but I
can't find any ... ;-)
Is there a simple method to achieve that ?
Thank you.
--
Ceci est une signature automatique de MesNews.
Site : http://www.mesnews.net
ByB wrote:
> Hello,
>
> I'm writing a text on a control by using :
>
> CWnd *pwnd;
>
> pwnd->SetDlgItemTex...
use Publisher thesaurus to change Publ. incorporated to PubintegraI 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
Tools, Thesaurus"
If the question involves something else, please restate you question, with
more detail and more clearly.
"new" <new@discussions.microsoft.com> wrote in message
news:BA6B8C80-6355-4DA4-A1CE-B923BE4CC963@microsoft.com...
> I cannot find out how to change Publisher, incorporated to Publisher,
> Integrated u...
Some date &/or Times will not formatGood afternoon,
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
means?
ex: 11/27/2009 16:23:00 PM .
Best regards,
--
Keith
Nascarfan88 wrote:
> 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 formatingI 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.
thanks
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
on them.
--
Regards,
Fred
Please reply to newsgroup, not e-mail
"just me" <just me@discussions.microsoft.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
it appears.
Any idea?
Beemer
...