Nov 13, 2007

Missing System.Data.DataSetExtension, Version=2.0.0.0

I recently built a relatively simple application in VB.net using
VS Studio 2008(the front end is attached to an Access database).
Everything seems to run smoothly on my machine and on any other
machine that has the .net 3.5 framework installed, but on any machines
running .net 2.0 or 1.1 I get an error message stating
"Could not load file or assembly 'System.Data.DataSetExtensions, Version=2.0.0.0"
I'm using the dataset object to load the database records so I'm assuming
the problem is related to this.

As as summary, i found that:
1.The client machines running applications developed in .net 3.5 HAVE to have the 3.5 framework installed.

2. Developer machine should have dotnexfx2.0 installed too. ( My machine is Vista come with existing 2.0 framework, thus I need to add reference of this file: System.Data.DataSetExtensions.dll

Nov 12, 2007

Using XPath and Xdoc In Xml Documents

'// sample xml

Dim sb As New System.Text.StringBuilder
sb.Append("")
sb.Append("1000")
sb.Append("1")
sb.Append("07.11.2007")
sb.Append("31.12.9999")
sb.Append("GARTENSTR. 66")
sb.Append("")
sb.Append("76031")
sb.Append("KARLSRUHE")
sb.Append("DE")
sb.Append("")
sb.Append("721121212")
sb.Append("
")



Dim xDoc As New XmlDocument
xDoc.LoadXml(_InputXML)

'// Get Attribute
Dim tcode As String = xDoc.FirstChild.LocalName
Dim profile As String = xDoc.FirstChild.Attributes.GetNamedItem("profile").InnerText
Dim rfcname As String = xDoc.FirstChild.Attributes.GetNamedItem("rfcname").InnerText
Dim cpuid As String = xDoc.FirstChild.Attributes.GetNamedItem("cpuid").InnerText
Dim role As String = xDoc.FirstChild.Attributes.GetNamedItem("role").InnerText
Dim desc As String = xDoc.FirstChild.Attributes.GetNamedItem("desc").InnerText

' Dim doc As XPathDocument
Dim nav As XPathNavigator
Dim iter As XPathNodeIterator

'doc = New XPathDocument(_InputXML)
'nav = doc.CreateNavigator
nav = xDoc.CreateNavigator
iter = nav.Select("/") 'Your node name goes here


While iter.MoveNext
Dim iterNews As XPathNodeIterator
iterNews = iter.Current.SelectDescendants(XPathNodeType.Element, False)
While iterNews.MoveNext
' Debug.WriteLine(iterNews.Current.Name & ": " & iterNews.Current.Value)
If Not iterNews.CurrentPosition = 1 Then
SFO.Exports(iterNews.Current.Name).Value = iterNews.Current.Value
End If

End While
End While

dim sPERNR as string = xDoc.GetElementsByTagName("PERNR").Item(0).InnerText

Nov 10, 2007

How To Monitor Whether A Hosting Is Up?

Pingdom.com
http://www.pingdom.com
  • Profesional Report
  • Sms notification
  • Statistic

AmIUp.co.uk

http://www.amiup.co.uk
  • No need extra configuration
  • Good Report







Microsoft Uptime.exe
http://support.microsoft.com/kb/232243

A new tool, Uptime.exe, is available for displaying system availability. Uptime.exe can be used to display the current uptime of the local or remote system. Optionally, it can also scan the Event log for key system events such as system restart or computers that are not responding (hanging). Where possible, it also calculates system availability. It is primarily intended for Windows NT Server 4.0 Service Pack 4 or later, though it operates in limited fashion on earlier versions.




Host-Tracker.com
http://host-tracker.com







  • Possibility to receive error notifications both to your Email, ICQ, GTalk or cell-phone via SMS;
  • Possibility to receive specified (daily, weekly, monthly, quarterly, yearly) reports;
  • Accumulation of availability statistics with further reporting;
  • Resource accessibility instant check.
  • Uptime button;
  • Distributed monitoring;
  • Instant site check;
  • Monitoring period – every 1/5/15/30/60 minutes;
  • The HEAD/POST/GET HTTP-methods support;
  • Keyword presence control of a page;

UpTime.OpenAcs.Org
http://uptime.openacs.org/uptime/about.adp
  • Free

Warcraft 3 Strategy Site

Warcraft 3 Strategy Site

http://www.battle.net/war3/

http://www.infoceptor.com/strategy/war3exp/

http://www.warcraftstrategy.com/

http://www.war3world.com/modules.php?name=Strategy

http://www.war3world.com/

Nov 8, 2007

Xceed Datagrid For WPF In XBAP

I did a XBAP Demo in my company sharing session, and wish to see more interactive and creative design with Microsoft WPF , .net 3.0 Framework.

Wooow, just surf around for free datagrid in WPF, I got this Xceed.

Xceed Component Demo

Doesn't it look pro ?

I am not Xceed stuff, anyway feel amazed with the little visual effects and design in this rich media web application.

Take a look! Wish to explore it more and hope I can apply my macromedia flash skill into this WPF too!

Capture Web Shot With FireShot Add-On

Do you ever want to print screen a website and send the image to you friend via IM?

I did this quite a lot of time. Pressing "print screen" button, then in "run" command type "mspaint" and paste the clips on launched Microsoft Paint. Is this the simplest way ?

I am wondering until I discovered FireShot ( Firefox add-on ), it come in handy with a click of snap, and I got my image in specific folder to send to my college or friend.

For IE user, I am not sure how to install this add on on it. If you have any idea, just post to me.

Here we go!

Launch with Firefox , this url: https://addons.mozilla.org/en-US/firefox/addon/5648

Little Intro About FireShot 0.20 by susbox

FireShot is a Firefox extension that creates screenshots of web pages. Unlike other extensions, this plugin provides a set of editing and annotation tools, which let users quickly modify captures and insert text and graphical annotations. Such functionality will be especially useful for web designers, testers and content reviewers. It's possible to choose whether entire web page or only visible part of this page should be captured. Screenshots can be saved to disk (PNG, JPEG, BMP), copied to clipboard, e-mailed and sent to external editor for further processing.

Adds the ability to take a screenshot of web page (entire of visible part), edit it, add annotations and save (PNG, JPEG, BMP), copy to clipboard, send to external editor or e-mail it.

Simple JavaScript API For Blog Editor

Blog This - simple editor using the Blogger JavaScript API


You have to get your Google API Key first!



Try it!