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...Email address format with a twist
Exchange 2003 SP2.
We currently have email addresses in the form of firstname.lastname@example.org. We would
like to add an additional address of email@example.com 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...Adding a new menu on the Worksheet menu bar
I tried to adapt J.Walkenbach code to add a menu item on Workbook_open
but I get the following error on "HelpIndex = CommandBars(1).Controls
Run-time Error '91'
Object variable or with block variable not set
Private Sub Workbook_Open()
Dim HelpIndex As Integer
Dim NewMenu As CommandBarPopup
' Get Index of Help menu
HelpIndex = CommandBars(1).Controls("Help").Index
' Create the control
Set NewMenu = CommandBars(1) _
' ...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...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...Opening Doc's in a new Window
Currently when I am viewing a spreadsheet in excel and I want to open a
different spreadsheet they open in the same window which I find awkward. I
would prefer for the 2nd spreadsheet I open to start a new instance of excel
so I can flick between the two on the taskbar. Is there a setting that
controls this?. I'm using Excel 2003 on XP Pro.
Tools - Options - View, Windows in Taskbar
Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
...Task Hierarchy Messed up after creating new Task
We use Project Server 2007 (with SP1 and Infrastructure Update). Recently 2
PMs have complained that their Task Hierarchy was messed up after making
relatively minor modifications to their projects like adding a task, saving
The symptom is that leaf tasks have been re-parented to other parent tasks +
empty rows showed up.
Has anyone seen this problem? Is there a way to solve this?
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...how do I change the default name of a column from numbers to lett.
my default used to be column a, column b etc, somehow it has been changed to
column 1, column 2 etc. how do I change it back? Because of the default
change it changes my formulas to sum(R - C etc.
In EXCEL 2007 try the following:-
Office Button / Excel Options (lower right hand side) / Formulas (2nd option
down on left hand side) / Working with formulas (2nd option down on right
hand side) / make sure that R1C1 reference style is not selected (that is, it
does not have a green tick in it)
If my comments have helped please hit Yes.
"mac" w...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 &...make new table
i have the follow problem,
i have a table like this in excel worksheet... i have in collums the number of the days of one month 1,2...31, each day have / occupies 3 different collums beneath with values and the same patern for all the days, the problem is that i don't have all the fields filled with numbers but some, now i want to collect those numbers and make a new table that contains the numbers...... how i can do it?
(at the A collum every row have a different name)
i don't know how to describe it better but for simplicity for each row i want to have the values of every of the 3 c..."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...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...New Office reminds me of New Coke
Everyone hates it.
The difference is that at least with Coke, there was Pepsi.
Please admit that his was a failure and provide a patch that allows the
world to toggle back to Classic Office.
Stop being so arrogant. Did you really think we were going to pay billions
to re-train everyone in a flippin' recession?
It doesn't make you bad or dumb to admit you made a mistake. It means that
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this su...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...merge catalog -numbers format
I am trying to merge a database that includes numbers with currency format or
percentages. Is there any trick to bring the same format to publisher?
Format the field as text...
Mary Sauer MSFT MVP
"Gene" <Gene@discussions.microsoft.com> wrote in message
>I am trying to merge a database that includes numbers with currency format or
> percentages. Is there any trick to bring the same format to publisher?
>...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...Formatting text string
Justify Distributed: I'm trying to redistribute a single long text string
from one cell (continued over may cell in that same row) to an area below
consisting of several rows and cells. Note: I thought that in the pest I
accomplish this by selecting the intended area and then formatting re Format
/ Justify Distributed. But now that box is grayed out. Is that formatting
option no longer available?
Ops! I forgot to mention... We're running Excel 2002.
"Paul from B I" wrote:
> Justify Distributed: I'm trying to redistribute a single long tex...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...