Yes, this is possible, look into the XmlDocument, XmlNode, XmlNodeList classes, then look for simple xpath queries... something like (//sitemapnode[@footer='true']/) of just query all sitemapnodes and then look for the attribute in the XmlNode... Brandon braber
braber
Posts
-
Go through XML nodes -
.net 2.0 Custom Web Services in SharePoint 2003Hello everyone, Thanks in advance for any responses. I had a question about developing a custom web service written in .net 2.0 for Windows SharePoint Services (i.e. running in _vti_bin or _Layouts directories). I can write a custom web service in .net 1.1, however, I am having an issue with the discovery of the wsdl for the 2.0 web service. I believe it has to do with the differences between 1.1 and 2.0 web project compilations. There is a great article for writing custom web services for sharepoint on msdn http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc\_sp2003\_ta/html/odc\_writingcustomwebservicesforsppt.asp however, I need one in .net 2.0, any help would be greatly appreciated... Brandon braber
-
Hacker ProblemHello all, I don't know if this is a suitable forum, but here it goes anyway... I recently had a virus my AV found yesterday... Since then I have been digging around my machine... The virus is gone (I hope), however... I did find a large amount of .eml and .bad files in my mailroot\badmail and queue directries respectively... I am not sure what to do? I turned of SMTP service, and I only have a port or two enabled for this machine on my fvs338 netgear router... I have since turned on windows software firewall as well (don't know how much good that will do)... I just don't know hwo to go about looking for the offending .exe or whatever they used... But it seems that there is something on my machine generating e-mails (mostly to msa.hinet.net) addresses? Thanks in advance for any help Brandon
-
Stage ResizeHello all, I am using Flash 8 Pro and I am using the FLV PlayBack Custom UI controls for streaming video... My problem is I have several video sizes (300x220, 150x460, etc...) I am unable to resize the stage to fit the video... Is there a way of doing this or am I going to have to create an SWF file for each video size? I am using the FlashVars to retrieve the FLV file from the server as well as other information like the video Height and Width... I can successfully use these values... I have also come up with the Equations for positioning all of the other objects on the stage once resized... Please Help... :) Brandon
-
ASP.NET & FLASHHello all, I am wondering if it is possible to have a flash player play .asx files (XML files that point to a URL for video streaming) and have the following characteristic... The file which is played needs to be able to be dynamically specified. (depending on user action)... Any help would be awesome... I am using ASP.NET 2.0 C#, Flash MX 2004 Pro Thanks in advance... Brandon
-
Crazy Characters [modified]Good Morning All, I have a wierd problem... I have these "-&-#xD-;-&-#-xA-" (I inserted the -'s because it wasnt showing up on this post); characters showing up all through my XML transfomration where there is a line feed or a return... I have used this, (not sure it helps) and I still get them. Is there anyway to get ride of these characters (without a regular expression on the transformed XML) ? It is screwing up my embedded JavaScript... System.IO.StringWriter swTransformedXML = new System.IO.StringWriter(); trainingXSL.Transform(xmlTransformDoc, xslArguments, swTransformedXML, new System.Xml.XmlUrlResolver()); The swTransformedXML contains the junk characters... Brandon -- modified at 13:35 Thursday 29th June, 2006
-
Read a XML Document and extract a node valueXPath Query may work for you... Brandon
-
Webform AuthenticationHope it works for ya... :) Let us know... Brandon
-
Drawing LinesTesting E-mail response (It doesnt seem to be working for me)... :)
-
Drawing LinesI saw the GDI+ solution, however, the size of the div's vary and there is an image already in the div cotrol. So the only solution is to then create a transparent image with my lines on it that is dynamically generated and has a higher z-index? brandon
-
Webform AuthenticationDoesnt Windows Authentication just ask for a user name and password on an unauthenticated machine, through the browser? It shouldnt matter what platform the client machine is running. I could be wrong but doesnt the web server handle the authentication for web users... If you specify users and passwords in the web.config file I dont think you are using windows authentication anymore... Brandon
-
Drawing LinesHello All, I am wondering if anyone can point me in the right direction. I am trying to draw a line or possibly several lines within a div control using (x1,y1,x2,y2) points. I do not want to use VML or JavaScript, I am hoping for something native to ASP.NET. Thanks in Advance Brandon
-
ASP.NET 1.1 Deployment IssueHi all, this may be a trivial issue, but I am having a hard time figuring it out. I have an ASP.NET 1.1 web application of pretty good size... We have my development environment, a development server and database for staging and then our production environment. I added two very small changes to one of the .aspx pages & code behind page. I compiled, and copied that .aspx page over to the development server as well as the .dll that was generated on the successful compile. and it works... But when performing the exact same procedure from the dev server to the production server, my changes do not work. I have tested by adding a simple label and changing its value within the code behind file to see if my changes are being pushed up. They are... The problem lies with a requiredFieldValidator and a javascrip function. So I checked the webuivalidation.js and smartnav.js files under the C:\inetpub\wwwroot\aspnet_client\system_web\1_1_4322 directory... I even pushed just those files up to see what was going on... Please help... I have no idea what is happening here... Again to sum up... Stuff is working in Development Environment but not Production... Brandon :confused:
-
Error HandlingRight, I have been doing the research... It seems that all ASP.NET requests are handled through IIS which get directed to the aspnet_isapi.dll which then handle the error... Thanks for you insight... One more question if you dont mind... What is the rule about placing TRY/CATCH blocks in the application_error event? Thanks again for all you input... Brandon
-
Error HandlingHello all, I have been tasked with implementing an error handling strategy into our web app... I have decided on placing all the event logging and e-mail notification in the application_error event in the global.asax... My problem arises when I generate different types of errors... For example if I place a button on a page that does nothing but throw an error when clicked... I go into the application_error event just fine... On the other had if I place a link on the page with a URL reference to an invalid URL I sometimes (and sometimes not) get into the application_error event handler... I thought maybe there was some other error causing this event to fire... So I guess my question is this: What types of errors or exceptions trigger the application_error event and which ones do not? Thanks all Brandon
-
Media Player DetectionThanks for the input, just curious as to why javascript would be a better choice... I do like to be as efficient as possible... Thanks for your reply....
-
Media Player DetectionHello all, I am currently using a chunck of javascript to detect if a user has media player installed and any plugins.... I was wondering if anyone has heard of a way to detec the media player version without javascript but within ASP.NET using C# or VB...? Thanks all
-
Open, Create, Edit Crystal Reports in VS.NET 2003Hello All, I am pretty stumped on this one... Basically I created a database application that has a Crystal Reports Viewer as a feature, my viewer works and everything in my app runs fine, after my first deployment (with one crystal report created), the need for other reports came about. My problem is that I am now no longer able to open, create or modify a crystal report in Visual Studios 2003. In the solution explorer, it shows the report, but when I double click it or try to open it, I get a "Specified Module Could Not Be Found" error. Thats it???? I have been looking and looking and cant seem find anything... I think maybe a dll or merge module or something could have gotten corrupted or is missing, but, I have no idea where to begin... Any help would be appreciated... Thanks, Brandon
-
C# app using Crystal ReportsHello All, I am pretty stumped on this one... Basically I created a database application that has a Crystal Reports Viewer as a feature, my viewer works and everything in my app runs fine, after my first deployment (with one crystal report created), the need for other reports came about. My problem is that I am now no longer able to open, create or modify a crystal report in Visual Studios 2003. In the solution explorer, it shows the report, but when I double click it or try to open it, I get a "Specified Module Could Not Be Found" error. Thats it???? I have been looking and looking and cant seem find anything... I think maybe a dll or merge module or something could have gotten corrupted or is missing, but, I have no idea where to begin... Any help would be appreciated... Thanks, Brandon
-
Friday riddle...30$ total 25$ went to meal 5$ Back 2$ of the 5$ went to waitress... $28 was spent by the entire crew 28\3 $9.33 9.33x3+2 = $30 Sales tax would have been funnier!!! Heeler