my DrawImage doesn't draw when addes to the c-tor
This code works fine when added to event handler for the forms paint event.
If I instead add the three rows to the Forms c-tor
nothing is being drawn in the form why?
private void Form1_Paint(object sender, PaintEventArgs e)
Bitmap bm = new Bitmap("background3.bmp");
Graphics g = this.CreateGraphics();
g.DrawImage(bm, 1, 1, this.Width, this.Height);
I can for example add these two rows to the forms c-tor and it works fine.
Image i = Image.FromFile("background3.bmp");
this.BackgroundImage = i;
...Compression to Drive on SCDPM 2010?
Is there Compression when backing up to a Drive? My data source "Size on
disk" on the System I am backing up a folder from is much smaller when on the
Drive I am backing up to.
This is not supported, the best way to achieve compression is by compressing
the files which need to be protected.
Praveen D [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"David Baur" <DavidBaur@discussions.microsoft.com> wrote in message
> Is the...Analysis Cubes
How do you make User-defined fields available for Analysis cubes? I looked
on the KBs but found none that addressed this.
Thanks in advance!
...I can't seem to add a logo to my personal information
The area where my logo could be added is grayed out and I can't seem to add a
logo to it. Any suggestions?
Edit a logo for a personal information set
Mary Sauer MSFT MVP
"kitsal" <firstname.lastname@example.org> wrote in message
> The area where my logo could be added is grayed out and I can't seem to add a
> logo to it. Any suggestions?
...Add dynamic line to chart
I often have the need to add limit lines, average lines, Standard Deviation
Lines, etc., to charts, but the way I do it currently is pretty clumsy. Is
there a more elegant way to do it?
Say that I'm producing a line chart that shows data values over time. I
have time on the X axis and the data plotted on the Y axis. Then I want to
put a horizontal line that shows where the Mean plus One Standard Deviation
is. I currently do this by adding another column to my worksheet and
putting the same number in each cell in that column where the number is the
Mean plus One Standard Deviation...Divide number and add remainder in another cell
Can someone help me? I made a work distribution spreadsheet and I can not get
it to divide evenly. What I am trying to do is divide the total number of
claims by the number of employees and distribute the result to each employee.
There are conditions also. For example one employee gets the max number of 50;
Here is my formula;
column E =# of hours working for each employee,
I19 = total number of claims.
If the total number of claims is 1500 and there are 5 people working it
returns 50 to the E18 employee and 363 to the rest, but t...How do you add a drop down calendar to a form field?
Is this possible?
Do you mean the "Class"
MSCAL.Calendar.7...the Calendar Control?
> Is this possible?
What version of Access are you using? I believe that this is built into
> Is this possible?
It is. Date Picker in the Form Properties Format Tab
> What version of Access are you using? I believe that this is built into
> Access 2007.
> "kjv77" wrote:
> > Is this possible?
There's VB, C, and J code to do this...Add standard header and footer to new worksheet
I am a VBA novice writing an Excel 2002 template. I wish to add a standard
header and footer to any new worksheet that is added. My attempt to achieve
this has fallen at the first hurdle! Can anyone help me with this?
My code is:-
Private Sub Workbook_NewSheet(ByVal Sh As Object)
Dim ws As Worksheet
Dim fs As String
fs = "Ariel Size 8" ' Font Size
fc = "FF0000" ' Colour = Red
Application.ScreenUpdating = False
Set ws = ActiveWorkbook.Worksheets
.LeftHeader = ""
.CenterHeader = "My Company Name...Best way to add a chart?
Earlier I had asked for some help on how to proceed with this
application. I have moved forward a little on my own but now I'm at a
point where I really need a pro's recommendation.
I am trying to build an application that will track printer usage. I
am using a search interface that I downloaded form Allen Browne's web
site (excellent stuff!!). My concept is this;
1. Interface allows user to choose search criteria based on type of
pages printed, specific printer, and time frame of printer usage
2. After user selects the criteria the form displays the filtered
data and ...Add a button to a sheet to open a userform
I'm looking for a way to add a button to a spreadsheet that will open up
a userform. I've seen it done before, I'm just not sure how do it.
PokerZan's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=23480
View this thread: http://www.excelforum.com/showthread.php?threadid=380247
Add a Command button to Excel double click it so it takes you to the vb
code & enter UserForm1.Show (between Private Sub CommandButton1_Click()
& End Su...help in reusing 2009 calendar for 2010 12-24-09
I have a calendar from 2009 that I fixed several things.
I want to be able to use it for 2010.
How can I do this?
Calendars are tables. It is a simple operation to tab through the dates to
change them. If you need to add a row, simply resize the the table, the same if
you need to delete a row. It is best to type your events in text boxes so you
can move them around.
"Samy Boy 17-50" <SamyBoy1750@discussions.microsoft.com> wrote in message
>I ha...What add-ins or applications would people like to see?
I'm a Windows developer, and have recently been writing a string of small
applications for CRM 4.0 customers.
I plan to develop a range of small applications as add-ins for CRM 4.0, but
I wanted to find out from users what applications or add-ins they needed, or
think would be useful.
If I develop an application suggested but someone, I will let them Beta test
with me and also have a free copy when it's finished.
Please email me at email@example.com with any ideas.
...Add a disclaimer #2
How can i add a disclaimer to every outgoing emails of my organization using
I tried this but it didn't work:
"it didn't work"
Did you want to troubleshoot your efforts with the event sink?
Or hear about third party apps that have done the work for you?
"Hugo" <firstname.lastname@example.org> wrote in message
> How can i add a discla...How do you add fields to templates
I am trying to use a contact template but I need to add a field.
Open the table that you need in Design View and add the field with it's
corresponding datatype. Then make sure it is included in any query form, or
report that requires it.
Arvin Meyer, MCP, MVP
"Pepdiggie" <Pepdiggie@discussions.microsoft.com> wrote in message
>I am trying to use a contact template but I need to add a field.
...DPM 2010 RC Management Pack is available
We are happy to inform you that DPM 2010 RC Management Pack is
available. Please mail me at nageshbk[at]microsoft[dot]com, I can share it
This posting is provided "AS IS" with no warranties, and confers no rights
...Add user to local security group in Win7
The following code works fine in Windows XP to add a user to a local group.
It will work on the machine I'm logged on to, and it will also work on
remote machines (as a domain admin, I have permissions to modify local
groups on all domain machines):
strDomain = "enter domain name here"
strComputer = "enter computer name here"
strGroup = "enter local group here"
strUser = "enter username here"
' Get group object
Set objGroup = GetObject("WinNT://" & strComputer & "/" & strGroup &
",group&q...how do I add a formula that totals a percentage
I am a novice excel user. I was given a project that includes adding a cell
for a percentage of a total. The project is small, 6 cells with 2 digit
numbers, I need to pick one cell and find the percentage it is of the total
cells. I've looked up percentrank, downloaded an addon pack for data
No where can I find an example of the formula I need.
Thanks much in advance!
One example ..
Assuming the 6 source cells are A2:A7,
with the total computed in A8: =SUM(A2:A7)
You could put in B2: =A2/$A$8
Format B2 as percentage to taste
(...how to add investment account's investments to Money 2004 portfolio
I recently imported my investement account into money 2004. However,
the investments were not added into the Money portfolio. I remember
that for another investment account that I had added a year ago, they
were immediately added to the Money portfolio. Am I missing something?
Any suggestions will be appreciated
In microsoft.public.money, email@example.com wrote:
>I recently imported my investement account into money 2004. However,
>the investments were not added into the Money portfolio. I remember
>that for another investment account that I had added a year ago, they
>were i...Background color of the whole app
I am developing a property sheet app which creates the sheet and pages in
the OnCreate() in the view.
It would be nice to be able to modify the colors of the app to give it a
little more pizazz than the standard gray that MFC defaults to.
I know about handling OnCtlColor() and also calling SetDialogBkColor() in
the InitInstance() of the app class. The problem with these is that there is
always the menu bar/ Tab control/etc that remain the default color. Since
MFC colors everything to this default color, is there a quick easy way to
change this color... for everything? I suspe...some mp3 do not play in ppt2007 and some do but with background noise
I want to use background music (mp3) that plays on the background of
my entire powerpoint 2007 presentation. The mp3 music plays well from
drive and is of good quality but after inserting the music file into
ppt (insert sound from file), some mp3 files do not play at all or
some do play but the quality seems reduced and background noise can be
heard. I only want to use 1 music file, that's all. Tried several
files but they either don't play or there is noise.
Thanks a lot in advance for your help!
...sound no longer works after windows update
Brand new box. Dell Precision T3500.
I came into work this morning, and apparently Windows Update had run
Now, I have no sound capability whatsoever.
I go to Sounds applet and on Volume tab it says "No Audio Device". On all
tabs, every option is disabled/greyed-out : Device Volume, Speaker Settings,
Sound Playback, Sound Recording, MIDI music playback, Voice playback, Voice
John Grandy wrote:
> Brand new box. Dell Precision T3500.
> I came into work this morning, and apparently Windows Update had run
&g...add account script
How to add a pop3 mail account on script or vbscript or vb exe file?
You can use a prf-file which you can call in your script. Examples and
instructions regarding the prf-file can be found in the Office Resource Kit
Tips of the month:
-Create an Office XP CD slipstreamed with Service Pack 3
"berk" <firstname.lastname@example.org> wrote in message
> How to add a pop3 mail account on script or vbscript or vb exe file?
...add or remove buttons to the panel
adding or removing of the button to the panel is very simple in Word 2003,
but in word 2007 I've found only adding the buttons to the quick access
toolbar. Is it impossible to make the same in word 2007?
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< &...Another '03 vs '07 Add-in Menu Question
Hi, I have successfully written menu code that runs each time an .xla
opens along with Excel. It works fine on my machines in both XL 2003
and XL 2007 (as expected under the Add-in menu). However, on other
people's machines, and much to my chagrin, the menu does not appear in
XL 2007. I know they have properly installed the add-ins, because I
can see them selected under the Add-in's menu, and the macros can be
called by their defined key-combinations. Nevertheless, no custom
menus under Add-ins. Frustration city. Any thoughts on what may be
interfering on these other inst...Outlook Express
Windows XP, OE 6. Why isn't the sound working to notify
me of incoming mail. I don't think I have ever heard this
sound since getting a computer. I would so like to hear
this to alert me of incoming mail. I have checked the box
in the options. thanks.
This newsgroup is for support of Outlook 97, 98, 2000 & 2002 from the Office
family for Windows PCs. For Outlook Express (OE) support try posting in one
microsoft.public.inetexplorer.ie4.outlookexpress for OE 4.x
microsoft.public.windows.inetexplorer.ie5.outlookexpress for OE 5.x