Recipient Policy: how to handle blank fields in the address formula?
We have a mix of mailbox-enabled personal and functional Windows
accounts and our default recipient policy is: %firstname.lastname@example.org
The functional accounts have no givenname - only the surname field is
used. Is there a way to specify that if %g is empty, then just put %s
and omit the full-stop (.) in %email@example.com ? RIght now, the policy
is creating addresses like ".firstname.lastname@example.org".
We have separate teams running AD and Exchange, so unfortunately it's
not possible to group functional accounts in dedicated OU and use an
Also, if a new recipient policy...Particular Explorer.exe Handles Stay Open After Word/Phrase Search
Say I do a search on any given drive or volume or folder using Windows
Explorer for "A word or phrase in the file". When the search is done, I close
the search window entirely.
After the search, if I look in Process Explorer, many files remain open as
handles under the explorer.exe process. If I keep Process Explorer up while
doing the search and then closing it, I can see the handles being opened and
some of them not shut in real time, so I know that it is this particular
search process causing these open handles.
Now, this isn't random in terms of which files ...C/C++ Exception Handling Issue
Our main program is a MFC based application, mainly written in using C VC6.
Part of its functionality is the ability to run scripts that can call other
i.e. you can load, run and unload a DLL.
To increase program security from GPFs in the called DLL functions i added
This is the issue :
- When a certain 3rd party DLL is called and generates a first chance
exception, our handler
kicks in. Thus you would expect that the DLL did NOT have exception
HOWEVER, when this function is run without protection, the called DLL just
(th...How to handle an XML document within an XML document
C#, .NET 1.0
I use XML serialisation to persist state of object definitions.One of my
objects wraps up a 3rd party object (non .NET) which can only serialise
itself to a file. However, it's needed that the parent wrapper object
includes all state data in one file so I need to include the 3rd party
serialisation file into the main file.
I'm trying to do this at present by reading the content of the file using a
StreamReader object, then into a string using ReadToEnd().
There are two problems:
1) I need a public property so that the XML Serialiser will manage the
string during de/seri...Excel TRIM() can't handle in pasted HTML
Has anyone seen this kind of misbehavior?
1. Create a table in HTML like:
<td align="right" nowrap>214,074 </td>
<td align="right" nowrap>55,859 </td>
<td align="right" nowrap>26.09 </td>
<td align="right" nowrap>267,102 </td>
<td align="right" nowrap>71,365 </td>
<td align="right" nowrap>26.72 </td>
(this is actually created by a very silly application
we bou...Another date handling question variant
I want to specify time+date and adjust them by timezone, but cannot see
how to do this without laborious formulae. I've seen the other
time/data tips on this site (v.good thanks), but they don't seem to
cover this scenario.
what I want to do:
format: dd-mmm-yy [hh]:mm
eg: 26-feb-04 03:46
Column2: TZ offset,
format: num (0 DP)
Column3: Adjusted Time,
format: dd-mmm-yy [hh]:mm
formula: Col1 + (Col2/24)
eg: 26-feb-04 08:46
ie. I want the basic number of TZ offset to increment the original time
but that number of hours.
Of course, it doesn't work, the e...Question about handling invoice payments in Money Business...???
I'm confused about to handle invoices in Money Business. For instance, I
have an invoice right now that I've put together for a web development job
I've done. I've received 2 separate payments on this invoice and it's now
paid in full.
I have a category in Money that these payments should go in, which is
Services Income : Web Development.
The problem I'm having is that back in the invoice is I use the Receive
payment for invoice option it inserts into the account registry as Payment
for Invoice. If I try and change that to actual category that I want I get a ...Will DPM 2010 include Disk to Disk to USB Disk instead of tape?
In 2007 if I want to backup to usb for offsite I have to use a third party
program like Firestreamer to make the usb disk look like a Tape.
Will 2010 allow us to use usb drives or ESata drive for offsite storage?
This would be way cool since Tape can be very expensive for large data sets...
USB drives are cheap and again if goes bad get another one.
Thanks Dan for your feedback. We have been getting this request from our
customers but so far this is not in the list of DPM 2010 features. I'll pass
on your feedback to the product group.
Gaurav Gupta | Program Manag...Handling the System Image List ?
In my program I made a Shell Namespace tree viewer that needs the system
imagelist which I handle like this:
// let's get the image list
// attach it to my class member
// later on in my destructor I free it
I think I am doing it right because it works. The thing is, I want to use
that tree I made in different spots but it seems I can'...Using fill handle on filtered data
I am new to Office 2007 and the new features in Excel. I am used to using
Excel in Office 2003. I'm trying to use a feature that I've always used in
Excel 2003 and for some reason the feature does not work the same way in
Excel for Office 2007.
I have several columns of text data, here's an example:
Test Name Test Level
I created a pivot table and discovered that I mispelled the word "Training"
in the fourth row. So, I filtered ...Active x event handle???how
For the first time I am working with ActiveX control.I have search
through net but not getting the clear idea how t handle events in
I have dialog based application and i have added a contol in that
through project ->add to project
components and control. and then add arielapi control by which i got a
wrapper class ,.cpp file, and .h. file.
THIS ARE CLASS METHOD in arielapi.cpp
CString CArielAPI::Login(LPCTSTR UserName, LPCTSTR Password, LPCTSTR
static BYTE parms =
VTS_BSTR VTS_BSTR VTS_BSTR;
InvokeHelper(0x2, DISPATCH_METHOD, VT_B...Exception handling?
In my below foobar first attempt to try exception handling I don't understand
the following aspects: (my code at bottom after these framework pastes)
1. I must not be doing something correct because even though both
my CATCH and AND_CATCH call stuff on return that appears to be
deleting the exception and taking care of various cleanup.
// abbreviated Step thru pastes
void AFXAPI AfxTryCleanup( )
// delete current exception
ASSERT(pLinkTop != NULL);
if (pLinkTop->m_pException != NULL)
pLinkTop-&...how to get the bitmap's size by its handle?
thank u in advance.
Wenming Hu wrote:
[how to get the bitmap's size by its handle?]
...Need recommendations for datetime handling before 1900
I need to find a way to use datetimes before 1900
and still add and subtract times and dates.
CTime and CTimespan look good, but I have some dates before 1900..
> I need to find a way to use datetimes before 1900
> and still add and subtract times and dates.
> CTime and CTimespan look good, but I have some dates before 1900..
> Any ideas?
Depending on what dates (before 1900) you need to handle, you could
use the Win32 FILETIME.
"Contains a 64-bit value representing the ...XML Deserializer and Default Namespaces handling
Recently I had to use the XmlSerializer object to deserialize one of the
objects in a project.
When I invoked Deserialize on the xml document containing the object
definition, I would get an exception from the XmlSerializer indicating the
root element was not expected.
This error was only resolved when the default namespace for the incoming xml
document was included in the constructor of the Deserializer.
However, the xml document did define a default namespace as is shown below:
<?xml version="1.0" encoding="IBM437"?>
xmlns="http://www....unable to display inbox folder due to "invalid handle"???
Ran a scandisk that identified a couple of cluster
problems, and allowed the computer to fix the problems
identified . Since then, whenever trying to access email
in OUTLOOK, we get the following message: "Unable to
display the foler. The file
data\microsoft\outlook\outlook.pst could not be accessed.
The handle is invalid."
What is going on?
...About handling events.
I want to code an event handler which handles and modifies data by checking
which event occured last. How to get the last action done? I mean; if it is
an autofill or a pasting action etc. Is it possible?
Unfortunately, there is no way to determine how a cell was
changed. The change event only indicates that a cell was changed,
the how it was done so.
Microsoft MVP - Excel
Pearson Software Consulting, LLC
"serdar" <email@example.com> wrote in message
>I want to code an eve...OpenReport error handling
I have a form with parameters, so the user can enter the start date and end
date and then click on Preview to run the report. The form has a Preview
error handling code. If the form is closed without clicking preview, the form
However, I have this report set to run from an Option button on a
switchboard form, that in itself has a Preview button: I click the option
button, then click on the switchboard Preview button, the parameter form
opens (where I could enter the parameter dates and click Preview to run the
report- but here I don't), I close the parameter fo...How to handle event of ATL COM Dll in MFC Client like in VB6 ?
I'm a newbie with MFC and ATL (VS6.0), I'm learning how to make COM Dll with
ATL and using it
in MFC project . Now I can make a simple ATL COM Dll project that has some
some events , I can catch these events with VB6 using Withevents keyword and
It works fine .
I would like now to make and MFC project (VS6.0) and use my ATL component
inside this project, I
use the #import directive and can call almost functions of this COM dll, but
I want to handle its events
as well as with VB6 . Could you please provide me some information how to do
it ? I need simple...Event Handle scope.
I have a thread that uses WaitForMultipleObjects. I have various events and was wondering whether the handles that represent the events (CONST HANDLE *lpHandles in WaitForMultipleObjects Function) need to be declared globally to the dialog class(i.e member variables of the dialog class) so that other functions in the dialog class can set those events. If i declare event handles local to the thread function that contains the WaitForMultipleObjects then all event handling would need to be done in this function. Is that correct or am i missing something
Yes, you need to make the ev...Window repainting poblem while handling I/O
I am working on a Document View Architecture application that
communicates over serial port with a micro-controller.
The application processes some data and sends it over the serial line
to a hardware unit. When the application is not communicating over the
serial port, all is fine. But, when it is sending data through serial
port, and if I overlap my application window with any other window
like windows explorer or IE or any other application that you name, my
application window becomes all white.
If I try to refresh it by clicking mouse over the window (so that I
can minimize/maxi...Discrepancy with report and x/z tape for weighted items
We sell chocolates by weight at one of our stores and we have found that
there is a rounding issue with this item, it processes correctly but at the
time of closing the sales amounts on the x/z report do not match, it is
usually a penny different but because of this the batch won't integrate to
our accounting software (Great Plains). Does anyone know how to fix this
...Does MSHTML handle script?
can view the page correctly as long as you don't make configurations to
I am wondering where does IE handles these scripts. Something out of IE
like WSH, or something inside IE? Can I do that in MSHTML?
If a page contains a piece of script that draws an image at a certain
location, can MSHTML understand that?
I mean, in the HTML DOM tree, there is only a script element;
or, there are two elements - the script element and the image element?
...How to handle consignment inventory?
To track inventory that's on consignment at various customer locations, would
the answer be to set up additional site IDs for it? What if you had thousands
of consignment sites - would that be a problem?
So, for example, if product was moved out to 8,000 different customer sites,
would you then do Inventory Transfer entries from the main warehouse site ID
to the individual consignment site IDs as product is moved to the consignment
locations? Then, when the product is sold, the items would be listed on
invoices with the Site ID = the consignment site ID?
Would it make sense to use ...Handling Roles end-to-end
I have an employees database which consists of personnel and salespeople.
Let's say I have 2 offices. One in Los Angeles and one in New York. I have
Sales Managers and Sales Reps in both locations.
What's the simplest way to handle these roles in a system? For instance, how
do I make sure that sales managers can only see their sales reps and no one
else's. And regional managers can see all sales managers under them only. And
system administrators can see everyone.
How do you handle this type of hierarchy in a system end-to-end? Any kind
of resource is...