Life, Surf, Code and everything in between

Last 24 Comments

re: RTF to HTML Conversion
Today @ 7:15 am | by Craig J.

Did you find a resolution to this?

I'm looking around at all the same stuff and find nothing that really suits my needs.
re: ATLAS for ASP.NET grows up
Today @ 7:14 am | by sohbet

<a title="havalandırma" href="http://www.havsan.com">havalandırma</a>
<a title="havalandirma" href="http://www.havsan.com">havalandirma</a>
<a title="izolasyon" href="http://www.havsan.com">izolasyon</a>
<a title="çelik baca" href="http://www.havsan.com">çelik baca</a>
<a title="paslanmaz çelik baca" href="http://www.havsan.com">paslanmaz çelik baca</a>
<a title="doğalgaz bacası" href="http://www.havsan.com">doğalgaz bacası</a>
<a title="sohbet" href="http://www.sohbetim.gen.tr">Sohbet</a>
<a title="iso 9001" href="http://www.isobelgesi.org">iso 9001</a>
<a title="ISO 14001" href="http://www.isobelgesi.org">iso 14001</a>
<a title="yangın söndürme" href="http://www.has-ari.com">Yangın Söndürme</a>
<a title="yangın söndürme cihazları" href="http://www.has-ari.com">yangın söndürme cihazları</a>
<a title="yangın dolapları" href="http://www.has-ari.com">yangın dolapları</a>
<a title="yangın tüpü" href="http://www.has-ari.com">yangın tüpü</a>
<a title="izalasyon" href="http://www.havsan.com">izalasyon</a>
<a title="ısıtma soğutma" href="http://www.havsan.com">ısıtma soğutma</a>
<a title="isitma sogutma" href="http://www.havsan.com">isitma sogutma</a>
<a title="aspirator" href="http://www.havsan.com">Aspirator</a>
<a title="aspiratör" href="http://www.havsan.com">Aspiratör</a>
<a title="vantilatör" href="http://www.havsan.com">Vantilatör</a>
<a title="sohbetim" href="http://www.sohbetim.gen.tr">sohbetim</a>
<a title="turizm işletme belgesi" href="http://www.turizmbelgesi.com">turizm işletme belgesi</a>
<a title="turizm belgesi" href="http://www.turizmbelgesi.com">turizm belgesi</a>
<a title="turizm yatırım belgesi" href="http://www.turizmbelgesi.com">turizm yatırım belgesi</a>
<a title="chat" href="http://www.sohbetim.gen.tr">Chat</a>
<a title="sohbet odası" href="http://www.sohbetim.gen.tr">sohbet odası</a>
<a title="sohbet sitesi" href="http://www.sohbetim.gen.tr">sohbet sitesi</a>
<a title="türkiye sohbet" href="http://www.sohbetim.gen.tr">türkiye sohbet</a>
<a title="tr sohbet" href="http://www.sohbetim.gen.tr">tr sohbet</a>
<a title="tüm türkiye sohbet" href="http://www.sohbetim.gen.tr">tüm türkiye sohbet</a>
<a title="arkadaş sohbet" href="http://www.sohbetim.gen.tr">arkadaş sohbet</a>
<a title="türkiye sohpet" href="http://www.sohbetim.gen.tr">türkiye sohpet</a>
<a title="kızlarla sohbet" href="http://www.sohbetim.gen.tr">kızlarla sohbet</a>
<a title="kızlarla sohpet" href="http://www.sohbetim.gen.tr">kızlarla sohpet</a>
<a title="muhabbet" href="http://www.sohbetim.gen.tr">muhabbet</a>
<a title="muhappet" href="http://www.sohbetim.gen.tr">muhappet</a>
<a title="kızlarla çet" href="http://www.sohbetim.gen.tr">kızlarla çet</a>
<a title="çet" href="http://www.sohbetim.gen.tr">çet</a>
<a title="Gizli Kamera" href="http://www.kamerakur.net">Gizli Kamera</a>
<a title="türkiye çet" href="http://www.sohbetim.gen.tr">türkiye çet</a>
<a title="çet sohpet" href="http://www.sohbetim.gen.tr">çet sohpet</a>
<a title="mırç" href="http://www.sohbetim.gen.tr">mırç</a>
<a title="mirç" href="http://www.sohbetim.gen.tr">mirç</a>
<a title="türkiye mirc" href="http://www.sohbetim.gen.tr">türkiye mirc</a>
<a title="mirc" href="http://www.sohbetim.gen.tr">mirc</a>
<a title="muhabbet" href="http://www.sohbetim.gen.tr">muhabbet</a>
<a title="sohbet sitesi" href="http://www.sohbetim.gen.tr">Sohbet Sitesi</a>
<a title="chat" href="http://www.sohbetim.gen.tr">Chat</a>
<a title="sohpet" href="http://www.sohbetim.gen.tr">Sohpet</a>
<a title="yangın söndürme" href="http://www.has-ari.com">Yangın </a>
<a title="yangın güvenlik" href="http://www.has-ari.com">yangın güvenlik</a>
<a title="yangın söndürme sistemleri" href="http://www.has-ari.com">yangın söndürme sistemleri</a>
<a title="yangın tüpü dolum" href="http://www.has-ari.com">yangın tüpü dolum</a>
<a title="yangın merdiveni" href="http://www.has-ari.com">yangın merdiveni</a>
<a title="yangın çıkış kapısı" href="http://www.has-ari.com">yangın çıkış kapısı</a>&nbsp;
<a title="hava soğutma" href="http://www.havsan.com">Hava Soğutma</a>
<a title="hücreli aspiratörler" href="http://www.havsan.com">Hücreli Aspiratörler</a>
<a title="fanlar" href="http://www.havsan.com">Fanlar</a>
<a title="radyal körükler" href="http://www.havsan.com">Radyal Körükler</a>
<a title="toz toplama" href="http://www.havsan.com">Toz Toplama</a>
<a title="soğutma kulesi" href="http://www.havsan.com">Soğutma Kulesi</a>
<a title="klima santraller" href="http://www.havsan.com">Klima Santraller</a>
<a title="malzeme nakil vantilatörleri" href="http://www.havsan.com">Malzeme Nakil Vantilatörleri</a>
<a title="ISO 14001" href="http://iso14001.web.tr">iso 14001</a>
<a title="ISO 14001" href="http://www.isobelgesi.org">iso 14001</a>
<a title="ISO 22000" href="http://www.isobelgesi.org">iso 22000</a>
<a title="ISO 22000" href="http://www.iso22000haccp.info">iso 22000</a>
<a title="haccp belgesi" href="http://www.iso22000haccp.info">haccp belgesi</a>
<a title="haccp belgesi" href="http://www.isobelgesi.org">haccp belgesi</a>
<a title="ikamet tezkeresi" href="http://www.ikamettezkeresi.com">ikamet tezkeresi</a>
<a title="yabancı çalışma izni" href="http://www.ikamettezkeresi.com">yabancı çalışma izni</a>
<a title="yabancı personel çalışma izni" href="http://www.ikamettezkeresi.com">yabancı personel çalışma izni</a>
<a title="yabancı çalışma izni" href="http://www.yabancilar-calisma-izni.org">yabancı çalışma izni</a>
<a title="yabancı personel çalışma izni" href="http://www.yabancilar-calisma-izni.org">yabancı personel çalışma izni</a>
<a title="ohsas 18001" href="http://www.isobelgesi.org">ohsas 18001</a>
<a title="ohsas 18001" href="http://www.ohsasbelgesi.info">ohsas 18001</a>
<a title="iso belgesi" href="http://www.isobelgesi.org">iso belgesi</a>
<a title="iso 9001 belgesi" href="http://www.isobelgesi.org">iso 9001 belgesi</a>
<a title="ohsas belgesi" href="http://www.isobelgesi.org">ohsas belgesi</a>
<a title="ISO 9001, ISO 9001 BELGESI, iso 9001, iso 9001 belgesi" href="http://www.iso9001belgesi.org">ISO 9001</a>
<a title="Teşvik Belgesi" href="http://www.tesvikbelgesi.com">Teşvik Belgesi</a>
<a title="çocuk bezi" href="http://www.dorakozmetik.com">Çocuk Bezi</a>
<a title="çocuk bezi" href="http://www.dorakozmetik.com">Hasta Bezi</a>
<a title="makyaj malzemeleri" href="http://www.dorakozmetik.com">Makyaj Malzemeleri</a>
<a title="makyaj temizleme mendili" href="http://www.dorakozmetik.com">Makyaj Temizleme Mendili</a>
<a title="kişisel bakım" href="http://www.dorakozmetik.com">Kişisel Bakım</a>
<a title="kolonyalı mendil" href="http://www.dorakozmetik.com">kolonyalı mendil</a>
<a title="Islak mendil" href="http://www.dorakozmetik.com">Islak mendil</a>
<a title="dudak koruyucu" href="http://www.dorakozmetik.com">Dudak Koruyucu</a>
<a title="Temizlik Ürünleri" href="http://www.dorakozmetik.com">Temizlik Ürünleri</a>
<a title="göz kalemi" href="http://www.dorakozmetik.com">Göz Kalemi</a>
<a title="diyet ürünleri" href="http://www.dorakozmetik.com">Diyet Ürünleri</a>
<a title="süper" href="http://www.supertr.net">Süper Site</a>
<a title="driver" href="http://www.driverarabul.com">driver</a>
<a title="güvenlik kamerası" href="http://www.kamerakur.net">Güvenlik Kamerası</a>
<a title="ıslak mendil" href="http://www.posetdolum.com">Islak Mendil</a>
<a title="kolonyalı mendil" href="http://www.posetdolum.com">Kolonyalı Mendil</a>
<a title="kolonyalı mendil" href="http://www.kolonyalimendil.info">Kolonyalı Mendil</a>
<a title="joyturk, joyturk fm, joy türk, joy turk, joyturkfm, joyturk radyo" href="http://www.joyturk.net">JoyTurk</a>
<a title="driver ara" href="http://www.driverarabul.com">driver ara</a>
<a title="web tasarım" href="http://www.jtngroup.com">web tasarım</a>
<a title="güvenlik kamerası" href="http://www.kamerakur.com">Güvenlik Kamerası</a>
<a title="paketleme" href="http://www.paketleme.org">paketleme</a>
<a title="kamera" href="http://www.kamerakur.com">Kamera</a>
<a title="gizli kamera" href="http://www.kamerakur.com">gizli kamera</a>
<a title="güvenlik kamerası" href="http://www.kamerakur.com">Kamera Kurulum</a>
<a title="tatil" href="http://www.ho5.org">Tatil</a>
<a title="turk tourizm" href="http://tatil.supertr.com">Turk tourizm</a>
<a title="turkish tourizm" href="http://tatil.supertr.com">Turkish tourizm</a>
<a title="turk holiday" href="http://tatil.supertr.com">Turk holiday</a>
<a title="turkish holiday" href="http://tatil.supertr.com">Turkish holiday</a>
<a title="Turkish travels" href="http://tatil.supertr.com">Turkish travels</a>
<a title="Turk Travels" href="http://tatil.supertr.com">Turk Travels</a>
<a title="tatil yerleri" href="http://tatil.supertr.com">Tatil Yerleri</a>
<a title="tatil beldeleri" href="http://http://tatil.supertr.com">Tatil Beldeleri</a>
<a title="Perde" href="http://http://perde.supertr.com">Perde</a>
<a title="perde modelleri" href="http://http://perde.supertr.com">Perde Modelleri</a>
<a title="Kamera" href="http://http://kamera.supertr.com">Kamera</a>
<a title="epilasyon" href="http://http://saglik.supertr.com">Epilasyon</a>
<a title="emlak" href="http://http://emlak.supertr.com">Emlak</a>
<a title="yaşam" href="http://www.ho5.org">Yaşam</a>
<a title="tatil" href="http://www.ho5.org">Tatil</a>
<a title="video" href="http://www.supertr.com">Video</a>
<a title="cilt bakımı" href="http://www.dorakozmetik.com">Cilt Bakımı</a>
<a title="video" href="http://www.supertr.net">video</a>
<a title="süper" href="http://www.supertr.com">süper</a>
<a title="perde" href="http://www.perdefiyat.com">perde</a>
<a title="jaluzi perde" href="http://www.perdefiyat.com">jaluzi perde</a>
<a title="stor perde" href="http://www.perdefiyat.com">stor perde</a>
<a title="dikey perde" href="http://www.perdefiyat.com">dikey perde</a>
<a title="perde modelleri" href="http://www.perdefiyat.com">perde modelleri</a>
<a title="perde" href="http://www.tendaperde.com">perde</a>
<a title="jaluzi perde" href="http://www.tendaperde.com">jaluzi perde</a>
<a title="stor perde" href="http://www.tendaperde.com">stor perde</a>
<a title="dikey perde" href="http://www.tendaperde.com">dikey perde</a>
<a title="perde modelleri" href="http://www.tendaperde.com">perde modelleri</a>
<a title="magazin, magazin haberleri" href="http://www.supertr.com/category/magazin-haberleri">magazin</a>
<a title="haber, haberler" href="http://www.supertr.com/category/guncel-haberleri-bulabileceginiz-bolum">haberler</a>
<a title="spor, spor haberleri" href="http://www.supertr.com/category/spor">spor haberleri</a>
<a title="video, yutup, youtub, youtube, youtup" href="http://www.supertr.com/category/video">video</a>
<a title="eğitim, eğitimler, eğitim haberleri, okul, sınıf" href="http://www.supertr.com/category/egitim">eğitim</a>
<a title="giyim, giyim ürünleri, bayan giyim, erkek giyim, çocuk giyim, online alışveriş" href="http://www.e-giyim.net">Giyim</a>
re: ATLAS for ASP.NET grows up
Today @ 7:13 am | by sohbet

thanks you
re: Visual Studio 2008 and ASP.NET 3.x
Yesterday @ 11:39 pm | by Vinay Singh

Rick
A very good article afterall. I wish you can let us know about 3.0 as well as I feel this version gets overshadowed between 2.0 and 3.5 :-)
re: Dell Laptop Battery Blues
Yesterday @ 5:35 pm | by infoman

Here are some notes for Latitude CPi R-series machines:
I have a Latitude CPi R-Series (PII 400 MHz, estimated at 5-8 years old) and the battery pack would not charge inside the Laptop chassis.

I tried to measure and then charge the pack with a battery charger and bare wires, but then when I went to Windows, some of the detailed info sent by the battery(Sony Li-Ion ##### blah blah) was not there anymore (got erased?). Then the CPI R-Series would not get past POST when the battery was installed at power-on, but will boot into Windows if battery is pulled out (no bad things happen when battery is re-installed while in Windows).
After opened the battery pack, I charged the batteries individually but they would not hold the charge(goes to zero in about 30 seconds)/or were being discharged by the pack's circuit board. The built-in battery tester did/ and does not now light any of the 5 LED's. So I think that the battery condition is bad (the pack's circuit board may be good).
re: Amazon Kindle on the Road
Yesterday @ 4:34 pm | by AF

While Gutenberg has a larger collection of free books, www.feedbooks.com has a large collection already formatted for the Kindle that you can load directly using the wireless connection (when you're back in the US).
re: Getting an Windows XP Audio Driver to run under Windows 2003?
Yesterday @ 12:19 pm | by ola

I have vostro 1700 and upon installation of Windows Server 2k3 ent edition, the os wont recognize the drivers for wlan and ditto for audio - exactly what brought me to this blogg. ive tried each and every reasonable step above..... it wont work. meanwhile the os is win server 2k3 ent edition. no r2, sp1 or 2
What can i do?
re: Amazon Kindle on the Road
Yesterday @ 9:36 am | by Bob Archer

Rick,

I have had a Sony reader for about a year now. I also participate alot in the forums at www.mobileread.com which has alot of info on this topic. You should check the Wiki for the ebook source topics.

As the above comment said, you can buy books at Fictionwise, as long as you buy the multi-format (non-drm) kind and get the Mobipocket format. It will work on Kindle just fine. You can also get ALOT of free sci-fi from the baen free library at www.baen.com. You can also get most public domain books (out of copyright) from feedbooks.com and manybooks.net. Yes, there is quite a bit of sci-fi in the public domain. You can also get free books from project guttenburg www.gutenberg.org where you can download CD collections, and make your own CD's if you'd like.

So, there are alot of ways to use your Kindle without paying Amazon for books.

HTH,
BOb
re: UpdatePanels and ClientScript in custom Controls
Yesterday @ 8:22 am | by ihsany

nice solution
its works in everywhere (page, usercontrol,masterpage and usercontrol in grid edit form :) )
only the code below in my customcontrol's OnPreRender

thanks..

string resourceName = "ErciyesCommon.Components.MyControl.js";

            ScriptManager manager = ScriptManager.GetCurrent(this.Page);
            if ((manager != null) && manager.IsInAsyncPostBack)
            {
                Type smType  = manager.GetType();
                MethodInfo RegisterClientScriptResourceMethod = smType.GetMethod("RegisterClientScriptResource", new Type[3] { typeof(WebControl), typeof(Type), typeof(string) });
                if (RegisterClientScriptResourceMethod != null)
                {
                    RegisterClientScriptResourceMethod.Invoke(null, new object[3] { this, this.GetType(), resourceName });
                }
            }
            else
            { 
                ClientScriptManager cs = this.Page.ClientScript;
                cs.RegisterClientScriptResource(typeof(ErciyesCommon.Components.LookupBox.LookupBox), resourceName);
            }

re: Evaluating JavaScript code from C#
Yesterday @ 2:47 am | by Dwipayan Das


Hi

Your article is very much helpful.Before i am using a webbrowser control on a form and executing all the script files.Now i am running it directly.But there i was having a property called webbrowser.objectforscriping.Here what is the equivalent for that thing.How can i run external C# exceute methods from javascript.

window.external was doing for me previously.

Thanks Das
re: Google AdSense Advertising - eeech...
Wednesday @ 9:12 pm | by Hendrawan

I think it's related to your keyword selection. I'm an adwords user too and I get quite a decent traffic along with sales growth.
re: WCF and JSON Services
Wednesday @ 9:11 pm | by Sean

DOH! I have the same problem w/ your code... I get a client script error saying "AjaxService is undefined" I'm using studio 2008 team server on vista.

This concludes my web log comment spamming for the evening.

Any ideas?

Thanks

Sean
re: WCF and JSON Services
Wednesday @ 9:05 pm | by Sean

Whoops, ignore my last comment, just found your web log link to the dev connections sample code.

- Sean
re: WCF and JSON Services
Wednesday @ 7:28 pm | by Sean

Hey Rick, I attended this years dev connections 2008 and I'm actually trying to throw together a presentation for my group at work based on the seminars I attended, your WCF/REST/JSON class being one of them. I beleive our app could benefit from these technologies so I've been putting together a power point and some demo apps... but for the life of me I cant get the WCF service reference working for some reason in my demo web site code, which is calling a fairly simple WCF (Json output) service.

Is there any way you could post a simple zipped up project including a really simple service / web site calling it, I imagine I'm doing something stupid .. but then again its almost 11pm and a couple captain and cokes later.

Thanks much either way,

Sean
re: Amazon Kindle on the Road
Wednesday @ 5:39 pm | by Bill Mason

Rick - You can buy books from Fictionwise for the Kindle and they have a great selection of SIFI.
re: jQuery.ui Sortable
Wednesday @ 1:03 pm | by aaron

Rick - yeah, .each() is a tiny bit slower. I think the main reason to use .each() is that it leaves the implementation of the jQuery object up to the authors. Sure, we know it's an array-like object but if they ever change that, .each() will continue to work while for(var i = jqueryObj.length...) will not. BTW, thanks for so many great posts. I've become a fan.
re: Creating Virtuals and reading Installed Sites on IIS with .Net
Wednesday @ 6:50 am | by nailesh

Hi, I am trying to access remote machine IIS using directory service exactly the same way you have mentioned but I am getting access denied message always. I have already set impersonate=true in my web application and the account which i am using is in administrator group of remote machine. also I have changed IIS metabase permissions and given full rights to this account but still no luck. Its working fine for local machine but not for remote machine
re: An update to the ClientScriptProxy Class for ScriptManager/ClientScript
Wednesday @ 3:29 am | by François-Xavier Vits

Hi,

I found a problem with your class in IsMyAjax method. In fact, that method can fail if the system.web.extensions.design is loaded before system.web.extensions in the current domain.
Below you can find my bug fix :

public static bool IsMsAjax()
{
if (_CheckedForMsAjax)
return _IsMsAjax;

// *** Easiest but we don't want to hardcode the version here
// scriptManagerType = Type.GetType("System.Web.UI.ScriptManager, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", false);

// *** To be safe and compliant we need to look through all loaded assemblies
Assembly ScriptAssembly = null; // Assembly.LoadWithPartialName("System.Web.Extensions");
foreach (Assembly ass in AppDomain.CurrentDomain.GetAssemblies())
{
if (string.Compare(ass.ManifestModule.Name, "System.Web.Extensions.dll", true) == 0)
{
ScriptAssembly = ass;
break;
}
}

if (ScriptAssembly == null)
return false;

scriptManagerType = ScriptAssembly.GetType("System.Web.UI.ScriptManager");

if (scriptManagerType == null)
{
_IsMsAjax = false;
_CheckedForMsAjax = true;
return false;

}

// *** Method to check for current instance on a page - cache
// *** since we might call this frequently
GetCurrentMethod = scriptManagerType.GetMethod("GetCurrent");

_IsMsAjax = true;
_CheckedForMsAjax = true;

return true;
}


Explanation : if you look for ass.FullName.startwith("System.Web.extensions"), you will find that dll in your AppDomain.CurrentDomain.GetAssemblies(). It's ok, but scriptManagerType will be null if system.web.extensions.design appears before system.web.extensions in AppDomain.CurrentDomain.GetAssemblies(). scriptManagerType will be null because the type couldn't be found.

Hope it will be useful

See you all
FX
re: Mouse Drift
Wednesday @ 2:45 am | by Phil

Had the same mouse drift problem. Mine stemmed from the button mouse in the keyboard. If I pressed down on any of the keys around the mouse they would move the pointer roughly in that direction. Basically I think that placing my mouse mat inside when the lid is down has pressed on the button mouse and bent/deformed the keypad in that area. Originaly downloaded a 'fix' to disable the button mouse but of course this didn't come into effect until I had logged on, so I had this game of Cat and Mouse (hahaha) to try and enter my password. I have now changed the Bios settings to Seriel Mouse as per Rick's suggestion. Works a treat but is kinda daft that PS/2 option didn't work since I am using a PS/2 compatible USB mouse.
re: Getting Images to render properly in the ASP.NET Designer
Tuesday @ 5:05 pm | by Russ Suter

I tried this approach and it didn't work for me. I'm very confused and getting desperate. What I pass in to base.ResolveClientUrl() is a string which looks like the following:

"~/images/_selected.png"

What it gives me back is:

"images/_selected.png"

Trying then to pass the resolved URL to Bitmap.FromFile() throws my program into some weird loop for a moment and then I just have a broken image. What am I missing?
re: C# HRESULT comparison
Tuesday @ 7:02 am | by Matt

Another 15 minutes saved. That's a grand total of 45 minutes now :)
re: Advanced FoxPro .NET COM Interop Article Series
Tuesday @ 2:59 am | by Viktor

Dear Rick!

I have this "Type Library Not Foun" too. I'm using VFP9 SP2. Could you help me with some clues? I have none.

Thanks in advance!

Viktor

ps.: simple calls to COM exposed .NET functions work fine, but implementing the interface dies when giving the IMPLEMENTS... part.
re: Dell Laptop Battery Blues
Monday @ 12:06 pm | by Rachel

I had a problem with my old Dell battery lasting also. I needed a new one fast and I wasn't about to go out and buy another expensive one from Dell since the 1st one didn't last and was a piece of garbage. I found a new battery at www.needbattery.com The prices can't be beat and they have a great warranty/money back guarantee. I'd recommend using them for sure!
http://www.needbattery.com/Laptops/Dell.html


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2008