Showing posts with label SilverLight Tutorial. Show all posts
Showing posts with label SilverLight Tutorial. Show all posts

Saturday, October 6, 2012

Using Query Expression in Silverlight Web Resource


During my work on MS CRM 2011 I have most of my work is on Silverlight web resource and here in this post I will list how to use the query expression in your Silverlight web resource. This will be...
Read More from Original Source

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C#,.NET,Architect,Intermediate,Advanced,VS2010,.Net,Articles,SilverLight,SilverLight Tutorial,Visual Studio,Web Development, Query Expression, Web Resources

Thursday, August 30, 2012

Passwords & Secrets (Encryption & Observable Collections)


Passwords & Secrets is a notepad-style app that you can protect with a master password. Therefore, it's a great app for storing a variety of passwords and other secrets that you don't want getting into the wrong hands. The note-taking functionality is top-notch, supporting

Auto-save, which makes jotting down notes fast and easy
Quick previews of each note
The ability to customize each note's background/foreground colors and text size
The ability to email your notes

On top of this, the data in each note is encrypted with 256-bit Advanced Encryption Standard (AES) encryption to keep prying eyes from discovering the data. This encryption is done based on the master password, so it's important that the user never forgets their password! There is no way for the app to retrieve the data without it, as the app does not store the password for security reasons.

Read More from: Original Source

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,Advanced,VS2010,.Net,Articles,ASP.Net,ASP.Net Tutorials,C#,Computer Tips and Tricks,Computer Tutorials,SilverLight,SilverLight Tutorial,Window Phone Tutorials,WP7,WP8,WPF

Monday, August 27, 2012

Step by Step Creating UserControl : DataGridView With Paging


I have Created this UserControl for those who are looking for DataGridView paging functionality. So many times we are using DataGridView in our Windows application with paging. So my intention for this article is to show User Control creation and To provide DataGridView with paging functionality.

Although Creating paging functionality is very basic. but i want to show you features of UserControls through this article and i think this would be the best topic to learn user control. People already know about DataGridView and Paging so there won't be any additional knowledge required to understand the functionality.

Read More....


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,Computer Tutorials,Programming Tutorials,Sample Code,SilverLight,SilverLight Tutorial,WPF,LINQ,XAML,C# 4.0

Silverlight 5 Modal Windows


You can display multiple Window instances in trusted, out-of-browser applications. This enables you to create non-modal dialog boxes, tear-off windows, and user-adjustable layouts that can span multiple monitors.

Silverlight provides support for modal dialog boxes that work in-browser and out-of-browser against the main window, like the ChildWindow control. However Silverlight's built-in support for native Modal Windows is limited to the MessageBox class.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,Advanced,VS2010,SilverLight,SilverLight Tutorial,Silverlight 5,XAML

Thursday, August 2, 2012

Playing Youtube videos in Silverlight 5 using VLC Media Player


In this article we would see, how we could leverage the support of VLC control for playing "Youtube" videos.

Requirements
You need Silverlight 5 SDK installed, as VLC controls are available for Silverlight 5 support.
VLC player installed. (Version 1.2 onwards)

We would create a sample Silverlight 5 project. Remember that we need to have Out-Of-Browser enabled. (currently it supports OOB to access VLC COM). We would also need MVVMLight libraries for our MVVM pattern.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

SilverLight,SilverLight Tutorial

Tuesday, July 31, 2012

Telerik Silverlight & WPF Controls Q2’12 SP1 Release is Here - with PivotGrid CTP


In keeping with one of our favorite traditions, it is a great pleasure to announce the first service pack of Q2 for RadControls for Silverlight and RadControls for WPF. As usual, we are shipping numerous improvements across all the controls. The most exciting news, however, is that the service pack includes the first public CTP version of RadPivotGrid. Our pivot control is a very powerful tool for slicing and dicing your complex data in a meaningful way.

Read More from: Original Source

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,SilverLight,SilverLight Tutorial,Visual Studio,WPF,Telerik, RadControls

Wednesday, July 25, 2012

Reading QR Codes In Your WP App


I have recently been working on an application for a client that needs to read QR codes. This has lead to some interesting findings. There are a couple of approaches you can use. One is to take a picture and evaluate it for a code and the other is more like the Bing Vision feature. Both of them can be accomplished by leveraging the Silverlight ZXing library from Codeplex.

In order to have QR code images to test I would suggest going to QRStuff.com. It is a site where you can freely generate QR images that you can prove out your app against. This is how I generated the image at the top of this post. If your code is working at the end you should be able to easily get back to this site. Wink! Wink!

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,Mobile Development Tutorials,Mobile Developments,SilverLight,SilverLight Tutorial,Visual Studio,Window Phone Tutorials,WP7,WP8,XAML

Saturday, May 14, 2011

Reading Harddisk Information Using Silverlight 4 Out Of Browser Application


To read the hard disk information in silverlight was my question which I have search on net and was keen to do that, because I want to learn the silverlight. So after search on internet and searching the msdn for this question here is what I have found. You can see the out of the sample code in the Image 1, Here in the Image 1 I have display the hard disk partition just like the window 7 , the title , the progress bar to indicate the usage of the partition space and the at the end the summary of the the partition size.
Image 1
Now let us start with the code sample. First you have to create silverlight out of browser application for this you can click here to read how to create an out of browser application. From the link you can learn how to create an out of browser application in detail.Below is my code which is used to get the drive information. Here you can see that I have called the AutomationFactory.CreateObject, and passing the progID to the CreateObject.The AutomationFactory Provides access to registered Automation servers.Automation is a Windows-based technology that applications use to expose functionality to scripting tools and other applications. For example, you can use Automation to add Office features to your Silverlight-based applications.
An application or component exposing functionality is called an Automation server; an application accessing the functionality is called an Automation client. Because Automation servers must be preinstalled and run in full trust, Silverlight enables only trusted applications to serve as Automation clients.
dynamic fileSystem = AutomationFactory.CreateObject("Scripting.FileSystemObject");
dynamic drives = fileSystem.Drives;
DriveInformationCollection = new List≶DriveInformation>();

foreach (var drive in drives)
{
try
{
if (drive.IsReady)
DriveInformationCollection.Add(new DriveInformation
{
VolumeName = drive.VolumeName,
DriveLetter = drive.DriveLetter,
TotalSpace = drive.TotalSize,
FreeSpace = drive.FreeSpace,
FileSystem = drive.FileSystem,
DriveType = (eDriveType)Enum.ToObject(typeof(eDriveType), drive.DriveType)
});
}
catch (COMException Ex)
{
string strMessage = Ex.Message;
}
}
Now we have the reference of the automation server which is store in fileSystem of type dynamic.Dynamic is a new type provided by framework 4, you can get more information about the dynamic type by clicking here. Next I have call the drives object of the fileSystem to store the drive in new dynamic object. And then I have used to foreach loop to get the drive information to be store in the class which I have created with the name DriveInformation name.The Drive object allows you to gain information about the various drives attached to a system, either physically or over a network. Its properties allow you to obtain information about:
  • The total size of the drive in bytes (TotalSize property)
  • How much space is available on the drive in bytes (AvailableSpace or FreeSpace properties)
  • What letter is assigned to the drive (DriveLetter property)
  • What type of drive it is, such as removable, fixed, network, CD-ROM, or RAM disk (DriveType property)
  • The drive's serial number (SerialNumber property)
  • The type of file system the drive uses, such as FAT, FAT32, NTFS, and so forth (FileSystem property)
  • Whether a drive is available for use (IsReady property)
  • The name of the share and/or volume (ShareName and VolumeName properties)
  • The path or root folder of the drive (Path and RootFolder properties)
In the view of the form. I have used the list box control to display the drive information , which consist of the text block and the progress bar control.For progress bar control I have added two ChangePropertyAction. The condition for first ChangePropertyAction is to check the value of the progress bar if the value is greater then or equal to 80 then the progress bar will be shown red and if the value of the progress bar is less then 80 then progress bar will be shown normally. And the bottom of the user control I have used the grid layout control, the data context of the grid control is set to the selected Item of the list box control. When the selection of the list box changed the correspondent detail of the selected item will be displayed at the bottom of the user control.

References 

1- Automation Class

2- Working with Drives and Folders

Tuesday, February 8, 2011

What is the difference between User Settings and Application Settings in WPF?


The User Settings are Read/Write, they can be read or write even at runtime and can be saved.

The Application Settings are read-only, they can only be written at design time.

What is the use of yield keyword in C#?



Yield keyword is used in an iterator block to calculate the value for the enumerator object.

An iterator is a method,
get accessor, or operator that allows us to use foreach loop on object references of user-defined classes.

yield keyword can be used as:

1)yield return ;
or
2)yield break;


code snippet

using System;

//This namespace provides the IEnumerator interface

using System.Collections;

public class demo

{

//GetEnumerator method of IEnumerable interface creates the iterator

public IEnumerator GetEnumerator()

{

for (int i = 1; i <=5; i++)

{

yield return i;

}

}





static void Main()

{



demo t=new demo();



//foreach loop calls the GetEnumerator method

foreach (int i in t)

{

Console.WriteLine(i);

}

}

}


output:

1
2
3
4
5

Found interesting?

Sunday, January 23, 2011

Send To Back, Backward, Bring To Front, Forward In Silverlight



This is a demonstration of context menu for ordering any control. In this case, i have used multiple overlap images to show

  • Bring to Front
  • Bring Forward
  • Send Backward
  • Send to Back
  • Delete
You can see the live example here [live demo] 
The SOURCE CODE(.zip) is given at the end of the page for download.

You can download the source code from here [download link] 
HARD CODE DOWNLOAD URL [ http://www.megaupload.com/?d=FQ1RQTOI ]

LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails