Posts

silverlight 4.0 - Visual studio 2010: Can't show design view -

Image
मुझे विज़ुअल स्टूडियो 2010 में एक समस्या है: मैंने एक कस्टम उपयोगकर्ता नियंत्रण बनाया है, जो कुछ डेटा दिखाता है, फिर मैंने इसे किसी पृष्ठ पर जोड़ने का प्रयास किया। जब मैंने ऐसा किया, तो यह त्रुटि दिखाई दी ... जब मैं (डीबगिंग शुरू करें) अपना आवेदन चलाता हूं, सबकुछ ठीक काम करता है, केवल एक चीज जो काम नहीं कर रही है वह दृश्य स्टूडियो डिज़ाइन दृश्य है। इसको हल करने के लिए मुझे क्या करना चाहिए? आपका नियंत्रण डेटा प्रदर्शित कर रहा है - अगर वह इसे प्राप्त करने की कोशिश करता है दूरदराज के डेटाबेस से डेटा (उदाहरण के लिए) जो डिज़ाईन समय पर उपलब्ध नहीं है, इसलिए यह समस्या पैदा कर सकता है। डेटा स्रोत होने से निपटने के लिए आपको अपने कोड को संशोधित करने की आवश्यकता है (संभवत: एक अच्छा विचार वैसे भी ) या कोड को "इस डिज़ाइन मोड में" जांचें।

linux - Bash completion programming , '@' is always removed in completion string -

I am completing a bass for Gentoo, which searches for packages, sets (Portes 2.2 new feature) But one problem I found when I'm using the following command: emerged @ pay and I should get @ protected-libs, but Bash turns it in: emerge pres The first thought was that there would be a problem with my script "emerge-finder.pl", so I again Checked and this The script gave the correct output. And next I checked the Bash script: _portage_cmd () {COMPREPLY = (`~ / scripts / emerge-finder.pl $ {COMP_WORDS COMPPLY} before line [COMP_CWORD]} `}} full-width _portage_cmd em and I put" echo $ {COMP_WORDS [COMP_CWORD}} ", and the" @ "character has no output, wired . How can I remove my "@" from Bash? thanks a lot! Can help quote or avoid ... So cited: emerged '@pace' or by avoiding: emerged @ send

java - How can I force a CipherOutputStream to finish encrypting but leave the underlying stream open? -

मेरे पास एक अन्य आउटपुटस्ट्रीम द्वारा समर्थित एक सीफ़रऑटपुटस्ट्रीम है। मुझे सिफरऑटपुटस्ट्रीम के लिए एन्क्रिप्ट करने वाले सभी डेटा को लिखना समाप्त करने के बाद, मुझे कुछ अनएन्क्रिप्ट किए गए डेटा को जोड़ने की आवश्यकता है। कहते हैं कि कॉलिंग flush () अंतिम ब्लॉक को बाहर नहीं करने देगा एन्क्रिप्टर का; इसके लिए मुझे close () कॉल करने की ज़रूरत है लेकिन बंद () अंतर्निहित आउटपुटस्ट्रीम को भी बंद कर देता है, जिसे मुझे अब भी लिखना है। मैं स्ट्रीम को बंद किए बिना एन्क्रिप्ट करने वाले अंतिम ब्लॉक को कैसे बाध्य कर सकता हूं? क्या मुझे अपना स्वयं का नॉन-क्लॉजिंग सीफ़र आउटपुटस्ट्रीम लिखने की आवश्यकता है? यदि आपके पास साइफर , आप FilterOutputStream को उस विधि में पास कर सकते हैं जो CipherOutputStream बनाता है। FilterOutputStream में, बंद करें विधि ओवरराइड करें ताकि यह वास्तव में स्ट्रीम बंद न करे।

django - Custom user model breaks auth tests -

Hecko out there, I'm using a custom user model that I ?? The member has opted to call, which extends the default user model (as described in the form described). This is because it breaks many tests of the application, because test stability only makes standard users , subscriber not. When I add the missing member definitions / rows to DJ ango / contrib / auth / fixtures / authtestdata.json, they surely repeat, but certainly not a solution. Is this doing something wrong for me, and how should I go about doing the best about fixing it? In the final form, I will just add a patch to authtestdata.json in the Buildout, but perhaps there is a very beautiful solution. Thank you very much, Tilofoni You set the AUTH_USER_PROFILE parameter according to the settings Can get some pleasure from it, as it is a great way to expand the standard user model in such a way that it can work with Django.

UIButton setFont fails on iPhone 2G iOS 3.1.3 -

Hi, My tester is in iPhone 2 with 3G 3.1.3. The app crashes on this app on your phone: - (zero) viewDidoadload {[Super Viewedload]; [Resume Game.titleLabel setFont: [UIFont fontWithName: @ "Old English Text MT" Size: 20.0]]; [StartNewGame.titleLabel set font: [UIFont fontWithName: @ "Old English Text MT" Size: 20.0]]; [Options.titleLabel setFont: [UIFont fontWithName: @ "Old English Text MT" Size: 20.0]]; } and interface: @ interface puzzlewind controller: UIViewController {IBOutlet UIButton * resumeGame; IBOutlet UIButton * startNewGame; IBOutlet UIButton * option; } @property (nontomic, retten) ibotlet UIButton * resume game; @property (nontomic, retten) ibotlet UIButton * startNewGame; @protecti (nontomic, retten) IBOutlet UIButton * option; The font has been copied to the Resources folder and "Information. Plist" "The font provided by the application" is set correctly. How can I correct any thoughts? Best regar...

c# - Add-BindingRedirect not resolving NuGet vs issue -

I'm having a problem like I think the other poster to use Nugate to install FluNet Newbernet The file or assembly could not be loaded: 'NHibernate, version = 3.0.0.2001, culture =' error Neutral, Public Key Token = AAA 9 52020989 FADB 4 'or its dependency is a clear definition of the assembly located from the assembly reference Ell does not eat. (HRESULT: Exception from 0x80131040) I saw that the stack overlays answered and answered on other blogs: add-binding redirect However, it has not resolved my problem and all the results of running that command are: PM> Ed-Binding Redirection Name Oldversion Newversion ---- ---------- ---------- NHibernate 0.0.0.0-3.0.0.4000 3.0.0.4000 When I am setting up Fluent Enhnernet from Newgate, it says that its dependencies are 3.0.0.2001 Nhibernate but it installs Nhibernate 3.0.0.4000 What am I doing wrong? Update I think it adds the following section to the node: & lt; DependantAssembly & ...

Calling a USSD number without opening the phone app in Android -

I am trying to call a USSD number from my application: = Uri.fromParts ("tel", "* 110 #", ""); Int'l I = new intent (int. Action_CALL, U); StartActivity (i); This phone launches the app and calls the number. What do I need to call the USSD number without opening the phone app or please open it in the background. If the user is doing something, then he should not bother. Only one notification should be generated. Any suggestions? Fortunately, this is not possible, except for your own custom firmware If this is possible, then malware will take advantage of it to make a phone call without the user's knowledge.