Posts

.net - Is it possible to reuse an existing process via a plugin or application in C#? -

.net - Is it possible to reuse an existing process via a plugin or application in C#? - i have existing programme have work around. provides decent plugin architecture, i've run problem. need create command-line plugin check if programme running , pass command-line parameters existing instance. is possible using plugin? best practice in situation utilize messaging system? for scenario describe, have used wcf service hosted on net.pipe protocol. basically, have contract defines endpoint can receive info provide command-line arguments. when process starts, first attempts contact service. if service available, means existing process , running. in case, open channel process, send info it, , exit. if service not available, start service. c# .net plugins

How to use a different font CSS color for all Internet Explorer browser versions? -

How to use a different font CSS color for all Internet Explorer browser versions? - i have wordpress theme uses html5 bolierplate. well, utilize "edit css" module of jetpack plugin create modifications , additions theme's css. through "edit css" module of jetpack, have defined 3 dimensional css text shadows various wordpress widget headings. .example-widget h3{ color: #fff; text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15); } the problem, on net explorer, 3d text shadow not supported (at to the lowest degree ie9. have not tested on ie10) , white font not work lite colored background. on ie, need color of #444 replace 3d text effect. the bolierplate defines next in <head> , can't ...

vb.net - Issue with combobox autocomplete -

vb.net - Issue with combobox autocomplete - i trying incorporate 3 comboboxes functional gui consist of textboxes, numericupdown controls , comboboxes. on form have navigation keyboard (me.selectnextcontrol) keys , down. happens? when step in gui first time work ok , can move up/down keyboard expected. problem becomes when edit combobox in midle of gui , set this: mycombo.autocompletemode = autocompletemode.suggestappend mycombo.autocompletesource = autocompletesource.customsource mycombo.autocompletecustomsource = myautocompletestringcollection problem when come combobox navigation loop don't keypress (up or downwards keys) anymore because combobox takes them itselfs purpose (change index). i seek mycombo.autocompletesource = autocompletesource.customsource after combobox_leave turns off autocomplete not wanted. question is: here possible set described combobox after usage in mode @ origin of program, when not edited, can navigate keyboard through...

tortoisesvn - How can I track file and folder modification times with SVN? -

tortoisesvn - How can I track file and folder modification times with SVN? - please notice, has nil setting use-commit-times . using svn maintain track of school work (word documents, pdfs, images, etc.). necessary this? have things effect svn's arbitrary properties can used store information. how do this? additional information: not talking lastly commit time. subversion not store metadata. hack around creating custom properties record timestamps, need run script update them before performing commit. the repository cares when item changed in repository. svn tortoisesvn

How to play online videos in Android? -

How to play online videos in Android? - i developing sample media player app in android play online videos, have developed code play videos. plays video sd card well, facing 2 issues in respect. 1- when open app online videos shows video not play video , after while displays alert dialog having message "sorry, video cannot played". 2- have code "progress bar", don't know set code when video downloading internet. here code can check it. in advance. myvideoview = (videoview) findviewbyid(r.id.surface_view); seek { myvideoview.setvideouri(uri.parse("http://www.my_domain_name.com/videos/video1.mp4")); myvideoview.setmediacontroller(new mediacontroller(this)); myvideoview.requestfocus(); myvideoview.start(); } catch(exception e) { toast.maketext(getapplicationcontext(), "no media found", toast.length_long).show(); } ...

MoonAPNS (was:Run a PHP script from within ASP.Net/C#?) -

MoonAPNS (was:Run a PHP script from within ASP.Net/C#?) - i have php script (taken here) send apns notifications ios app web services app written in c#/asp.net. i've managed install php on server , tested script command line don't know how within web service (or if possible). is there way run php file within asp.net or improve trying re-write php script in c#? -edit- more searching turned this, prompted me seek next code, without success: public void pushnotificationalert() { string phone call = @"""php.exe"""; string param1 = @"-f"; string param2 = @"""~\apns\mypush.php"""; process myprocess = new process(); processstartinfo myprocessstartinfo = new processstartinfo(call); myprocessstartinfo.useshellexecute = false; myprocessstartinfo.redirectstandardoutput = true; myprocessstartinfo.arguments = string.format("{0} {1}", param1, param2); myproce...

android - Calling the old method call inside AsynTask doInBackground -

android - Calling the old method call inside AsynTask doInBackground - i'm new android programming , coded app in android 2.2. when tried run app in android 3 or higher error : android.os.networkonmainthreadexception in android 2.2 have method this: public jsonobject makeservicecall(string url, map<string, string> params) which performing network phone call operations. looking google found need move code asynctask class of doinbackground . but have problem in changing params of doinbackground takes object... varags, method takes 2 parameter string,map<string,string> . are there work around can within doinbackground phone call original makeservicecall . thanks in advance. you can utilize constructor of custom asynctask send multiple variable, don't need send variable in execute() method. this: private class myasynctask extends asynctask<void, void, boolean>{ private string mstring = null; map<string, s...