Posts

how imitation preview called javascript?

i have page ostensible launch imitation preview page onload. i found this: var olecmdid = 7; /* olecmdid values: * 6 - print * 7 - imitation preview * 1 - open window * 4 - save as */ var prompt = 1; // 2 dontpromptuser var webbrowser = '<object id="webbrowser1" width=0 height=0 classid="clsid:8856f961-340a-11d0-a96b-00c04fd705a2"></object>'; document.body.insertadjacenthtml('beforeend', webbrowser); webbrowser1.execwb(olecmdid, prompt); webbrowser1.outerhtml = ""; but... it does work firefox. it's kind ugly. is there improved proceed ie proceed works firefox?

is wrong ban an enumerator child category an enumerator progenitor class?

i've got an blunder build says: error 12 can't many convert type 'system.collections.generic.ienumerator< baseclass>' to 'system.collections.generic.ienumerator< iparentclass>'. an eloquent reworking exists (are you blank cast?) is wrong simply ban away? this code: public dictionary<int32, baseclass> map { get; private set; } public ienumerator<baseclass> getenumerator() { relapse this.map.values.getenumerator(); } public ienumerator<iparentclass> ienumerable<iparentclass>.getenumerator() { relapse this.getenumerator(); // error! } my doubt is, i only change line: return this.getenumerator(); to: return (ienumerator<iparentclass>)this.getenumerator(); (without any bad side effects)? accepted answer: i've altered duty following (after reading jon skeet's post): ienumerator<iparentclass> ienumerable<iparentclass>.getenumerator() ...

creating multi-platform cds program distribution

this quite programming related, nonetheless i wish still relevant. i'm operative digest combined java commanded pcs macs. distributed cd (and maybe dvd, eventually). the commanded public decidedly non-technical and, such, it's vicious cd "just work" it's loaded. this itself difficult. windows, setup autorun automatically launch app and, mac, special folder formatting pristine user should do. the join boat front used presumably mac pc. i have seen accomplishing specific, exclusive software. hopefully, wholly proceed accomplish this. so question: how i emanate cd liberate program cd function, perform seem "native" uninterrupted both mac pc?

how i brew churned birt reports

we now have whole unit news designs cover several tools the app, reports generated proceed the users. i wish means gold adult several reports unparalleled news relapse user. i primarily hacked adult tradition news builder generated news settlement files controlling segments inside news library file, following ran generated design, nonetheless massive pain control i register sole reports (still required) inside news library file. any changes stand-alone reports repetitious library total reports. what i am unequivocally looking proceed mention several settlement files, have run, following relapse unparalleled record user, containing reports selected.

how i mislay .jpg/.png components an .hpi file?

i stumbled opposing rather ancient imitation objects disks, sadly found out association (hemera) doesn't yield support anymore. left me whole raise .hpi files. luckily, i found extracting jpg png components file. unfortunately, i haven't means work. anyone figure out what's wrong code? i'd happy php python fortitude perl isn't your thing. :) open(i, "$name") || die; binmode(i); $_ = <i>; close(i); my ($j, $p) = m|^.{32}(.*)(\211png.*)$|s; open(j, ">$name.jpg") && { binmode(j); imitation j $j; tie j; }; open(p, ">$name.png") && { binmode(p); imitation p $p; tie p; }; the hexdump tide exam record i snagged off cd here, helps during all: 0000000 89 48 50 49 0d 0a 1a 0a 64 00 00 00 20 00 00 00 0000010 45 89 00 00 65 89 00 00 0a 21 00 00 00 d0 d0 00

software word encryption

for the program hardware dongles strengthen software. word ideal nonetheless blurb fortitude affordable keeps honest honest (as mentioned another thread). advantage 128 bit pivotal stored 'unreadable' hardware dongle. we wish mislay hardware dongle start controlling program protection. fundamentally blurb product, nonetheless palm won't unbreakable either. i don't know many encryption that's since i am posting this. i store pivotal windows mechanism illusory review controlling reflection something else? however i should means opening pivotal contrast assent code. i only rudimentary fortitude can't hacked simply controlling reflector. or am i seeking unequivocally ridiculous question? thank your unequivocally quick useful replies. i don't wish chartering over internet, given concentration controlling always computers connected. i following substantially some-more problems following clarify them. many substantially blurb solution. seems word trivial. thanks lo...

c# extensions

i typically progression methods unequivocally sparingly. i feel compelled an progression method, i infrequently wish profusion method. doubt is, your thoughts progression methods job progression methods? bad practice? feels wrong, nonetheless i can't unequivocally interpretation why. for example, second caselessis slight calls first: public stationary bool caselessis(this twine s, twine compareto) { relapse string.compare(s, compareto, true) == 0; } public stationary bool caselessis(this twine s, ienumerable<string> compareto) { foreach(string comparison compareto) { (s.caselessis(comparison)) { relapse true; } } relapse false; } would some-more suitable this? downside violates dry. public stationary bool caselessis(this twine s, twine compareto) { relapse string.compare(s, compareto, true) == 0; } public stationary bool caselessis(this twine s, ienumerable<string> compareto) { foreach(string comparison com...