hackathon - 1#




pure coding for 1 week ...
Thursday, July 09, 2009 1:59:39 PM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

Sem's Open Source Blog System. - Sem Göksu Açık Kaynak Kodlu Blog Sistemi#

http://www.semgoksu.com/sem-goksu-blog-sistemi-yazisi/534.aspx

My future blogging system (as soon as sem completes multilanguage implementation)
Great work!

Wednesday, April 15, 2009 12:55:41 AM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

The event 'X' can only appear on the left hand side of += or -= (except when used from within the type 'X')#

Assume you have a base class and another class derived from it. You have events defined in base class so you wish to use them in the derived class.

    class a
    {
        public delegate void Amanindelegate();
        public event Amanindelegate Amanin;
    }

    class b:a
    {
        public void hey0()
        {
            Amanin();
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            b b1=new b();
            b1.Amanin+=new a.Amanindelegate(b1_Amanin);
            b1.hey0();
        }
        static void b1_Amanin()
        {
            Console.WriteLine("aboovv");
        }
    }

Here you have the mentioned error in hey0 method line Amanin();
The best practice is as follows.

    class a
    {
        public delegate void Amanindelegate();
        public virtual event Amanindelegate Amanin;
    }

    class b:a
    {
        public override event a.Amanindelegate Amanin;
        public void hey0()
        {
            Amanin();
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            b b1=new b();
            b1.Amanin+=new a.Amanindelegate(b1_Amanin);
            b1.hey0();
        }
        static void b1_Amanin()
        {
            Console.WriteLine("aboovv");
        }
    }

 

Thursday, March 12, 2009 6:46:52 PM (GTB Standard Time, UTC+02:00) #    Comments [0]  | 

 

Could not load file or assembly 'Microsoft.ReportViewer.WebForms#

If you are having troubles with installing/registering ReportViewer dll's either using gacutil.exe or setup file, you can download the Microsoft Report Viewer Redistributable 2008 package from the following link.

http://www.microsoft.com/downloads/details.aspx?FamilyID=CC96C246-61E5-4D9E-BB5F-416D75A1B9EF&displaylang=en

Tuesday, February 03, 2009 6:10:39 PM (GTB Standard Time, UTC+02:00) #    Comments [0]  | 

 

NetBT Error, EventID:4321#

The name "Donaminname :1d" could not be registered on the Interface with IP address X.X.X.X (windows 2003 DC or server). The machine with the IP address X.X.X.X (PDC emulator) did not allow the name to be claimed by this machine.

The solution is simple. type "nbtstat -r" on command prompt & disable computer browser service. It's an error caused by wins.

Tuesday, January 20, 2009 5:18:39 AM (GTB Standard Time, UTC+02:00) #    Comments [0]  | 

 

Catrix hilarious#

They couldn't shoot a video which exactly matches the orig. one even if they want to.No words to say :)

Tuesday, January 20, 2009 5:13:25 AM (GTB Standard Time, UTC+02:00) #    Comments [0]  | 

 

Installing ESX 3i 3.5.0 to HP Dx2300 microtower with SATA HDD#

3 system engineers, 1 microtower, 1 esxi cd
Tonight we tried to setup vmware esx 3i 3.5 to a hp dx2300 microtower.
It was a painful night, first we searched for a hdd because original hdd should be saved as it was containing critical data for one of my project.
So me & Serkan called Arda and asked him to bring a sata hdd.
He came & we setup the hdd and burned out the iso & finally we were ready for the installation
Whoops we got the first error, memory was not enough.Logistics manager Arda :) took a ride to his place & brought 2gb ram.
Voila, installation was started, but suddenly we got an error message telling that esxi did not find any storage device to make the installation.
Anyway we googled a little but we could not find any resource.End of the night :)

So i decided to download & install esx 3.5 trial, but that attempt was kicked backed by the "competible nic not found" error :((
I was frustrated.

Late @ the same night while i was coding, i decided to re-google the problem.
Finally i got the solution.I had to change 4 chars in a py file in esxi.

If esxi could not find your sata drive, do the following

Press alt+f1 and drop to console
type root as the username and leave blank for the password
edit the /usr/lib/vmware/installer/Core/TargetFilter.py file by entering
vi /usr/lib/vmware/installer/Core/TargetFilter.py
find the def IDEFilter(lun) proc and change the "return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_IDE" line as "return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_ISCSI
save and quit by :wq!
type install

The original help document can be found @
http://www.vm-help.com/esx/esx3i/ESXi_install_to_IDE_drive/ESXi_install_to_IDE_drive.php

What a wonderful night.

Sunday, January 18, 2009 1:39:24 AM (GTB Standard Time, UTC+02:00) #    Comments [0]  | 

 

MDI Child form resize problem.#
Having problem with mdichild form size on form load?
try setting the AutoScaleMode to Inherit on mdi child form.

Thursday, January 01, 2009 11:51:23 PM (GTB Standard Time, UTC+02:00) #    Comments [0]  | 

 

Internet Software Studio#


A Forecast...

Whenever SaaS and Soa completes their evolution, a new era will rise;
Internet Software Studio
A platform where developers will no longer need a software development studio,
A platform where development & compilation can be done online, where intermediate software users will able to develop their own software without digging into huge documentations...

Some day...

Monday, October 27, 2008 8:27:02 PM (GTB Standard Time, UTC+02:00) #    Comments [2]  | 

 

Hack#

Dtp nin sitesi hacklendi.
dün akşam saat 22:30 civarında...

Thursday, October 23, 2008 9:47:15 AM (GTB Daylight Time, UTC+03:00) #    Comments [0]  | 

 

All content © 2012, Levent YILDIZ
On this page
This site
Calendar
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 2.3.9074.18820

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: