Feeds:
Posts
Comments

Archive for the ‘.NET’ Category

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 »

StackOverFlow

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 »

Maulik Soni on .NET & Beyond

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 »

[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 »

Logging Events

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 »

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 »

Print PDF file in .net

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 »

How to use login control in .net

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 »