Can I create a thread safe Winform User Control
I know that if I want to update a Windows Form Control from a worker
thread I need to check InvokeRequired on the control and jump through some
hoops. I can get that all to work. But, I wonder if I can make a User Control
which inherits from for example, System.Windows.Forms.Label, and has the
correct thread safe set method built in? In fact, why are Windows Forms
controls not thread safe? It seems like it would have been pretty easy to
build in, at least for the their simple properties, and would save a fair
amount of fiddly work on the developer's part.
...can't move email twice; can't see text in mail moved to directory
i can drag and drop an email from the inbox to another
folder (lets say A) in outlook.
but if i try to drag if from that folder (A) to another
folder (B), i get an error message saying the email can
not be moved
why can't i move the email a second time?
if i drag the email to a directory on my hard drive, i can
see the email with explorer, and it has a file size, but
when i click on it i only get a blank email screen in
why can't i see the email text when the file is on the
...Error message when using outlook connector for Lotus
I keep getting an error message, "Notes Termination skipped because a
thread has not terminated. Please reboot" when Outlook is started. I am
using Outlook Connector for Lotus.
The error goes away on clicking 'OK', but keeps recurring time and
again. Nothing seems to get rid of this annoying message. Tried to
uninstall the Outlook conenctor and install the new version of Outlook
connector, but of no avail.
Can anybody tell me the way to get rid of this problem?
i've the same problem
Do you have any solutions
-----------------------...Can you make a scatter graft
I am wanting to make a scatter graft or dot graft but do not know how
Put your X values into one column, and your Y values into the next
column, and if you want to name the series of points, put the label into
the cell just above the first Y value. Select the data, and run the
chart wizard (the little chart icon on the standard toolbar, or go to
Insert menu > Chart). In step one, choose an XY Scatter type, then
continue through the wizard.
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
Leanne ...Have excel queries use current directory
I have a workbook with 6 excel saved queries and pivot tables based on an
Access Database. Each month I copy the entire contents of the folder to a new
folder (example DbPop200404Apr gets copied to DBPop200405May). The access
database gets updated and I want the excel pivot tables and charts to reflect
this data. The queries on each worksheet still relate back to the original,
even though I edit each DQY to reflect the new directory. I have to go each
worksheet and reconstruct the query.
How do you make excel automatically use the DQYs in the CURRENT directory
where the workbook res...RecieveGif can only save as bmp
I had the same problem with IE, I looked the problem up
and fixed it. But I can find no fix for outlook e-mail msgs
I get a gif file and will only save as BMP. i f I add
another extension to it like Gif for an animated gif
it will not be an animated gif.
You can use this code to create a macro that will do it for you. Funny that
you mention it as I'm going to issue a newsletter about this tomorrow with
step by step details.
Dim objCurrentItem As Outlook.MailItem
Dim colAttachments As Outlook.Attachments
Dim objAttachment As Outlook.Attachment
Set objCurren...When to use ThreadPool
Here is some text from e-learning. What does it mean when the text says
"don't require scheduling of your thread's execution" ?
*ThreadPool class is best suited for use when your threads are performing
short tasks or when you don't require scheduling of your thread's
Forget this question
"Tony Johansson" <firstname.lastname@example.org> skrev i meddelandet
> Here is some text from e-learning. What does it mean when the text says...Setting folder for offline use
In Microsoft Outlook 2002, I creating a new profile using
a certain %username%. How do I set the folder for offline
Some background info...I am also going to configure this
for the exchange server.
Ryan <email@example.com> wrote:
> In Microsoft Outlook 2002, I creating a new profile using
> a certain %username%. How do I set the folder for offline
> Some background info...I am also going to configure this
> for the exchange server.
It's on the Properties page for the Email account.
3290 Patte...how to write an amount in words through formula
please tell me how i can write a figure in the form of text i.e Amount
in Words, please send the code to me in my hotmail inbox my email is
Message posted from http://www.ExcelForum.com/
This file might be a help:
It's in the "Accountants" section on page:
It contains two methods to convert numbers to words and two cheque writing
The code is open and commented.
As a general rule all replies should be to the newsgroup (in this inst...How Can I This Function Please
I found this article about validating Postcodes and would really like to use
I have copied the code to a new module and on my Data Input Form and have
used this code for the field Postcode;
Private Sub Postcode_BeforeUpdate(Cancel As Integer)
If Not rgxValidate([Postcode], rgxZIP_UK) Then
MsgBox "I don't like " & Me.Postcode
Cancel = True
However when I compile, it tells me that rgxvalidate is a ambiguous name
even though, I have only copied it once. Am I not calling the function
prope...Can not receive emals in Outlook 2003
Very frustrated here. Can not figure this one out.
have a laptop that cratered one me.. Windows XP.....I had to do a
system restore from the beginning. Lost a lot but no biggie.
Had Office 97 full version on it and then had the 2003 Office Upgrade.
Had no problems before it crashed.
Got everything fixed on the laptop. Got all the windows updated and
went to upload the Office again and had problems right off the bat
with 97. Couldnt find my default folders. Figured I had a Registry
problem. Deleted 97 and then Went into Registry and renamed all the
folders in Office to OLD. This allowed ...need clip art of bulding blue prints drawings can anyone help
need clip art for bussiness card back ground
Try the Office clipart. A couple came up that may be suitable.
Input blueprint into the search.
Mary Sauer MSFT MVP
"pelone" <firstname.lastname@example.org> wrote in message
> need clip art for bussiness card back ground
...Can Excel do this?
I am using Excel 2007.
I am wanting to plot data for categories in a certain dept such as plumbing.
I have about 10 different categories for which I plot out data for "year to
date" and "week to date".
"week to date" data is in a different section from "year to date" data.
Obviously, the data sorted for "week to date" will be different for the
"year to date" data.
How can you get Excel to retrieve data from cells for a category like
"toilets" so I can plot the data on one graph..
Example: Toilets, "week to date"...Can't see my objects
I know this is a crazy question but I have a database that when I hold down
the shift key and open it, I can't see my tables, queries, etc. I've never
experienced this before. Any suggestions?
If the database designer didn't want you to see the database container, he
can hide it.
Arvin Meyer, MCP, MVP
"Chris" <email@example.com> wrote in message
>I know this is a crazy question but I have a database that when I hold...Can you track changes in Publisher as you can in Word?
I am editing a document for someone and I want to track the changes so they
can identify where I have changed tham. How do I do this in Publisher?
It isn't a Publisher feature.
Mary Sauer MSFT MVP
"JoanD" <JoanD@discussions.microsoft.com> wrote in message
>I am editing a document for someone and I want to track the changes so they
> can identify where I have changed tham. How do I do this in Publisher?
Would changin...Where can we get xml scheme for tuning setting of WM2003/WM5.0 PDA
We are working upon setting up a lot of WM2003/WM5.0 empowered mobile
devices according with company standards. As far as I know these settings are
tuned through xml file. Then this xml file has to be deployed
deployed/executed onto mobile device. My question is where xml scheme for
tuning such setting is published so we may assign necessary properties
Thank you in advance.
...CRM Contacts not making to my Outlook Contacts Folder
I create a new crm contact in the web client.
When I go to my SFO client and sync, the contact doesn't
come over to my Outlook contacts eventhough I am the
owner of the contact...
Known Bug Bob. Hotfix to be released in May.
>I create a new crm contact in the web client.
>When I go to my SFO client and sync, the contact doesn't
>come over to my Outlook contacts eventhough I am the
>owner of the contact...
I have a textbox on a form with the following control source:
o] = [email] And ([tblEmailLogs]![txtSubject] Like ""*""&'pridoc'&""*""
or [tblEmailLogs]![txtSubject] Like ""*""&'electronic'&""*"")")
The expression works fine, in that it gives the correct result every time,
but I can't sort on it - the only right-click option that isn't greyed out...I can write schema annotations but I can't read them...
I was wondering if anyone else had experienced a similar issue where it
is possible to write xs:annotation elements to a schema (verified in
the resulting document streamed to the filesystem) but I cannot read
them when I System.Xml.Schema.Read() [static] the document back from
the filesystem. It's like there not even there... but they are ?!?
A little more insight:
I can read annotations with simple/sample schemas... the problem occurs
with more elaborate schemas where the annotation is buried deep .
Can you post one of the schemas that you have problems with and y...i am receiving error while downloading my emails but i can send #2
I have a question for you.
I am not able to receive emials from our email server.but i can send the
Any i dea.?
i am stuck here.
Thanks for yr help.
...how can I count hours more than 24?
I'm trying to sum time fields up so I could get the total time I've
been working. The thing is that everytime the sum hits 24 hours it just
goes to 0 again. This way I only get X*24 + showing hours and I have no
idea what is total summ.
So how should I format cells to make it show for example "94:30" or
Format as [hh]:mm
"Sirritys" <firstname.lastname@example.org> wrote in message
> I'm trying to sum time fie...Making a graph with easily changed dates
My boss asked me to make a graph on one of his spreadsheets more user
friendly...so that you could put a start and end date in two ajacent cells
and the graph will automatically change to show the time between those dates.
I didn't think it was going to be too hard but now i'm completely
stumped...I've got the dates on the X-axis and 3 other lines that come from
data on another sheet...and i can't even get the X-axis to easily adjust to
two changeable dates (it will just show those two days rather than all the
days inbetween).....if anyone has any suggestions i'd gre...How can i get publisher to stop making shadows in my pictures?
I am trying to make a brochure that has floor plans on it. When it prints, it
prints a shadows of the floor plans, making it hard to read! I've tried the
shadow option and taking off the shadow and it doesn't work. On the screen
the shadows aren't there. What is the deal?! Thanks for any help
> I am trying to make a brochure that has floor plans on it. When it
> prints, it prints a shadows of the floor plans, making it hard to
> read! I've tried the shadow option and taking off the shadow and it
> doesn't work. On the screen the shadows aren...Can not insert data into List Control, why?
I use the following code to insert columns and list data, I find the
columns could be inserted successfully, but I can not see the inserted data,
when I try to debug the progrm , I find the return iPos value is -1
lvc.mask = LVCF_TEXT | LVCF_SUBITEM | LVCF_WIDTH | LVCF_FMT;
lvc.iSubItem = 0;
lvc.pszText = _T("PORT");
lvc.cx = 50;
lvc.iSubItem = 1;
lvc.pszText = _T("STATUS");
lvc.cx = 260;
lv...threadpool: how can I make sure just an X amount of threads (CPU's) are used?
I've made a test project to see how the CPU usage will react based on
the example given on: http://msdn.microsoft.com/en-us/library/system.thread=
The code is below.
What I want to achieve is to be able to make sure that for a number of
task send to the threadpool (or any other solution), I will only use x
number of CPU=92s. With the code below, it doesn=92t matter how I set
ThreadPool.SetMaxThreads and ThreadPool.SetMinThreads, when I run the
program, all my CPU=92s are consumed. I=92ve tested this on a computer
with 2 and wit...