Tuesday, November 24, 2009
IFrames and cross-domain communication
Wow..We can communicate with different domains which are in same page using javascript
Click on the following URL for solution
http://pipwerks.com/2008/11/30/iframes-and-cross-domain-security-part-2/
Monday, November 23, 2009
JavaScript list of Files in Folder
var folderspec="C:\\msa"
var fso, f, f1, fc, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.GetFolder(folderspec);
fc = new Enumerator(f.files);
s = "";
for (; !fc.atEnd(); fc.moveNext())
{
s += fc.item();
s += "
";
}
document.write(s);
Change the Status of a Control in Threading
public static void SetBtnStatus(bool status, Button btn_Status)
{
if (btn_Status.InvokeRequired)
{
btn_Status.BeginInvoke(
new MethodInvoker(
delegate() { SetBtnStatus(status, btn_Status); }));
}
else
{
btn_Status.Enabled = status;
}
}
ViewSource of an URL
using System.Net;
public string getURLSource(string strUrl)
{
WebClient webClient = new WebClient();
byte[] reqHTML;
reqHTML = webClient.DownloadData(strUrl);
UTF8Encoding objUTF8 = new UTF8Encoding();
string str = objUTF8.GetString(reqHTML);
return str;
}
Tuesday, October 20, 2009
java requirement
Java Requirement
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Search This Blog
Labels
.Net
(3)
JavaScript
(3)
JobOpenings
(3)
News
(2)
SQLServer
(3)
WebServices
(8)
Blog Archive
December
(2)
November
(5)
October
(1)
September
(1)
August
(3)
May
(2)
March
(12)
Followers
My Web Album
My Blog List
http://pipwerks.com/2008/11/30/iframes-and-cross-domain-security-part-2/
A note on iframes
1 year ago
technorati.com/videos/youtube.com%2Fwatch%3Fv%3DpeNf0ydTV_4
AddThis