Posts

Excel publish multiple sheet using VBA -

i trying publish multiple sheets in excel using vba. need publish sheet 2 , 3. below code. with activeworkbook .weboptions.allowpng = false .publishobjects(2) range("a1").activate .filename = "d:\reports\09192014\mnm.html" .publish (true) end end in publishobjects(2) changing number 2 3 manually below. with activeworkbook .weboptions.allowpng = false .publishobjects(3) range("a1").activate .filename = "d:\reports\09192014\coal.html" .publish (true) end end still though, in html report coal.html getting mnm.html data , has half of data. how can iterate sheets , publish objects? shouldn't adding first this?: activeworkbook.publishobjects.add(xlsourcesheet, _ "d:\reports\09192014\mnm.html", "sheet1", , _ xlhtmlstatic, , "") .publish (true) ....

objective c - AdMob not working: undefined reference to 'kGADAdSizeSmartBannerLandscape' -

i've made cocos2d game sprite builder , uses admob, conversion works fine without admob. after enabling admob these errors: [5/7] linking build/android-armeabi-debug/vitamins/apk/lib/armeabi/libapplication.so failed: path=/users/aukevalk/.apportable/sdk/toolchain/macosx/binutils/arm-linux-androideabi/bin:$path ccache_cpp2=yes /users/aukevalk/.apportable/sdk/toolchain/macosx/clang/bin/clang++ -o /users/aukevalk/.apportable/sdk/build/android-armeabi-debug/vitamins/apk/lib/armeabi/libapplication.so -arch armeabi -target arm-apportable-linux-androideabi -wl,--build-id --no-undefined -fuse-ld=gold -shared -wl,@/users/aukevalk/.apportable/sdk/lib/linker/bionic.wrap -wl,@/users/aukevalk/.apportable/sdk/lib/linker/opengl.wrap -wl,--as-needed -framework corefoundation -framework security -framework systemconfiguration -framework cfnetwork -framework foundation -framework coregraphics -framework imageio -framework bridgekit -framework coretelephony -framework googleplayservices -framew...

php - How to combine several file parts (Blobs) to the original file after ajax upload with unix cat command? -

i created uploader script can upload large files because splits blobs. figured out using php's fopen , fwrite won't work putting parts again (maybe memory thing). i figured out there unix command cat put ( http://www.cyberciti.biz/faq/linux-unix-appleosx-bsd-cat-command-examples/ ) but question is: how can select fileparts , put in 1 php exec command? i think syntax kinda have no idea how select parts: exec('cat "'.$all_my_parts.'" >> "' . $original_filename.'"');

php - remove wishlist and product compare from Opencart 1.5 -

i using opencart journal theme. now no longer want 'wishlist' , 'product compare', want disable it. i tried many options tried following link. 1) http://www.opencart.com/index.php?route=extension/extension/info&extension_id=11879 where deletes code 'wishlist' , 'product compare' using vqmod, not working me journal theme, , never remove functionality completely. so how please me. okay, wrote vqmod in last couple of hours. removes wishlist , product compare functionality 'controller' layer, , removes of themes, using default theme's html parts. since don't know theme (and 1 you've mentioned paid-for theme far know), have necessary modifications yourself, remove wishlist , compare links 'view' layer. might work if theme built upon default theme. here is: <?xml version="1.0" encoding="utf-8"?> <modification> <id>remove wishlist , product compare</id> ...

oop - Can we apply the REP, CRP, CCP, etc. principles to Java packages as well as to JARs? -

uncle bob's principles of ood ( http://butunclebob.com/articles.unclebob.principlesofood ) describes: the 5 principles of class design the 6 principles of package design (the release reuse equivalency principle, common closure principle, etc.) the article states that: in context package binary deliverable .jar file, or dll opposed namespace java package or c++ namespace. does mean 6 "package principles" not applicable java packages (which defined keyword package ) @ all? mean mistake apply them in manner? if so, point out such namespace-package principles can found? yes, package principles can applied single java packages, or equivalent groupings of classes (or other single units of software) in other languages. the first article in martin's series of articles package principles, release reuse equivalency principle , explains principles groupings of classes. rather arbitrarily chooses "package" name groupings, mentions that wor...

jQuery - toggled allowed animations.. nothing works -

nothing happens when click. if assign variable inside first if statement click works.. guess makou variable incorrect. var makou = true; if(makou == true){ $( ".box_box" ).click(function() { $( ".box" ).animate({ top: "+=300", }, 50, function() { }); makou = false; }); } if(makou == false){ $( ".box_box" ).mouseleave(function() { $( ".box" ).animate({ top: "-=300", }, 50, function() { }); makou = true; }); } true , false has written small letters @spokey said , second event mouseleave never set because variable makou true . , when click makou going false mouseleave not set aga...

html - li active and a hover not showing same result -

Image
i have created navbar <li class="active"> not showing desired result. it showing this: i have used same css .active , .hover . .hover working fine .active not. this html code: <div class="navbar"> <ul> <li class="active"><a href="#">home</a></li> <li><a href="#">about</a></li> <li><a href="#">servies</a></li> <li><a href="#">contact</a></li> </ul> </div> and css: /*navbar css*/ .navbar{ width: 920px; height: 37px; text-align: right; text-shadow:3px 2px 3px #321; background-color: #666633; border-radius: 5px; } .navbar ul{ list-style-type: none; height: auto; padding: 8px 0px; margin: 0px; } .navbar li{ display: inline; padding: 20px; font-family: 'play', sans-serif; font...