|
I guess you need to read it in some manner and then process it in some manner. Your question is not very clear.
It's time for a new signature.
|
|
|
|
|
Exchange Web Services API
Well I just can't figure this out. I'm trying to pull a list of contacts located in public folders of exchange. I used this code before and it isn't work now.
String fpfolderPath = path;
Folder PfRoot = Folder.Bind(exh, WellKnownFolderName.PublicFoldersRoot);
String[] faFldArray = fpfolderPath.Split('/');
Folder tfTargetFolder = PfRoot;
for (int lint = 1; lint < faFldArray.Length; lint++)
{
FolderView fview = new FolderView(1);
SearchFilter sf = new SearchFilter.IsEqualTo(FolderSchema.DisplayName, faFldArray[lint]);
FindFoldersResults ffResult = exh.FindFolders(tfTargetFolder.Id, sf, fview);
if (ffResult.TotalCount == 0)
tfTargetFolder = null;
else
tfTargetFolder = ffResult.Folders[0];
}
It fails here:
FindFoldersResults ffResult = exh.FindFolders(tfTargetFolder.Id, sf, fview);
With:
Exception Details: Microsoft.Exchange.WebServices.Data.ServiceResponseException: The request failed schema validation: The required attribute 'Value' is missing.
I've searched and searched google and came up with nothing. I did found an article talking about how Microsoft changes something from the RTM version and the SP1 version? I am running the latest Exchange 2007 and downloaded the latest Exchange Web Services API
Any ideas?
|
|
|
|
|
Hi All,
I am using a Chart control in VS 2010 .Can any one help me which property of this control allow me to Name my X and Y axis.
The Values are defined by for instance Series("Test").XValueMember. I would like to name my X axis as 'Hour' and Y axis as 'Revenue'
Can you advice please?
Many thanks
|
|
|
|
|
|
Thanks for your reply.All i wanted was how to name my X axis as for instance 'Product' and my Y axis 'Sales'.
The link you have sent doesnt explain include this topic.
Please advice.
Thanks
|
|
|
|
|
|
Thanks So much for your help.Its Much appreciated.Sorry to mention another Problem i have is to Put a $ sign in fromt of the Y axis.
.Series("Revenue").IsValueShownAsLabel = True
I have to show numbers that are in $ Sign? How could i do that?
When i do the formatting on the Numbers i get a problem with the layout of the Graph.
Could you please advice?
Thanks
|
|
|
|
|
hi everyone, I'm able to transfer string data from server to client. But my recent code runs,transfers the string and stops. My problem is that I want to update that string every minute. I can make server send the updated data every minute but how can the client keep listening?, thanks in advance.
|
|
|
|
|
teknolog123 wrote: how can the client keep listening?
Just use some form of timed loop, or wait on a receive call for the server to send some data.
It's time for a new signature.
|
|
|
|
|
A server should reply a client's request, no more, no less. It should not try and keep a list of clients, and it should not take any initiative in communications.
If you want periodic communication between one or more clients and a server, make the clients request new data periodically.
|
|
|
|
|
|
you're welcome.
|
|
|
|
|
|
teknolog123 wrote: My problem is that I want to update that string every minute. I can make server send the updated data every minute but how can the client keep listening?
I think your client/server module is working reversely. Instead of server sending data to client every minute, let client do the request to server for the data and let server keep listening for the client requests. I think that makes sense, right?
Knock out 't' from can't, you can if you think you can.
|
|
|
|
|
Yes you're right! Thanks, I'll do so
|
|
|
|
|
You are welcome.
Knock out 't' from can't, you can if you think you can.
|
|
|
|
|
It looks like you may use a Duplex channel.
|
|
|
|
|
Hi everybody!
How can I install an application (.exe) from my WPF (Windows Presentation Foundation) in the client-side.
I'm automating a test and need to install the software for test the steps, but when I run the setup.exe it's everything OK, but when it will finish to install, I get an error, I need administrative privileges, but I'm running the test in administrative account.
Please, help me, I don't know what is the correct code that I need.
Maybe whit a certificate, but How?
Thanks in advance!!!
|
|
|
|
|
public void method1<T> (T obj) where T:mybase, new()
{
}
i have the problem with the "new ()", any idea why it is added and what it means.
|
|
|
|
|
It means T has a default constructor.
|
|
|
|
|
It means that the class derived from mybase (or mybase itself) must have a default constructor, and can be instantiated through your code here, for instance T object1 = new T(); . If you don't have this constraint in place, you cannot instantiate the class like this. Another point, the only instantiation you can do here is based on the default constructor - you cannot call another constructor in its place.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
But you can use default(T);
|
|
|
|
|
You can, but that just assigns a default value. It doesn't instantiate and it's not constrained by the new() .
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I wasn't even thinking when I posted that.
|
|
|
|
|
No - it was useful to add as a clarification. If it helps the OP learn more about generics and constraints, it's all to the good.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|