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...How can I update my "Publisher for Windows 95"?
I have "Microsoft Publisher for Windows 95," and I'd like to update it to a
more recent version. Currently, my OS is Windows XP. How can I do this?
> I have "Microsoft Publisher for Windows 95," and I'd like to update it to a
> more recent version. Currently, my OS is Windows XP. How can I do this?
The current version of Publisher is Publisher 2007, available at most
software stores as well as online. Check that your computer meets the
system requirements before purchasing. Publisher has undergone rather a
substantial number of chan...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#...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...after update event
I have two combos.
When the first combo is changed from "pending" to "live" I want the second
combo to become enabled.
I have the following in the after update event.
If Me.StatusID.Value = "Live" Then Me.MonthID.Enabled = True
but it isnt working.
It has been awhile...
You also have to requery the second combo
If Me.StatusID.Value = "Live" Then
Me.MonthID.Enabled = True
Note: Single line coding is poor form.
Dave Hargis, Microsoft Access MVP
&...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 ...Cell data changes when copying and pasting
I've got Excel 2002 SP2. Another person in our office has Excel 2000. She
entered a bunch of data into a spreadsheet for me (the data is dates in
mm/dd/yyyy format). When I copy and paste her data into a new spreadsheet
in one of my existing files, the dates change.
This seems to be the rule of what is happening: when I copy and paste a
cell into my sheet, it adds 1 to the day and 4 to the year. For example, if
she typed 12/18/2003, it pastes it as 12/19/2007; if she typed 4/15/2004, it
pastes as 4/16/2008. We are both baffled by this. There are no formulas
being used, just a basic...Updating links that use SUMIF
I am having a problem a link to another workbook. The link uses SUMI
formulas. When I go into the destination workbook, I hit update file.
The formula becomes #VALUE. I go under Edit/Links (using Check Status
Update Values) and it remains #VALUE. The odd thing is that when I hi
check status, the source workbook changes from unknown to OK. If I g
in the next time, it reverts back to Unknown.
I have installed Service Pack 3 and thing have not improved. I als
have Caluclation set to Update Remote References. The only way that
can get the formula to work correctly is to open the source ...update 2007
what is the latest ver number?
I don't think my copy is updating.
In microsoft.public.money, Bruce Wayne wrote:
>what is the latest ver number?
>I don't think my copy is updating.
Current 2007 version is 16.0.*.1303.
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...MS Money 07 Online Software Update
When I sign into my Microsoft Money 2007 it prompts me to install updates to
continue working. I go through, click through all of the boxes and I get an
error when it tries to do the install of the updates. Any ideas?
I know that description is very vague, but someone else has to be
experiencing the same problem. I am running IE 7 RC2, I'm going to try to
install the full version of IE that just came out and see if that makes a
difference, but somehow I doubt it. I haven't been really impressed with
Money 07 - I don't actually recommend anyone upgrading to it.
------------..."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...Hyperlink to cell and have it appear at top upper left hand corner
I am new user. I have created 3 worksheets and defined names for certain
cells. I have then created hyperlinks for those cells to go to other named
cells. My problem is that when I click on the hyperlinked cell, Excel goes
to the correct cell but I would like to have it appear at the top left corner
of the spreadsheet. It instead might appear at the middle or right hand side
of the spreadsheet. What can I do to correct this? Thank you in advance
for anyones response.
There must be a better way, but I would programatically check the left & top
values of the cell and move a te...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...A97 & SQL2K
A97 FE <-> SQL2K BE. Using a QueryDef created on the fly using SQ
Pass-Through when an operation only involves server tables. Works great for
"Execute" statements, and when returning a recordset that I don't try to
modify. But I always get an error "object is read only" whenever I try to
use the "rs.Edit" method. I can't seem to find a property that will make it
updatable, either. Is it even possible? Here is the function I use to
execute the SPT's:
Public Sub SQLExecute(SQL As String, Optional rs As Variant)
'This function creates a SQL Pas...Counting Cells #2
How can I tally values in different cells that do no fall
into a specific range. For example, I would like to tally
all the values in E2,I2, L2, and P2 which meets a certain
criteria such as containing the number "3". While these
numbers do fall into the range C2:R2, I don't want all the
values for the other cells which I am not interested in.
So, how can get excel to isolate the cells that I am
interested in and giving me a value?
where NCrange refers to:
=Sheet1!$E$2,Sheet1!$I$2,Sheet1...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...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...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...making a cell resize itself to accommodate data
I have an Excel spreadsheet with a cell that I'd like to make, by
default, the size of two ordinary cells. I can insert a new row
underneath it and then merge that new row with the row I want to make
larger but if I do that the cell no longer resizes itself to
Some of the existing rows are the size of two or so cells (in terms of
height) but, as right clicking on them and going to the Format
Cells... option on the resultant menu shows, they're not the result of
two merged cells - they're just one cell whose height has been
increased. And when you insert data, t...excel cell limited in # chars that can print?
when i type a large string into a cell, the print image
(and the actual printer output) cut off the string at some
point. is there a way around this (feature?/bug?)
Take a look at HELP, index, specifications
Turn on word wrap -- format, cells, alignment, wrap text
Use some Alt+Enter to extend a limitation that may not
have been worded properly.
adjust your row height if needed.
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcr...