Wednesday, March 09, 2005

MSN trojan

today i accidently clicked the link which my friend send on MSN,the file was omg.pif..Thanks God i had closed the IE immediately othwise....

any way to getrid of this?

Tuesday, March 08, 2005

Reasons why Reiser4 is great for you:

due to following reasons

GoogleDesktop Final Release

Google has finally released the final version of its Desktop version. Google comes more closed to developers/programmings by provding API to use GDS(Google Desktop Search) in your application ,you can check documentation here

Monday, March 07, 2005

I can`g getinto CP website

I have been trying to getinto Codeproject website but its giving me Unknown host error,i am thinking to call Helpline of my frigging ISP
its makig me frustrated,i cant live without CP :(

Creating an administrative install point for the .NET Framework, a service pack and a hotfix

read here

Friday, March 04, 2005

MSIL IDE

Hi

i am writing here after a week or so,been busy in solving different things,which i will describe later

anyway here i am to let you guys know about a good MSIL editor,link is given below:

http://ilide.aspfreeserver.com/default-en.aspx

-adnan

Monday, February 21, 2005

Two Kinds of Developers

Mark is trying to tell readers about different kinds of developers,read yourself what`s he trying to say

nice C# tips

Check this out

Sunday, February 20, 2005

Compressed FileSystem(CFS)

I have been thinking /willing of a Compressed File system which can work similar to MP3 mechanism(i am not 100% aware of Mp3 mechanism but heard that it decompresses the file during playing and then it compresses again) ..

what I mean to say that,that Applications are deployed in compressed format(say have extension .cmp) on User machines,i am not talkig about Zipping the EXEs or MSI stuff in Zipped format..what i mean that instead of making simple MSIs or Setup Exes who get extracted on client machine during installation, the Compressed program gets installed on client machine with a shortcut link on Desktop or in start menu,the link will point to .cmp file which will initially opene the Header section or Base system section for the user (it could be a GUI or a Command line application..whatever)the base system system will have all necessary options which are part of that system.Whenever user selects some particular option of the system the files(dlls or whatever) of that particular section will get loaded only,and when the user closes that particular section,e.g Form Dialog)the files will get decompressed again)

Well will be wondering how come a single Compressed file could do all this?well i think that associated DLLs or exes could be loaded in memory to perform required tasks,it involves temporary Assembly registration in GAC and Registry,we could add references of all files who are packaged in .cmp format in Registry,so that they can be refer during uncompression of required files..

once the dialog form is unloaded,the files will also get removed from hardisks and from registry as well as memory..

these are just crazy thoughs..not sure how it could be done..what i know its not impossible,maybe we cant achieve 100% results but i think 70% could be achieved and 100% if filesystem itseld supports the mechanism,custom mechanism might not get so much success

Filesystem Watcher -A nice article

Luc Archambaultn has posted a very nice article about file System watcher class ,and came up with very wonderful utility.

Saturday, February 19, 2005

AntiProgramming Day

for last 36 hours,i have not been writing a word which could help me to finish my projects,,reason?well i didn`t want to..i was tired ..

this morning i recieved mail from one of my good friend Taylor replied my mail about Mozilla Extension development

he came up with two good articles mentioned in his post,i am very tired ,there was a looong journey,because most of routes were block due to Moharram rallies..

tomorrow i have to resume work on my project(i won`t reveal details :D )and prolly i would do some more research on Mozilla/Firefox Extensions

Wednesday, February 16, 2005

Assigning keyvalues pair to ComboBox in C#

it took a lot of time to find some solution to assign more than one values to combobox,since comboObject.Items.Add("MyValue") only allows to add a single value in comboBox which can be fetched by using comboObject.text property.

Hans de Bruijn has provided very clean and nice solution to tackle this problem for both combobox and List values.

Happy Coding

Tuesday, February 15, 2005

Diplay Virtual Direcotries in C#

the code i mentioned earlier fetches the website Names only..what if you want to show the virtual folders as well?well it`s not so difficult.If you run the code in my previous post,it will display a numeric number which is unique Identifer for each site hosted on IIS,this can be retrieved by calling Site.Name in for each loop
In order to retrieve the virtual folders under that specific Website simple do the following

//Save Website Unique Identified in a variable

String SiteId=Site.Name

DirectoryEntry W3SVC = new DirectoryEntry("IIS://" + ServerName + "/w3svc/"+SiteId+"/ROOT, "Domain/UserCode", "Password");


foreach (DirectoryEntry Site in W3SVC.Children)
{

//display Virtual Directories
Console.WriteLine(Site.Name.ToString());

}

Diplay IIS hosted Site Names in C#

I have been working on a project module which will interact with IIS and will display hosted sites or virtual directories,so far i have done this by using ADSII ,the code is very raw,i will submit final snippet once it`s done..this code will display website names hosted on IIS


try
{
const string WebServerSchema = "IIsWebServer"; // Case Sensitive
string ServerName = "SIDDIQI";
DirectoryEntry W3SVC = new DirectoryEntry("IIS://" + ServerName + "/w3svc", "Domain/UserCode", "Password");
foreach (DirectoryEntry Site in W3SVC.Children)
{

if (Site.SchemaClassName == WebServerSchema)
{
//Console.WriteLine(Site.Name + " - " + Site.Properties["ServerComment"].Value.ToString());
}
}
}
// Catch any errors
catch (Exception e)
{
Console.WriteLine("Error: " + e.ToString());
}

Diplay Virtual Direcotries in C#

the code i mentioned earlier fetches the website Names only..what if you want to show the virtual folders as well?well it`s not so difficult.If you run the code in my previous post,it will display a numeric number which is unique Identifer for each site hosted on IIS,this can be retrieved by calling Site.Name in for each loop
In order to retrieve the virtual folders under that specific Website simple do the following

//Save Website Unique Identified in a variable

String SiteId=Site.Name

DirectoryEntry W3SVC = new DirectoryEntry("IIS://" + ServerName + "/w3svc/"+SiteId+"/ROOT, "Domain/UserCode", "Password");


foreach (DirectoryEntry Site in W3SVC.Children)
{

//display Virtual Directories
Console.WriteLine(Site.Name.ToString());

}

Monday, February 14, 2005

Some Weird thing happening with IE

Since morning,its been happening that IE is getting opened with new Instance having URL something like http://540.filost.com/randomsites/banner.aspx
which is redirected to some other url which is actually directing not file which isnot actually available
before that some porn dialers got installed with file name internt.exe which resided on WinNT`s root folder..
ifanyone of you get any clue,let me know