Posts

Webview unable to render frameset -

i trying load webpage inside web view - https://netbanking.hdfcbank.com/netbanking/ . can see dom rendered height of frame 0. <html><head> <title>welcome hdfc bank netbanking</title> <script language="javascript"> var daemon = 'netbanking'; var p_remoteaddress = ''; var rsaauthreq = ''; var l_path = window.location.pathname; if(l_path == undefined || l_path == '' || l_path.indexof("/netbanking") < 0){ window.location.href = window.location.protocol + "//" + window.location.host +"/netbanking"; } </script> </head> <frameset border="false" frameborder="o" framespacing="0" rows="*" cols="*"> <frameset border="false" frameborder="o" framespacing="0" rows="*,30" cols="*"> <frame margin...

excel - VBA Check duplicates (column) and copy cells from one row to another that is duplicate -

Image
excel 2007 [vb] in macro filter color find duplicated values (on column "j" have highlight cells rules - duplicates). duplicated records in column "j" named in column "k" "copy" or "original".i find "copy" each "original" record under (but not 1 more rows) , copy cells value column n:r of "copy" row row "original". i hope wrote if not screenshot under. table begining of macro: sub copy_original() dim lastrow long dim wb2 excel.workbook application.displayalerts = false application.alertbeforeoverwriting = false application.screenupdating = true set wb2 = thisworkbook wb2.sheets("sheet1").autofiltermode = false wb2.sheets("sheet1").range("a4:u4").autofilter field:=10, criteria1:=rgb(255, 204, 0), operator:=xlfiltercellcolor lastrow = wb2.sheets("sheet1").cells(rows.count, "c").end(xlup).row x = lastrow 5 step -1 if... ... wb2.shee...

excel - VBA realtime filter Listbox through Cell Value -

Image
i have listbox in worksheet , activating clicking specified cells. filter listbox writing on cell. example, if write "asd" on cell, listbox should return lines start "asd" in realtime. private sub worksheet_change(byval target range) on error resume next if target.value <> "" listbox1 = .listcount - 1 0 step -1 if instr(1, lcase(.list(i, 0)), lcase(target.value)) = 0 , _ instr(1, lcase(.list(i, 1)), lcase(target.value)) = 0 , _ instr(1, lcase(.list(i, 2)), lcase(target.value)) = 0 , _ instr(1, lcase(.list(i, 3)), lcase(target.value)) = 0 .removeitem end if next end end if end sub i have not working. can try method - when specific cell changed remove items listbox , populate matching items source range : option explicit private sub worksheet_change(byval target range) dim strfilter string dim rngdata range ...

c# - The application I developed with vs2010 works very slowly in vs2015 -

i developed application (too many modules included) in visual studio 2010 ultimate. bought new pc , installed visual studio 2015 enterprise on it. first problem after when open project in vs2015; forms' size changing 1924; 1034 or similar sizes. old pc 15.6" laptop , new 1 14". why forms' size changing? second , biggest problem i using datagridviews in project. when write on new line freezing during 1 second working. know working fast. , check database connection there isn't problem. i don't know problem ? thinking change product vs2010. if have chance resolve have make.

java - JComboBox<BeanObject> not displaying edited values -

i have jtable, first column uses jcombobox editor. combobox model contains data objects fetched sql database. if manually enter value inside combobox , leave editor, entered value lost. doens't happen if value selected popup, or if jcombobox's model instantiated simple strings instead of bean objects. note need add row dinamically, seems irrelevant since issue appears both in default row , in added rows. this working netbeans sample project reproduces issue: https://drive.google.com/open?id=0b89fss48-yy4v09yrvozrzjgmkk here relevant code: public newjframe() { initcomponents(); //bean objects used populate combobox: item item1 = new item("one", 1); item item2 = new item("two", 2); item item3 = new item("three", 3); jcombobox<item> combobox = new jcombobox<>(new item[]{item1, item2, item3}); combobox.seteditable(true); defaultcelleditor defaultcelleditor = new defaultcelleditor(combobox); defa...

sql - Cassandra: Update multiple rows with different values -

hi have similar table in cassandra: create table testtable( id text, group text, date text, user text, dept text, orderby int, files list<text>, users list<text>, family_memebrs list<frozen <member>>, primary key ((id)));' create index on testtable (user); create index on testtable (dept); create index on testtable (group); create index on testtable (date); id | orderby :---- | :---- 101 | 1 102 | 2 105 | 3 i want change existing order following ids 105,102,103 in same order. i.e., (105, 1) (102, 2) (103, 3). i'm new cassandra, please me. think possible in sql byusing rownum , join. i'm new cassandra i can tell. first clue, order of results. id sole primary key (making partition key) results never come sorted that. this how should sorted: aploetz@cqlsh:stackoverflow> select id,orderby,token(id) testtable ; id | orderby |...

Deleting a cookie on asp.net web api -

i'm trying delete session-id cookie , doesn't work. any guidance completing task using normal controller? httpresponse ( not httpresponsemessage ) below code public class logoutcontroller : apicontroller { [acceptverbs("get")] [system.web.http.route("logout/removecookie")] [system.web.http.httpget] public httpresponsemessage removecookie() { httpresponsemessage response = request.createresponse(httpstatuscode.ok); cookieheadervalue currentcookie = request.headers.getcookies("session-id").firstordefault(); if (currentcookie != null) { cookieheadervalue cookie = new cookieheadervalue("session-id", "") { expires = datetimeoffset.now.adddays(-1), domain = currentcookie.domain, path = currentcookie.path }; ...