Correct way for getting a DIB from DDB
Hi to all of you,
I'm little confused about something regarding the usage of a DIB and
the word alignment.
I have a CBitmap ( DDB ) already initialized and I want to create from
that a DIB.
Here's the code:
bitInfo.bmiHeader....External data link change
I've a sheet linked to an external data on the net, and I would like
that a cell in this sheet to indicate the last date and time it was updated,
the simplest way the better but I can do some programming too.
Thanks for your attention,
No need of help any more, I solved the question.
...Why does the change change to a number?
I've noticed something wierd and always wondered WHY it happens. When you
type a date into a cell, and then change the Formatting of it to a 'general'
cell, it turns into a number. How does it come up with that number? What is
i.e. type today's date of "12/7/2007" - change it to a 'General' format, and
it then says "39423".
I'm a trainer of Excel and this question always comes up. I'm curious
myself too. Thanks!
It's the number of days since January zero 1900 using Excel default for
windows (M...how to display a activex control to toolbar?
i want to display a mfc activex control on toolbar, how to do? thanks
The articel below shows how to add any control in a toolbar. THat will
be a good start:
Another easy option might be to use a CDialogBar, which is based on a
dialog template. It might be easy to add ActiveX to a dialog instead.
...Is there a way to get the list command on the data toolbar?
I don't have list on my data toolbar. Is there a download for that or do I
have to pay for it? I need it for a homework assignment.
You need to use xl2003.
That means you need to buy the newer version (or explain it to the instructor).
Maybe he or she will let you slide on this section.
> I don't have list on my data toolbar. Is there a download for that or do I
> have to pay for it? I need it for a homework assignment.
...Requisition Manager Fianl Approval to appear in Window
When entering a requisition in Business Portal/Requisition Manager, the user
wishes to select " Final Approve", however this button does not appear in the
window without scrolling down. The button "Submit" is however visible.
It would be betterif the 2 buttons could be next to one another and visible
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this ...Custom Command Bars
I've figured out a way to add custom commands to the ROWS or CELLS
commandbars, but I only seem to be able to add one. Can someone help me
figure out how to add multiple custom commands to one of those command bars?
Copie this in a general module
It's working in Excel 2003 and Excel 2007
Dim MBar As CommandBar
Set MBar = Application.CommandBars("Column")
'Set MBar = Application.CommandBars("Row")
.BeginGroup...simple bar graph not working correctly
Trying to create a simple bar graph which i have done a thousand times.For
some reason excel is seeing the first two cells in my row as the series.
eg a2 contains the word express orders. B2 contains 137
When i attempt to graph it, the series in the chart wizard is Express orders
137. instead of just express orders. For some reason it is taking that first
value with it.
Any ideas whats causing this?
...Is there a way to sort a column without invoking a macro?
I am trying to get a feel for some probabilistic properties. For
example, I am trying to look at the statistics of the intervals between
randomly occurring pulses. I have no problem getting a column of
uniformly distributed pulse times, but they are unsorted, Every time I
recalculate with cmd-=, I get a new unsorted set of pulse times because
of the use of the RAND function.
Is there a way of taking this unsorted column and pasting it into
another colun that would be sorted without invoking a macro?
To simplify and be more specific consider the following.
1. In A1:A100 I have a set...changing the way Excel displays selected cells
Is there a way to change the way Excel displays selected cells? I'm
interested in viewing all the selected cells highlighted (with light blue for
instance), but by default excel highlights all the cells but not the first one
the same occurs when you define a range with no adyacents cells
Your definition of the display is not quite correct.
Excel highlights the current cell, Excel also highlights a selecte
The currently selected cell is generally the first of a range, bu
press enter and the current cell changes and becomes the second, the
third etc in the range.
You cannot...Track Changes
How do i remove the track changes in outlook? When i press "Enter", a symbol
that represents "Enter" will appears. Same for space etc.
...DST changes for Exchange 5.5
I noticed the 2007 DST Calendar Update "Exchange tool" is available now:
This will seemingly take care of calendars for mailboxes still on Exchange
5.5 servers, as Exchange 5.5 is listed as "compatible" .
However would this address the CDO issues such as BlackBerry users and OWA
users still on Exchange 5.5 ?
Thanks in advance,
On Mon, 12 Feb 2007 14:31:00 -0800, itrcb4
>I noticed the 2007 DST Calendar Update "Exchange tool" is available now:
>http://su...Can't Publish changes with Deploy Manager
After a migration process, I can't publish the changes made on CRM. When I
try do this in Deploy Manager I get the follow error:
Publish done with errors. See the event log to get deitails
NETRA-INOVACAO: ***Error*** Failed to download XSL template files from Web
Can somebody help me? I don't know if the migration process have any
relationship with the error.
Thank you for pay attention.
Vin�cius Pitta...enterprise custom field for overdue tasks
I'm trying to create a view that shows overdue tasks and am having some
trouble. I went into enterprise custom fields and tried to create a new Task
> Date field with the following formula :IIf([Finish]<[Current Date] And [%
Complete]<100,"red","green"). Now I would expect it to populate that field
with either "red" or "green" depending on if it meets the criteria.
Furthermore I would like to use graphical indicators to show red or green
stoplights. However, I cannot get this formula to work - When I add the new
field to a ...more on VBA function name change
I thought I'd start a new thread since I haven't received any replies to my
I've declared a function in a module using mixed case:
Function TMDE_Category (FormName As Form)
I noticed recently that it appeared in the module as
Function tmde_category(FormName As Form)
I changed it back to the mixed case declaration, saved the module, exited
the app, reopened it and looked. The function had changed back to the all
Things I've tried since the original post:
Using the databse documenter, I selected all ob...How to change icon for my application
Hi, I am currently developing an application on visual studio 6.0, and i
wish to change the MFC icon on my application header. Anyone can help? Thank
Raed Sawalha wrote:
> Hi, I am currently developing an application on visual studio 6.0, and i
> wish to change the MFC icon on my application header. Anyone can help? Thank
Open the icon resource for editing by double clicking. Then notice the
control just above the editing grid that lets you switch between editing
the large icon and editing the small one.
Scott McPhillips [VC++ MVP]
thanx that work...How to change newsgroup message font
Like many other ribbon based programs I sometimes struggle to find how to
make a change. This time its how to change the font just for newsgroup
"nobody" wrote in message news:EWTao.39493$GF5.7129@hurricane...
> Like many other ribbon based programs I sometimes struggle to find how to make a change. This time its how to change the font just for newsgroup messages?
Newsgroup messages are usually plain text. The font used is that selected at [no name tab] > Options > Mail > Read > Fonts for the encoding specified for the messag...Notify change of email address when changing ISP
How do I notify my entire address book of an email address when I change ISP's?
By sending a mail to everyone ?
If you do so, please use BCC for the adresses, this way you won't spread
everybody's e-mail adres to everybody.
Bob Baker wrote:
> How do I notify my entire address book of an email address when I change ISP's?
...Which one first?Install Windows Server 2003 SP1 or Exchange SP2 ?
We are running Exchange 2003 on Windows Server 2003. We planned to update
the software in terms of patches, so which one should I do first, the OS
patches (SP1 and onwards) or the Exchange patches ?
If it was me do the OS first.
"Zul J" <firstname.lastname@example.org> wrote in message
> We are running Exchange 2003 on Windows Server 2003. We planned to update
> the software in terms of patches, so which one should I do first, the OS
> patches (SP1 and onwards) or the Exchange patches ?
...Change a formula to an acual number
I want to change the formula I have created to the number it has created
Example: Cell A1 is the number 1. Cell A2 is the formula =a1+1 creatin
the number 2. I want this to be a two not a formula. Any ideas?
Laura, copy, then paste special, valves
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 97
** remove news from my email address to reply by email **
"Laura" <email@example.com> wrote in message
news...Problem Changing an Investment Name
I am trying to change an investment name and Money 2006 tells me "The name
or symbol 'TRP Spectrum Income' has already been used for a deleted
investment. Please enter a different name." When I go to delete
investments the name does not appear! Any ideas on how I get Money to
accept the name change? This is the first time I have run into this
situation and I have made numerous name changes in Money over the years.
In microsoft.public.money, Ken wrote:
>I am trying to change an investment name and Money 2006 tells me "The name
>or symbol 'TRP Spec...Sub Menu in CTreeCtrl
Hi, are there any examples that add a sub menu showing when the user right
clicks the tree item?
You could catch the WM_RBUTTONUP message and call following function:
int ret = menu.TrackPopupMenu(TPM_NONOTIFY |
...Should I change this code?
Should I change 556 to 560???..............Thanks for your help..........Bob
Private Sub Command560_Click()
On Error GoTo Err_Command556_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmClientInfomation"
DoCmd.OpenForm stDocName, , , stLinkCriteria
On Sun, 15 Jul 2007 16:37:26 +1200, "Bob V" <firstname.lastname@example.org> wrote:
>Should I change 556 to 560???..............Thanks for your help.....How to change default font in Outlook 2003
Can someone tell me how to change tthe default font in Outlook 2003
when composing a new email. It always comes up as Times New Roman. I
remember somewhere that I specified that Outlook should use Word as
the text editor and that seems to be the case. I have Arial as my
default font in Word but this seems to make no difference when using
Please go to Tools > Setting > Mail Format > Stationery and Fonts >
It's right there :)
On 20 Nov 2005 06:28:45 -0800, email@example.com wrote:
>Please go to Tools > Setting > Mail Format > Statione...BUG?!: PP 2007 does display all "Paste as link" charts of Excel 20
I discovered a bug in Excel / PP 2007 which I can easily reproduce. I have a
simple "test" files if somebody wants to take a look.
The basic outline is like this.
1) I create some graphs in Excel with considerable distance, so that they
are not both visible on the screen simontainously.
2) I copy (by selecting a range containing the graphs), then paste-link (as
dynamic graphics) the two chars into PP, each in its separate slide.
3) Now, If I rightclick and choose "update", the one which is not visible in
Excel will not be shown!
To me, it seems like Excel saves...