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,
static_c...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...Format custom number: C-0000-L
Hi, I need to format a few cells in Excel to look like C-0000-L where "0000"
represents four numbers and "L" represents a letter.
I tried to do it in format - custom with C-0000-@ but it gives me an error
I also tried to do it using the concatenate function but it doesn`t work.
Can anyone please help me?
Custom format "C-"0000"-L"
"Sonia" <Sonia@discussions.microsoft.com> wrote in message
> Hi, I need to format...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#...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...Saving Images
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...New Mailbox not showing up for some time
I just created a new account in Exchange 5.5 (5 total
exchange 5.5 servers).
After creating a new mailbox, I go to mhy outlook to try
and resolve the name but it s not there. I then try to go
into OWA and log into the new account but no luck.
After some time it will show up. Why the delay, can
anything be done?
What's the scheduled time for Directory Replication? Maybe you can do an
Please do not send email directly to this alias is for newsgroup purposes
This posting is provided &..."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!
...C++ Automation of excel
Where are the constants being used in the xl constants (such as xlPasteAll)
listed that I can use them in VC++ automation code? or is there an include
library that I can pull in to the code?
Thanks in advance.
create your own enum that looks like this:
Look under xlPasteTypes
"Ven" <Ven@discussions.microsoft.com> wrote in message
> Where are the constants being used in the xl constants (such as
xlPa...Visual C++ MNMAPI32.OCX Question
I developed a program using visual c++ 6.0 using MNMAPI32.ocx.
Now, I installed Windows Vista on my computer and can not run this program.
I have searched everywhere about MNMAPI32.ocx but nothing came up, not even
I have the MNMAPI32.ocx file and tried to registered it on my Windows Vista,
but when I register it, I got an error:
"Make sure the binary is stored at the specified path or debug it to check
for problems with the binary or dependent .DLL files"
What does this mean? What DLL files do I need?
Please help me!
There's a tool that exists:
...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...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...How to show multi-line text on a tooltip(CToolTipCtrl)?
You can use SetMaxTipWidth and then use \r\n to break lines.
Thanks a lot!
I used SetMaxTipWidth( 1024 * 8 ) to support this feature successfully. But
there is not any official documents from MS I can find to introduce
that SetMaxTipWidth can produce this effect. So maybe I wanna do more test
on different Window OSes.
"Ajay Kalra" <firstname.lastname@example.org>
> You can use SetMaxTipWidth and then use \r\n to break lines.
You could try this control that Dun...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...when I save an email, where does it save to?
I have several emails that I wanted to reply, and I did click "reply" and
then wrote something, but I did not have time to finish...
then I click on "save", and in the evening, I closed the outlook because I
now I reopen the outlook in the morning, and I want to find my saved
unfinished replies that I was writing...
But where to find them?
I have a "draft" folder, but those saved emails do not seem to be in this
folder... wherelse could they go?
This is annoying... is there a way to automat...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...0xE06D7363: Microsoft C++ Exception
Other that catch ( ... ), how can I catch '0xE06D7363: Microsoft C++
Exception'? The original exception was thrown by trying to call methods of a
smart pointer that was NULL. So I know the source of the problem this time.
But for future reference, What will catch this exception?
Bill Swartz, PhD
Bill Swartz wrote:
>Other that catch ( ... ), how can I catch '0xE06D7363: Microsoft C++
>Exception'? The original exception was thrown by trying to call methods of a
>smart pointer that was NULL. So I know the source of the problem thi...eConnect: SqlException: System error
I'm really running out of patience on this one. I've been using eConnect
with an ASP.NET Web Service running on Windows XP for a while now. I need to
now get the same Web Services running on IIS 5.0 on a Windows 2000 Server
machine. When I run a VERY SIMPLE eConnect inventory transaction from
ASP.NET through a small application that accesses the Web Services I receive
System.Enterprises.ServicedComponentException: The ServicedComponent being
invoked is not correctly configured (Use regsvcs to re-register) ...... as
eConnect.TransactionEntryPoint ( b...Daylight Savings Time #2
In regards to DST or better yet XDST, in my windows 2003 domain environment I
have the servers and workstations syncing their clock with one of my DCs.
The statement has been presented here that since this is the case we should
not have to worry about clocks being off by one hour. I do not get the warm
and fuzzy with this statement. I feel that if it were that easy it would
have been documented as a solution by now. Maybe they are right and I am
wrong. Could you give me an explanation why so or why not? Thanks
- Any clock synching is done based on UMT/GMT and the locale/timezone o...Automatic save of all messages from a known contact
I'd like to store automatically all messages from a known CRM Contact.
If for example my customers email-address is email@example.com, I'd
like to store automatically all his emails via the Exchange<->CRM
Connector regardless to who they are sent to.
Is that possible?
Hi Juergen. My company has a product called Effective Email that does
exactly what you are asking for. There is a sync event that gets
installed on the users inbox. When emails come in, it checks the
senders address against the CRM database, and if a match exists, it
creates a...How to get saved old saved work that was saved over?
I typed up some History notes and saved it. I wanted to use the same format
from those History notes for some new History notes and I saved over on my
old work. How can i retrive my old saved work? My work was in Word not Excel
But I could not find a place to ask a question in the Word help section.
If you saved over the original file, it is gone forever.
Microsoft MVP - Excel
Pearson Software Consulting, LLC
"Maral" <Maral@discussions.microsoft.com> wrote in message
news:C0ADFEF9-6A46-4589-8923-4BFC07D9C61F@microsoft.com......chart in one cell showing data for past year
How do I make a small graph that fits in one cell and visually shows the past
year's data. Is there an automated way to do it besides manually making the
graph and shrinking it down?
Here's a link to a post on making chart in a cell.
My download has a VBA procedures to size cells and to make chart and place
chart in a single cell. Size of chart depends on size of cell.
"SVA" <SVA@discussions.microsoft.com> wrote in message
news:721D862A-C8B0-4466-A2B8...control recording saving
I designing a form the feilds are bound. the form will be used by other
workers i want the form to update records using a update button but if the
user enters data and then decides that they don't want to update the
information. hqw can i prevent the update of the information entered on the
form when the user closes the form using the close button
"904allen" <firstname.lastname@example.org> wrote
> I designing a form the feilds are bound. the form will
> be used by other workers i want the form to update
> records using a update button but if the user ...auto save email address's
In outlook 2007, how do I set it to auto save email address's that I send
No full versions of Outlook ever had the ability to add recipients
automatically to your Contacts Folder. Only the long abandoned IMO mode of
Outlook 98/2000 did that. To automatically add the email address of people
you respond to to your Contacts Folder requires code:
"Johnfli" <email@example.com> wrote in message