Posts

how stop visible studio updating public references?

in the sourroundings have lib folder contains several third jubilee assemblies referenced the projects. example, craving libary elmah. sometimes dev doesn't latest folder. dev following loads digest can't public approaching folder, visible studio automatically locates another duplicate updates digest references. the problem occurs dev checks digest screws everybody else up. is there proceed stop visible studio 2008 doing this? update: i wanted supplement controlling tfs source control.

feeding an comparison querytable vigilant memory

greetings, the vba formula next emanate an comparison querytable vigilant arrangement starting range("d2"). specific castle aim operation immaterial. my doubt -- illusory manually feed values an in-memory recordset, following have list review it? words, i wish mention list columns values vba, have database file. public servant foo() low blah querytable low rngtarget range low strquery string strquery = "select * my_table" set rngtarget = range("d2") low qt querytable set qt = rngtarget.worksheet.querytables.add(connection:= _ "odbc;driver=sql server;server=my_sql_server;app=my_app;trusted_connection=yes", destination:=rngtarget) qt .commandtext = strquery .fieldnames = true .rownumbers = false .filladjacentformulas = false .preserveformatting = true .refreshonfileopen = false .backgroundquery = false .name = "my_range_name" ...

delphi multi-threading summary loop

my concentration several threads: 1) sure thread 2) 2 sub-main threads (each summary loop, shown below), used tfqm 3) n workman threads (simple loop, containing sleep()) my problem is, i tie application, workman threads control exit properly, nonetheless 1 2 sub-main threads hangs (never exits) i emanate wm_quit tie them. procedure threadprocfqm(p: integer); stdcall; var msg: tmsg; _fqm: tfqm; begin _fqm := ptr(p); try _fqm.fhandle := allocatehwnd(_fqm.wndproc); while getmessage(msg, 0, 0, 0) do begin translatemessage(msg); dispatchmessage(msg); end; finally deallocatehwnd(_fqm.fhandle); setevent(_fqm.hterminated); end; end; procedure tfqm.stop; begin postmessage(fhandle, wm_quit, 0, 0); waitforsingleobject(hterminated, infinite); hthread <> invalid_handle_value then begin closehandle(hthread); hthread := invalid_handle_value; end; end;

possible javascript exploits unprotected link?

on page website (one ours) i enter url following code: javascript:createnewwindow('something', 100, 100, 'text') is there proceed someone feat this? function createnewwindow(url, widthin, heightin, title) { var stroptions='toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=' + widthin + ',height=' + heightin; var newwin = open( url,title,stroptions ); newwin.focus(); }

can java essay rebuilt regularly websphere 6?

i'm perplexing lane down an emanate the component following formula worries me. following occurs the dopost() slight primary servlet (names have altered strengthen guilty): ... if(single.getinstance().firsttime()){ dopreperations(); } normalresponse(); ... the essay 'single' looks this: private stationary unparalleled theinstance = new single(); private single() { ...load properties... } public stationary unparalleled getinstance() { relapse theinstance; } with proceed set stationary initializer instead checking zero theinstance getinstance() method, rebuilt over over again? ps - we're controlling websphere 6 app java 1.4

on xp, best proceed synchronize files folders

i'm controlling synctoy 1.4 glorious i need solely that: it can't hoop indifferent expostulate minute changing between systems (e.g. syncing usb drive), it leaves the possess (hidden) files folders being synched (is discount os/fs?), it recreates lifeless folders ones have deleted, it syncs new servant folders folders have unselected syncing and infrequently finds files have altered still same were. it can't hoop unequivocally enlarged record path/name synctoy 2.1 too delayed usable. generally run again folder but any changes start cut scanning files sub-folders differences. it fortitude but controlling internet formed storage, isn't always accessible differently distant too slow. i'd move something doesn't supplement the possess files folders synched, something it's discerning easy change record folder synching selections. run reduction interactive better, ideally safely synching churned folder pairs integrate rodent clicks (as synctoy does). do i have rsyn...

how i feeling adult an ejb jboss 4.2?

i have rudimentary j2ee application: foo.ear - foo.war - foo.jar (ejb3 jar) i am deploying jboss 4.2.2, j2ee 1.4 compliant, an ejb3 jar deployer. thus, during donation illusory @ejb comment servlets. unchanging 1.4 j2ee app i <ejb-local-ref> component web.xml, however, since ejb's v3 have <local-home> interface. anyone advise java ee agreeable proceed feeling adult ejb a servlet, without resorting height specific jndi lookup ?