Posts

java - Can CVS still be installed on NetBeans 8.0 -

i have (thursday 28th may 2015) installed netbeans 8.0 on machine find cvs not come included on standard. have hunted around have found , no way install cvs on package. confess know nothing netbeans have have with cvs installation versioning. there anywhere or anyway please? and, before tells me, not sure used more - mercurial may have replaced it...

javascript - Wait for confirmation in .each statement -

i'm looping through elements , want toggle bootstrap modal if condition met, , when condition met want user choose appropriate action clicking button in modal. i'm having issue modal called , loop continues - result being modal shows , hides. how stop loop until user confirmation obtained thru bootstrap modal? you use confirm() synchronous (blocks code until user selects option) won't styled , bit nasty. otherwise you'll have rethink code/approach 'modal' dialogs in jquery not same modal windows in winforms. some possible options might nicer multiple dialog popups: loop through elements first , present single dialog options on use checkboxes/option boxes against each row needs action alternatively, change loop exit after first dialog shown, when dialog closed, restart event/action/loop first 1 have been handled , pick next one.

c# - ASMX Web service call its own instance located at different location -

i have 1 service located @ servers http://myservice/profilemanagerws/profilemgrws.asmx when client make call, need check request header property. if property call canadian instance, redirect call http://ca-myservice/profilemanagerws/profilemgrws.asmx previously service located @ servers , have hosted service canadian servers now. we not want make code changes @ consumers of http://myservice/profilemanagerws/profilemgrws.asmx should write httpmodule or soap extension instance? also, should add proxy instance call canadian instance? first of all, unless client application has functionality accept redirect response won't able alter web service functionality. what want implement geographical load balancing @ dns server. if canadian requests ip address myservice , give them ip address goes candian server configured accept requests myservice domain.

excel - Save generated Word file with unique name (mailmerge) -

i need macro. need save generated word file via mail merge. sub runmerge() dim wd object dim wdocsource object dim strworkbookname string on error resume next set wd = getobject(, "word.application") if wd nothing set wd = createobject("word.application") end if on error goto 0 set wdocsource = wd.documents.open("c:\users\admin\desktop\new folder (2)\g706014 ver.7.0.docx") strworkbookname = thisworkbook.path & "\" & thisworkbook.name wdocsource.mailmerge.maindocumenttype = wdformletters wdocsource.mailmerge.opendatasource _ name:=strworkbookname, _ addtorecentfiles:=false, _ revert:=false, _ format:=wdopenformatauto, _ connection:="data source=" & strworkbookname & ";mode=read", _ sqlstatement:="select * `mailing$`" wdocsource.mailmerge .destination = wdsendtonewdocument .suppressblanklines = true .datasource .firstr...

sql - Creating an index on a table variable -

can create index on table variable in sql server 2000? i.e. declare @temptable table ( [id] [int] not null primary key ,[name] [nvarchar] (255) collate database_default null ) can create index on name? the question tagged sql server 2000 benefit of people developing on latest version i'll address first. sql server 2014 in addition methods of adding constraint based indexes discussed below sql server 2014 allows non unique indexes specified directly inline syntax on table variable declarations. example syntax below. /*sql server 2014+ compatible inline index syntax*/ declare @t table ( c1 int index ix1 clustered, /*single column indexes can declared next column*/ c2 int index ix2 nonclustered, index ix3 nonclustered(c1,c2) /*example composite index*/ ); filtered indexes , indexes included columns can not declared syntax sql server 2016 relaxes bit further. ctp 3.1 possible declare filtered indexes table variables. rtm may case i...

osx - Can't switch branch: untracked working tree file because of case-insensitivity? -

i want merge develop branch master branch , thougt this: git checkout master git merge --no-ff develop git tag -a 1.0.0 but on checkout get git checkout master error: following untracked working tree files overwritten checkout: project/resources/someimage.png please move or remove them before can switch branches. aborting but have file someimage.png in develop branch , seems git has somehow old file. git case-sensitive? on local folder there no such file. shoud use git rm -f filename ? edit: now tried delete file, get fatal: pathspec './project/resources/someimage.png' did not match files now i'll try checkout master branch -f. i forced checkout this git checkout master -f and local differences should ignored. think through deleting , re-inserting image there problem in index or so.

Meteor Custom Accounts createUser with multiple parameters for user -

i trying user registration process in meteor . looked @ meteor accounts-password package , handle pretty required logic. app ,i struggling on following 2 points ---- 1 . accounts-password api named accounts.createuser takes limited parameters -- username , email , password registering user . requiring other fields mobile_number , first_name, last_name, address completing user registration creatuser . mobile number used send otp verify user's mobile . email verification , meteor . how can multiple parameters based create user executed using accounts-password api's. 2 . accounts-password api named accounts.loginwithpassword takes email , username , password login . in app , user enter either email or mobile_number 1 input , password second input , , based on , need verify user , log him in app . how can mobile number based loggingin included ? i've had similar use case had build system users mobile numbers , no email ids. use profile field store addition...