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...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" <firstname.lastname@example.org> wrote in message
news:e8#...Suppress Leading Zero
I have a report that is sorted by Floor, Department, then by Room. My floors
are 1-12. In order to get them to sort properly I have them in the database
as: 01, 02, 03, etc else they sort like this 1, 10, 11, 12, 2, 3, etc.
These are showing on my report as:
01, 02, 03, etc and I only want them to appear as a single digit, 1, 2, 3,
etc. I tried setting the format to ## but it still shows the leading zero.
You can wrap the Floor field in the Val() function. This would also aid in
sorting since the Val() of 2 would sort before the Val() of 13.
The text won't wrap anymore in my OE6 emails.
The line goes on and on and the scroll bar activates.
I tried all the fixes available on the web. Tools-Options-Send etc.
Nothing works. Do I have to re-install OE?
Thanks for any help.
Try posting this in an Outlook Express news group - this is not one of them.
Outlook is a part of Microsoft Office and is what this group supports.
Outlook Express is a part of Internet Explorer and has its own news groups.
You can also find some good Outlook Expr...Text only in toolbar buttons
I would like to know how to set custom toolbar buttons to display text only
and no picture?
Set the style property to msoButtonCaption
(remove nothere from email address if mailing direct)
"Thierry Paradis" <email@example.com> wrote in message
> I would like to know how to set custom toolbar buttons to display text
> and no picture?
> Thierry Paradis
set the style property of the control to
msoButtonCap...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...Text box in the Bar chart
I have inserted text box in the Bar chart. not able to format the text
inside the text box...
any guidance please.......its bit urgent
You can control the box by right clicking and choosing "Properties."
I don't think you can change the text settings - or if there is a way, I
haven't found it.
- Andrew Lavinsky
> I have inserted text box in the Bar chart. not able to format the text
> inside the text box...
> any guidance please.......its bit urgent
Select the text inside the text b...Lose focus on CEdit when mouse click with csplitter active
Could someone explain to me, why when I have a split view with a
treeview in one pane and a form in the other pane with cedit controls
on it, that when I click on the cedit control I lose focus and then
regain focus. This will occur even if the cedit has focus and I click
on the cedit again, it will lose focus and the regain focus? View
deactiveates and then reactivates, can I stop this?
..."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!
...Text-to-speech in Excel X
I've been reading about Excel X having the ability to "read" text in=20
selected cells. Mac has the capability in Text Edit and the PC world =
a "voice" option under the view+toolbars, but Mac doesn't. Any ideas?
...Extract some fields from a Row to a column
Apreciate your help in advance.
This is my problem I have a Database w/ four columns but in my firs
column starts row A, Co. Name, RowB Address, Row C Phone #. I
Columns # 3 and 4 have their City Name ,State Zip Code respectivibly
I'll like to put this rows in columns.
PS From Sunny South Florid
VicV's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1463
View this thread: http://www.excelforum.com/showthread.php?threadid=26266
not really sure how your ...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...Loop on the On Format event of a report
On a report I have 38 fields Named [AP1], [AP2], [AP3], ......till
As I don't want to see field when to value = 0 (zero), On the On
Format of the Detail of the report I need to put
the following code
Me.AP1.visible = (me.AP1>0)
Me.AP2.visible = (me.AP2>0)
Me.AP3.visible = (me.AP3>0)
Me.AP4.visible = (me.AP4>0) and so on 38 times.
I am lookig for something to simplify the code. Maybe something that
would make a loop. But as I am not familiar with routine like that, i
would need help
Have you looked in Help at the CanShrink property? That may be an eas...flip a sheet format
I am looking for a solution where I could change the table in a different
format. Any office product solution, Excel or Access or any other tool could
be used where the process can be automated (macro, SQL query, etc)
I have this table:
T1 App1, App2, App3
T2 App4, App5
T3 App6, App7, App8
I want to create this table of the previous table:
Thank you for any help
The following code should do what you want.
Dim i As Long, j As Long, k As Long, lr As Long, lc As Long
Dim wss As...Text Box
I want to make a budget book and majority of pages are in the same format. I
have created a master page with the text box and want to use the master page
for another 100 pages. However the text box will not copied over to 100
pages. So how can I avoid creating text boxes for 100 pages?
janet <firstname.lastname@example.org> was very recently heard to
> I want to make a budget book and majority of pages are in the same
> format. I have created a master page with the text box and want to
> use the master page for another 100 pages. However t...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...setting a value to a field for all records
I need to create 'Select All' and 'Unselect All' buttons to put true or false
in a yes/no field. Anyone have an idea for the easiest way to iterate
through all the records?
...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" <email@example.com>
> You can use SetMaxTipWidth and then use \r\n to break lines.
You could try this control that Dun...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...Adding text to a form
I tried to find an answer today but I could not
I wan't to insert a stic help text in the accounts form. I do not want
to use popups I jest want to put a text in the bottom of the form
How do I do this?
I had the same problem - I ended up creating a section to use that as my
static text. You would think there would be a better solution that that, but
I could not find any.
> I tried to find an answer today but I could not
> I wan't to insert a stic help text in the accounts form. I do not want
> to use popups I jest want...