Posts

treeview - C# Cursor/ Caret Not display when Append text in Richtextbox -

I am new to programming, I am applying C # windows form, if you select tree node, Adds: Qs1: The carrot node for me has not been displayed after selecting. Q2: Create a display-like display, where the word beginning with // should be green (comment). Thanks if (treeView1.SelectedNode.Name == "node1") {this.richtextbox1. Selected text + = "My text for node 1" + Environment New Rich Textbox 1 Focus (); } And if (tree view 1. select node .name == "node 2") {this.richtextbox1.SelectedText + = "my text for node 2" + environment New Rich Textbox 1 Focus (); } You are asking two questions related to RichTextBox . The preferred form on stack overflow is that you will probably get more responses with more focused questions. It is being said: According to the documentation for the law: So you need to do this first. In addition, as a general rule, you should never modify the already existing or + = , because it will use any...

swift - Http request on iOS app starting -

I want to send http request to myapp-start how to do this? I try: class MainViewController: UITableViewController {func my_request () {url = NSURL (string: "http://www.stackoverflow.com") Request = NSURLRequest (URL: Url ()) / Lg = my_request ()} But I have an error: Missing argument for parameter # 1 in call How to fix it? Thank you! my_request () returns nothing, if you want to call function, only my_request () I suggest keeping it in the ViewDidLoad function (on your app's main view controller)

wso2esb - Compile error wso2 ESB 4.8.1. and kernel -

हमें कर्नेल wso2 esb और wso2 Jdk - & gt; Jdk1.7.0_60 त्रुटि wso2 esb 4.8.1 [त्रुटि] परियोजना org.wso2.esb.integration पर लक्ष्य निष्पादित करने में विफल .कोर: परियोजना org.wso2.esb के लिए निर्भरता हल नहीं किया जा सकता है: org.wso2.esb.integration.core: जार: 4.8.0: कलात्मकता org.apache.ws.security:wss4j:jar.1.5.11 नहीं मिल सका -Wso2v6 wso2-nexus में (http://maven.wso2.org/nexus/content/groups/wso2-public/) - & gt; [सहायता 1] org.apache.maven.lifecycle.LifecycleExecutionException: परियोजना org.wso2.esb.integration.core पर लक्ष्य निष्पादित करने में विफल: कोर परियोजना के लिए निर्भरता को हल नहीं किया जा सकता। Orso.exe:। Org.wso2.esb.integration। कोर: जार: 4.8.0: wer2-nexus (http://maven.wso2.org/nexus/content/groups/) में आर्टिफैक्ट org.apache.ws.security:wss4j:jar:1.5.11- वाओ 2 वी 6 नहीं मिल सका। Wso2-public /) त्रुटि wso2carbon-kernel 4.2.0 [INFO] ------- -------------------------------------------------- --------------- [त्रुटि] लक्ष्य org.apache.maven.plugins न...

mysql - Copy/ Update the primary keys value to another column of the same table -

मेरे पास एक MySQL डाटाबेस तालिका है सदस्य जैसा नीचे दिखाया गया है: सभी I need subscriber_id के रूप में ग्राहक बनती है। उदाहरण: अगर ग्राहक आईडी 261 है और ग्राहक संख्या 262 है, तो मुझे ग्राहक आईडी नंबर 261 के रूप में ग्राहक आईडी के समान ही बनाने की आवश्यकता है। क्या आप कृपया इसे सॉर्ट करने के लिए MySQL क्वेरी से सहायता कर सकते हैं? UPDATE 1: आप यहां विशेषज्ञों से MySQL क्वेरी प्राप्त करने के लिए देख रहे हैं मैंने जो कोशिश की, वह पंक्तियाँ प्राप्त करना था जहां आईडी और संख्या दोनों अलग-अलग हैं SELECT subscriber_id, ग्राहक से WHERE subscriber_id & lt; & gt; नमूना डेटा के साथ तालिका संरचना देखने के लिए कृपया नीचे कोड स्निपेट चलाएं "डेटा-लैंग =" जेएस "डेटा-छुपाएं =" झूठे "> & lt; तालिका & gt ; & LT; thead & gt; & LT; टीआर & gt; & Lt; td शैली = "सीमा-दायें: 1 पीएक्स ठोस # 000; सीमा नीचे: 1 पीएक्स ठोस # 000;" & gt; ग्राहक_आईडी & lt; / td & gt; & Lt; td शैली = "सीमा-दायें...

linux - Can we call or execute C# Source code from Bash Script? -

I need to answer only one question we *. You can use CS files or run * .exe files created by Microsoft Visual. Studio from Bash script or Linux command prompt? You at the command prompt with the following statement on Linux Mono: Mono microgram. XE Created with Visual Studio is not runable by the mono on the executable as @AOWSLC has suggested that you make it an order like alcohol If you are using alcohol, keep in mind that this is a compatibility at the top of Linux. Layer, so I would recommend Mono as a safe perspective. If you start with a .cs file, you can not run it with mono because obviously it is not an executable you can compile it with the following command: mcs myprogram.cs If the .cs code generated in Visual Studio is compatible with the Mono Framework, the compiler will generate an exe file which you can set up on the mono can run with the command.

How to Split String With double quotes in java -

इस सवाल का पहले से ही एक उत्तर है: 1 उत्तर यह सवाल बहुत सरल है उदाहरण के लिए मैं स्ट्रिंग कर रहा हूँ "2014-09-16 05: 40: 00.0" मजबूत>, विभाजन के बाद, मुझे स्ट्रिंग की तरह ऐसा करें 2014-09-16 05: 40: 00.0, ऐसा करें कोई भी मदद कैसे प्राप्त करें यह? इस तरह से आप आंतरिक डबल उद्धरणों से बच सकते हैं स्ट्रिंग str = "इसे इस पर करें" 2014-09-16 05: 40: 00.0 \ ""; स्ट्रिंग [] splitterString = str.split ("\" "); के लिए (स्ट्रिंग s: splitterString) {System.out.println (s)}} आउटपुट इसे 2014-09-16 05: 40: 00.0 पर करें

Python: if arrived to end of list -

The program I wrote for my assignment is: Def code (list, cod): LST: [0: 4] for element in element = element = yyyy = element [4: 8] mm = element [8:10] dd = element [10:12] If in cccc cods : Lst1 + = [cccc, int (dd), int (mm), int (yyyy)] if not in cccc codes: lst1 + = [cccc + yyyy + mm + dd] return lst1 first = ['cara20130716', ' Print code (first, second) Tara 20080601, 'Pala19991231', 'Melo19601023'] second = ['Pala', 'Kara', 'Tara' The only problem is this That the teacher wants me to add / remove elements: I've written, he should take me OK right output, but it 'back', not lst1. So here's the solution that I was thinking (sorry for the pseudo code ..): If the codes in ccsc: lst1 + = [cccc, int (dd), int (mm) ) If the CCCC is not in the cod: lst1 + = [cccc + yyyy + mm + dd] If at the end of LST: Replace with lst1 P> return lst So when the program has checked all the elements of LST, t...