hB0

September 2007 - Posts

DLL Help Database Search

DLL Help exists to help developers, system administrators, and other IT professionals who face file version conflicts with Microsoft software. Use DLL Help to identify the software that installed a specific version of a DLL file.

http://support.microsoft.com/dllhelp/
http://support.microsoft.com/servicedesks/fileversion/dllinfo.asp?fr=0&sd=msdn
http://support.microsoft.com/servicedesks/fileversion/dllinfo.asp

Posted: Sep 28 2007, 01:38 AM by hB0 | with no comments |
Filed under: ,
Visual Studio Shell

With the upcoming Visual Studio Shell, Microsoft is looking to open its base IDE to a wider ecosystem.
Visual Studio Shell provides a core IDE for users to develop their own custom programming language or development tools.

Full: http://searchvb.techtarget.com/originalContent/0,289142,sid8_gci1273412,00.html

Posted: Sep 25 2007, 01:44 PM by hB0 | with no comments
Filed under: ,
Process XML Dot Net -> Parse to Object

Here we consider a small aspect found while parsing XML string.
We are using Dot Net (1.1) but we process xml in general (non-dotnet specific version) using the XPath expressions.

Situation is we have XML string format as:
<ns:XMLMessage xmlns:ns="http://domain.com/codename/MessagesXMLSchema.xsd">
    <ns:EventType>task</ns:EventType>
    <ns:EventName>TASK_COMPLETE</ns:EventName>
    <ns:JobId>02000016000004630144000100000070</ns:JobId>
    <ns:TaskId>02000016000004630154000200000070</ns:TaskId>
    <ns:EventDateTime>2007-09-06T15:26:25+04:00</ns:EventDateTime>
</ns:XMLMessage>
 = strXMLMsg

Scene 1:
Dim xmlDoc As New Xml.XmlDocument
xmlDoc.LoadXml(strXMLMsg)
strXPath = "/XMLMessage /EventName"
xmlNode = xmlDoc.SelectSingleNode(strXPath)
strData = xmlNode.InnerText
In this seen we will not be able to get our parsed data. And the issue is the inclusion of the namespace and its prefix.
So to get the parsed data correctly we have to use the way shown in scene 2.

Scene 2:
Dim xmlDoc As New Xml.XmlDocument
xmlDoc.LoadXml(strXMLMsg)
xsn = New Xml.XmlNamespaceManager(xmlDoc.NameTable)
XMLNamespace = "http://domain.com/codename/MessagesXMLSchema.xsd"
XMLNamespacePrefix = "ns"
xsn.AddNamespace(XMLNamespacePrefix , XMLNamespace)
strXPath = "/ns:XMLMessage /ns:EventName"
xmlNode = xmlDoc.SelectSingleNode(strXPath,xsn)
strData = xmlNode.InnerText
In this way we will get our data parsed correctly!

I hope the situation mentioned above is somewhat helpful.
Any questions/issues/suggestions/imporvements - please mention them in your comments.

Have a nice time.

---
hB

Posted: Sep 11 2007, 12:19 AM by hB0 | with no comments |
Filed under: ,