15,906,567 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by swbo102 (Top 7 by date)
swbo102
25-Apr-12 10:46am
View
I've tried that, however it seems to always return a count of zero, even though I know a WF is associated to that specific task item.
swbo102
3-Jun-11 8:32am
View
My only other alternative, which isn't great, was just to build a 15 second timer in the service to keep polling the folder. Worst case I may end up with that. I'll keep researching. Thanks!
swbo102
3-Jun-11 8:30am
View
The FTP protocol that the file being sent is FTP/SSL (FTPS), so I'm wondering if that has anything to do with it. The size of the files are fairly small, but I did think about the issue if it triggering prior to the completed transfer. However, when debugging, the trigger never tripped. Thanks for your comment!
swbo102
25-May-11 14:29pm
View
Yep..It appears that you can't do this with the accountmanagement namespace. Only with the older directoryservices. I love it when MS do this, they always stop 90% of the way.
Thanks
swbo102
25-May-11 11:56am
View
I've seen that article before. I think their solution was to rename the OU if I remember correctly. I'm hoping that there is a solution using system.directoryservices.accountmanagement instead of using directory entry.
Thanks
swbo102
15-Apr-11 11:28am
View
Thanks for the suggestion. I have updated my question to provide more information.
swbo102
15-Apr-11 9:45am
View
Deleted
I was able to get closer prior to reading your hint. This is what I have so far:
XPathDocument doc = new XPathDocument(@"C:\520110413.xml");
XPathNavigator nav = doc.CreateNavigator();
XmlNamespaceManager mgr = new XmlNamespaceManager(nav.NameTable);
mgr.AddNamespace("ws", "urn:com........");
mgr.AddNamespace("xdiff", "urn:com........");
XPathNodeIterator it = nav.Select("ws:Worker_Sync/ws:Worker/ws:Group/ws:Field[@xdiff:isAdded='true' or @xdiff:isDeleted='true' or @xdiff:oldValue]", mgr);
XPathNavigator navResult = it.Current;
while (it.MoveNext())
{
Response.Write(" result Value: " + navResult.Value );
if (navResult.HasAttributes)
{
navResult.MoveToFirstAttribute();
Response.Write(" Field Name: " + navResult.Value );
navResult.MoveToNextAttribute();
Response.Write(" TYPE: " + navResult.Name + "<br />" + "<br />");
//navResult.MoveToParent();
//navResult.MoveToParent();
//// forach (XPathNavigator Field in nav.Select("ws:Worker_Sync/ws:Worker/ws:Group/ws:Field[@name='phone']", mgr))
////navResult.Select("ws:Worker_Sync/ws:Worker/ws:Group/ws:Field[@name='employeeID']", mgr);
// //navResault.MoveToPrevious();
// //navResault.MoveToPrevious();
//Response.Write("Employee ID " + navResult.Name + " " + navResult.Value + "<br />" + "<br />");
}
}
With this I am able to get the value that changed..What attribute it is..and if it was and old value or new (xdiff:oldValue).
My problem now if moving back to the parent of the node to get the value of the employeeID.
Thanks
Show More