Posts

Accesing access 2003 application in workgroup -

i have application shared in workgroup. app shared workgroup users. when 1 user connected on application no other users can connect on application. tables linked well. if 1 user have opened application when other user start application on computer application hanged. when first user close application hanged application opens in moment on other user computer.

specifying AngularJS controller: benefits using ngController vs. $routeProvider -

there 2 ways (afaik) associate controller view template/partial: route specified in $routeprovider , ngcontroller directive. (but not exclusively) simple routing, there benefit/efficiency of 1 on other? my project uses $routeprovider approach, i've been given task of nesting views. seems simple enough nginclude, long partial specifies ngcontroller. if think of view including scripts self-contained package, developed single person or team, ngcontroller way go, imho. $routeprovider on other hand provides advanced features injection of values via resolve property of route. way can have ajax loaded data directly injected controller, e.g., instead of controller having itself. or have route change wait data etc. btw: if need routing , nested views can take @ angular ui-router

c# - Retrieve google contact based on contact Id -

when issue contacts request of user's contacts contacts id's of form: http://www.google.com/m8/feeds/contacts/sometestaccount%40gmail.com/base/4f822c758a541b6b reading google contacts api 3.0 bit confused on uri should use delete contact. doing: var cr = new contactsrequest(settings); var uri = new uri("http://www.google.com/m8/feeds/contacts/sometestaccount%40gmail.com/base/4f822c758a541b6b"); var contact = cr.retrieve<contact>(uri); cr.delete(contact); fails with google.gdata.client.gdatarequestexception : execution of request returned unexpected result: http://www.google.com/m8/feeds/contacts/sometestaccount%40gmail.com/base/4f822c758a541b6b?max-results=50movedpermanently what's correct way contact id , request contact deletion? in advance. i did research on , found 2 errors. 1) got "moved permanently because issued request in http , should have done in https. 2) uri format strictly : https://www.google.com/m8/feeds/co...

ssas - Data Warehouse - Multidimensional Model - Fact Table is Smaller than Dimension Table -

i working on data warehouse project customer dimension table larger fact table. dimension , fact tables created crm system. the fact table monitors activities such letter sent customer or customer calls assistance. half of customers have no activities , remaining customers have few activities; of customers have activities have single activity. i not sure if star schema best solution project. have worked on similar projects & solution. if many of dimension members not related facts @ all. sugest filter unused dimension members during etl process. so a select customer_id, name dil.customers customer_id in (select customer_id dil.calls)

python - AttributeError: 'module' object has no attribute 'error' -

i have following code in order create socket: #!/usr/bin/python import socket import sys try: s = socket.socket(socket.af_inet, socket.sock_stream) except socket.error, msg: print 'failed create socket. error code: ' + str(msg[0]) + ' error message: ' + msg[1] sys.exit(); print 'socket created!' but have following error: attributeerror: 'module' object has no attribute 'error' you have different module named socket on path. did not import stdlib module because being masked. print out filename of masking module locate it, rename it: print socket.__file__

javascript - Dynamic routes with static parts on express js -

i'm trying path express catches types of url: /events/0.json what i've tried is... (and it's not correct): router.put('/events.json/:id.json', islogged, events.update); is possible express? yes, catch pattern x.json x 1 or more characters. so /events/0.json save '0' in req.params.id. note id string, not number. have convert if want number number arithmetic or put in database number/int type

.net - Reference a workflow activity from a different project within the same solution -

Image
how can reference workflow activities different sharepoint project within same solution? what i've tried: i created new sharepoint 2013 project , called "referencingtest". added workflow it. then, created different sharepoint 2013 project within same solution , called "frameworktest". added new workflow activity called "frameworkactivity". now want use "frameworkactivity" within "referencingtest" project. can see below, it's added references. it's visible in toolbox. when trying drop activity workflow, mouse icon changes show not permitted. as can see below, "referencingtest" has reference "frameworktest" project. i've tried adding frameworkactivity referencingtest project, , tried adding reference in xaml referencingtest workflow. other ideas? try adding frameworkactivity assemly gac. take assembly bin\debug\partitionedworkflowbuild\frameworkactivity.dll not bin\debug fol...