Posts

Featured post

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

i'm working on installer (using wise installer, older version 1999). i'm creating shortcut in programs group exe. i'm creating shortcut on desktop. if install run admin account, create shortcut on common desktop , common program group (i.e., read hkey_local_machine\explorer\shellfor users). if it's installed nonadmin account, install hkey_current_user's desktop , program group. behavior install on: xp nonadmin - desktop , program shortcuts install ok. vista admin - desktop & program shortcuts install ok. vista non-admin, uac off - desktop shortcut installs, program shortcut not . however, program group folder they're supposed installed does created. at end of install, launch program group has shorcut. launches in of above. can manually drag shortcut folder , works fine. i'm bloody baffled. i've tried installing other commercial apps (opera, foxit, firefox) firefox install under nonadmin (and if select other program files,...

Is there a standard ReSharper code style definition that matches all the StyleCop requirements? -

the resharper reformat code feature handy , flexible, particularly new code layout templating flexibility jetbrains have added in version 3.0. is there standard set of code style settings resharper match rules enforced microsoft stylecop , stylecop compliance can easy running resharper "reformat code" feature? try resharper stylecop plugin at: http://www.codeplex.com/stylecopforresharper

Nested master pages in ASP.NET MVC 2 -

i know how make nested master pages in webforms possible in mvc2? know how markup though. i set code depending on criteria. possible code in controller define nested master page , master page? " is possible code in controller define nested master page , master page? " nope. default view engine lets define 1 level of masterpages. see: http://msdn.microsoft.com/en-us/library/system.web.mvc.controller.view.aspx

winapi - Windows CDROM Eject -

does know method programmatically close cd tray on windows 2000 or higher? open cd tray exists, can't seem make close under w2k. i looking method batch file, if possible, api calls ok. here easy way using win32 api: [dllimport("winmm.dll", entrypoint = "mcisendstringa", charset = charset.ansi)] protected static extern int mcisendstring(string lpstrcommand,stringbuilder lpstrreturnstring,int ureturnlength,intptr hwndcallback); public void openclosecd(bool open) { if (open) { mcisendstring("set cdaudio door open", null, 0, intptr.zero); } else { mcisendstring("set cdaudio door closed", null, 0, intptr.zero); } }

design - Example of modern text editor architecutre -

i'm looking design\architectual guidance modern text editors. modern text editor means that: it has support syntax highlighting it has auto-completion (something intellisense) it has advanced navigation capabilities (incremental search, etc.) following properties plus: implemented in managed language (java, .net language) modular architecutre add-in support i'm interested in text editor related design\architecure documents\articles, links open source projects. i'm not interested in general recommendations, oop/design patterns books advertisement. currently i'm analyzing sharpdevelop code editor source code. links similar projects appreciated. the ultimate text editor is, of course, emacs. found the craft of text editing, or, emacs modern world excellent self-study guide basics of writing editor. examples in plain old c, , text might bit dated (it 1991), basic ideas still valid, , thoroughly understand why editor works way does....

objective c - Advanced iPad programming -

i finished learning big nerd ranch guide iphone programming need more advanced book advanced concepts particularly ipad app dev. could please recommend one? the pragmatic ipad book coming out soon. main author, daniel steinberg, writer. can download sample chapters too. there's not know. need learn split-view controllers , popovers. if absolutely must have book now, wrox: beginning ipad seems pretty good, you'll go on lot of info you've learned apress has 1 iphone converts too: beginning ipad development iphone developers . jack nutting (very writer, author of apress cocoa book) second author.

How do I get raw logs from Google Analytics? -

is possible obtain raw logs google analytic? there tool can generate raw logs ga? no can't raw logs, there's nothing stopping getting exact same data logged own web server logs. have @ urchin code , borrow that, changing following 2 lines point web server instead. var _ugifpath2="http://www.google-analytics.com/__utm.gif"; if (_udl.protocol=="https:") _ugifpath2="https://ssl.google-analytics.com/__utm.gif"; you'll want create __utm.gif file don't show in logs 404s. obviously you'll need parse variables out of hits web server logs. log line in apache looks this. you'll have lots of "fun" parsing out various stuff want that, google analytics gets basic javascript tagging comes in this. 127.0.0.1 - - [02/oct/2008:10:17:18 +1000] "get /__utm.gif?utmwv=1.3&utmn=172543292&utmcs=iso-8859-1&utmsr=1280x1024&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=9.0%20%20r124&utmdt=my%2...