Problem with SelectClipRegion
I have this instructions in DrawItem virtual function of an owner drawn
rgn.CreateRectRgn(rcLeft.left, rcLeft.top, rcLeft.right, rcLeft.bottom);
dc.SetTextColor(RGB(255, 255, 255));
dc.DrawText(str, rcText, DT_CENTER | DT_VCENTER | DT_SINGLELINE);
rgn.CreateRectRgn(rcRight.left, rcRight.top, rcRight.right, rcRight.bottom);
dc.DrawText(str, rcText, DT_CENTER | DT_VCENTER | DT_SINGLELINE);
rcLeft and rcRight are areas containe...MFC Extension DLL problem
Hi, I created a DLL to make use of a preexisting MFC application. I
want to use some dialogs, views and some other stuff from it. Except
for some linker warning I got the dll compiled.
If I now start using a dialog from the DLL I get an Debug Assertion
Error, when exiting my client application. The Expression is:
_CrtIsValidHeapPointer(pUserData) and the error was triggered in
dbgheap.c . So, I assume I have a memory leak somewhere. Do anyone have
an explanation for this?
After researching a bit, it occured to me that I have two heaps, one
for the DLL and one for my client application.
I th...Creating Cross-Project Links
1). What is the usage of Creating Cross-Project Links ?
As I understand, "Cross-project links are useful when two or more projects
have only a few tasks that affect one another. For example, a milestone
within a development project might trigger a task in an advertising campaign
2). How it is implemented in Project 2007 ?
When I copied the task from the source project into my project ( target
project ) using "Paste Special", the new task I created become another task
in my target project. My observation is both task ( ie. task in the source...Problems with Worksheet_Change
I've got the following code in a sheet in my workbook:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim lngRowNum As Long
If Target.Column = 6 Then
If Target.Value = "Closed" Then
lngRowNum = Target.Row
Target.Range("B" & lngRowNum & ":I" &
lngRowNum).Interior.Color = vbYellow
What it's supposed to do is, if you change the value held in column
6--'F'--on any row to 'Closed', it should colour the row from column
'B' to column 'I' in ...Blank page at the end of report (no margins problem)
In an Access report I've created, the last page is always blank (so
not every other page, only the last one). This is very strange
considering the fact that I've set both page headers and footers and
they don't appear on this page.
Now I've checked all margins, both "can shrink" and "can expand"
options and I really can't seem to find where this problem is coming
Another strange fact is that in preview mode (and in report preview
mode) I don't see this blank page, it's just there when I print the
Can anyone tell me what I'm m...Mechanism for applying shared and NTFS permissions
Can someone point me to documentation explaining the mechanism for security
decriptors/attributes when applying permissions via changing group
memberships for users. I do not need to know what file permissions are and
what needs to be set but rather the background mechanism on how it actually
gets applied and when it takes effect. For example, suppose a user is mapped
to a shared drive and has full control on sharing and file system
permissions via group membership. I decide that this person no longer needs
full but rather read access on file/folder, after making th...Customer Cross Reference
2nd Request - Posted a few Months Ago, No Reply
Has anyone out there used the Customer Part Number Cross Ref v8.0?
I loaded a customer list the other day. When I entered the Customer Number
on the Sales Order, it was instantly converted over to our number. Worked
I'm wondering if there is a way to automatically reference the original
Customer Number on the Packing List and/Or Invoice or is that something that
needs to be manually typed in. I tried adding notes, but I don't know if they
carry down...Picture Problem #2
Every picture that I have tried to insert into Publisher turns out to only be
a blank white box.
How can I fix this?
> Every picture that I have tried to insert into Publisher turns out to
> only be a blank white box.
> How can I fix this?
Have a look at the following site:
(Read the third FAQ)
Q: Why can I not see images/shapes/
lines when editing my publication?
MS Picture It! -
Digital Image MVP
Highlights and FAQs
I have a computer that just freezes up when booted normally. I've installed
I turn the computer on.
Windows XP loads
About a minute or 2 it freezes up with like horizontal bars, all the pixels
are shifted or the monitor just turns off.
I think it works fine in 8 and 16 bit color. But when I set it to 32, it
The graphics card is: GeForce4 MX 440 with AGP8X
Works just fine in safe mode.
Did you install the latest driver for that GeForce4 MX 440 with AGP8X card
Please Reply to Newsgroup for the benefit of others
Requests ...Do rules created in Outlook apply to external emails received?
We are posting a few jobs for our company. What I did was created 2 new
accounts and email addresses and gave permissions to the Director who now
can open their Inbox within her Outlook. I created a new rule for each
mailbox that states email "Sent only to me" to apply this rule "Have server
reply using a specific message". Basically the message is the auto response
email stating thank you and we have recieve your resume. I've tested from my
internal account and get the auto response with the message and our company
logo just like I set it up. However I do not ge...Public Folder problems
Situation is as follows:
Server1 in parent domain has a single SMTP Connector for internet bound
email and incoming email. Server1 is member of RoutingGroup1
Server2 in the child domain is member of RoutingGroup2.
Both Routing Groups are connected by a Routing Group connector.
Mail between all users mailboxes flows without a problem
We have the following issues:
Issue 1: Public Folder replication only works one-way: from Server1 to
Issue 2: Users canot send emails to mail-enabled public folders in the other
routing group. If they try this, the emails get stuck in the Local Delivery...Problem with dates after conversion
I converted a large Lotus 123 document into excel, now whatever date I enter
returns a 1/00/00 date, in whatever format I choose..Jan 0 1900..1-0-00 etc.
the correct date is displayed up on the F line but in my sheet is says Jan
zero of the year 1900...It has successfully driven me nuts.
Go to the Tools menu, choose Options then the Transition tab.
Uncheck "Transition Formula Evaluation" and "Transition Formula
Entry". When Entry is checked, Excel will treat 3/9/2005 not as a
date but as division, and the result is less that zero, hence
when formatte...Apply a new design to a page in my publication
On Wed, 1 Feb 2006 21:11:31 +0000, Christi wrote
(in article <4C3E5380-289B-451D-A2CC-035E04C4D662@microsoft.com>):
Well go on then. What's stopping you?
I keep getting "System.Net.WebException: The request failed with HTTP
status 401: Unauthorized" when I try to access Reports and
Organizational Unit Settings from Web client.
When I access these features from browser installed on CRM server
everything works fine, but when I try same features on any other
browser this error pops up.
What can be wrong?
Exactly the same problem here - were you able to solve it ?
> I keep getting "System.Net.WebException: The request failed with HTTP
> status 401: Unauthorized&quo...SBS 2k3 sp2 problem after power off and on
Had something happen today SBS2k3 sp2 box began acting funny after power went
off and back on. rather quickly. All Equipment is on APC battery backups as
well as all routers switches and our 2 external modems. HP ML 370 G4 server
w/4 gb memory. 3 Raid 5 72gb drives. 2 Nic cards one external 192.168.0.2
internal 192.168.16.2 modems hooked to the serial ports using com 1 and 2.
Problem is that now one modem is not working and the network is not working
correctly. Server can see no one and no one can see the server. ran SBS best
practice program and it has one major problem it stat...cross-reference
I created a cross reference in word to a section of my document that has a
heading of 'Heading 3' I used Heading for the reference type and for Insert
reference to I used Heading Number (Full context). I was expecting to get
something like this 4.8.2 but instead I just got 0. is there some setting
somewhere that needs to be tweaked?
Make sure that numbering is correctly applied to your headings. If you are using Word 2007, you can choose the "1 Heading 1 1.1 Heading 2 1.1.1 Heading 3" format at Home tab | Multilevel List. If you are using Word 2003, see http://www...OLK 2k7
Outlook is behaving strangly with the "through the selected account"
Each time I restart Outlook the rule fails. When I go in to check on the
rules I get told that the rule is "invalid". and the "SELECTED" account
is no longer selected.
Each time the criteria the account needs to be selected by changes.
For example with the following data
Account Name Email Account
One time I go in and it's asking me to select the account ...Apply this patch
Content-Type: multipart/related; boundary="acmimsjtfnvutth";
Content-Type: multipart/alternative; boundary="djdrppzukstra"
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three new vulnerabilities.
Install now to maintain...number/bullet list style scheme problem from Word 2003 to Word 200
I have a Word 2003 template with build-in and customized styles included
paragraph, character, linked style, list/outline style and some macros. The
template works well in 2003 to create a document with all the customized
styles shown. However, when the template opens in Word 2007, (right click on
the .dot file), I have one pop up message that Word detects errors in the
file and able to repair with a list of numbered styles. However, I lost my
entire customized numbered and bullets list scheme.
In 2007, when I use my mouse hover the style pane on these specific numbered
or bul...Problems getting outlook 2002 to work with migrated Exchange 2007 (from 2003)
I'm having a problem getting Outlook 2002 to work with a new Exchange
2007 server I've just migrated my users to from Exchange 2003 (SBS)..
the damn thing keeps hanging on with a grip of iron to the old
My situation history (much simplified) is thus...
1 SBS 2003 server SBS1 with Exchange 2003 and SQL 2000 installed, 1
Terminal Server TS1. User's login to TS1 through Citrix and have access
to Office 2002 using Exchange 2003 as their mail server.
Ran SBS Transition Pack 2003 on ...Weird problem
I am using SHGetSpecialFolder with CSIDL_PROGRAM_FILES to get an install
directory. On my Win2000 system, this works fine. On my Win98 system, it
fails with an "invalid argument" error.
I tried setting up a loop and calling with a range of values. All
appropriate values worked correctly except 0x0026 (CSIDL_PROGRAM_FILES).
Free software - Baxter Codeworks www.baxcode.com
"Baxter" <baxter.spamblock@ba...sa problem
This is a multi-part message in MIME format.
this error just started this morning; has come up maybe 10 times so far. =
already been through kb (279742, 300114) and it doesn't apply; nothing =
on the network has changed
Event Type: Error
Event Source: MSExchangeSA
Event Category: RFR Interface=20
Event ID: 9074
Time: 2:20:08 PM
The Directory Service Referral interface failed to service a clie...Pivot Table Problem
I am working in an excel spreadsheet which another person created a pivot
table in. I have to do a lot of cutting and pasting into another report. When
I scroll my mouse over any cell in the sheet with data in it a bluebox
appears with the information in that in cell. How do I turn that off? It is
very annoying as it causes a delay in my trying to copy that cell.
While in the pivot table choose PivotTable Tools, Options, Options, Display
and turn off Show contextual tooltips.
If this helps, please click the Yes button.
...OutLook Crashes after Applying Update Rollup 1
Outlook is crashing every 10 minutes or so for one of my users. Please help.
If the patch is the problem, then please let me know how to remove it. It
does not show up in Add Remove programs. And also how can we know if the
patch is applied or not. The CRM Help about version remains the same after
> Outlook is crashing every 10 minutes or so for one of my users. Please help.
I dont know whether the patch is the reason for the crashes.
But: The version number of the client, that is shown in CRM Help, isn't
exactly the right one. In fact, ...2005 Update Retirement Account Problem
I am having the same problem as discussed in a post on 10/5. Has anyone else
seen this or know of a solution? And btw, I am not running XP SP2, just a
fully updated SP1 system.
I tried everything I could find in the KB to no avail as well.
I am getting really frustrated with how many bugs there are in 2005. I have
used MS Money for years and have never had as many problems as I have with
2005. I can't believe that this product made it out to the public with as
many problems as there are.
Any comments would be appreciated.