Posts

browser - How are cookies handled by email clients? -

let's set cookie on image request in email (so cookie set when user views images in email). if user clicks through email browser opens, browser have access cookie set? obviously, if user has outlook email client , firefox default browser, email cookie (if exists) not accessible. if use ie? on iphone or android phone, happens? i think answered own question... it's client-side problem (for you). it's "catch catch can". no guarantees combination use 100% fool-proof. outlook safari (or ff, opera, etc). there many variables. not mention 1 of recipients have email client set plain text. i got best tracking assigning query parameter images links. i've never found solution accounted 100% of emails sent (comparing/tracking view rates afterward).

visual studio - C# project lost, anyways to recover it? -

after hard drive disaster, main partition had been formatted. result, c# project ( small management software) lost. however, have copied debug folder in usb ( testing in computer). so, there anyways me recover lost project or have start again? it's not easy. can use reflector recover source, resources , harder. have step-by-step on blog works (most?) windows forms projects. p.s. use source control. there's free svn hosts (and mercurial/git, too), commercial projects...

usb - Spoofing a game controller -

i'm trying write allow user use keyboard/mouse combination on games console. approach i've thought of following: figure out how input maps output in console's controller. old trial , error, connecting controller via usb computer , figuring out how controller responds input using detailed usb logging. then, write userland program takes keyboard/mouse input , converts controller's output. so far good. comes complicated bit. need figure out way connect computer console, while making console think being connected standard controller. this, need way create fake usb device, communicates on usb port console. part have no idea whatsoever how do. i guess i'm looking usb spoofing library of sort, i'm not sure start looking this. python bindings library great, i'm not fussy. similarly, works on mac or linux perfect, live windows-only library in pinch. usb doesn't work way. usb involves directed hierarchy of devices, , trying connect 2 host d...

asp.net - call javascript after updatepanel postback -

i put following javascript code inline doesn't trigger after updatepanel done postback: function endrequesthandler(sender, args) { alert("this should work"); } sys.webforms.pagerequestmanager.getinstance().add_endrequest(endrequesthandler); any ideas? thanks. ok, nevermind, got it. if else runs problem, put sys.webforms..... line this: $(document).ready( function () { sys.webforms....; }

iphone - How to make my application support ads? -

i want place ads in application. can me? you have few options, admob or google ads. however, apple provides iad framework, makes easy add ads app. suggest looking @ iad framework reference . basic process follows: create iad banner. set banner's delegate. add ad view view. you need set iad in developer account, affects revenue, not programming , testing aspect of things.

Using "C" dll in C# -

possible duplicate: how call unmanaged c/c++ code c# asp.net webpage i have dll file written in "c" language, want use in c#. how can that? you can use pinvoke platform invocation services (pinvoke) allows managed code call unmanaged functions implemented in dll. here great tutorial nag (numerical algorithms group) group

Customizing the NUnit GUI for data-driven testing -

my test project consists of set of input data files fed piece of legacy third-party software. since input data files software difficult construct (not can done intentionally), not going add new input data files. each input data file subject set of "test functions". of test functions can invoked independently. other test functions represent stages of sequential operation - if earlier stage fails, subsequent stages not need executed. i have experimented nunit parametrized test case (testcaseattribute , testcasesourceattribute), passing in list of data files test cases. satisfied the ability select input data testing. however, see if possible customize gui's tree structure, "test functions" become children of "input data". example: file #1 checkfiletypetest getfiletoplevelstructuretest completeprocesstest stageonetest stagetwotest stagethreetest file #2 checkfiletypetest getfiletoplevelstructuretest completeprocesstest stageo...