Posts

c# - Question about tab control -

i creating app that uses tabbed view. pull data sql database , display in grid. want able allow users add, edit, delete, etc on each tab. there way have add, edit, , delete buttons show on each tab without having code each tab individually? let me know if more info needed. thanks you either put buttons outside tab control , apply them selected tab, or have each tab display control derived base class includes buttons (so implemented once in base class).

windows - WCF Hosted as Service -

i have vb.net wcf service hosted window service. able create install package, install service machine, , start service manually services in administrative tools. now when try reference service in test console application (address: http://localhost:8080/ ), following error: there error downloading 'http://localhost:8080'.` unable connect remote server no connection made because target machine actively refused 127.0.0.1:8080` metadata contains reference cannot resolved: 'http://localhost:8080/'. not connect http://localhost:8080/ . tcp error code 10061: no connection made because target machine actively refused 127.0.0.1:8080. unable connect remote server no connection made because target machine actively refused 127.0.0.1:8080 if service defined in current solution, try building solution , adding service reference again. not sure can this. ideas??? thanks, jason. here's code app.config inside service: ...

windows - Does an Adobe AIR ActiveX Control exist? -

i wondering: air activex control exist? want load swf movie inside flash activex controller, movie created using adobe air , therefore cannot load of dependencies. i've seen air .exe wrapper somewhere around internet, think possible somehow. any clues on this? thanks in advance! regards, theo

ios - Reusing Certificate Signing Request for Apple Push Service -

the creation of csr prompt keychain access simultaneously generate public , private key pair. private key stored on mac in th.... so every ios app can have 2 environments set push notifications, development , production. what harm in reusing same csr (and same private key?) both dev , prod environments? possible? in similar effect harm of using same csr across different apps. basically want manage single private key when install required elements on server handle push notifications on end. thanks i use same private/public key certificates. time ever end having different private/public keys when client wants me manage whole apple account , certificate generation.

Android MarketPlace filter for 3G or 4G devices -

can restrict our app,so visible/shown 4g devices in android market place. i have 2 apps,one 3g , other 4g.i don't want user confused seeing 2 icons of same app in marketplace. regards, andy ok,since no 1 updated long time,i updating myself. currently don't have filter network type (like 3g/4g-lte). we can restrict @ application level,by checking hardware support 3g/4g having conditions hspa,hspa+,hsrpd,...

objective c - Connecting to a server with NSNetService but failing- automatic socket disconnect? -

new simpler version of problem: i'm trying connect , communicate bonjour device using objective-c client , i'm having trouble resolving service (server). tried more complicated example, found basic socket connection port/ip specified wasn't working. i have barebones possible code using cocoaasyncsocket library: asyncsocket *xxx = [[[asyncsocket alloc] initwithdelegate:self] autorelease]; nserror **err; [xxx connecttohost: @"localhost" onport: 5000 error: err]; nslog(@"err=%@",err); and here's server i'm trying connect (python script): # tcp server bonjour broadcast! import select import sys import pybonjour import socket time import sleep #name = sys.argv[1] #regtype = sys.argv[2] #port = int(sys.argv[3]) # bonjour service parameters name = "test" regtype = "_xxx._tcp." port = 5000 # tcp socket stuff server_socket = socket.socket(socket.af_inet, socket.sock_stream) server_socket.bind(("", po...

javascript - Render any response from ajax call (HTML and/or JS) -

i wonder what's effective way render might come ajax call. response can html and/or javascript i doing document.write() since ajax call sync. have use async calls can't write page using document.write, have add content specific html object when call finished. i tried this $jquery.ajax({ url: "myurl.ashx", data: params, success: function(data){ var newdiv = document.createelement('div'); newdiv.innerhtml = data; document.getelementbyid('target').appendchild(newdiv); } but doesn't work javascript returned, broken (this means; doesn't render content or weird things showing content in new tab). work simple scenarios. i wonder if there better approach works better this. thanks! edit this code, example, doesn't work expected. renders content on blank page instead of adding content current page. i'm testing ff 3.6. simplicity, i'm harcoding javscript on str var, script returned...