Hi Folks,
Sorry for such a late post. I know you were waiting for the new post from last 2 week. So here I am with a new interesting area which will help in data visualization. “Pivot” control is great tool supported by Silverlight 4 .
I know that I am bit late to explore such a great control. I really want to thank Microsoft Pivot team for this they did such a great job.
Again our 3 basic questions WWH means,
What is pivot viewer control?
Why pivot viewer control?
And lasts but not the least How we can use & utilize it?
So, we first start with pivot viewer.
Pivot viewer is new control supported with Silverlight 4. It is a representational control you can use this control where you want a
BI functionality . Or we can say that it provide a unique way to represent data to analyse. You can filter data on the basis of various filters which you define and the transition from one filter to another filter is so smooth you worth to watch it. You can change view from normal grid view to column view.
Now if you are aware of BI (Business Intelligence) tools then I am just saying here it is one of the BI tools which help end user to get the result by applying multiple filters. You can define facts & fact category (facts are actual data & fact categories are the fields on which you can apply filter to get desire result).
Now I know you are most interested in where & how can we use? So I am taking very interesting topic which is “Cricket World Cup 2011”.
I will explain whole topic with exam
ple in next post.
Thanks
Rajat Jaiswal
this blog is basically for those people who want to help other and help themselves in web development.Main key feature of this blog is asp, asp.net ,Php and other web development lanaguage & Database
Showing posts with label SilverLight. Show all posts
Showing posts with label SilverLight. Show all posts
Monday, January 24, 2011
Monday, January 10, 2011
Silverlight Out Of Browser Application (OOB Application)
Hello friends,
As we have seen last night how to access Video capturing devices with Silverlight 4.0.
Now today I thought why we don’t try for OOB Application means Out Of Browser Application.
Out of Browser application means you can run your Silverlight application just like an EXE we don’t require any browser like IE, Firefox etc to run our Silverlight application. So here is the step which we have to follow to get out of Browser application.
Step 1:- Check Silverlight project’s property page. On this page you will find a checkbox which is “Enable running application out of the browser” just check this checkbox as shown in below fig.
Step 2:- Click on the button “Out-Of-Browser Settings...” and you will find below screen. In this screen you set title for the application, give description for the application, define icons for application.
Step3:- Be sure if you want to access local files of computer then check “Require elevated trust when running outside the browser” checkbox. When this checkbox is checked then you can easily access the file from my documents and local directory easily it give full trust to your application.
Step4 :- you can check whether the application is installed on machine or not with app.current.InstallState you can check Installation state if not installed the you can choose app.current.Install() method to install app.
Hope you will enjoy OOB application.
Thanks & Regards
Rajat Jaiswal
As we have seen last night how to access Video capturing devices with Silverlight 4.0.
Now today I thought why we don’t try for OOB Application means Out Of Browser Application.
Out of Browser application means you can run your Silverlight application just like an EXE we don’t require any browser like IE, Firefox etc to run our Silverlight application. So here is the step which we have to follow to get out of Browser application.
Step 1:- Check Silverlight project’s property page. On this page you will find a checkbox which is “Enable running application out of the browser” just check this checkbox as shown in below fig.
Step 2:- Click on the button “Out-Of-Browser Settings...” and you will find below screen. In this screen you set title for the application, give description for the application, define icons for application.
Step3:- Be sure if you want to access local files of computer then check “Require elevated trust when running outside the browser” checkbox. When this checkbox is checked then you can easily access the file from my documents and local directory easily it give full trust to your application.
Step4 :- you can check whether the application is installed on machine or not with app.current.InstallState you can check Installation state if not installed the you can choose app.current.Install() method to install app.
Hope you will enjoy OOB application.
Thanks & Regards
Rajat Jaiswal
Saturday, January 08, 2011
Webcam or other video device access using Silverlight 4.0
Hello friends,
Microsoft Silverlight 4.0 provided another great feature of Audio & Video capturing. Today I am interested in using one of these cool features which is video capturing.
With the help of the video & audio capturing feature we can get all the capturing devices and use them. In current example there is only one source which is my laptop webcam.
So we are using 8 simple steps. With the help this simple we are capable of capturing webcam and stop capturing.
Step 1:- Create a new project of Silverlight with version Silverlight 4 version.
Step 2:- Draw a shape either rectangle or eclipse. The shape will hold the video.
Step 3:- CaptureDeviceConfiguration provides GetAvailableVideoCaptureDevice & GetDefaultvideoCaptureDevice methods.
The GetAvailableVideoCaptureDevice list out the entire available video capture device attached with your machine and GetDefaultVideoCaptureDevice provides default video capture device.
But before accessing any device from any machine we need to request device access and need to determine whether the device access is allowed or not. For determining the permission or request a device access we have following 2 methods
It will prompt message for accessing the capturing device when you run the program.
var webCam = CaptureDeviceConfiguration.GetDefaultVideoCaptureDevice();
Step 4:-
Once you determine the capture device configuration then you need to assign it to assign as a video capture source device of capturesource.
captureSource = new CaptureSource();
Step 5:- Once you assign the capture source’s video capture device then use a new brush utility provided by Silverlight which is Video Brush. You just need to set source of video Brush which will be your capture source.
var videoBrush = new VideoBrush();
videoBrush.SetSource(captureSource);
Step 6:- Once the video Brush’s source is set then you can fill any shape with video brush.
rectangle1.Fill = videoBrush;
ellipse1.Fill = videoBrush;
Step 7:- now to start capturing from video source you need to call start method of capture source.
In this way you can access video capture device. More than this you can download code from
download source code
Enjoy Silverlight.
Thanks & Regards
Rajat Jaiswal
Microsoft Silverlight 4.0 provided another great feature of Audio & Video capturing. Today I am interested in using one of these cool features which is video capturing.
With the help of the video & audio capturing feature we can get all the capturing devices and use them. In current example there is only one source which is my laptop webcam.
So we are using 8 simple steps. With the help this simple we are capable of capturing webcam and stop capturing.
Step 1:- Create a new project of Silverlight with version Silverlight 4 version.
Step 2:- Draw a shape either rectangle or eclipse. The shape will hold the video.
Step 3:- CaptureDeviceConfiguration provides GetAvailableVideoCaptureDevice & GetDefaultvideoCaptureDevice methods.
The GetAvailableVideoCaptureDevice list out the entire available video capture device attached with your machine and GetDefaultVideoCaptureDevice provides default video capture device.
But before accessing any device from any machine we need to request device access and need to determine whether the device access is allowed or not. For determining the permission or request a device access we have following 2 methods
CaptureDeviceConfiguration.AllowedDeviceAccess CaptureDeviceConfiguration.RequestDeviceAccess
It will prompt message for accessing the capturing device when you run the program.
var webCam = CaptureDeviceConfiguration.GetDefaultVideoCaptureDevice();
Step 4:-
Once you determine the capture device configuration then you need to assign it to assign as a video capture source device of capturesource.
captureSource = new CaptureSource();
Step 5:- Once you assign the capture source’s video capture device then use a new brush utility provided by Silverlight which is Video Brush. You just need to set source of video Brush which will be your capture source.
var videoBrush = new VideoBrush();
videoBrush.SetSource(captureSource);
Step 6:- Once the video Brush’s source is set then you can fill any shape with video brush.
rectangle1.Fill = videoBrush;
ellipse1.Fill = videoBrush;
Step 7:- now to start capturing from video source you need to call start method of capture source.
captureSource.Start();Step 8:- you can stop capturing video by stop method.
captureSource.Stop();From the above description you can capture video from Webcam or any other video device which attached with your machine using Silverlight video capture facility. One more advantage is that you can take image also means image capturing is also possible. For this you have to define asynchronous image capture event.
In this way you can access video capture device. More than this you can download code from
download source code
Enjoy Silverlight.
Thanks & Regards
Rajat Jaiswal
Saturday, December 25, 2010
Project List On which i have to work
Dear Friends,
Merry Christmas!
I Hope you are enjoying the holidays.
After seeing the market trend and requirements I am interested in making following projects which will help me and other friends to understand basic project development and use latest technologies with some productive output.
In coming up sessions i am going to use this project topic and create sample with latest technologies like Silverlight, Windows phone 7, VS 2010 etc.
So here we go
1) College Management
2) School Management
3) Job Portal
4) Forums
5) Blog
6) Employee Management
7) Bug Tracker
8) Time Sheet
9) Address Book
10) Project Management
11) Survey engine
12) Stock Manager
13) Property Broker
14) Shop Management
15) Matrimonial
16) Social Networking
17) Hotel Management
18) Inventory Management
19) Accounting
20) Transport Management
21) Hospital Management
22) Ecommerce
Etc are the project list on which I will work in future to enhance my knowledge with productive work.
I will share code base and case study also in future
Hope you like it Once again wish you Merry Christmas.
Thanks
Rajat Jaiswal
Merry Christmas!
I Hope you are enjoying the holidays.
After seeing the market trend and requirements I am interested in making following projects which will help me and other friends to understand basic project development and use latest technologies with some productive output.
In coming up sessions i am going to use this project topic and create sample with latest technologies like Silverlight, Windows phone 7, VS 2010 etc.
So here we go
1) College Management
2) School Management
3) Job Portal
4) Forums
5) Blog
6) Employee Management
7) Bug Tracker
8) Time Sheet
9) Address Book
10) Project Management
11) Survey engine
12) Stock Manager
13) Property Broker
14) Shop Management
15) Matrimonial
16) Social Networking
17) Hotel Management
18) Inventory Management
19) Accounting
20) Transport Management
21) Hospital Management
22) Ecommerce
Etc are the project list on which I will work in future to enhance my knowledge with productive work.
I will share code base and case study also in future
Hope you like it Once again wish you Merry Christmas.
Thanks
Rajat Jaiswal
Tuesday, December 16, 2008
Silverlight Page Navigation
Dear all,
When you are new guy in silverlight then you will find the problem how to navigate in silverlight page.
even i am also get stucked in that for this reason i am writing this post to help people like me.
As you see the initial this how the default page set or load in silverlight application then you will answer in App.xaml file and you will find below code.
Private Sub Application_Startup(ByVal o As Object, ByVal e As StartupEventArgs) Handles Me.Startup
Me.RootVisual = new Page()
End Sub
It means that when ever application start it shows page.xaml because you have assign RootVisual Page class object.
now what if you want to navigate from a button click to other page like rajat.xaml.
for this you have to right some simple code. like below
first in App.xaml Start up event
Private Sub Application_Startup(ByVal o As Object, ByVal e As StartupEventArgs) Handles Me.Startup
Dim tGrid As New Grid()
tGrid.Children.Add(New Page())
Me.RootVisual = tGrid
End Sub
Then On the button click event of Page.xaml you have to write below code
Private Sub btnNavigate_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
Dim tmp = CType(Application.Current.RootVisual, Grid)
tmp.Children.Insert(0, New Rajat()) 'Assign Rajat.xaml page class object to grid child
tmp.Children.RemoveAt(1) ' Remove old page which is page.xaml
Application.Current.RootVisual = tmp 'Assign Root visual again the page which we need to show
End Sub
I hope it will be useful .
Thanks
Rajat
When you are new guy in silverlight then you will find the problem how to navigate in silverlight page.
even i am also get stucked in that for this reason i am writing this post to help people like me.
As you see the initial this how the default page set or load in silverlight application then you will answer in App.xaml file and you will find below code.
Private Sub Application_Startup(ByVal o As Object, ByVal e As StartupEventArgs) Handles Me.Startup
Me.RootVisual = new Page()
End Sub
It means that when ever application start it shows page.xaml because you have assign RootVisual Page class object.
now what if you want to navigate from a button click to other page like rajat.xaml.
for this you have to right some simple code. like below
first in App.xaml Start up event
Private Sub Application_Startup(ByVal o As Object, ByVal e As StartupEventArgs) Handles Me.Startup
Dim tGrid As New Grid()
tGrid.Children.Add(New Page())
Me.RootVisual = tGrid
End Sub
Then On the button click event of Page.xaml you have to write below code
Private Sub btnNavigate_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
Dim tmp = CType(Application.Current.RootVisual, Grid)
tmp.Children.Insert(0, New Rajat()) 'Assign Rajat.xaml page class object to grid child
tmp.Children.RemoveAt(1) ' Remove old page which is page.xaml
Application.Current.RootVisual = tmp 'Assign Root visual again the page which we need to show
End Sub
I hope it will be useful .
Thanks
Rajat
Subscribe to:
Posts (Atom)





