Posts

Showing posts from May, 2011

oracle11g - Oracle: performance about filtering results from remote view -

I have a remote database that has a view v_myview. I am working on a local database, Usage is done to access v_myview on the database A. If I ask it like this: choose * v_myview to @ dblink; This gives half a million lines, I just want to get some specific rows from the view, e.g., to get the lines with id = 123, my query select v_myview @ dblink where id = 123; This question comes to me when I run this query, then the remote database will generate the first half-million lines, before id = 123 To find the rows together? Or remote visualization is applied to your filter first, then the first question to DB is to retrieve half a million lines without first? How do I know that. Thanks! Oracle is free to do either. You will need to see the query plan to see if filtering is done locally or remotely. Probably, in any case you are presenting, the adapter expects that it will be more to send the filter to the remote server rather than filtering only five lakh lines local...

flash - rectangle stroke line not scaling -

Whenever I change an object's size, the width of the stroke does not change with it again. It was working fine on the second day, which makes me believe that I have stopped something. I am unsure of how to solve this problem. If you choose a shape and look in the properties panel, there is a scale setting under the fill and ; The stroke tab controls how the stroke behaves when the clip is truncated Normal stroke stroke with the clip. Vertical only raises the stroke. Scale horizontally stroke horizontally. Despite the scale of the clip, there is no stroke.

ibm mobilefirst - Using topic in WL.Server.readSingleJMSMessage leads to class cast exception -

JMS comes with two flavors: P2P message (queue) or published / subscription (topics). I wonder if it is not symmetric in JMM adapter. Qi works in two ways, only writing (publishing) works for reading and writing subjects, reading from the topic (subscribing, non-sustainable ways) fails when the message is published on the WL adapter is. The error is logged: com.ibm.ws.sib.api.jms.impl.JmsTopicImpl can not be entered on javax.jms.Queue FWLSE0101E: Reason: empty The document does not show any limitation on using topics, thus for me the concept of "destination" in JMS is useless. Reading from a topic in the JVM adapter is not supported, the documentation will need to be updated either Include it in or make it more clear.

java - Jackson mapper: ignore certain properties when writing? -

I use JSON Mapper to read the object from a string and then write the string with the object. I would like to write some qualities only when writing What is the easiest way to accomplish this? On the interface you can use @JsonIgnoreProperties example For: @JsonIgnoreProperties (unknown unknown = true) public stable interface (unknown = true) point {double getLatitude (); Double Late Longtime (); } This will ignore any other fields which are serialized using the Point Interface.

php - Parsing the Google Reader export -

I am trying to use SimpleXML to parse the XML file produced from Google Reader export. Example of the file: & lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Opml version = "1.0" & gt; & Lt; Top & gt; & Lt; Title & gt; TheTechBox subscription in Google Reader & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Outline Text = "Engadget RSS Feeds" Title = "Engadget RSS Feeds" Type = "RSS" xmlUrl = "http://www.engadget.com/rss.xml" htmlUrl = "http: //www.engadget.com." /> & Lt; Outline text = "xkcd.com" title = "xkcd.com" type = "RSS" xmlUrl = "http://xkcd.com/rss.xml" htmlUrl = "http://xkcd.com/" /> ; & Lt; / Body & gt; & Lt; / OPML & gt; The user has tried to upload this file to this form and the form needs to be removed through the loop and t...

gradle 'build' task confusion -

नमस्कार, मेरे पास मल्टी प्रोजेक्ट ग्रेडले सेटअप है -root_project | -sub_project1 | -sub_project2 | -sub_project3 सभी महान काम करता है लेकिन एक बात मुझे पागल ड्राइव करता है मेरे निर्माण स्क्रिप्ट में: defaultTasks 'build' & lt; - यह सिर्फ ठीक काम बंडलरूम (विवरण: 'यह काम बिल्ड रूम स्क्रिप्ट से लाया जाता है, डिफ़ॉल्ट कार्य को आमंत्रित करता है और कलाकृतियों को प्रकाशित करता है') { // पर निर्भर करता है ('निर्माण') & lt; - यह // वैकल्पिक निर्भर करता है (": sub_project1: build") निर्भर करता है निर्भर करता है (": sub_project2: build") जब मैं कमांड लाइन 'gradlew' से कॉल करता हूं & lt; - डिफ़ॉल्ट कार्य को निष्पादित किया जाता है जब मैं कमांड लाइन 'gradlew कार्यों' से कॉल करता हूं & lt; - 'रूट परियोजना से सभी कार्य को चालू' के तहत काम करता हूं मैं 'build' लेकिन जब मैं 'निर्भर' ('बिल्ड'), निर्भर (': निर्माण') या निर्भरओएन (': रूट: बिल्ड') जोड़ने की कोशिश कर...

android - Return to parent activity with a parent activity error in the manifest -

यह विषय से संबंधित ज्ञात कोड है: & lt; गतिविधि एंड्रॉइड: name = "SmartHomes.capstone.GeneralAndSecurity" एंड्रॉइड: लेबल = "@ स्ट्रिंग / शीर्षक_activity_general_and_security" एंड्रॉइड: parentActivityName = "smartHomes.capstone.HomePage" & gt; & Lt; मेटा-डेटा एंड्रॉइड: name = "android.support.PARENT_ACTIVITY" एंड्रॉइड: value = "smartHomes.capstone.HomePage" / & gt; & Lt; / गतिविधि & gt; यह त्रुटि लॉग है: 03-20 21: 19: 18.227: ई / एंड्रॉइड रेंटाइम (787): घातक अपवाद: मुख्य 03-20 21: 1 9: 18.227: ई / एंड्रॉइड रेंटाइम (787): java.lang.IllegalArgumentException: गतिविधि सामान्यऔरसुरक्षा में निर्दिष्ट कोई पैरेंट गतिविधि नाम नहीं है (क्या आप अपने मैनिफेस्ट में android.support.PARENT_ACTIVITY & lt; meta-data & gt; तत्व को जोड़ना भूल गए थे?) 03-20 21: 19: 18.227: ई / एंड्रॉइड रेंटाइम (787): android.support.v4.app.NavUtils पर .navigateUpFromSameTask (NavUtils.java:177) 03-20 21: 19: 18.227: ई / एंड्रॉइड र...

php - Keeping track of failed login attempts -

This question is essentially language-agnostic, but in my case I am using it for everyone who wants to know is. I would like to keep track of the number of failed user attempts of a user, so that one can be displayed after X unsuccessful attempts. This will be the only sparring which will be preventing the attacks of animal force. I was thinking of creating a session variable $ _ session ['failedloginAttempts'] and every time a failed login attempt has been detected. The attacker can still make the browsers alternative or remove their cookies to continue, but it will make him (i.e. whatever equipment he is using to use the brute force), for every effort And will waste more seconds, so the number of attempts will be better. The attack from the other will be ideal for a few attacks every minute per attack from a couple, the attack will be very negligible. Is this attitude correct or am I forgetting something? Also, what is the best practice in these cases? Th...

css - What is wrong with the styling in these lists (HTML) -

I am doing web course on codecademy and I am stuck on "styling font"! Work. Any thoughts that I am doing wrong? & lt; Li style = "font-family: garamond; size: 16px" & gt; This item is a big gang. & Lt; / Li & gt; & Lt; Li style = "font-family: bodonie; size: 12px;" & Gt; This item is Medium Bodony. & Lt; / Li & gt; & Lt; Li style = "font-family: future; size: 10px" & gt; This item is small Future & lt; / Li & gt; Thank you for all your help! Remember that only a limited amount of fonts is installed in most computers: The best practice to specify backward fonts that apply to this user is not specified on the first font on the computer. Font-family: Ariel, Helvetica, Georgia, Vardana, Non-Serif; So if the computer is not installed in the Arial, this list will go down until it is able to install it and it will display. In addition to this you must have incorrectly declared the ...

igraph - How to draw a regular lattice in R? -

Image
I am new to R and want to make a regular lattice with 30 nodes and K = 4 (neighborhood connectivity). I have tried the igraph package with the graph. Letter function, but what I see can not produce it. i = is required (igraph) G & lt; - graph.lattice (c (5,6)) with a regular lattice in iGraph with G & Lt; - Connect. Out (g, 4) plot (g)

clojure - Endless loop recur -

I am learning the closet and I have just started and I have participated in a problem that I can not understand. Here is my code: (defn biggest_prime_factor [x] (if (prime? X) x) (loop [x divider 2] is running (if (= 0 (mod variable divider) Work (biggest_prom_factor49); work (largest_prom_factor147) (DD / running dividers) (if (prime) D) D (Rick 2D); endless loop! I know that this can not be the most effective way of finding the biggest factor, but why am I trying to understand that it gets trapped in a loop? Hey, I'm using the loop-iterative way to iterate, but what am I doing? Some things (defn biggest_prime_factor [x] (if (prime x) x); # 1 (loop [x divider 2] is running (if (= 0 (mod variable divider) ) ()) () (D) () (D) () (D) () () () () (2) Repeat (D2 again)) (X (Ink separator))); Additional closing bracket This is a self-generated if without any other Makes no difference to its infinite loop, but will have to give a wrong answer (1) for a key input ...

excel - Sort 2 Columns + Adj Column by matching Numbers -

In column D-Q, there is my long list of ID numbers in column C with important information I need to sort with the matching information in Colonel DQ, according to the specific set of ID numbers in column B: I have this: BCDE . 123 234 Male 12 234 345 Female 13 345 555 Male 12 444 123 Male 11 I need this: BCDE . 123 123 male 11 234 234 male 12 345 345 female 13 444 N / AN / AN / A Essentially, information about C (and adjacent information) to match me with B Should get sorted in ID numbers in B The file is too big and I need to just drag / sort by a specific group of ID numbers. Thank you! EDIT: I have suggested that try to use the following in a new column. However, I get #n / a and #ref error = index (D: Q, match (B: B, C: C, 0) error: #N / A and #Ref! You index (array, match) You can get all the match data from the CQ using the match () on B and C.

android - toggle() when home button click on slidingmenu with actionbarsherlock -

यहाँ मेरी MainActivity है सार्वजनिक वर्ग MainActivity फैली SherlockActivity लागू करता ActionBar.OnNavigationListener {@Override संरक्षित शून्य को क्रेट (बंडल सहेजा गया इन्स्टेंसस्टेट) {सेटथीम (आर। स्टाइल। आईआईएमआईआईआरलॉक_लाइटकार्कएक्शनबार); // नमूनों में थीम स्विचिंग के लिए इस्तेमाल किया गया। क्रिएट (सहेजे गए इन्स्टेंसस्टेट); setContentView (R.layout.activity_main); // छुपाएँ शीर्षक पट्टी getSupportActionBar ()। SetDisplayShowTitleEnabled (गलत); // होम बटन getSupportActionBar सक्षम करें ()। SetHomeButtonEnabled (सत्य); // होम अप डिस्प्ले getSupportActionBar ()। SetDisplayHomeAsUpEnabled (सत्य); // स्लाइडिंग मेनू स्लाइडिंग मेनू मेनू = नया स्लाइडिंग मेनू (getBaseContext ()); menu.setMode (SlidingMenu.LEFT); menu.setTouchModeAbove (SlidingMenu.TOUCHMODE_FULLSCREEN); menu.setShadowWidthRes (R.dimen.shadow_width); menu.setShadowDrawable (R.drawable.shadow); menu.setBehindOffsetRes (R.dimen.slidingmenu_offset); menu.setFadeDegree (0.35f); मेनू .attachToActivity (यह, स्लाइडिंगमेन। LIDI...

full text search - MySQL fulltext: have a result weigh more -

I have a database of cities and states (approximately 43,000) and I do a full text search on it: Select (against the City, State_Short, State) match (city, state_short, state) (select Q: in Boolean mode), where the number from Pincode (where city, state_short, state) is against (: Q in Boolean mode) Based on the city, state order score 6 by the score order When I make a meaningful string to : q , work it But I say that I search for Houston Texas , I should be the first of the result, but instead it is the third: Answer Houston, Texas South Houston, Texas Houston, Texas How do I Houston, Texas can weigh more than 2? This should be clearly similar to other such cities. Edit Does this work, any thoughts on this? from SELECT * (select city, state, matches (city, state_short, state)) (as in BOOLEAN MODE q) (Score: BOOLEAN in MODE) as zipcode by score (City, State_Short, State) Group according to the limit of DESC by city, state order 6) Order by DTH, Le...

jquery - Assign different value if element exists -

I am trying to allocate one of two values ​​in a variable, depending on whether an element Exists or not. I thought that something like this should work ... $ optsH = function () (if (jq ('# option'). Length> gt; {return jq ('# Options') .outerHeight ();} and {return 0;}} ... but not. I know it should be simple , But it has been a long day. Very well you forgot to call your function ; > $ optsH = (function () {if (jQ ('#options'). Length> gt; return jQ ('# options'). OuterHeight ();} else { Return}}}} () If you do this however It is a better way to: $ optsH = jQ ('# options'). OuterHeight () || 0;

Beginner questions with AngularJS and directives - wrapping a jQuery component -

First of all, let me tell that I am just working to transition into clientAd programming. I am very new to JS. My previous experience is primarily in C and some assembly. I did a very simple php year ago when it was still 4.0. So in a nutshell, new to javascript, but somewhat like my head around it. I have searched and concealed a lot but are not able to improve my issues. I am finding the basic elements of AngularJS and it is quite good, but how do I know about my head how instructions work and how difficult it is to use data from custom control is. The long story short I'm trying to make a custom control for elderly work with angularjs so I can use it as well. Here's the control: I have some other controls that I want to work but I think that if I can find one, I can easily ease others I can get from Here is a link to a basic structure on this basis: First of all, link: functions (scope, element, etc.) I am trying to wrap my head that once I am doing a te...

java - How do I receive input from a textbox in a JFrame? -

The following method provides a JFrame, but I need a swing text box inside it to get double value and They can be stored in a variable. The text box should be added to the container the public class expands myClass JFrame {container container; Container = getContentPane (); // item label JLabel label text = new jlabel (); ... label text Set text ("item:"); Container.ed (labeltext); // Item Name: Text Box // To create a text box, add it to the container and add value to a variable Use a JTextField : JTextField field = new JTextField (10); Container.ed (field, border layout south); To get the value of the field, repeat .prsd double (field.gettext) ()) .

Tree building function in Haskell (Homework) -

डेटा ट्री ए = पत्ता | नोड (ट्री ए) ए (ट्री ए) डेरिविंग (ईक, शो) एफ़ोलट्री :: (बी - & gt; हो सकता है (बी, ए, बी)) - & gt; बी - & gt; पेड़ एक खुला है। बी = मामला एफ बी कुछ भी नहीं - & gt; लीफ बस (एलटी, एक्स, आरटी) - & gt; नोड (unfoldTree f lt) x (unfoldTree f rt) ऊपर की जानकारी के दो टुकड़े को देखते हुए, मुझे एक पेड़ के निर्माण कार्य को लागू करने के लिए कहा गया है। और मेरा प्रयास है पेड़बिल्ड :: पूर्णांक - & gt; वृक्ष पूर्णांक पेड़बिल्ड 0 = पत्ता वृक्षबिल्ड n = पेड़अनुफाल्ड (\ b - & gt; अगर बी & lt; 2 ^ n-1 तब बस (2 * b, b + 1, 2 * b + 1) और कुछ भी नहीं) 0 बेस केस काम करता है जहां n = 0 काम ठीक होता है लेकिन मुझे पता है कि फ़ंक्शन पूरी तरह से गलत है। क्या कोई मुझे फिर से समझा सकता है कि एक 3-tuple just कैसे काम करेगा? एक सामान्य खुलासा में, बस में पहला तत्व वह तत्व होगा जिसे मैं चाहता हूं और दूसरा तत्व खुलासा जारी रखने के लिए इस्तेमाल किया जाएगा, लेकिन यह 3-ट्यूपल जस्ट में कैसे काम करता है? उदाहरण के रूप में आउटपुट: पेड़बिल्ड 2 ---- ...

HTML5 markup for jQuery UI accordion -

I have the following markup and I want to use the jQuery UI indicator, but I have not been given the usual emputerian How can I get an audienceion using the first article / section of HTML5? & lt; Article & gt; & Lt; H1 & gt; Accordion & lt; / H1> & Lt; Div id = "accordion" & gt; & Lt; Section & gt; & Lt; H1 & gt; & Lt; A href = "#" & gt; Alkim Tojint Mauris EU Rhesus. & Lt; / A & gt; & Lt; / H1> & Lt; P & gt; Thanks for the advertising ad ready for Handserrat Android. & Lt; / P & gt; & Lt; / Section & gt; & Lt; Section & gt; & Lt; H1 & gt; & Lt; A href = "#" & gt; Absolutely free of independence and / A & gt; & Lt; / H1> & Lt; P & gt; Northeast, Northeast, and Wreath, it always shows the standard of living at the level of life. Morbi Special Free, Facialial Agipissing, Commodo X, Grady ID, SSD Lectus. & Lt; / ...

Java - ascii drawing logic -

I am "drawing". I pulled it in 'scale 4', but now I'm trying to apply it So that users can type it (& gt; 2). My problem arises when I am trying to print under 'saucer', everything else is printed on the tower, but I am struggling to find an algorithm which can print it on scale is. I have 'reverse equation' which will be in my program ((line * 2) -2) + scale This will give me the following on scale 4: || || || || __ / || \ __ __ / :::: :::: __ __ / :::::::::::::: \ __ __ / ::::::::::::::::::: : \ __ "" "" "" "" "" "" "" "" "" | \ _ / \ / \ / \ / \ / / / / / / / / / / / / / / / / / / / / \ / \ / \ / _ / || || || || || %% || %% | | %% || %% | | %% || %% | | %% || %% | |% % || %% | | %% | %% | | %% | %% | | %% | %% | | %% | %% | | %% | %% | | %% | | %% | | %% || %% | | %% | %% | | %% | %% | | %% | %% | | %% || %% | __ / || \ __ __ / :::: ::::...

google app engine ndb, filter after query: 'list' object has no attribute 'filter' -

निम्न कथन एक त्रुटि संदेश उत्पन्न करता है AttributeError: 'list' ऑब्जेक्ट में कोई विशेषता 'फिल्टर' नहीं है । मैंने सोचा कि फ़िल्टर के बाद क्वेरी बिल्कुल ठीक है। तब आखिर समस्या क्या थी? अग्रिम धन्यवाद। खरीद = खरीद.कुड़ी (खरीदडेटा & gt; startDate, purchase.date & lt; endDate) ... खरीदारियां = खरीद .फिल्टर (खरीद.कायम == member.account , एनडीबी.ओआर (खरीद कंसोमोडमोड == 'बिडिंग', खरीद कंसोमोडमोड == 'क्रयिंग'))। Fetch () यदि खरीद एक क्वेरी है, तो फ़िल्टर ठीक काम करता है। यदि कोई क्वेरी क्वेरी के परिणामों को प्राप्त करने के बाद एक सूची है, तो यह काम नहीं करेगा, जैसे खरीद = [आइटम में खरीदारी के लिए आइटम] आपके कोड में क्या होता है?

grouping name in sharepoint 2010 using sharepoint designer 2010 -

मैंने शेयरपॉइंट 2010 में शेयरपॉइंट डिजाइनर 2010 में प्रश्नोत्तरी एप्लिकेशन बनाया है। प्रत्येक उपयोगकर्ता हर बार इस एप्लिकेशन का अनुसरण कर सकता है प्रश्नोत्तरी आवेदन का पालन करने के बाद, उनका नाम सूची उत्तर में प्रदर्शित होगा उदाहरण के लिए: उपयोगकर्ता बी इस क्विज़ का 5 गुना का पालन करता है, स्वचालित रूप से उसका नाम सूची में 5 बार प्रदर्शित होगा। लेकिन, मैं बस उपयोगकर्ता बी 1 बार 5 बार प्रदर्शित नहीं करना चाहता। इसलिए, हालांकि उपयोगकर्ता बी 5 या 10 बार प्रश्नोत्तरी का पालन करता है, उसका नाम सिर्फ सूची उत्तर में 1 बार दिखाया गया है। क्या आप मेरी मदद कर सकते हैं, कृपया धन्यवाद क्या आप एक सूची का उपयोग कर रहे हैं परिणाम स्टोर करें? यदि हां, तो आप विकल्प द्वारा समूह के साथ एक दृश्य बना सकते हैं। अतः यह कई बार बार एक बार उपरोक्त उपयोगकर्ता का नाम प्रदर्शित करेगा। चलो मुझे सही है अगर मैं आपकी समस्या को समझता हूं

r - IBrokers Historical Index Data -

How do I get historical data from an index from R for interactive brokers? If this was a futures, I would use this command (as outlined here): Library (twsinstrum) a & lt; - reqHistoricalData (tws, getContract ("ESJUN2013")) But the commanding related to the connid of the S & P index gives an error: & gt; A & lt; - ReqHistoricalData (tws, getContract ("11004968")) Connect with customer 110. Contract details request complete. Disconnected. Waiting for reply to TWS reply at ES .... Warning message: Error in handler (cone, verbose, ok = c (165, 300, 366, 2104, 2106,: error validating request: - 'uc': reason - Contract termination of HMDS expired: contract can not be terminated. Index data is not accessible to market data, but I think the following should be done. reqHistoricalData (tws, twsIndex (symbol = "SPX", exch = "CBOE")) # Waiting for TWS # SP Reply on x ... unsuccessful. # # Faucet # # Warn...

mongodb - What is the easiest way to check for record with two criteria, insert if it doesn't exist, if one or multiple exist, update them all -

A cursed time is taking me to do a query. Building_id, username and correct. We need to see that there is a record for a user and a particular building (because they can only have one vote). If it does not exist, then we need it to enter a new record with Building_ID, username and correct. If this is present, then we have to find the record of building_id and usernames and correct updates to be the new vote. I am playing with saving, updating, receiving or receiving, and they keep popping up all the errors, how will this be done in Mongoengin? You can use a simple update, set upset and correct many : Syntax is similar to: db.collection.update (& lt; query & gt ;, & lt; update & Gt; Upgrade: & lt; boolean & gt; Multi: & lt; boolean & gt;}) Regarding the investigation of two criteria, the amount of as much as you want in your query Might be possible. I do not know its collection, but may be: db.yourCollection.update ({"u...

Java read system input in while loop -

Here's a very simple code, in which I want input from the keyboard in a loop. For every input, the loop is automatically running two extra time and takes the values ​​of 13 and 10, whatever I have given in the form of input. Can you please tell me what I am doing wrong? CODE: Public static zero main (string agr []) {BufferedReader br = new BufferedReader (New InputStreamReader System.in)); Boolean loop_cond = true; Int n = 1; While (loop_cond == true) {try {System.out.print ("Input:"); N = br.read (); } Hold (IOException e) {e.printStackTrace (); } System.out.print (n + "\ n"); Input: 6 54 Input: 13 Input: 10 Input: 9 57 Input: 13 Input: 10 Input: : 1 49 Input: 13 Input: 10 Input: This probably \ r \ N Try the scanner to take the value values. scanner input = new scanner (System.in); Int i = input.nextInt ();

SSL google app engine -

I try to enable SSL for my custom domain to enable SSL in app venues So far I found this article: openssl genrsa -out rsaprivkey.pem 1024 openssl req -New -x509-RSprivate.Pem-out DSACERT Then I have uploaded the google app SSL from the .pem settings page Dsacert.pem & gt; PEM encoded X.509 certificate rsaprivkey.pem & gt; Unencrypted PEM encoded RSA Private Key However, I have received this error message after uploading. The domain in the certificate must contain only letters with permission (RFC 1034). solution! This article When the open SSL asks questions for the name of your app, to protect the entire URL, www.abc.com as your reply But I did not find any place to enter my app name for the first time during the ANDSL PM generation. Finally, I know that the domain should be filled in the organization and common name fields. Organization name (for example, company) [Internet widgets PTI]: & gt; Example.com General name (for exa...

c# - Google plus language programming using people.list -

As a new researcher, I am trying to get information about relationships between people of G +. I have to get another circle list for some research purposes. It seems that G +AAPA people provide a web version for people using OAuth2 tokens. My question is, do people support programming languages ​​such as C #, Java? I tried with C # but it was being blocked by the server. Is there a way for people to apply in C #, Java etc? If so, are there some samples? Thank you very much. The following is my related C # code: var provider = new resident application client (GoogleAuthenticationServer.Description) {ClientIdentifier = credentials.ClientId, ClientSecret = credentials.ClientSecret} ; Var auth = new OAuth2Authenticator & lt; Native Applications Client & gt; (Provider, GetAuthorization); Var servicelist = New Plus Service (new BaseClientService.Initializer () {Authenticator = auth}); String user id = "*************"; LogarSource.listrequest circle = circistici...

java - JFrame freezes while running the code continuously -

I have a problem while working with JFrame , which would be frozen during continuous code running When I click on : BTNRun , I've called the function menuup () : Executioner btnRun_Click = New Executioner () {@ Override Public Voice Action Crore (Action Event E) {ManLow (); }}; Implementing MainLoop () : void MainLoop () {hopper = new chopper ( this); Println (Hooper); BtnRun.setEnabled (wrong); TextBox1.setText (""); Hopper.getM_cmd () ComPort = helpers.Global.ComPort; Hopper.getM_cmd () SSPAddress = helpers.Global.SSPAddress; Hopper.getM_cmd () Timeout = 2000; Hopper.getM_cmd () RetryLevel = 3; System.out.println ("In the Main Loop:" + Hopper); // First connect to the valuer if (connectiveleader (10, 3)) {btnHalt.setEnabled (true); Running = true; Textbox1.append ("\ r \ nPole Loop \ r \ n" + "*************************************************** ******************************************************************);); } // Thi...

java - jbutton id not showing -

I have just created a simple image panel and added a button to the panel Can the person also tell me the problem in the code? Image is displayed but no button Package Inventory Management; Import java.awt.Dimension; Import java.awt.Graphics; Import java.awt.Image; Import javax.swing.JButton; Import javax.swing.ImageIcon; Import javax.swing.JFrame; Import javax.swing.JPanel; Public class imagery {public static zero main (string [] algs) {image panel panel = new image panel (new image ("E: / desktop [/ icon / 647072 9-exclamation mark mark button 3D-red-luminous-cycle .jpg ") getImage ()). Jebton Jebtone 1 = New Jebton ("Jebton 1"); Panel.add (jButton1); Jeffre Frame = New Gefram (); . Frame.getContentPane () add (panel); Frame.pack (); Frame.setVisible (true); }} Square ImagePanel Extended JPanel {Personal Image img; Public ImagePanel (String Image) {This (new IMG (IMG) .getImage ()); } Public imagepanel (image image) {this.img = img; Size of dimension = n...

android - How to draw a bitmap from sdcard to custom ondraw method -

I have an image on SDCD, someone can tell me how to draw the image from SD card to custom daydra method I really got the answer that to draw an image from sdcard, Incorrect The surface of the public vacuum (surface holder) {ball = bitmapfrontity.createcalebutmap (source, width, o Truth, true); BGR = BitmapFactory.decodeFile ("/ sdcard / 1364275090569.jpg"); }

php - Magento: machine memory allocation -

Currently I have a Magento shopping cart running on iWeb Share Web Hosting. Recently, customers complain that the page is empty for some time, and I found that there is not enough memory in 500 memory. I told the administrator, he gave me a script which php memory_get_peak_usage he said that 32mb is required to run the application, and said that If 30 concurrent people go to the page, then this means 32 MB x 30, which is about 1000 MB for the cost of memory. I'm not sure whether he tells the truth or not, because for Magenta, even the Magento cache needs 3MB to start. So I wonder if if memory_get_peak_usage X is concurrent user equal total memory usage? Your administrator wants to make things a bit simpler, but what he is saying is a compulsory form Speaks the truth. Magento is a RAM hog (affiliate link, click it and buy something and get me a bribe) gives their entry-level Magento 16GB memory plan. This is 16,384 GB. "IvyWeb Web Hosting" is not a...

if statement - Trying to Figure out how to properly use a while loop in Python 3.3.0 -

I am a real nio on Python and I'm writing a program that states that a given date is a valid calendar date or not . I'm sure this is a very elegant way to do it. At this time I am trying to explain how I can add a variable to create a loop, which will take care of that date, if it is a leap year or not a leap year . All suggestions are very welcome. In my area of ​​code efforts, I & lt; & Gt; has put. I still have the code: DIF (main): print ("This program tests the validity of a certain date") = date (input ("Please date (mm ( Day) year = int (year) My list 31 = [1, 3, 5, 7, 8, 10, 12] My index 30 = [4, 6, 9, 11] # Calculates whether the input year is a leap Whether the year or not, if year> = 100 and year% 4 == 0 and year% 400 == 0: & lt; it is a leap year & gt; Elif year> = 0 and year & lt; 100 and Year% 4 == 0: & lt; this is a leap year & gt; Else: & lt; it is not leapyear While I have this month in my listener...

c++ - Struct of vectors in Shared Memory -

मेरे पास संरचना है: struct out डेटा {int a; फ्लोट अक्षांश, लोन; } जो साझा स्मृति के द्वारा आईपीसी के लिए प्रयोग किया जाता है अब मैं इसे इस तरह से देखने के लिए अपडेट करना चाहता हूं: struct out डेटा {int a; Std :: vector & lt; std :: जोड़ी & lt; std :: स्ट्रिंग, इंटीट & gt; & gt; allInts; Std :: vector & lt; std :: जोड़ी & lt; std :: स्ट्रिंग, फ्लोट & gt; & gt; allfloats; } मेरी साझा स्मृति 4096 बाइट्स convienience के लिए बड़ी है, इसलिए मुझे हर बार जब मैं struct में परिवर्तन करता है तो एक sizeof (outData) लाइन को संशोधित नहीं करना पड़ता है। जब मैं गतिशील सदस्यों के साथ इस तरह के एक स्ट्रक्चर का निर्माण करता हूं तो क्या यह गारंटी है कि वे सभी (इंट ए) के बाद बनाए गए हैं और इसलिए साझा स्मृति में? वैक्टर के वैक्टर के बारे में क्या ? स्ट्रेट आउटडेटा {int a; Std :: vector & lt; std :: जोड़ी & lt; std :: स्ट्रिंग, इंटीट & gt; & gt; allInts; Std :: vector & lt; std :: जोड़ी & lt; std :: स्ट्रिंग, फ्लोट & gt; &...

ienumerable - C# Why cannot I write custom IEnumerator for my class -

I have a simple class that represents vertex in a graph that is likely to have a tree. Thus, this class looks like this: class versatx {public versatile origin; Public list & lieutenant; Vertex & gt; children; } If there is no possibility of loops, I can add only one head as a hair multiple times. Now, I have made a calculator that graphs every head. So that you can foreach (root vertex in the vertex item) and get every head in the graph. For this, I had to make my class INMEMERABLE {VERTEX} and write the gate anemeter method which grows all the vertextures in a continuous form. Now, for the purposes of graphging, I want another enumerator, which will return to every edge of the graph, then I can do something like this foreach (Point [] Item in rootvertex.GetEdges ()) and get all the edges. For this purpose, to avoid confusion, I removed IEnumerable from my classroom and thus implemented two methods Public Inimatorator & lt; Vertex & gt; Get...

python - constraint list to take only integers -

I'm just trying to increase the list type to get an integer I Attachments , setitem , but it does not work. Please give any indication please class linked_list (list): def __init __ (self): self.indx = 0 def next (self): self.indx + = 1 return self.__ GetItem __ (self indx) def last (self, indx): self.indx - = 1 return yourself .__ GetItem __ (self.indx) def __append __ (self, val): if isinstance no (val, integer): Exception increases ('Only integers are accepted') Super (linked_list, self) .__ attached__ (wal) def __getitem __ (self, indx): try: return super (linked_list, self) .__ GetItem __ (indx ) IndexError, excluding e R: StopIteration () def __setitem __ (self, key, val): if does not isinstance, then (Val, integer): exceptions ('only integers accepted' lift) Super (linked_list, self) .__ setitem__ (Key, val) list You can participate with less code by applying MutableSequence automatically below all the other list methods based on the five m...

objective c - Connect more than 3 ios devices with each other -

I want to add 3 iOS devices to each other, for example, an iOS device would be like a server, and The other 2 devices will connect like a client, on that server. To create an iOS device, as a server, I am using KochTePasser, there is no internet connection, only Wi-Fi connection should be used. Any suggestions? I suggest you use a good protocol that is used in etat ... This helps you deal with your problem .. These links can help you.

breadth first search in c using algorithm given by cormen -

/ P> bfs (int s) {int i; Int u, v; Straight edge * e; Graph [s] .colour = 1; Graph [s] .D = 0; Graph [s] .pre = -1; Queued (s); While (isempty ()! = 1) {u = dequeue (); Printf ("% d \ t", U); E = graph [u] .edgePtr; While (e = = null) {v = e-> vertexIndex; If (article [V] .colour == WHITE) {graph [v] .colour = Gray; Graph [V]. = Graph [u]. + 1; Graph [V] .Pre = U; Queue (v); E = E & gt; EdgePtr; } Graph [u] .colour = black; }}} im getting an infinite loop ... can someone tell me how is it going wrong ?? you've added your closing } . As a result, if you have the WHITE color, you only go to the next edge, and if the color of u in the infinite code is non- white . The correct form should look like this: bfs (int s) {// â ?? | While (isempty ()! = 1) {u = dequeue ()); // One ?? | While (e! = Null) {v = e-> gt; VertexIndex; If (article [V] .colour == WHITE) {graph [v] .colour = Gray; Graph [V]. = Graph [u]. + 1; Graph [V] .Pre = U; Que...

how to create a html element using javascript constructor? -

मैं जावास्क्रिप्ट कन्स्ट्रक्टर का मूल विचार समझता हूँ जैसे फ़ंक्शन व्यक्ति (नाम) {यह .name = name} person.prototype.sayhi = function () {this return.name + 'नमस्ते !!! '} Var बॉब = नया व्यक्ति (' बॉब ') बॉब.नाम // बॉब बॉब स्याही // बॉब कहते हैं हाय !!! लेकिन कहता है कि क्या मैं असली वेबपैम में एक एल्बम बनाना चाहता हूं, सर्वर JSON डेटा की एक सरणी भेजता है जैसा: [{'id' : 1, 'album_name': 'test', 'user': 'user_id'}] , प्रत्येक सरणी आइटम एक एल्बम होना चाहिए, अब मैं इस एल्बम को Div तत्व इस सरणी वस्तु का उपयोग करके, मैं यह कैसे कर सकता / सकती हूं? इसका कारण यह है कि मैं यह चाहता हूं कि अगर मैं एक एल्बम को वास्तविक डिवा तत्व के रूप में बना सकता हूं, तो मैं यह कर सकता हूँ album.prototype.open = function () {// कुछ कार्रवाई} एल्बम = नया एल्बम (jdata) album.click (function () {this.open ()}) क्या यह संभव है, इस कन्स्ट्रक्टर को कैसे परिभाषित किया जाए, मुझे लगता है कि इसमें कन्स्ट्रक्टर रिटर्न मान के साथ कुछ हो सकता ह...

Split wordpress in two -

I'am create a website for a company that has two sections, a repair section and a development block. Therefore, the website should also be in two parts. It would be possible, on the first page, to choose which section you want to go to but there is its own menu in the repair section and development section. How can I split WordPress into two, so that another menu appears on both the segments? Thank you Your question is very vague and it is difficult to understand what you Are the real intentions. However, since you have tagged your question with Wordpress , I think you want a single Wordpress site with two main "areas". A "repair" page a "development" page / li> ... and other repairs Or development pages Your index / home page will only link to your repair / development landing pages ("Landing Page" is just a website word, not wordpress specific) From each landing page additional pages Can link. It is all achi...

regex - Colons as divider with Rails Route? -

I would like to use colon in the root URL of my rail instead of my slash. Is it possible? I am doing something like the following: match '* page_path / title: ": * section_path": ": section_title' = & gt; URL: Page_path = "Food / Fruit": title = "apple": section_path = "cooking: pie": SECTION_TITLE = "apple_pie" This is possible in rail Here's an approach: match 'food / fruit /: id' = & Gt; Add barriers to 'Page # Show' # IDs if you need Class Recycling & lt; ActiveRecord :: Base Def self.from_param (Ultimate) Title, section_path, SECTION_TITLE = extract_from_param (absolute) # Your search here logic, ex: find_by_title_and_section_path_and_section_title ... end def to_param # Your ultimate string here, # Prefix creation: "# {title} }: # {Section_path}: # {section_title} "# Be careful! Now this method will use this method instead of all your URLs #I...

php - How to do an OR query in SQL -

I want to limit access to certain organizations only to certain organizations. user_id, username, organization_id organization_id, org_name category_ID, cat_name_range_formation_ category_id, organization_id then my query becomes something like this - SELECT * FROM range from C INNER Include category_ cum cum on installation. Category_ID = c. Categorization_id and co.ystem_id = 'LOGGED_IN_USERs_ORGANISATION_ID' If I want to add an exception or even allow some users, then this table is my question - How can I do here or search so that the query returns the categories that are related to a given Organization ID or given User ID Send me the discussions The table should have the same restriction if I made it .. Discussions discussion_id, discussion_title discussion_user discussion_id, user_id discussion_organization discussion_id, organization_id As you can see, I have to create the same table - do you think that I can get this main permission...

php - Iterate over an array returned by mongodb query -

मैं निम्नलिखित प्रारूप का एक MongoDB संग्रह है: { "_ id": ObjectId ( "5141916511e5b498fd2031c4"), "Itemid": 1, "सिफारिशों": [{ "Itemid": 216, "मूल्यांकन": .875297364790784}, { "Itemid": 246, "मूल्यांकन": .8793363655122852}]} { "_ id": ObjectId ( "5141916511e5b498fd2031c5"), "Itemid": 2, "सिफारिशों": [{ "Itemid": 60, "मूल्यांकन": .9405825249353504}, { "Itemid": 76, "मूल्यांकन": .8822827294664317}]} मैं किसी दिए गए Itemid के लिए सिफारिशें पुनः प्राप्त करने और उसके बाद पुनरावृति से अधिक यह सब सिफारिश itemids प्रिंट और ratings.I को इस बात के लिए php का उपयोग कर रहा चाहते हैं। जब मैं कोशिश पुनरावृत्ति करने के लिए कर्सर पर लौटने पर, यह फेंकता है "घातक त्रुटि: किसी सदस्य फ़ंक्शन में कॉल करें अगला () गैर ऑब्जेक्ट पर" त्रुटि। ऐसा लगता है resultset क्वेरी द्वारा रिटर्न प्रकार कर्सर की नहीं है नीचे कोड मैं का उपयोग ...

sql - how to join 2 tables into 1 in mysql? -

Image
mysql में 2 तालिकाओं में शामिल होने के लिए कैसे? SET FOREIGN_KEY_CHECKS = 0; - ----------------------------- `p` के लिए तालिका संरचना - ---------- ------------------ यदि गिरावट आई है तो 'टैब'; टैब `` p` (`आईडी` इंट (11) नल ऑटो_इन्रिमेंट,` नाम 'varchar (255) डिफ़ॉल्ट शून्य, प्राथमिक कुंजी (`आईडी`)) बनाएँ इंजन = माइसाम AUTO_INCREMENT = 3 DEFAULT CHARSET = utf8; - ---------------------------- - पी के रिकार्ड - ------------- --------------- `पी 'मानों में प्रविष्ट करें (' 1 ',' जेमी '); `पी 'मानों में सम्मिलित करें (' 2 ',' टीना '); SET FOREIGN_KEY_CHECKS = 0; - ----------------------------- `टी` के लिए तालिका संरचना - ---------- ------------------ यदि गिरावट आई है तो `टी`; तालिका `टी` (` आईडी` इंट (11) नहीं नल, `टैग 'varchar (255) नल डिफ़ॉल्ट' ',` मान' varchar (255) डिफ़ॉल्ट शून्य, प्राथमिक कुंजी (`आईडी`,` टैग`) बनाएं। ) इंजन = माइसाम डिफॉल्ट चार्ज = यूटीएफ 8; - ---------------------------- - टी के रिकॉर्ड -...

jQuery UI dialog: clicking on the title bar (including close button) makes the whole dialog scroll up -

Every time I click on the jQuery UI dialog title bar, or close button, the entire dialog first scrolls to the top of any Also, without triggering UI events, I have to click the second time for the close event that triggered the screen. This is my code: var dialog = $ (selector) .dialog ({autoOpen: true, modal: true, title: title, overlay: {opacity: "Fade", zIndex: 100, close: function (ev, ui) {if (callback): "0.1", background: "black"}, width: dWidth, height: dhite, auto resize: incorrect, resizable: } {Callback ();}} I have tried to remove all the properties but I still get the bug. I'm on jQuery UI 1.8.23, but the same bug is at 1.9 Any help would be appreciated. I have something that you have some problems nearby: Option. Try removing or editing it and see what's happening.

Collections Sorting in Java -

What's wrong in this way? It does not work properly. Public listing & lt; LibRegistration & gt; GetLibraryRegistrationsSortedByTypeAndName () {List & lt; LibRegistration & gt; L = getLibRegs (); Collections (L., New Comparative () {Comparison of Public Entry (Librizistration O1, Libertarian O2) {Return O 1. Get Library Type (.) Compare (o 2.Gate Library Type ())! = 0? O1.getLibraryType () CompareTo (o2.getLibraryType ()): o1.getLibraryName (). Compare (o2.getLibraryName ());}}); Returns L; } Nothing wrong, more obvious: Comparison of public entities (LibreOfficiency O1, LibreOfficiency O2) {int CMP = o 1. Great Library type (). Compare (O 2. Gallet Library Type ()); If (cmp == 0) cmp = o1.getLibraryName (). Compare (o2.getLibraryName ()); Return cmp; } Although the nose is not allowed and well defined,

jquery - JavaScript Query - Using AND & OR with Radios, Checkboxes and Text Fields to enable form elements -

Please see the code I already have. My problem is that I need to use a text entry and radio station in the text field to enable other radio, checkboxes, and text fields. So far, I have been able to enable radio, checkboxes, and text fields using only radio option 1 or radio option 2. This can help you people and you can understand more than I mean. HTML: & lt; Div class = 'conlabel' & gt; Have you started the business yet? & Lt; / Div & gt; & Lt; Table width = "100" & gt; & Lt; TR & gt; & Lt; TD & gt; & Lt; Label & gt; & Lt; Input type = "radio" name = "example" value = "yes" id = "example_0" required /> Yes & lt; / Labels & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; TD & gt; & Lt; Label & gt; & Lt; Input type = "radio" name = "example" value = "no" id = "e...

javascript - Uncaught TypeError: Object [object Object] has no method 'submit' error in sencha touch 2.1 -

There is a problem submitting this form to me when I click the submit button, it shows the unblocked type : There is no way 'submit' error in object [object object] submitcontactform: function () {var form = this.getLoginform (); Form.submit ({url: 'contact.php'}); } Thanks in advance Edit: My login.js Ext.define ( Extension: 'extension', xtype: 'LoginPanel', id: 'loginform', config: {title: 'LoginForm', item: [{xtype: 'emailfield', name: 'email' Label: 'email'}, {xtype: 'passwordfield', name: 'password', label: 'password'}, {xtype: 'button', text: 'submit', UI: 'confirmation', action: ' submit form' } ] } }); My Controller Ext.define ('sencha.controller.main', {extension: 'Ext.app.Controller', idea: [' Mainframe ',' mainframe ',' login '], config: {ref: {loginform:' # loginform '// selecto...

Add dynamic content to a WordPress Page -

I want to know the most elegant / best practice method to do the following: Suppose I have some PHP that gives a string (for example, today's weather). I want to be able to include the string within a WordPress page, but there is no page to use plug-in to allow PHP. For example: This is the content of the page which is editable through the WordPress pages. Today's weather is THE_WEATHER It is slightly editable, but as an editor I can not edit PHP which tells us what the weather is, the developer does it. What is the best practice method of doing this (without prioritizing the plug-in)? Off-House, it seems as if you want to define a shortcode by which you invite that PHP function You can talk about it and put it in the page / post. It means very much that you are either writing a (very simple) plugin or you are inserting the shortcode definition in the functions.php file associated with a code (which is a simple child The subject may be what you are using). ...

java - Need help- Query to insert an image into a table in sql developer3.0 -

Hello I am using SQL Developer 3.0. I need to store images in the form of a blob in the table. I have created a table as: Create account tables (IMG_ID number, MP_ID number, icon blob); I need to store images 'C: \ project \ images \' any Also please help me insert images in database wuth SQL queries ?? Thanks in advance. Store your image to a file. file image = new file ("'c: \ project \ images \ image.jpg"); The SQL query to insert. Enter the string Sql = "account_image (IMG_ID, IMG_ID, Icon) value (1,1,?)"; Paper Statement > Write a file in the file FileInputStream fis = Fis = new FileInputStream (image)> ; Attach the fissure to the prepared pStatement.setBinaryStream (1, fis, fis.length ()); Execute Result as a result = pStatement.executeUpdate (); A complete file image = new file ("'c: \ project \ images \ image.jpg"); String Sql = "Enter into account_mage (img...

MySQL query - average amount of lines per order, on a monthly basis -

I have a table that shows the previous order. Each item purchased is added as a separate line in the table, see Dump below. My goal is to show the average amount per order on a monthly basis, to get an average amount of lines, I need to divide the amount of items bought by the amount of given orders. My query presently gives me monthly sum, and line_count return is the correct number of items purchased, but I think the amount of given orders can not be recovered ( Dump should be given at 13 below) I have tried to add different subqueries, but I'm not sure how to go about this any idea? Select Date, COUNT (orderno) between `orders` and date '2010-01-21' by line_count and CURDATE () group as month (date), year (on) Sort by date table schema (simplified for clarity) here table form are not `Well Orders` (` Id` integer (11) not NULL AUTO_INCREMENT, `orderno` varchar (15) NULL not utf8_unicode_ci juxtaposition,` date` not on NULL, pRIMARY KEY ( `Id`)) eNGINE ...

c# - What am not disposing while creating a iCal file? -

In the context of my question I am using this code to create an iCal file But I'm not sure whether I am correcting it or getting this error as something needed for disposal, System.IO.IOException: can not access the process file ' C: \ doc.ics' because it is being processed by another System.IO.__ Error.WinIOError (Int32 errorCode, string maybeFullPath) on System.IO.FileStream.Init (string path, F ileMode mode, using FileAccess, Int32 rights, Boolean useRights, fileshare share, Int32 BufferSize, FileOptions options, secAttrs SECURITY_ATTRIBUTES, string msgPath, Boolean bFromProxy) on System.IO.FileStream..ctor (string path, System.IO.StreamWriter .CreateFile (String Path, FileMode Mode on Boolean Attached, FileAccess Use, FileShare Share, Int32 BufferSize, FileOptions Options) System.IO.StreamWriter..ctor at System.IO.StreamWriter..ctor (String Path, Boolean Attached, Encoding encoding, int32 bufferSize) (string path) on code I am using. , string filePath = p...

android - Document Viewer for phonegap Applications -

Any child-browser or InAppBrowser plugin used for pdf / anydoc viewer in Android ... if it is So how does it work..I need to develop a document viewer for my PhoneGapp app ... Plz has some suggestions ... thanks :) Please refer to the documentation provided or tell us what you have tried InAppBrowser is a standard plug-in culture Since standard 2.3.0 standard phonegap is for release.

ios - How to write Output of AUGraph to an External AudioFile of WAV or AIF formats? -

In my iOS app I am playing a MIDI file using music player; Music sequence and I'm getting AUGraph by calling the Music Sequence "Music SuctionGetAugraph" method. I now want to save the same output of this AUGraph in an external file. How can I do that? Can anyone help me? Here I am not using any node to create AUGraph. I am getting a graph directly from the music sequence thanks in advance. Here is my AUGraph AudioGrift 0x246104F: Member Nodes: node 1: 'OMU' 'SAP 'Ap', example 0x1c558830 oi node 2: 'au' 'rooc' 'ap, example 0x1c54a550 oi connection: node 1 bus 0 = & gt; Node2 bus 0 [2CH, 44100Hz, 'LPCM' (0x00000029) 32-bit small-endian float, Dinterlev] CurrentState: mLastUpdateError = 0, eventsprocess = F, isRunning = T (1) An example of writing AUGraph output for a file is

cordova - Background image fix the device size phonegap -

Image
1.लोड छवि छवि का आकार तय करें (फ़ंक्शन ($) {$ .fn.fullBg = function () {var bgImg = $ (this); समारोह resizeImg () {var imgwidth = bgImg.width (); वर imgheight = bgImg.height (); वर winwidth = $ (विंडो) .width (); वर winheight = $ (विंडो ) .height (); वर widthratio = winwidth / imgwidth; वर heightratio = winheight / imgheight; वर widthdiff = heightratio * imgwidth; वर heightdiff = widthratio * imgheight, अगर (heightdiff & gt; winheight) {bgImg.css ({चौड़ाई: winwidth + 'पिक्सल', ऊंचाई: heightdiff + 'पिक्सल'});} else {bgImg.css ({चौड़ाई: widthdiff + 'पिक्सल', ऊंचाई: winheight + 'पिक्सल'});}} resizeImg (); $ (खिड़की )। Reset (function () {resizeImg ();});}}}} (jQuery) 2.index.html & lt; स्क्रिप्ट टाइप = "टेक्स्ट / जावास्क्रिप्ट" वर्णसेट = "यूटीएफ -8" src = "जेएस / मेन.जेएस" & gt; $ (विंडो) .लोड (फ़ंक्शन () {$ ("# पृष्ठभूमि")। FullBg ();}); & Lt; / स्क्रिप्ट & gt; & Lt; / head & gt...

Excel cell value editing when VBA program running -

When the Excel VBA macro acquisition is done, can we change the value of the cell in Excel, in which the program is running? Edit options when I want to enable the script / running program When there are too many loops in your VBA You can still work in excel by adding: two events Add inside this loop, it may be added to other events (such as user replacements ) The program happens during the run. Remember the warnings already told to you, you can seriously disrupt your VBA script, as the user actually has all the Excel spreadsheet content that you can interact with in your script. Example of a small "funny": option clear subnotomic_dear () dim timer 1 date timer 1 = now () while doing so () & lt; Timer 1 + 10/60/60/24 'Finish it for 10 seconds only ActiveSheet.Range ("A1"). Value2 = Selection.Address Loop MsgBox "END" End Sub