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...spreadsheet with several row, looking to view one at a time while.
I have 193 rows on my spreadsheet, with the top 2 rows frozen to view as I
scroll down the list of rows. I would like to bring the rows to meet the
frozen information but it is only letting me see every 3rd row instead of
each row one at a time.
How are you scrolling? If I scroll with my mouse wheel I get what you
describe, but if I scroll with the right scroll bar/arrows I get one row at
a time. HTH Otto
"Angie" <Angie@discussions.microsoft.com> wrote in message
>I have 193 rows on my spreadsheet, w...Run-time error '3075'
Syntax error (missing operator) in query expresssion '[AppInvNum] ='
I get the above message running the following code. Basically, I am
entering an invoice and then opening another form to apply a credit. This
first delete code works when the user quits the invoice entry without a
This is a case where the user changes mind about invoice entry and, if
credit is applied, both the invoice and the application of credit need to go
'deletes current job record
strSQL = "DELETE FROM [tbl 2 Job] " & "WHERE [InvNum] = " &a...can TIME values be aggregated?
Can time values be aggregated? I'm putting together a summary report
that will need to show the sum time that something happened.
(Employee breaks, for instance.) If break times for 3 employees were
"01:00:00", "00:15:00", and "00:12:30" in length, how do I aggregate
them to get "01:27:30"? Simply treating them like char values so they
can be parsed into integers and added and then divided by 60 doesn't
seem like the best way.
new DBA in '09 wrote:
> Can time values be aggregated? ...continous form/subform question
This is mainly a general question I have. Is it possible to put a subform in
the footer (or header) of a continous form or subform? Thought I would
inquire first before spending time on it.
Nevermind. I found out what the answer is.
> This is mainly a general question I have. Is it possible to put a subform in
> the footer (or header) of a continous form or subform? Thought I would
> inquire first before spending time on it.
> ... John
...printing customer statements.
Two of my RMS customers are very unhappy about the lack of options in
printing customer statements. I have not been able to find a solution for
Dixie Products, Inc. needs to print selected groups of customer statements.
They have different types of customers and have requested the ability to
select out which customer statements to print. Dixie upgraded to RMS from
Quick Sell 2000. They say QS2000 had the ability to run selected statements
and they would not have purchased RMS if they had known of this limitation.
Another Customer needs to exclude printing statements w...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...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#...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...change resolved case form
I need to change the form that appears when a case is
resolved. Is there in easy way to do that or do I have to
edit the file directly.
Anything that the Customization doesn't support (which in
this case it doesn't)... the only other option is SDK (at
least its possible or wait until future versions/3rd party
>I need to change the form that appears when a case is
>resolved. Is there in easy way to do that or do I have
>edit the file directly.
...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...Outlook- Customize Outlook today
After I downloaded windows update I'm no longer able to
use the Customize Outlook today button. I get no errors. I
get nothing at all. Any idea's how to fix this?
This may help http://support.microsoft.com/default.aspx?scid=kb;EN-US;820575
"Jeff" <email@example.com> wrote in message
> After I downloaded windows update I'm no longer able to
> use the Customize Outlook today button. I get no errors. I
> get nothing at all. Any idea's how to fix 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...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!
...Label on form question
I have a label on one particular form that displays differently depending on
the user. The form is a "home screen" of a Front End MDE that has been
distributed. The label in question, on 2 particular users, seems to stretch
the font, which results in a portion of the left and right ends being cut off.
(Alignment of the label is set to Center.)
Pixel settings on ALL user's display is set to 1024x768, so that doesn't
appear to be the problem. All other labels within the database are fine,
including other labels that exist on that same form.
What would cause this behavior?
...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...Table to feed form instead of lenghty code?
I a database that is kind of like an Auction type deal. If a user enters
their user ID and click the button, it will automatically display their
chosen private ID (or Auction ID). What I want to know is, I have 80 people
in my department and the code (only way I know how to do it) will become very
long. Can I set up a table with the User ID and Private ID and when the
button is clicked, have it read from the table and display the Private ID
that way? Below is how I am going to do it if no alternative.
Private Sub cmdStatusUpdate_Click()
Me.NewBid.Locked = False
...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...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...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...Return Value from Form
I need to return a value from a form displayed modally.
Many years ago, if I used VB classic, I could create a public method that
took care of any arguments, displayed the form modally, and then returned
appropriate return values. Something like this:
Public Function GetValue(Args As Integer
m_Args = Args
m_Result = DefaultResult
GetValue = m_Result
However, it appears Access VBA doesn't support this. For one thing, there's
no Show method (and so it certainly can't have a modal argument).
I like this approach because ...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...