FileNotFound returned by Bitmap::Save() when saving to stream
I have a little chunk of code which is supposed to take a bitmap image and
save its PNG encoding into a block of memory. The problem is, I keep getting
a FileNotFound error back from Save(). If anyone has any ideas, I'd love to
Here's the code (more or less) in question; there really shouldn't be much
to it, I would have thought:
Allocate an IStream object to write the data into a global
memory block. We indicate that the handle to the underlying data
will be freed when the stream object is released.
VERIFY(S_OK == ::CreateStreamOnHGlobal(nil, True,
Scenario: Outlook 2000 SP3, Exchange 2003 SP2.
A User receive truncated/cutted email. Another user with the same
configuration don't have this problem. Very strange... any helps?
Thank's in advance
Andrea Racca <raccaNOSPAMlibero.it> wrote:
> Scenario: Outlook 2000 SP3, Exchange 2003 SP2.
> A User receive truncated/cutted email. Another user with the same
> configuration don't have this problem. Very strange... any helps?
> Thank's in advance
Was this a message from outside/the Internet?
Does it show up the same way in OWA?
Was this a s...I cannot send a fax from excel, I always get a line busy message.
I am using win xp and I am trying to send a fax with excel. I go to file
chose print, pick fax driver and then fax wizard comes up, I enter phone
number in wizard and click finish but I always get a line busy message in the
fax monitior, can anybody help me. Thanks , Dan
...Email address format with a twist
Exchange 2003 SP2.
We currently have email addresses in the form of email@example.com. We would
like to add an additional address of firstname.lastname@example.org and set it to be the
primary address. All new accounts would then follow this new format. I know
I can edit the recipient policy for the default domain to be
However, and here's the twist: we receive a daily .csv file from HR that
has all employees Given Name, Preferred Name, Last Name, etc. We then
programmitcally sync this with AD whereby Given Name goes into the First Name
field, Last Name goes into the L...Handling of savings accounts and 401k accounts in the budget
I noticed that Money treats money that I contribute to a 401k account or
transfer to a savings account as an expense. Basically, the more I
contribute, the worse my budget looks. Is there a way to prevent this from
Right now, I exclude transfers to my savings account from the budget and it
solves the problem, however, I shouldn't have to manually do this each time.
For 401k contributions, I cannot find a way to do this.
Why does it show up as "an expense" (what Category???) instead of something
like Transfer Out of Budget Accounts? The 401k cash account sh...SSRS 2008 format on separate lines
In a sql server report 2008, I want a report to show subcategory values as a
grouping, but I want not certain how to set it up. The value for state will
show up on its own line. The rest of the values under the state, with appear
on separate lines,
The report would look something like the following:
state, record type, status category, sector
15 cat2 ,NE
28 cator5 ,SW
63 statusgo ,N1
16 statcat ,DE
28 statblue ,N...UIThreads, dialogs & messaging problem
In eVC4 .... I've built a CWinthread derived class to display a logon
dialog non-modally and it communicates with the main app thread via
messaging. So every 30 seconds or so, if the user hasn't been doing
anything, a dialog pops up on top of everything else requiring a logon.
(Comments on the validity of this mechanism welcome).
Calls to show the dialog are made in the Main app as
pThread->PostThreadMessage( WM_SHOWME .... )
and handled in the thread
ON_MESSAGE( WM_SHOWME , OnShow ) [changed from ON_THREAD_MESSAGE
after googling this group about a problem that was fixed in VC7 ...Conditional Formatting based on month name
I have a sheet where C2 contains the typed text of a month, i.e. February.
Range C4:D14 contains actual dates spanning several months. I would like to
highlight the cells that contain the month in C2. I've floundered around
for several hours without a solution. Any help?
P.S. I need C2 to remain text so it won't change until I change it.
Click Format > Conditional Formatting
Under Condition 1, make the settings as:
Formula Is| =AND(TEXT(C4,"mmmm")=$C$2,C4<>"")
Click Format button > Patterns tab > Light brown? >...Unable to save password in Outlook 2003
I cannot seem to save my "network password" for Outlook 2003. I tried
everything I can think of. I tried editing the registry. I use XP. I try
going into Control Panel, go to mail and go thru the process there
and....nothing worked there. I uninstalled Office the reinstalled
it.....nothing! I even went as far as unistalling my internet software,
still...nothing! Someone told me that XP will not save passwords. My
Outlook express works fine. Someone HELP!
I also had this issue in Outlook 2003, but also in indows Live Messenger and
Internet Explorer 7.
I spend hour...what encoding does system.xml.xmldocument.save(string path) use to save the xml document if there is no <?xml... in the front of the xml document?
what encoding does system.xml.xmldocument.save(string path) use to save the
xml document if there is no <?xml... in the front of the xml document?
> what encoding does system.xml.xmldocument.save(string path) use to save the
> xml document if there is no <?xml... in the front of the xml document?
UTF-8 is the default encoding.
Oleg Tkachenko [XML MVP, MCPD]
http://blog.tkachenko.com | http://www.XmlLab.Net | http://www.XLinq.Net
utf8 i suppose would be default
"Daniel" <email@example.com> wrote in message
news:e8#...Format a cell to keep leading zeros.
I often deal with account numbers with leading zeros. When I place them in a
cell Excel automatically deletes the leading zeros. Is there a way to format
the cell to hold the zeros?
Use a custom number format of 000000 or as many zero as you need.
Microsoft MVP - Excel
Pearson Software Consulting, LLC
"Shadyhosta" <Shadyhosta@discussions.microsoft.com> wrote in
>I often deal with account numbers with leading zeros. When I
>place them in a
> cell ...message queues and buffered mouse clicks
I have a button in an MFC app that executes a lengthy query and I want
to disable the button while the query executes. The problem is that
mouse clicks over the disabled button are buffered, and are then
processed when the button is enabled. Here's my OnBnClickedQueryButton
So I tried to grab the focus away from the button, but this attempt
didn�t work either.
m_queryBut...Save and save as
I am looking for some help with a macro, I need to disable anyone from
saving a file or save as and also disable the prompt if the close button is
pressed you get an option to save the file then, I need to disable all of
these, also have a pop up box to warn that save as been disables when a user
tries to save the file fro save and save as.
Can anyone help me with this. I am using word 2003
Once you give someone access to a document, you have ceded all control over
it. You can however stop them from overwriting the original file by making
the doc...Unable to deliver the message due to a recipient problem #4
I am running Exchsrvr 5.5 SP4 with Post Sp4 fixes in installed.
I have a user who sent an email to 4 recipients in the company and he got
this error "Unable to deliver the message due to a recipient problem". None
of the article in the knowledge base can help
Anyone ever encountered this?
Did any of them receive the message? Please post the complete NDR.
MVP - Exchange
"Protecting the world from PSTs and brick backups!"
"Vincez" <Vincez@discussions.microsoft.com> wrote in message
When I right click to save an image in an email, it will only save as a .bmp.
I need to use it as a .jpeg or a .gif. How can I fix this?
Angi <Angi@discussions.microsoft.com> typed:
> When I right click to save an image in an email, it will only save as
> a .bmp. I need to use it as a .jpeg or a .gif. How can I fix this?
Clear your internet explorer temp file cache.....go to control panel,
internet options, and choose 'delete files'
"Angi" <Angi@discussions.microsoft.com> wrote in message..."Unattainable" savings goals
I've learned to mostly ignore it, but it drives me
batty. I have a particular loan with a goal to pay it
off by 7/4/04. The loan balance is 14,000. I have
marked a savings account to be "used for budgeted savings
goals." I deposit $1300 per month into the account which
has a balance currently of $13000. Money 2K4 says that I
cannot reach my savings goal. What can I do to help fix
this? Any feedback would be appreciated!
...Saving default tabs
I can't seem to get a change in the default tab setting to
When I reopen publisher the tab setting reverts to .5
which was original default.
I'm I the only person who is having this problem? I'm
using the 2003 verson but had the same problem with 2000.
Why not take the default page, set the tabs you want and save it as a
template with a file name of,
"My Very Special Tabs Settings for Future Files.pub"
(jerking your chain a bit<G>)
Then when you want to create what you want, use your created template file
and when your pub file is what you want, do a Sa...error log message
I'm actually getting a couple of error messages. The load user profile call
failed with the fallowing error: The system has attempted to load or restore
a file into the registry, but the specified file is not in a registry file
format. (The Source is the service control manager). Windows was unable to
load the registry. This is often caused by insufficient mamory or
insufficient security rights. Detail - The system has attempted to load or
restore a file into the registry, but the specified file is not in a registry
file format. for C:\documents and settings\networkservice\l...lost pictures in a Publisher document
I recently opened a document created in 2006 and found that all of the
pictures I inserted are missing. The correct spacing is there, but no
picture. How do I get them back (if possible). Thanks
Read the third FAQ here
Q: Why can I not see images/shapes/lines when editing my publication?
Mary Sauer MSFT MVP
"Cidmar" <Cidmar@discussions.microsoft.com> wrote in message
>I recently...Outlook 2003 keeps setting itself as my default e-mail client
Outlook 2003 - I have unchecked the box in Tools --> options --> other
that says "make outlook the default program for e-mail, contacts, and
Still every time I open outlook it resets itself as my default email
client... Anyone know how to resolve this problem?
firstname.lastname@example.org <email@example.com> wrote:
> Outlook 2003 - I have unchecked the box in Tools --> options --> other
> that says "make outlook the default program for e-mail, contacts, and
> Still every time I open outlook it resets ...How to create a pop up window with message?!
I'm responsible for the introduction of our CRM-tool and to customize
the application according to our business processes and requirements.
Unfortunately I'm absolutely not familiar in terms of programming and
the SDK of CRM 3.0.
I just need a simple (?!) event: Before activating (and then closing) a
quote I want the Users to fill in a field "Reason" (pick up list with
numerous reasons for closing a quote, e.g. price too high etc.). To
make sure that the users do not forget this step I would like the
system to open a pop-up window with the message "If you want to c...Row Formatting #3
How can I format a complete row or range automatically, depending on Cell
value or comparison between 2 values at different cells. ? Conditional
formating is doing this just for one cell only and depending on the value of
|Islam is peace not Terror|
conditional formating can do this as well:
- select the row (e.g. row 1)
- goto Conditional Format dialog
- enter the following formula
- choose your format
This will for...Save to unProtect a Document?
Our company has word documents that we use as templates on a fileserver. How
could I protect the documents so that when they open them, they dont make
changes to the server version, but save their OWN version and do what they
First of all, make use of true *template* files (with the *.dot or *.dotx
extension). Also, assign the template files the read-ony attribute.
Microsoft Word MVP
"Chris" <Chris@discussions.microsoft.com> wrote in message
> Our company has word docum...Exchange 2007 And Daylight Savings Time Update
Is there a patch I need for Day light savings time and Exchange 2007?
No CDO patch required (no equivalent of KB 926666). However, the Windows
Server 2003 OS will required KB 931836 time zone update and Calendar-items
in 2007-hosted mailboxes created using old DST 2006 rules will need to be
MVP - Exchange
NEW blog location:
"D303M" <D303M@discussions.microsoft.com> wrote in message
> I...Save csv format to dbf format
I have a .csv file with 13 columns of data opened in excel. I make a
few changes to a field and then want to save to .dbf format.
After saving as .dbf when I open the file only column 1 data is
Any insights into where the rest of the data goes? Why does the data
mdelasaux's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=28889
View this thread: http://www.excelforum.com/showthread.php?threadid=486365
Try using Notepad and open your .dbf...