FileNotFound returned by Bitmap::Save() when saving to streamI 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
hear them.
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...
continous form/subform questionThis 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.
Thanks.
.... John
Nevermind. I found out what the answer is.
Thanks.
.... John
"JohnE" wrote:
> 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.
> Thanks.
> ... John
...
Handling of savings accounts and 401k accounts in the budgetI 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
happening?
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...
Increase size on continuous forms to fit widescreenHello,
I have an access 2003 app with continuous forms / and sub forms that was
developed on a 800 x 600 screen. I now have a wide sceen with a resolution of
1280 x 1024. When the app loads, the fonts and controls are too small.
I googled this topic and came across ADHResize module that I could add to the
project along with some code to be put in the open event of each form.
Private Sub Form_Open()
Set frmResize = ADHResize2K.CreateFormResize()
Set frmResize.Form = Me
End Sub
When I run my app, there is no change to the forms as they still stay small.
Any suggestions o...
Adding a new menu on the Worksheet menu barI 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
("Help").Index"
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) _
.Controls.Add(Type:=msoControlPopup, Before:=HelpIndex,
Temporary:=True)
' ...
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?
Daniel wrote:
> 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
Vinu Baby
"Daniel" <softwareengineer98037@yahoo.com> wrote in message
news:e8#...
Unable to save password in Outlook 2003I 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 formI 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
supporting it)...
Frank
Workopia, Inc.
www.workopia.com
>-----Original Message-----
>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.
>.
>
...
Save and save asHi,
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
Regards
Mark
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...
Task Hierarchy Messed up after creating new TaskHi,
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
and reopening.
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?
ashwin
...
Opening Doc's in a new WindowHi,
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.
Thanks
Paul
Paul,
Tools - Options - View, Windows in Taskbar
--
Earl Kiosterud
www.smokeylake.com
Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
...
Counting Multiple Records by specific criteriaHi,
I'm having problems getting the right formula to suit what I need.
Basically I have a large spreadsheet containing many records and I want to
count the number of records that meet three specific types of criteria.
e.g.
Column A = Type
Column B = Status
Column C = Ref No. (i.e. 1.06)
The above columns have many different entries, therefore I would like to
count the number of records which meet the following criteria. No of Records
= Type A, Status X, Ref 1.06.
I have used SUMProduct, CountIF and etc but I don't seem to be doing it
correctly.
I have do...
Saving ImagesWhen 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?
In news:AB8040CE-5975-4A14-87BD-BE3B97E33682@microsoft.com,
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...
"Unattainable" savings goalsI'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!
...
make new tablei 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...
New Mailbox not showing up for some timeI 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
"Update Now"?
--
Nicholas Basile(MSFT)
nicbas@online.microsoft.com
Microsoft PSS
Please do not send email directly to this alias is for newsgroup purposes
only!.
This posting is provided &...
Label on form questionI 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 tabsI can't seem to get a change in the default tab setting to
save.
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...
setting a value to a field for all recordsI 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?
...
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
want?
First of all, make use of true *template* files (with the *.dot or *.dotx
extension). Also, assign the template files the read-ony attribute.
--
Stefan Blom
Microsoft Word MVP
"Chris" <Chris@discussions.microsoft.com> wrote in message
news:EB9D352D-823F-4126-8A00-2D90516A3FA1@microsoft.com...
> Our company has word docum...
New Office reminds me of New CokeEveryone hates it.
The difference is that at least with Coke, there was Pepsi.
Dear MS:
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?
Geez. Engineers....
It doesn't make you bad or dumb to admit you made a mistake. It means that
you learned!
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this su...
Table to feed form instead of lenghty code?Hello,
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
...
Adding text to a formI 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.
"stella7113" wrote:
> 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...
Exchange 2007 And Daylight Savings Time UpdateIs there a patch I need for Day light savings time and Exchange 2007?
Thanks!
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
rebased.
--
Bharat Suneja
MVP - Exchange
www.zenprise.com
NEW blog location:
exchangepedia.com/blog
----------------------------------------------
"D303M" <D303M@discussions.microsoft.com> wrote in message
news:A3132ABD-4614-402F-9654-61EA72501112@microsoft.com...
> 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
present.
Any insights into where the rest of the data goes? Why does the data
disappear?
Thanks, Mike
--
mdelasaux
------------------------------------------------------------------------
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...