This is the latest version of Auto Shutdown. The added Features are
1. Installshield setup file, just click and install.
2. It saves the last shutdown time in the application settings.
Download
Thursday, December 31, 2009
Accessing a crossdomain Feed from a client application (Silverlight/Flash) using Yahoo Pipes
One of the cool features of Silverlight 3 is the support for cross-domain web requests. This enables you to call web APIs directly from your Silverlight client without proxying the request through your own server. The service you’re calling must provide a policy file permitting cross-domain callers. This is the same security mechanism used by Flash to make cross-domain calls, and in fact Silverlight 3 respects the same crossdomain.xml format as Flash. Any service callable by Flash is now callable by Silverlight 3.
Several popular Web 2.0 services, like Flickr, have a crossdomain.xml file that allows for cross-domain Silverlight clients. Others, like Twitter,Google News have a more restricted crossdomain.xml file that only allows callers from certain domains. Most sites however don’t provide a crossdomain.xml, so for instance if you want to consume their RSS feed you need to proxy the request through your server.
Today I started on a new Silverlight project where we want to consume RSS feed, and I was just thinking to add my “standard” WCF proxy to the project then I got the information about yahoo pipes from google . Yahoo Pipes is a really cool service that let’s you define fairly complex web integrations using drag-and-drop. You drag different sources, filters and operations on a design service and “connect” the pipes together to pipe and transform the data. When I checked http://pipes.yahoo.com/crossdomain.xml I was a little disappointed to get a 404, but after digging around a little it turns out Yahoo host their APIs on a different URL: http://pipes.yahooapis.com/crossdomain.xml. Yahoo Pipes supports cross-domain callers!
Several popular Web 2.0 services, like Flickr, have a crossdomain.xml file that allows for cross-domain Silverlight clients. Others, like Twitter,Google News have a more restricted crossdomain.xml file that only allows callers from certain domains. Most sites however don’t provide a crossdomain.xml, so for instance if you want to consume their RSS feed you need to proxy the request through your server.
Today I started on a new Silverlight project where we want to consume RSS feed, and I was just thinking to add my “standard” WCF proxy to the project then I got the information about yahoo pipes from google . Yahoo Pipes is a really cool service that let’s you define fairly complex web integrations using drag-and-drop. You drag different sources, filters and operations on a design service and “connect” the pipes together to pipe and transform the data. When I checked http://pipes.yahoo.com/crossdomain.xml I was a little disappointed to get a 404, but after digging around a little it turns out Yahoo host their APIs on a different URL: http://pipes.yahooapis.com/crossdomain.xml. Yahoo Pipes supports cross-domain callers!
I quickly created a really simple pipe. It uses the Rss Feed url of google news, then gives the output and a url of pipes.yahoo.com , just change 'yahoo' to 'yahooapis'.... Now you got a link which you can use in your flash or silverlight application to access the crossdomain feeds directly..
Thursday, December 24, 2009
Saturday, December 12, 2009
Big Day for Soulware!
A big day for Soulware, Successfully cracked BC's viva, 3 of us was the fastest programmer and the 4th one almost done it !!
Wednesday, November 11, 2009
Auto Shutdown
An Useful Software for all broadband subscriber. Just start your download, Schedule the shut down time, and go to sleep, your computer will shut down automatically at the scheduled time. I just made it few days ago, I'm posting the download link also giving the source code, I will update the software soon with more features, stay in touch..
Required : .Net Framework 2.0 (Which you all supposed to have if you are using Windows XP or later Versions)
This is the main code...
Required : .Net Framework 2.0 (Which you all supposed to have if you are using Windows XP or later Versions)
Public Class FormMain
Private ShutDownTime As DateTime
Private Sub CloseToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CloseToolStripMenuItem.Click
Me.Close()
End Sub
Private Sub AboutToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AboutToolStripMenuItem.Click
About_Box.ShowDialog()
End Sub
Private Sub Form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.ToolStripStatusLabelTime.Text = TimeOfDay.ToLongTimeString
Me.DateTimePicker1.Value = Now
Me.LabelStatus.Visible = False
Me.TimerCheckMinimize.Enabled = True
End Sub
Private Sub TimerLabelTime_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles TimerLabelTime.Tick
Me.ToolStripStatusLabelTime.Text = TimeOfDay.ToLongTimeString
End Sub
Private Sub Button_Set_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_Set.Click
If Me.DateTimePicker1.Value <= Now Then
Me.ShutDownTime = Me.DateTimePicker1.Value.AddDays(1)
Else
Me.ShutDownTime = Me.DateTimePicker1.Value
End If
Me.TimerShutDown.Enabled = True
Me.LabelStatus.Text = "The Computer will Shut Down at " & Me.DateTimePicker1.Value.ToLongTimeString
Me.LabelStatus.ForeColor = Color.Green
Me.LabelStatus.Visible = True
End Sub
Private Sub Button_Reset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_Reset.Click
Me.LabelStatus.Text = "Select a Time and set the Timer"
Me.LabelStatus.ForeColor = Color.Red
Me.LabelStatus.Visible = True
Me.TimerShutDown.Enabled = False
End Sub
Private Sub TimerShutDown_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles TimerShutDown.Tick
If Now >= ShutDownTime Then
System.Diagnostics.Process.Start("shutdown", "-s -t 00")
Me.TimerShutDown.Enabled = False
End If
End Sub
Private Sub NotifyIcon1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles NotifyIcon1.Click, NotifyIcon1.BalloonTipClicked
If Me.WindowState = FormWindowState.Minimized Then
Me.Show()
Me.WindowState = FormWindowState.Normal
Me.TimerCheckMinimize.Enabled = True
Me.TimerLabelTime.Enabled = True
End If
End Sub
Private Sub TimerCheckMinimize_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles TimerCheckMinimize.Tick
If Me.WindowState = FormWindowState.Minimized Then
Me.Hide()
Me.NotifyIcon1.ShowBalloonTip(2000)
Me.TimerCheckMinimize.Enabled = False
Me.TimerLabelTime.Enabled = False
End If
End Sub
End Class
This is the main code...
Saturday, November 7, 2009
Friday, November 6, 2009
Another Boring Day
It turns to be another boring day. When we'll get the freedom to work on our own, to innovate freely? Time is just getting wasted following the bogus syllabus. Is this the way we'll reach our destiny?
Subscribe to:
Posts (Atom)







