another video on web2.0 , its really very informative
Tuesday, November 10, 2009
video on web2.0
another video on web2.0 , its really very informative
Wednesday, November 4, 2009
Generate Sitemap using ASP
Here i have created one sample application that can read xsl file and according to that it generate sitemap of your site.
on my Excel file i have place all the links of my sites.
now how to get this ,
1 .open your site say www.google.com
2. now on your web developer toolbar (Mozilla addon) on Information section > click view link information it will open open page and in that you can find all the site links
3. copy that on excel file and save it ,
now write application that read a data from excel and generate sitemap
< %
Const adOpenStatic = 3
Const adLockPessimistic = 2
Dim cnnExcel
Dim rstExcel
Dim I
Dim iCols
Set cnnExcel = Server.CreateObject("ADODB.Connection")
cnnExcel.Open "Driver={Microsoft Excel Driver (*.xls)};DriverId=790;Dbq="&Server.MapPath("1.xls")&";DefaultDir="&Server.MapPath(".")&";" Set rstExcel = Server.CreateObject("ADODB.Recordset")
rstExcel.Open "SELECT * FROM [Sheet1$]", cnnExcel
iCols = rstExcel.Fields.Count
rstExcel.MoveFirst
xmlData = ""
xmlData = xmlData&""
Do While Not rstExcel.EOF
xmlData = xmlData& ""
xmlData = xmlData& ""& rstExcel.Fields.Item(0).Value & " " & vbCrLf
xmlData = xmlData& " "
rstExcel.MoveNext
Loop
xmlData = xmlData& " "
Response.Write(xmlData)
rstExcel.Close
Set rstExcel = Nothing
cnnExcel.Close
Set cnnExcel = Nothing
% >
Run this file and view source code of this file , save view source file as a "Sitemap.xml"
Wednesday, October 28, 2009
Jquery Shake Effect
here i have some collection of that effects , hope u like it
1. Jquery Shake
$("div").click(function () {
$(this).effect("shake", { times:3 }, 300); //specify the effect with how much time u want to shake Effects
});
2.Right side Shake
#shaker { position:fixed; top:10px; right:10px; width:299px; height:253px; display:none; }
define your shake box according to your location.
3.Buzzing Login form
<script type="text/javascript" src="jquery-1.3.2.min.js" > </script>
<script type="text/javascript" src="vibrate.js" > </script>
add this js on your application . view Source
4. Shaking Menu Options
with this coole Effects
1. OthersFade()
2. OthersJump()
3. OthersBlink()
4. OthersRollUp()
5. OthersRollDown()
6. OthersVibrate()
5.Flash ShakingEffects
6.basiceffects
hope you like it .
if you know more plz add on comments
Friday, October 16, 2009
File comparison tool free download.
here i found very nice file comparison tool call Turtoise SVN .
Turtoise SVN is Free and it can provide file comparison facility same as popular beyond compare tool.
steps
1. Download the SVN
2.select the two file you want to make the comparison. here i have created two files test1 &test2

3. now select two file right click on mouse , and select "Diff" option on same ,
4. It will show you the difference between two files.

that's it falk,
Wednesday, October 14, 2009
Check Page.IsValid at Client Side using C#
button, then that button get disable to avoid multiple click on registration button.
now if error occurred on the client side never call any server-side function so in this case the disable button will remain disable as it is, now to overcome
such problem we have to identify whether Page is error free on the client-side.
To find out this simply check on Disable Submit Button.
if(Page_IsValid)
{
//write your code here.
}
function DisableClick() {
var obj = 'btnUpd';
if (Page_IsValid) {
document.getElementById(obj).disabled = true;
txt = txt + 1;
message = 'Please Wait......(' + txt + ')!';
document.getElementById(obj).value = message;
var t = setTimeout('DisableClick()', 600);
}
else
{
document.getElementById(obj).disabled = false;
document.getElementById('PleaseWait').style.display = 'none';
document.getElementById(obj).value = "Register";
}
}
hope it will work you,
Thursday, October 8, 2009
Twitter API from C# .Net
- http://twitter.com/statuses/friends_timeline.rss
Ones you find the RSS of friends , you can get the 3 Keywords
1 . Statuses - what are you working on ?
2. friends_timeline - what do you need ?
3. RSS - in which format you need Rss
API supoorting in xml , json, rss, atom you can choose one of that .
Methods supported: See Twitter API
There are many objects supported, but the above format applies for only a few like Statuses, User, Direct Messages. there rest all other are mostly similar.
right now i am working on complete set of wrappers using this api, so it will be easy ,plz leave a comment if you want any help
Saturday, October 3, 2009
Google Maps Api
Google map
is one of that , which can be used to discover the world through your application , you can used this for many other purpose just like bookmarking you city,state, your Company and many more.here is Google api you can integrate with you .net application, below is code how you can do that but The first thing if you wanted a google map Api key for Local server testing you may download here.
"ABQIAAAA5HHs8lZl18SY-r1Jm1qy-hQpDmmpk8q921mRIPG4qgOvy0T09hTGvwPs_FnHiEq78dTl61JP9JQQtw" this is test key for yout local server and IIS

Google.zip (701.00 bytes)
Subscribe to:
Posts (Atom)






