|
Post this question in the forum at the bottom of the where where you got this library from.
|
|
|
|
|
hello
how to get the profile information's in outlook 2007 -2010 (Location, mobile,work ...) like in the picture https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-ash4/270537_271194562983587_838075585_n.jpg
|
|
|
|
|
Use the Office.Interop.Outlook [^] namespace to access all objects managed by Outlook.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
why ? any sample code please
|
|
|
|
|
newdolby2005 wrote: why ? Because that is desgned to work with .NET and provides access to the information you are looking for.
newdolby2005 wrote: any sample code please If you follow the link I provided you will find many examples in the MSDN documentation. Alternatively you can use Google to search the internet, or try the Articles section[^] here on CodeProject.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
|
What?
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Actually, VERY applicable. There a lots of examples out on the web. You don't need someone here to hold your hand through this and spoon feed you.
|
|
|
|
|
I not found any examples since 8am
|
|
|
|
|
So you're after someone else to do your work for you. Is that what you're saying?
|
|
|
|
|
Well I have no idea what you have been searching for, but Google found quite a selection[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Method AddRange takes IEnumerable collection it makes perfect sense since we want to add second collection to our first list.
http://msdn.microsoft.com/en-us/library/z883w3dc%28v=vs.80%29.aspx[^]
But when you want to remove some items from collection that are in second collection (scenarion 2 grids with items and one bucket of possibilities for them, and cannot have shared items, available grid and items selected by user grid), there is RemoveRange method, right? No this method takes 2 ints
http://msdn.microsoft.com/en-US/library/y33yd2b5%28v=vs.80%29.aspx[^]. Odd.
RemoveAll? This for instance takes predicate for items. http://msdn.microsoft.com/en-US/library/wdka673a%28v=vs.80%29.aspx[^]So why this is called RemoveAll? Since it's takes predicate as Where takes why this is not called RemoveWhere? From RemoveAll I would expect behavior like Clear method, but we don't need another one like that.
Method Remove takes item and removes it from collection. So why there is not method that takes range? How many times you have to remove items by range of indexes from collection (RemoveRange)? It would have to be ordered list to make it usable at some point since when you get index and number of items to remove you have to order and iterate it and since you do that why not just remove those items already? So in the end I using AddRange and extension method RemoveRange that iterates and calls Remove on second collection. Am I allone on that?
No more Mister Nice Guy... >: |
|
|
|
|
|
n.podbielski wrote: Am I allone on that?
Yes/no. With a large framework, there's bound to be some inconsistencies.
Yes, it would help if we could deduce the name of the method we want to call, based on fixed patterns. No, I don't see it happening.
As for the range, I'd expect two ints, as the indexes are a good way to define a range. That's a bit harder to do with an IEnumerable.
RemoveWhere(thisconditionistrue) or RemoveAll(thisconditionistrue); yes, your version sounds better, but it'll be hard to convince MS to change it. Especially after it's being used already in a lot of sourcecode.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
provide the details to get current location through gps in desktop apps
|
|
|
|
|
Well, first of all you'll need hardware capable of receiving GPS data. Then you'll need to write some code to get this data. Finally, you need to learn how to say please; my first temptation was just to write "no". I don't work for you and you aren't a client, so I don't take well to orders from you.
|
|
|
|
|
Hello, when we move the scroll bar of a program we get this exception. I think its some thing to do with Index was out of range? Is this the correct section to post in? I'm using Windows 7 64 bit if that helps. Thank you.
************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at Network_Design_Tool.Network.GetLineType(Int32 index)
at Network_Design_Tool.MainForm.utilSlackParamBar_Scroll(Object sender, EventArgs e)
at System.Windows.Forms.TrackBar.OnScroll(EventArgs e)
at System.Windows.Forms.TrackBar.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
private void utilSlackParamBar_ValueChanged(object sender, EventArgs e)
{
double num1 = Convert.ToDouble(this.utilSlackParamBar.Value) / 100.0;
double num2 = 1.0 - Convert.ToDouble(this.utilSlackParamBar.Value) / 100.0;
this.utilParam.Text = Convert.ToString(num1);
this.slackParam.Text = Convert.ToString(num2);
}
private void utilSlackParamBar_Scroll(object sender, EventArgs e)
{
if (!this.menuDesignUpdate.Checked)
return;
this.Mentor(this.comboLineType.SelectedIndex, Convert.ToDouble(this.utilSlackParamBar.Value) / 100.0 * this.network.GetLineType(this.comboLineType.SelectedIndex).Linespeed, 1.0, 0.4, 0.2, Convert.ToDouble(this.alphaParamBar.Value) / 100.0, "F", 1.0 - Convert.ToDouble(this.utilSlackParamBar.Value) / 100.0);
this.designDone = true;
this.DrawNetwork();
}
private void utilLabel_Click(object sender, EventArgs e)
{
}
|
|
|
|
|
comboLineType.SelectedIndex : is that -1? And how does GetLineType() look like - is the ArrayList you use there correctly initialized?
|
|
|
|
|
this.Mentor(this.comboLineType.SelectedIndex, Convert.ToDouble(this.utilSlackParamBar.Value) / 100.0 * this.network.GetLineType(this.comboLineType.SelectedIndex).Linespeed, 1.0, 0.4, 0.2, Convert.ToDouble(this.alphaParamBar.Value) / 100.0, "F", 1.0 - Convert.ToDouble(this.utilSlackParamBar.Value) / 100.0);
Writing composite expressions such as this in a single line of code is just asking for trouble. You have no way of checking any of the interim values that are being selected or calculated.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
|
What extra information is that supposed to convey?
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
You should have posted that earlier. Why it's obvious now. I can obviously tell what your code looks like from the different shades of grey there (I counted 50 of them).
And, yes, that was sarcasm.
|
|
|
|
|
The program is available on the internet. Just search for 'wlvnet' on Google, please.
|
|
|
|
|
If you expect people to help you then try responding to some of the questions that have been posted. If you think people are going to download some vaguely identified piece of code from the internet, build it and debug it on your behalf, then I'm afraid you are going to be disappointed.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
What is Interface? In Which Scenarios Use It?
Raghu RR
|
|
|
|
|
Both of these questions could be answered by a quick Google search[^], or reading the documentation.
One of these days I'm going to think of a really clever signature.
|
|
|
|