Posted in .NET, tagged Silverlight2 on June 18, 2009 | Leave a Comment »
Here is a quick example how you can call WCF Service using silverlight 2.
Add a service reference in Silverlight Protject
See Below for code example….
AService.AWSClient c = new A.AService.AWSClient();
c.ValidateLoginCompleted += new EventHandler
<A.AService.ValidateLoginCompletedEventArgs>
(c_ValidateLoginCompleted);
c.ValidateLoginAsync(“admin”, “password”);
void c_ValidateLoginCompleted(object sender,
A.AService.ValidateLoginCompletedEventArgs e)
{
AService.Player p = e.Result;
MessageBox.Show(p.sBirthDate.ToString());
}
Read Full Post »
Posted in .NET on December 31, 2008 | Leave a Comment »
Check out this website, how it works is after registration, you can ask any technical question and thousands of its member will be ready to give you the answer.
Please read the FAQ section before posting any question.
Read Full Post »
Posted in .NET on December 29, 2008 | Leave a Comment »
Have you seen new web site Maulik Soni on .NET & Beyond ?
Maulik Soni on .NET & Beyond
Maulik Soni on .NET & Beyond
Maulik Soni on .NET & Beyond
Maulik Soni on .NET & Beyond
Maulik Soni on .NET & Beyond
Read Full Post »
Posted in .NET, tagged ASP.NET CLOB, Oracle on July 24, 2008 | 9 Comments »
[KEYWORDS: ASP.NET READ WRITE CLOB DATA, VB.NET READ WRITE ORACLE CLOB DATA, ORACLE CLOB, CLOB, ORACLE CLOB READ WRITE]
Oracle has Varchar2 with max length of 4000 chars. If you need to sore more than that you have to use CLOB datatype
CLOB stores 4gb of chars. But remember, .NET Only supports string worth 2gb. so you [...]
Read Full Post »
Posted in .NET on March 25, 2008 | Leave a Comment »
Logging Events
Why do we need to Create EventLog ?
No matter how well written and tested an application is, chances are high that there will be a bug or some unexpected behavior. Moreover, users typically aren’t developers and don’t use the same terminology that developers are accustomed to. It’s common to have users report problems using [...]
Read Full Post »
Posted in .NET on April 25, 2007 | 42 Comments »
Here is the solution of printing PDF file by giving printer name
Dim pathToExecutable As String = “AcroRd32.exe”
Dim sReport = “C:Test.PDF” ‘Complete name/path of PDF file
Dim SPrinter = “HP Officejet 5600 seriese” ‘Name Of printer
Dim starter [...]
Read Full Post »
Posted in .NET on March 16, 2007 | 8 Comments »
I found this question at many places that how to print pdf file in .net in which you have only the full path of that pdf file
here is you solution in vb.net
Dim psi As New ProcessStartInfo
psi.UseShellExecute = True
psi.Verb = “print”
psi.WindowStyle = ProcessWindowStyle.Hidden
psi.FileName = sReport
Process.Start(psi)
Read Full Post »
Posted in .NET on March 16, 2007 | 12 Comments »
As a web developer we know that most of the time our application is having a login as well as the forget password kind of requirement.
Now, using visual studio 2005 it’s very easy to design a login page because the inbuilt login tab has been added into the toolbox of VS 2005 editor, which has [...]
Read Full Post »