NinethSense oWnZ mE!: Praveen’s drawing book

Choose a Topic:

Tue
31
Oct '06

Notepad trick

Take notepad. 
Type .LOG  ... on the Desktop or anywhere..
Save and Exit.

Now goes the magic....
double click ;-)  ... you can see current date and time 'logged'

Each time you use file, the actual time and date will be inserted automatically.

Mon
23
Oct '06

Microsoft Robotics Studio

Wanna start coding for Robots? start - http://msdn.microsoft.com/robotics/

Tutorials is located at http://msdn.microsoft.com/robotics/learn/default.aspx
Thu
19
Oct '06

Build DateTime from values

If you want to build a DateTime from values… suppose you have columns in your table, say fyear and fmonth and you want to make a DateTime value for doing some checkings….

convert(datetime,cast([fmonth] AS varchar(2))+‘-01-’+cast([fyear] AS varchar(4)))


Eg:
 
SELECT * 
FROM pamodea 
WHERE convert(datetime,cast([fmonth] AS varchar(2))+‘-01-’+cast([fyear] AS varchar(4))) BETWEEN @startdate AND @enddate
'

Microsoft Internet Explorer 7 Released

IE7 is no more a beta. You can download it from : http://www.microsoft.com/windows/ie/default.mspx?mg_ID=10010


http://www.microsoft.com/library/media/1033/windows/ie/images/ie7/home/ie7_home_main.jpg
Tue
17
Oct '06

Check my testimonials pleassssss

http://ninethsense.com/blog/?page_id=16
Tue
10
Oct '06

My first JSP program

I installed Apache Tomcat and put a file with the following code in its root foler

< %
	int a = 10;
	int b = 10;
	int c = a + b;
	
	out.println("Sum = " + c);

%>
Got result “Sum = 20 ” without any error :-D


So my FIRST JSP PROGRAM worked fine!!!
Thu
5
Oct '06

Webservice tutorial with C#

Anyway hope this will be help ful for Webservice starting people

Creating a webservice application with dotnet is simple as A B C….

Just select “Web Service” from create a new window. All the necessary code will be premade by windows itself

Which will look like this:
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
    public Service () {

        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }

    [WebMethod]
    public string HelloWorld() {
        return "Hello World";
    }
    
}
The web application is over and now you can create an application for accessing this web service

Here I used a standard C# Windows application. Add “Web Reference” to your web service. (Eg: http://pvn/WebService/Service.asmx).
Now place a button on the form and type the following C# code
 private void button1_Click(object sender, EventArgs e)
        {
            pvn.Service s = new WindowsApplication1.pvn.Service();
            MessageBox.Show(s.HelloWorld());
        }


Web Service Over!!!

I found this link and felt very useful: http://abstractvb.com/code.asp?A=1006
Sun
1
Oct '06

JavaScript Trick

I got this trick from www.dotnetindia.com - a post by Anand M. I tried this with IE & Mozilla Firefox and seems interesting.

Open the browser and launch a website (Say google.com or microsoft.com). Then type the following on the Address bar:

 
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200;x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i<dil ;i++){DIS=DI[ i ].style; DIS.position=‘absolute’;DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5;DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval(‘A()’,5); void ( 0 )
'

PraVeeN is MVP now!!!

heyyyyyyyy…


One of my dream came true today :)

Microsoft MVP I got a mail with subject “[MVP] Congratulations! You have received the Microsoft MVP Award”.


Special thanks to all T-MUG friends :)


Check my MVP Profile at https://mvp.support.microsoft.com/profile=86754754-889E-4201-BBCA-6E52476AF936
The CodeProject Microsoft Developer Network Official ASP.NET Forums Microsoft .NET Framework Community Microsoft Most Valuable Professional Kidoos forums Microsoft Visual Studio Developer Home Professional Information Technology Solutions Microsoft Research Home Trivandrum Microsoft Users Group Community Website