Posts

Showing posts from May, 2014

javascript - Words highlight when mouse is over -

I need some help How to highlight a word in my own paste text is possible. Like I have & lt; Textarea & gt; & Lt; / Textarea & gt; , where I can paste text or just one sentence and when the mouse is more than one word it is being highlighted here by Damovisa: $ 1 & lt; / span & gt; "));}); // Tie each span $ ('p span'). Focus (function () {$ ('# word'). Text ($ (this) .css ('background-color', '# ffff66') .text ());}, function () {$ (' # Word '). Text (' '); $ (this) .css (' background-color ',' ');}); Regards Man, you guys are fast !! - Anyhow, as I had made it (fun), it can also share it Yes, Johnson responds well - here's the content to be friendly Usage Demo Perhaps an extra here is picking up on being able to change the paste / text. HTML: & lt; Div class = "wordscontainer" contenteditable = "true" & gt; Paste the word h...

compression - finding a keyframe in mdat -

A QuickFilter document recommends the following approach to search a keyframe: Finding Key Frames Searching for a significant frame for a specified time in the film is slightly more complex than finding a sample for a specified time. Media handlers need to use sync sample atoms and time-per-sample atoms to find key frames. The Media Handler follows these steps: Examines the time-to-sample atom to determine the sample number, which contains the data for the specified time is. Scan sample atom to scan key to find the key frame before the sample number selected in step 1. In which frame scans the sample-to-chak molecule to detect the key? Makes offsets off of offset offset offs Sample size uses the atom to find the offset of the chuck and sample size. Source: Source: This is quite confusing because many tracks ("trunk" atom) will produce different offsets. For example, the keyframe-sample-chuck-offset value for the video track would be a value, and the ...

java - Direction from origin for a certain distance -

I want to push a crowd from a direction to a certain distance, I right click on the crowd, but when I This code uses the distance to remove the crowd, depending on how close or far I am to the crowd. target.motionX = (target.posX- player.posX) * 0.5; Target.motionZ = (target.posZ - player.posZ) * 0.5; I know that the direction I face is needed to get that direction, then the crowd should take it away from a certain distance. I do not know how to do this. Firstly you will need to find the distance: float xDis = target .posx - player.posX; Float zDis = target.posZ - player.posZ; If xDis is zero, calculate angle: float tangent = zDis / xDis; Float angle = Math Space (tangent); After that, set the length of your throw vector: float length = 0.5; and then projection on two axes: float express = length * Math.cos (angle) * math. Signum (xDis); Boat zProj = length * Math.sin (angle) * math. Signum (xDis); And these are your motionX and speed parts. ...

windows - Encoding Error with R -

I work in Mac, but my partner works in Windows 7. Every time he opens his R script to all the accents on his computer, show it as an error Can I definitely set something on my computer to solve this problem? Thanks

ember.js - Emberjs, Target a model without leaving '/models' url -

I have a table of the model and I am able to click on my {{action} 'edit'}} One of those models and amber will know in which model # is {{action 'edit'}} is inside. I am getting this error right now: 'GOT localhost: 3000 / category / undefined 404 (not found)' Here my code is in '/ categories' path. & lt; Tbody & gt; {{#each}} & lt; Tr square = "people-list" & gt; & Lt; TD & gt; & Lt; Input type = "checkbox" class = "toggle" & gt; {{#if} edit}} {{Amber. Textfield Manbanging = "name" name = "name"}} {{else}} and then on the controller: Actions: {edit: function () {this.set ('isEdit', true); }} 404 occurs when I more models VpcYeoman.Category = DS.Model.extend ({RecordCategoryID: DS.attr ('number'), name: DS ('string'), workflow: DS.attr ('string'), workflow: DS.belongsTo (' VpcYeoman.Calendar.FIXTURES = [{i...

How to save django-awesome-avatar field in normal form -

डीजेंगो-भयानक-अवतार ऐप से अवतार मॉडल फ़ील्ड ImageField बिना कस्टमाइज़ किए गए to_python विधि (देखें) मुझे ऐसा लगता है कि केवल ModelForm वर्ग विधि save_form_data , लेकिन मेरे पास वर्तमान में एक ऐसा फ़ॉर्म है जो 2 मॉडल को कवर करता है इसलिए ModelForm इस मामले में फिट नहीं होगा देखें बस कैसे सोच रहा है इस विशेष क्षेत्र के लिए सामान्य फॉर्म डेटा? मेरा वर्तमान हैक फार्म वर्ग सेव विधि के अंदर है: profile = profile.objects.get (id = 1) अगर self.cleaned_data ['avatar'] ['file'] कोई नहीं है: avatar_field = AvatarField () avatar_field.name = 'avatar' Avatar_field.save_form_data (प्रोफ़ाइल, self.cleaned_data ['avatar']) या यदि आप इसे फॉर्म क्लास के बाहर करते हैं तो संबंधित कोड (स्वयं) को बदलें। अल Ternatively मैं _meta कक्षा में फ़ील्ड के माध्यम से लूप कर सकता हूँ, लेकिन ऐसा लगता है कि एक नया क्षेत्र ऑब्जेक्ट प्रत्यक्ष रूप से आसान है।

ios - How to turn GIF image into lightweight UIImage? -

I am working on a GIF viewer but I have a problem with thumbnail images, they are not animated, but when I have a huge GIF As an image, see if it brings a lot of time and interface. This is my method how I do this: - (UICollectionViewCell *) View the collection: (UICollectionView *) collectionView cellForItemAtIndexPath: {NSIndexPath *} Index {MyCell * MyCell = [collectionView dequeueReusableCellWithReuseIdentifier: @ "cell" forIndexPath: indexPath]; UIImage * image; NSDTa * Data = [NSDTATA DATAVITY content of URL: selvedateosource [indexpath.ro]]; Image = [UIImage imageWithData: data]; MyCell.myImageView.image = image; Make me return; } The URL is local and as I know it is to set a very large GIF (some megabytes each) because the UIs are expensive and it takes time. How do I optimize it? I want to create non-animated images with light thumbnails from image GIF data. How do I do this? Edit: Actually I've implemented the cache to store them, but this is not...

c++ - Load pixmap from buffer in QT -

I currently have the following details about an image int nBufSize; // buffer size in zero * lpBmpBuf; / / Pointer to the first byte of bitmap buffer How do I get a QPixmap from it? This is what I am doing so far QByteArray b ((four *) lpBmpBuf, nBufSize); Bool t = pix.loadFromData (b, 0, Qt :: AutoColor); However in this case T is wrong. Any suggestions? Copy those bitmap buffers into a byte array, such as if you also have the length: QPixmap :: loadFromData (and data, 0, QT :: autocar); The data is QByteArray in my example. In addition, if you know the extension / type of file, then you can: loadFromData (and data, "BMP");

c# - Count records from datatable or array which exist between values in another datatable -

Image
I have 2 columns in a dataset, column 1 is the starting position of a product and 2 is the column end position. I am trying to count each point in the data format present between the starting point and the end point. See the enclosed image, the record in which the bottom line is going down is the result of a standard GroupBy , which is easy, but do not give the necessary results, the bottom line is "real necessary" which I try to get I am doing I hope this is obvious because I am unable to work it on my own, and I have not found anything on any site which can give me an example so that I am able to understand that it is a record of every record How slow is it without breaking A standard Linq GroupB query is not suitable because it will only count the start and end points, not the value in the middle, usually the dataset has several thousand records and hundreds of digits. Thanks in advance. int [] arr = new intent [500]; For (int s = 0; s

C++ Allegro5 CodeBlocks Linker -

I am running Ubuntu, and I set up Elegre 5 in each step for installation. If I run my program from the command line, then I know that I use gcc -Wall main.cpp `pkg-config -cflags -libs allegro-5.0 Plus use any other package I (I do not know what it all means, but I know I need it) To help me, what do I need to know about codeboles> settings> compiler? For the Allegro library so much that I do not get one hundred and one undefined reference errors, I do not know what I am looking for, and I do not know where to look, help me get out of the new boy thanks. Edit: I know Linker for Allegro 4.2 for allegro-config --libs --static Where can I see and what is the need for Alegre 5? If codeboxes do not support `pkg-config -cflags -libs allegro-5.0 After entering ' , just open and type a terminal (no bracket): pkg- Config --cflags --libs allegro-5.0 Then copy / paste the result of codebuckles into the compiler settings.

html - Using an anchor href in a javascript onclick -

I have an href that I want to use on an anchor in an onclick method. Here's an anchor: & lt; A href = "http://www.google.com" onclick = "videotrack analog ('best practice 3', 'www.google.com');" & gt; & Lt; IMG alt = "Best Practice 3" src = "Tig / BestPrice 3.jpg" style = "width: 236px; height: 157px" /> & Lt; / A & gt; & Lt; / TD & gt; and the code clicked here is: function video trackcan (videon, file name, file) {frmVideoTrackNLog.videoname.value = videoname; FrmVideoTrackNLog.nextpagename.value = filename; FrmVideoTrackNLog.submit (); Window.open (file, 'video', 'height = 200, width = 200, left = 190, top = 110, resizable = yes, scrollbar = yes, toolbar = no, menubar = no, location = no, Directory = no, position = yes'); } The idea of ​​transferring URLs to href in the third parameter in the function is it possible? videotrack analog .href); ...

dart - Acces Polymer inner element programmatically -

I am attaching my app to a polymer element and I want to use another polymer element inside it. I am trying to use $ [] to call all the method of internal element in the inside polymer element inside it: ImageEditor Iime; DivElement div2; ImageTool.created (): Super. Created () {div2 = $ ["seconddive"]; I am just in HTML: & lt; iME = $ ["imageEditor1"]} Mode-letter name = "da-imagination" & gt; & Lt; Templates & gt; & Lt; Div class = "images" id = "mainDiv" & gt; & Lt; Da-imageeditor id = "imageEditor1" name = "ied" & gt; & Lt; / Da-imageeditor & gt; Finally, with the script SRC, I get an exception when I give the image to Image Editor 1 for some reason. Exception: Type 'HtmlElement' type 'ImageEditor' is not a subtype of the value '. It looks like the browser has & lt; Da- Element Element Be sure that you to element, and th...

visual studio 2012 - VS 2013 does not recognize some objects on razor cshtml -

Image
When I VS If I open the project in 2013, there is some problem in recognizing some object on CSSMT razor files and intelligence is out. VS 2012 everything is fine on its web. Need some changes on config or vs settings? Here is web.config: & lt; Configuration & gt; & Lt; ConfigSections & gt; & Lt; SectionGroup name = "system.web.webPages.razor" type = "System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version = 1.0.0.0, Culture = Neutral, PublicKeyToken = 31BF3856AD364E35" & Gt; & Lt; Remove name = "host" /> & Lt; Name = "page" /> Remove & lt; Section name = "host" type = "system web.page razor configuration.hostation, system web.page.razer, version = 1.0.0.0, culture = neutral, public token = 31BF3856AD364E35" requirePermission = "false "/> & Lt; Section name = "page" type = "system web.page razor configuration....

c# - Weapon on first person -

My team and I are successfully trying to display our weapon on the screen for a week: in fact we Need help with it What we want to achieve, like in every FPS, display the weapon with a slight horizontal offset on the screen, as if the player was holding it. We have tried to use the matrix already, but without success: Weapons are not even visible, it is behind us, and even if we play with values If we try, we 'are not working properly. We know that we need to use the rotation of the camera as well as its position, but we can not understand the formula to get the world matrix of weapons. What we have, the position of the camera as a vector 3, the rotation of the camera as vector 3, also with Y coordinate horizontal rotation, between Pi and -Pi, and X vertical Rotation is in the form of. The weapon is extended to 0.1f Edit: There is some code relative to my problem: Previous> Public Zero Update () {Weapons . Repeat = This player. Weapon.world metrics = Weaponworld...

scipy - Numpy inaccurate matrix inverse -

While computing the matrix in the numpy (solving the linear system) numpy, I feel that it is a huge mistake. Is this a normal level of inaccuracy? How can I improve the accuracy of this calculation? In addition to this, is there a way to solve this system more efficiently in a sample or suspicious ( scipy.linalg.cho_solve was promising, but what do I do? is)? In the code given below, cholM is a 128 x 128 matrix. Matrix data is too big to include here but is located on the pastebine. In addition, the original vector, ovec , is being randomly selected, therefore the accuracy of the ovec varies, but, in most cases In, the error is still not highly acceptable. Edit There is very little error in solving the system using singular value decomposition compared to other methods. import num rpm as numpy.random import numpy.linalg as lynx import numpy np cholM = np.loadtxt ('cholM.txt') dims = len (cholM ) Print 'dimension', retard ovec = rnd.normal (...

php - first iteration of sql query not being wrapped properly -

So, I've got this php file, but the first result is not being wrapped in the 'result' div, and therefore Not being styled properly. All subsequent results are wrapped properly. help? Edit: According to the comment, I have tried to pull out HTML. I believe that I am a Noble, but here I have come for it. The original problem does not seem to fix: scripts_post.php: $ connection = mysqli_connect ("server", "user "," Password "," dbname "); If (mysqli_connect_errno ()) {echo "failed to connect to MySQL:". Mysqli_connect_error (); } $ Result = mysqli_query ($ connection, $ sqlQuery); Mysqli_close ($ connection); If (empty ($ result)) {echo 'no results found'; Return; } While ($ line = mysqli_fetch_array ($ result)) {echo included 'single_result.php'; } Echo " gt; & lt; p & gt; The end of the list & lt; / p & gt; & lt; / div & gt;"; single_result.php: & lt;...

php - Build url query string than contain multiple value in twig template -

Working as a filter on a search page with URLs Some arguments can be set more than once. In one toggle template, I'm trying to create a URL like this: Ape? Ultimate 1 = 2 and break [] = 3 and Toto [] = 10 and Toto [] = 20 How can you manage it in toggles? I'm already merging the request query with the unit attribute (in the loop) path ('search', app.request.query.all | Merge ({state: state.id})) Do not do what you see See, make it in your controller and see it below. The visual logic should be less IMO.

php - my IF statement not working as expected -

मैंने अपनी समस्या का एक सरल उदाहरण नीचे लिखा है: & lt;? Php if ($ SpType == "SPI") {? & Gt; & lt; div id = "mainImageInside" & gt; & Lt;? Php echo $ sSeries? & Gt; & Lt;? Phpif ($ sSeries == 4) {? & Gt; & lt; div id = "buDepth" वर्ग = "फ़ॉन्ट" & gt; काम किया & lt; / div & gt; & lt;? Php}? & Gt; & Lt; / div & gt; & lt;? Php; ? & Gt; $ sSeries को 3 पर सेट किया गया है, जब मैं इसे गूंजता हूं, तो मुझे 3 स्क्रीन पर प्रिंट किया जाता है, यदि I बयान से 4 की उम्मीद होती है, इसलिए इसे प्रिंट नहीं करना चाहिए हालांकि पाठ "काम" किया गया है, अगर पाठ 3 या 4 के रूप में सेट किया गया है, तो यह टेक्स्ट "काम" पर कोई फर्क नहीं पड़ता, क्या कोई मुझे इस के साथ मदद कर सकता है? & lt; php अगर ($ spType == "पोस्ट-पाठ" itemprop = "text"> डीबग करने के लिए एक लाख गुना अधिक पठनीय है (कम से कम मेरे लिए) एसपीआई ") {गूंज '& lt; div i...

matrix multiplication - multiply two non-na matrices in R, result is all-NA -

मेरे पास दो मैट्रिक्स हैं, ए और बी। sum (is.na (ए )) = 0 योग (is.na (B)) = 0 लेकिन जब मैं उन्हें गुणा करता हूँ, परिणाम (एक 45x1 मैट्रिक्स) सभी एनए है योग (is.na (A% *% B)) = 45 कोई भी विचार? मैं अब डेटा अपलोड करने पर काम करूंगा, ताकि लोग रुचि ले सकें अगर लोग पुन: उत्पन्न कर सकें।

Python: Writing a program using recursion to determine the sum of factor (how to make more efficient) -

एक्स = तथ्य == 0: if fact> gt; = x / तथ्य: वापसी तथ्य + एक्स / तथ्य + sof (x, तथ्य - 1) अन्य: वापसी 1 और: रिटर्न sof (x, fact-1) मैं इस कार्यक्रम को और अधिक कैसे कर सकता हूं कुशल रनटाइम बुद्धिमान? मैं व्यक्तिगत रूप से विचारों से थक चुका हूं।

How does c assign values to an array of pointers when it is first defined? -

मेरे पास इंट पॉइंटर्स की एक सरणी है। int * ints [3]; इस सरणी को परिभाषित करते समय स्मृति का क्या होता है? आरम्भिक पॉइंटर मूल्य क्या संग्रहीत होंगे? जब मैं किसी मूल्य के dereference की कोशिश, मैं एक विभाजन त्रुटि मिलता है, जो मुझे बताता है कि मान मनमाने हैं। यह सरणी के भंडारण पर निर्भर करता है। अगर इसमें स्थिर भंडारण है, यानी किसी भी फ़ंक्शन के बाहर घोषित किया गया है या एक फ़ंक्शन में स्थिर के साथ घोषित किया गया है, तो सभी तत्व नल होंगे यदि इसे फ़ंक्शन में घोषित किया जाता है, बिना स्थिर , तो इसमें स्वचालित संग्रहण होगा और आरंभिक मान अनिश्चित होंगे मानक इस मामले में काफी स्पष्ट और उपयोगी होता है: यदि कोई ऑब्जेक्ट स्वचालित स्टोरेज अवधि को स्पष्ट रूप से प्रारंभ नहीं किया गया है, तो इसका मान अनिश्चित है यदि कोई ऑब्जेक्ट जिसमें स्थिर या धागा स्टोरेज अवधि होती है तो उसे स्पष्ट रूप से आरम्भ नहीं किया जाता है, तो: यदि इसमें सूचक प्रकार है, तो इसे एक अशक्त सूचक के लिए आरम्भ किया जाता है; यदि यह अंकगणित प्रकार है, यह (सकारात्मक या अहस्ताक्षरित) शून्य पर...

ruby on rails - Does Devise encrypt all user model attributes or only passwords? -

I have some custom attributes related to device users Are these attributes encrypted by default? If not all, all the properties of the user are encrypted to ensure that one can be one? Thank you! The device will encrypt only the passwords, the model looks like the most popular method of encrypting attributes .

ios - NSURLSession invalidateAndCancel EXC_BAD_ACCESS -

Image
I am using NSURLSession with NSURLSessionDataTasks so that background data can be brought to my app. I am looking at the EXC_BAD_ACCESS crashes on the background thread with steak trace: Displays deeply that dispatch_group_notify_f is trying to retain zero. Why can this happen in my code? I was not able to solve this problem, only invalid and can not call the call and I am waiting to complete the work in the event of an error in return. I am sure that further investigation could have found a way to stop it, but it was easy to work around it.

mysql - How can i create arrays from a query in php -

In my data base I have a table "option" in which my site includes options like title, language and so on. I want to load all these options and store it in an array query database. This code works manually $ option = array ("title" = & gt; "site title", "option 2" => gt; ; "Option 2 value"); Resonance $ option [title]; But when I create a query ... $ query_options = mysql_query ("select option") ;; While ($ data_options = mysql_fetch_row ($ query_options)) {$ option = array ($ data_options [1] = & gt; $ data_options [2]); } Echo $ option [title]; This does not work. Hope you can help me. Thank you mysql_fetch_row () Allows access to the column: $ option [0] or $ option [1]. Instead of using mysql_fetch_array () you can access data with $ options ["title"] for example. Using column names. Look at the doctor PS - Do not forget the title between the quotation marks!

JavaScript variables - new var altering original value -

It's been a while since I touched javascript, but something has struck me, just let me know You should know, but this is causing me a big headache for the last hours! Scenario; Mop = {ales: [], pool: [], generated: work () {For (var i = 0; i This is a long lasting way to say that this variable has a problem with specifying. But I thought I would show the context. In essence, affects Mop.show () at ARIDS Mop.pool , and Mop.oneAtime.p , even if the latter was assigned the Mop.pool value, and Mop.pool was not touched again. Mop.pool must be located. I can hear laughing at this how easy it will be - but I can not understand that due to both the arrays are affected by hair () method! Scope, Closer, the way I bet, I tried everything I could think of ...

python else statement syntax error -

When I run it, I get the following error: Does anyone know what this can be? The purpose of this program is to create an array, remove all punctuation marks from the array and remove all lowercase letters from the array file "words.py", line 37 and: ^ syntax error: invalid syntax shell1 ) For the range (1, lane (sys.argv), 1): print ("logic", "," is, sys.argv [i]) token = readTokens ("text.txt") cleanTokens = (token ! = ""): Arr.append (token) token = "" "=" "" = "" " = "String = ARR [i] clear =" "punctuation marks =" "=" "=" "==" ======================== ================================================== = ""! "# $% & Amp; () * +, - / / ;; & Lt; = & Gt; ([0, lane (string)), 1): [string] [i] not in punctuation: clear + = string [i] result .append (@ 0, lane (string)) in the range for @ [\] ^ _ {{}} ~ ...

java - A dialog that must be finished before anything else takes place -

There is no easy way to create a dialog in Java, which has been able to put it off until that did not stop it Could go? Windows interfaces such as the entire screen are grayed out and only you do not talk to it as long as you do not satisfy it. You can do this by simply using a JDialog of JDialog dialog = New JDialog (frame owner, "My modal dialog", ** true **)

Mootools to jQuery conversion -

How do I change the following line in jQuery? I have a file that I am transitioning from jQuery to jQuery and this is where I got stuck. var pollResultTemplate = $ ('pollResultTemplate'). GetElement ('. PollResult'). Clone (); Edit: OK, thanks, now it is fixed, I'm stuck on this line: pollResultTemplate.getElement ('. PollResultLabel') .setProperty ('html', pollOptionLabel); What is jquery equal to that? What does this line do? I want to assume that this class sets "pollResultLabel" as an active element so that the next few lines can manipulate that element? In MooTools: $ ( 'MyID') for ID is the correspondent for vanilla document.getElementById ('myID') and jQuery's $ ('# myID') . You can also use document.id ('myID') in MooTools getElement to Note: Strong> Mootools and jQuery are the same document and MooTools can be present in whatever jQuery can do and a l...

android - How to design layout with multiple things and borders -

Image
I'm trying to design a sample layout that mimics a user page on the Twitter app: I am unsure where to start So far I have designed list views or tab views, how can I design a layout with multiple blocks in it (like this sample has 4 blocks) and so on. And divide them into blocks If someone can point out to me how to get started on the first block, then I can take it from there. The first block I like. Here's some brief explanation: How to use it: The easiest way to deal with other groups ("direct message", "draft", etc.) Code> LinearLayout another vertical linear layout which hosts these groups with some margins between each group. For simplicity, I will make each group as a separate layout file and & lt; & lt; LinearLayout Android: id = "@ + Id / host" android: orientation = "vertical" ..... & gt; & Lt; Layout = "@ layout / group1" /> & Lt; - Grid layout & lt; Layou...

excel - VBA parsing of href -

Image
I have also searched for many posts, some of them are interesting for this, I'll show you what I am. I selected and copied some rows (from 155 to 174) & lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "/ wiki / baac_ai" title = "bac" I "class =" mw-redirect "& gt; Bac I Bac II A href =" / wiki / BA C C.III "Title =" BAC. III "class =" MW-reader "> Bac III A href =" / wiki / BAAC ._IV "title =" BACC IV "Class =" MW-Reader "> Bac IV A href =" / wiki / BAAC .v = "title =" BACC V "class =" MW-Director "> Bac V A href =" / wiki / BAAC ._VI "title =" bac. Lt; li & gt; & lt; a href = "/ wiki / ba." C_ VII "title =" bac. Lt; li & gt; & lt; a href = "/ wiki / bac", A & B; a ; / Li> Bac VIII-belt-boat / Wiki / bac_x "title =" bacie...

node.js - Mongoose validation: required : false, validate : regex, issues with empty values -

I get this message with validity: 'value` ` This should not be done because the phone is not required. This is my model schema: var user = new schema ({_id: {type: string, required: true}, name: {type: string, required : True}, phone: {type: string, required: wrong, valid: / ^ \ d {10} $ /}, password: {type: string}, added: {type: date, default: date.nuh} ,}, {Archive: 'user'}); It seems that when I use expected: false and set a valid property, verification of the mouth fails. If I change it in: Phone: {type: string, required: wrong}, Everything is fine, why is it so? What am i doing wrong You can try with a custom verifier because these are only triggered when it is A value on the given key, because the main selection for custom verification path () : var user = new schema ( {// ... Phone: {type: string}, // default to use - required: incorrect // ...}); // validate validation user.path ('phone') (function (value) {// your verificat...

c++builder - TBrush bitmap alignment -

Image
मेरे पास एक TPaintBox नियंत्रण है और TPaintBox-> कैनवास-> gt; ; ब्रश- & gt; बिटमैप एक तैयार TBitmap से ग्रिड पैटर्न के साथ। TPaintBox ग्राहक के माता-पिता ( फ़ॉर्म ) के अंदर गठबंधन होता है। जब मैं मैन्युअल रूप से TPaintBox->; () कॉल करता हूं > नियंत्रण को दोबारा करने के लिए ब्रश पूरी तरह से शीर्ष पर स्थित है, बाएं (0,0 - बाएं चित्र), लेकिन जैसे ही मैं खिड़की का आकार बदलता हूं, ब्रश ऑफसेट परिवर्तन (20,7 - सही चित्र) जब तक कि मैं मैन्युअल रूप से TPaintBox- & gt; अमान्य () दोबारा। मैंने एक मानक ब्रश पैटर्न जैसे कि bsBDiagonal और bsCross का उपयोग करने की कोशिश की है, लेकिन ये सभी एक ही है (एक के बीच अलग संरेखण अमान्य () कॉल और form resize)। मैंने मैन्युअल रूप से सेट करने के लिए Win32 API SetBrushOrgEx () का उपयोग करने की कोशिश की ब्रश संरेखण, लेकिन इसका विंडो रीसाइज अपडेट पर कोई प्रभाव नहीं पड़ता है। अगर मैं मैन्युअल रूप से Invalid () कॉल करता हूं, तो यह बिल्कुल अच्छी तरह से काम करता है। अगर मैं अपने onPaint हैंडलर में एक ब्रेकपॉ...

c# - How to use WinAPI to cover another window -

I have 2 windows, or window handles I have to get the position and size of a window, and in the second window To apply, so that the second window can be fully covered first. For now, I am using GetWindowRect () to get the position and size of a window, for example, IntPtr hWnd1 = some window handles; Rect rect = new rect (); GetWindowRect (HWND1, Riff Rect); After some googling, it seems that I have to use SetWindowPos () to move my second window to the top and change its size Set Window POS (HW2, some quotes here); However, I do not know how to convert the RECT structure to GetWindowRect () to coordinate by how I SetWindowPos () , any help appreciated. I think you should say "left, top, right, down" to "x, y, width , Height ": RECT rct = GetWindowRect (windowHandler); SetWindowPos (WindowHandler, HWTPTP, RTT Lift, RCT, RTT Right-RCT Lift, RTT.Botom - RCTOp, SWPISHOWADO); update You should use GetWindowPlacement instead of GetW...

sql - Adding a filter to a MDX query -

I'm new to SSAS and what would be equal to a segment in SQL and I'm sure that an MDX is easy for regular Answer: I have this pulling value for a multi-selected parameter list in Report Builder but I have to filter the contracts based on the user's project which is currently viewing. Here is the query that is pulling all values ​​correctly. [Remedy] with a member of [DimContracts] as [ParameterCaption]. [ContractName] .CURRENTMEMBER.MEMBER_CAPTION member [remedy]. [DimContracts] as [ParameterValue]. [Contract name] .CURRENTMEMBER .INIQUENAME selection {[remedy]. [ParameterCaption], [remedy]. [ParameterValue]} columns, [dimContracts]. From [contract name] [cubeProjectEntities] on the rows .Children I need to add what will happen: WHERE dimContracts [Project ID] = 1 What I have added that produces the right filter set but from here I do not know how to use the report parameter to do this work. Every time I do the test it just gives and empty dataset. I have t...

Calculating max field goal percentage in a method in java program -

The field goal of the team is to find both the maximum and the minimum in the set of data. Import java.io. *; Import java.util.Scanner; Public class Kastatababal {public static wide man (sting [] AGRs) throws filenoutound expansions {scanner in = new scanner (new file ("data 1wt"); String [] first name = new string [100]; String [] lastname = new string [100]; Int fgm [] = new int [100]; Int fga [] = new int [100]; Double FGP = 0; Intestinal maxFGP; Int Min FGP; System.out.print ("player FGM FGA FGP% \ n"); Int count = 0; For (int i = 0; in.hasNext (); i ++) {first name [i] = in.next (); Last name [i] = in.next (); Fgm [i] = in.nextInt (); FGA [i] = in.nextInt (); FGP = (1.0 * FGM [I]) / (1.0 * FGA [I]) * 100; Count ++; System.out.printf ("% 10s% 10s% 3d% 3d% 3.1f \ n", first name [i], last name [i], fgm [i], FGA [i], fgp); } MaxFGP = maxFGP (FGM, FGA, count); Min FGP = MinFGP (FGM, FGA, Count); System.out.printf ("\ n \ nThe player with the hi...

visual studio 2008 - How to fixed error: The application has failed to start because its side-by-side configuration is incorrect -

I am design software in VS2008, but when I am copying it to another computer without installing VS2008 it is an error Throw The application failed to start because its side-by-side configuration is incorrect. Please refer to the application event log or for more details of the command-line sxstrace.exe tool. Use the. I am getting in the Internet, some people were installing me a Microsoft Visual C ++ 2008 SP1 reddening package, but there are still such errors of my application . When I install VS 2008, this is true. How to run this application without installing VS2008 I think the new computer is missing Microsoft SDK v6.0a, - How to install Microsoft SDK v6.0a without installing VS2008? Thank you! Have you created your program in debug mode? This will be a problem because CRT (C run-time library) is made in the release mode in the redistribution package, it also states that when you install Visual Studio on another computer, why your program works again, because...

creating stream to iterate over from string in Python -

I want to create a stream from a string in Python so that it is similar to reading the string, as it reads from a text File goes In the open ('myfile.txt') : print line The contents of 'myfile.txt' are stored in a string s . Is this the right / best way? Pre line I want to create a dragon with a string so that it is equivalent to reading the string as if it is read from a text file . Is this the right / best way to do this? Yes, unless you really want this to be a list. If this line intends to consume the line, then the way you are doing it is understandable. StringIO () creates a file like object is a method in file objects, .readlines () , Which executes the object as a list. Instead of making the data physical in the list, you can repeat it again, which is more memory light: # from StringIO import StringIO # Python 2 import from IO import StringIO # python 3 import Txt = "foo \ nbar \ nbaz" Here we add a list to a line...

javascript - Saving a particular Objects property in localstorage -

standard localStorage.var = var; is not working for me, for example: localStorage.library_science1.owned = library_science1.owned; Where library_science1 is an object already created with 'owned' property, can anyone please help? Local storage only handles strings while reading from local store JSON.stringify (Library_science1) , and use JSON.parse (localStorage.library_science1) .

CSS chat layout not working -

Hello I'm trying to create an online chat application. I have html: & Lt; / Form & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; / Table & gt; & Lt; / Body & gt; and CSS: html, body {height: 100%; Maximum height: 100%; Hidden flurry; } Table {height: 100%; } TB {Overflow: Auto; Width: 100%; } Threads & gt; Tr, tbody {display: block; } I want to lie in the bottom of the page to be the second tag (a form in it) and the first page First of all to fill upwards. Right now I have to use jquery (in what way) what do I want Currently this form is half hidden I want to do this with CSS so that it works better with mobile devices. How can I go about doing this? Jquery: var heighty = $ (window). height (); Var height = $ ('. Farmhit'). Height (); $ (". Scroll"). CSS ("height", height - height + "px"); I can not even get form text input 100% width ...

c# - Can I use Windows 8 Mail App as the medium to send email through using Visual Studio 2012? -

I am creating an application for a college project on auto insurance, and I already have several components ready In which iTextSharp PDF. I am trying to add a module in which I can send the generated PDF to "Customer" via e-mail. Using the methods in this tutorial - I am able to use Outlook to send mails. My question is - can I use the default mail app in Windows 8 to send mail instead of Outlook? I could not find a satisfactory answer in my initial search. Thank you. Check out this sample. It demonstrates sharing of contents between apps.

Getting Error Creating Directory In Ubuntu Using Java -

I have created a test case of a method that will call it the actual method and execute it. Actual method: public string GetDefaultFolderPath () {string path = ""; Try {String os = System.getProperty ("os.name"); System.out.println ("OS name identification"); If (os.toUpperCase (). IndexOf ("WINDOWS") = -1) {file file = new file ("C: / MARCDictionary"); If (! File.exists ()) {System.out.println ("11"); File.mkdir (); } Path = "C: / MARCDictionary"; } Else if (os.toUpperCase (). IndexOf ("LINUX") = -1) {file file = new file ("/ usr / MARCDictionary"); If (! File.exists ()) {System.out.println ("22"); //file.mkdir (); File.createNewFile (); } Path = "/ usr / MARCDictionary"; }} Hold (exception e) {e.printStackTrace (); } return path; } Test case: @Test public void Testgetdifoltfolderpath () {System.out.println ( "getDefaultFolderPath"); Utilit...

multithreading - Multithreaded files unzip using java.util.zip.ZipEntry -

I am using: java.util.zip Reading a buffer is a one-time loop until it becomes clear. I'm reading 2 or more files from a folder, but I should do something else. I want to use threads if I use a thread for every file, so when I open the 1 GB file, I can not see any difference in unzipping small files too. How can I share that work with Threads? I can not read the stream with different threads (I?). Average today's computer handles can provide jump decompress data faster than a hard disk. This applies to most SSDs as well as simply limiting factors. Therefore, any attempt to speed up the process by changing the CPU usage will fail. The best thing you can do is to get the benefit of separating reading and writing, the sources and targets are on different devices. To make the processing after decompression multi-threaded But if you are just reading data and you are leaving, then there is no way to speed up the process.

ios - Child UITableViewController can't receive notification from Parent UITableViewController? -

As a question, I am sending information to a child TVC and that child is unable to receive TVC notification and excitement Selector Handle Notification: (NSNextification *) paramotif . To wit. My code is below and it is very self explanatory. Get no NSG output I should add that the TVC of my parents is also receiving notification from a model view and removing themselves from the center in dealloc , but still doing this work Because its parents? Parents UITableViewController viewDidAppear [Auto post notification TOD5TVC]; ]; NSString * kNotifName2 = @ "workout"; NSNotification * Notification = [NSNotification notificationWithName: kNotifName2 Item: Self-user information: @ {@ "kworkout": stringWithBOOL}]; [[NSNotificationCenter defaultCenter] Post Notification: Notification]; This works fine because I have NSLog on method and before stringWithBool Segue UITableViewController I have a variable BOOL workout In the Vie...

android - Do 'Chrome Apps for Mobile' use native web-view on each platform? -

Is there a collection of Apache Cordova plugins only for each mobile platform or is it changing the original web-view with Chrome? Is also the web-view based on intentions? This and Google Docs seem to indicate that this is just a collection of plugins, it says that on iOS it uses native web-view CCA using the toolkit Cordova on all existing basis are based and thus use the native webview. On iOS, it's currently unlikely to change due to policy restrictions (but hey, who knows). On Android, Cordova Contributors want to experiment with the support of using custom web renderer implementation. It is being discussed as a potentially Cordova-4.0 major version collision milestone, and thus will target 2014 fall / winter. It's actually a dream at this point, but it's definitely a specialty on everyone's mind. I should pay attention, there are many downsides to do this, it does not have all the gravy, using custom webview means that ~ 20 mg of applic...

Accidentally ran git stash pop twice -

I accidentally delete git stash pop reset - hard head will not do this for me. "undo" git hiding pop is a painful unless You do not have raw command-id for your steps (like on your screen). / P> There are instructions (in the end) to fix the defective steps that you want, because pop just " applicable and then drop ". This means that if you are both hidden, you can use git reset --hard to restore everything, git stash pop (Securely-it will not be "drop" - Apply git hide space ) the place you wanted to use, and then verify everything. If you can locate and restore both steps, then maybe it's possible how I can do it. If you can find only the second splash (which you want to "unused"), then you can try to reverse it. > "recurring" from the documentation is given here: git fsck - adapter | Grep commit | Cut-d \ -f3 | Xargs git log - merge --no-walk --grep = wIP When you run it, list the com...

debugging - How can I debug or run a Blackberry project done using ant? -

I am working on a project that contains ant files for creating the project. I used to work before the new ant simulator Help me with the way to run or debug this app in Bibi A good doctor would be useful for running and debugging with ant in BB. Do not really use ant building tools and debug projects. Yes, the ant can execute a task but it seems that you need the IDE which can debug your BlackBerry project, instead of mentioning or focusing on AT.

json - Dropbox user authorization without invoking a web browser for login -

I'm relatively new to the Dropbox API, so I'm just asking for a little bit if I'm sorry. I am developing an application that will synchronize its database via the Dropbox Datastore API (or Sync API), but I can not find a way to authorize the user for the Dropbox service connection is. The only authentication I can search for is an API, according to the documentation a web page will appear that will allow the user to log in. I'm not really interested in displaying any web page in my app (since it is not web-based, nor does it have a web browser). I just got my own UI Username and the password field with the note please log in to your dropbox account where a user can type in their credentials Afterwards i Dropbox could send in API call. Is there a way to authorize a user account? From design, the Dropbox API does not allow this. (We do not want third-party applications to handle user credentials at any time.) Note, however, that the user has to do t...

javascript - LOck orientation for mobile devices -

How will the orientation for mobile devices be locked using JS, PASA or jquery? . I basically want to lock the landscape mode for my browser based game. Scale manager class () in a force orientation and a force portrait method is. We generally use an image to ask users to flip their phones. Also, you can hear the wrong orientation signal so that it knows when the game is in an unwanted orientation. Hope this helps :)

How to stop AlarmClock in Android? -

itemprop = "text"> I want to use an alarm clock I found the seller and did not know how to stop this alarm Any help to catch? PackageManager PackageManager = getApplicationContext (). GetPackageManager (); Intimacy AlarmClock transmitted = new intent (intestinal_action) .addcategory (intestine. CATEGORY_LAUNCHER); // clock implementation string clock [] [] = {{"HTC Alarm Clock", "com.htc.android.worldclock", "com.htc.android.worldclock.WorldClockTabControl"}, {"stander alarm clock", " Com.android.deskclock "," com.android.deskclock.AlarmClock "}, {" frio nexus alarm clock "," com.google.android.deskclock "," com.android.deskclock.DeskClock "}, {" motto Blur Alarm Clock "," Comm. Mautola Blur, AlarmClock "," Comm. Moutola Blower, AlarmClock, AlarmClock "}, {" Samsung Galaxy Clock "," Comm. Sand.Android, App ClockPackage "," C...

c++ - Overloading operator in class -

वर्ग 'वर्ग_मैट्रिक्स' का ऑब्जेक्ट एक पूर्णांक मैट्रिक्स संग्रहीत करता है। क्या यह मैं कैसे देख सकता हूँ अगर दो मैट्रिक्स समान हैं? मैं दो 2 डी सरणियों की तुलना '==' से अधिक लोड करके करना चाहता हूं, यह जांचने के लिए कि हर तत्व 2 मैट्रिक्स के बीच समान है। उदाहरण: मुझे निम्न कार्य करने की आवश्यकता है: स्क्वायरबैट्रिक्स ए, बी; अगर (a == b) {return 1;} दोनों ए और बी गतिशील 2 डी सरणियाँ हैं। हालांकि, मुझे एक त्रुटि मिल रही है: अप्रत्याशित प्रारंभकर्ता 'ऑपरेटर' से पहले मैं इसे कैसे ठीक करूं? इसके अलावा, यह कैसे सिंटैक्स की तरह दिखना चाहिए? // हैडर फ़ाइल बूल ऑपरेटर == (स्क्वायरमैट्रिक्स सरणी 1, स्क्वायरमैट्रीक्स सरणी 2); //.cpp फ़ाइल बोल स्क्वायरबाटिक्स ऑपरेटर == (स्क्वायरअगैट्रिक्स एरे 1, स्क्वायरमैट्रिक्स एआरएआर 2) {अगर (सरणी 1.size! = Array2.size) {वापसी झूठी; } के लिए (int i = 0; i & lt; array1.size; i ++) {for (int j = 0; j & lt; array1.size; j ++) {if (array1 [i] [j]! = Array2 [i] [जे]) {वापसी झूठी; }}} सच हो; } अधिकांश बाइनरी ऑपरे...

Using modulus operator in a python conditional statement -

When I run the code, I get an error: all the arguments that were not changed during string formatting year = raw_input ("Please enter a year") if the year% 4 == 0 & amp; Amp; Year% 100! = 0: Print ("{0} is a leap year", the year) Elife year% 4 == 0 & amp; Amp; Year% 100 == 0 & amp; Amp; Year% 400 == 0: print ("{0} is a leap year", the year) Other: Print ("{0 leap year is not year", year) Because raw_input returns a string, line year% 4 An operator is trying to do that, which shares the same operator % as modulus. You have to convert your input to an integer, together with int () . In addition, as mentioned, and , no & amp; Amp; Amp; And such as C. Such: While correct: # Prompt the user until they give a valid integer. Try the year = raw_input ("Please enter one year"): Exclude year = interval (year) ValueError: pass (year% 4 == 0) and (year% 100! = 0): print "{0} A leap year "...

How to decrease query execution time MySql -

It's my MySQL database view. Create View schools as select schools. *, Conference.conference_name, conference.division_id, division.division_level, facility.facility_address, group_concat (different facility.facility_name) Athletic_Venue the school conference interiors Join the school.conference_id = conference.conference_id Insider on conference.division_id = division.division_id join Left partition school school school school school school schooling skills in school to facilitate school school school school school school school school school Skils_aid school of Flatibiliteeportport Fiksl Join feature Titisposstorporets. > 20 thousand records in database tables Now the query execution time is 13 seconds, so I'll open this view in the database. Query increased the time of operation when searching for the name of any school with the operator. Please suggest anything to reduce the query execution time. First to create index conference_id, division_id, school_id, fa...

java - how to create a Speed-O-Meter chart or half moon like graphs in android with different data -

Image
I want to create a graphic or graph like a semi moon - I am new to Android in graphics design and new Android. Any suggestions would be great, I have already followed Android's graphics tutorial. I have found a link but need some more accuracy. You can see the wrong view. There is already a post on the subject that you can find Git for that box. Just download the project and add it to your own then use the gauge view in your layout. And setTargetValue (); and define parameters like whatever you want If I have implemented it successfully in my project, feel free to ask me any questions. Thanks for Evelyn 24 (Jithub) for creating a gauge view.

c# - How to prevent parent window from going into background after child is closed? -

Therefore, I am running in a problem with many of my WPF applications where children in one window after closing the window The window (usually my main window) will go in the background, I have nothing open. After some research, I found this bug report to Microsoft: "Generally the WPF team has reviewed this issue and it will not be addressed ..." Is anyone successful in dealing with this On your own? It makes me mad and I can not find any solution. Edit: I had given some suggestions in my answer to James due to the uncomfortable nature of the window due to above everything else After rejecting the suggestion, I came up with: ChildWindow.Closed + = Representative {ChildWindow = null; this. Most = true; System.Threading.Thread.Sleep (1000); this. Most = false; }; Therefore, when the child's stop () increases the event, I'm sure the original window is at the top again, I sleep the thread for 1 second And make the top set false so that other windows ca...

java - how to set toggle button text value from db on jtable -

Image
How to set the toggle button text value (depending on the database) Here is the code Private class checkboxescoder extension extends abstractCellEditor TableCellEditor, ItemListener {Protected JToggleButton Toggle; Private string button value; Public checkboxcode editor () {toggle = new JToggleButton ("off"); Toggle.setHorizontalAlignment (SwingConstants.CENTER); Toggle.addItemListener (this); } Public component getTableCellEditorComponent (JTable table, object value, boolean selected, int row, int column) {buttonValue = (value == null)? "": Value.toString (); Return toggle; } Public object getCellEditorValue () {// System.out.println (buttonValue); Return button value; } @ Override Public Zero ItemState Change (Item Event E) {if (e.getStateChange () == ItemEvent.SELECTED) {toggle.setText ("on!"); Println (buttonValue); } And {toggle.setText ("off"); Println (buttonValue); }}} Shows an image toggle here but it does not show text. Whe...

Menu items in moodle -

I am new to Moodle. I have created a moodle site, in which I am creating custom menus. For example, after clicking on the menu menu item, I created a menu item such as Home, about when I click on the OUTS menu item, how does it show more detail in my site that the page How and how Moodle is built. thanking The easiest way to create a page on a Moodle site is to use the 'page' resource type. . If you edit the 'front page' settings and tick the 'Add subject section' option and (click Save Changes!). Then, back to the front page, turn on editing, click 'Add activity or resource' and create a new 'page' resource. Once you have created that page resource, you can copy the link to that page on the front page) and use it as a 'About Us' link.

sql server - How can particular domain email ids in sql -

How can I get only @ gmail.com email addresses from a table with user email id in SQL? User ID, user name, user by e-mail Try it out .. The choice clause gets the record in which gmail.com ends :) Select from user id, user name, email like '% gmail.com' like Email

meta tags - Facebook Open Graph and Metatags -

I have the following output I've added the locale metat because I had lots of external assets errors but it does not resolve it. External properties: These types of objects do not allow named and named properties: Latitude Outside Property: These types of objects are not designated and do not allow property named: Longitude. External property: These types of objects are not designated and do not allow the properties named O.Z.: Area external property: Objects of this type are not allowed and properties named OGI do not allow: Road-address External property: These types of objects are named and named Do not allow property: terrain External property: These types of objects do not allow named and named properties: postal code. External property: Objects of this type are not designated and do not allow property named: country-name External property: These types of objects do not allow named and named properties: Email External property: These types of objects are named and...

can not build pjsip for windows phone -

I was trying to create a pjsip library according to the instructions given here I have followed every step, but the following error occurs Error CS0006: Metadata file 'F: \ Windows-Phone-Wordspace \ Pjsip \ pjsip-apps \ src \ pjsua \ Wp \ lib \ PjsuaWP BackEnd.winmd 'did not get' I went to pjsip-apps \ src \ pjsua \ wp \ lib directory and found that the folder is empty. What can be done properly to create a sample on Windows Phone 8? Set your config_site to: #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 #define PJMEDIA_AUDIO_DEV_HAS_WMME 0 #define PJMEDIA_AUDIO_DEV_HAS_WASAPI 1 Go through the solution and set to all PJMEDIA_AUDIO_DEV_HAS_WMME 0 on \ pjmedia \ include \ pjmedia-audiodev \ config.h OR add; PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO ;; PJMEDIA_AUDIO_DEV_HAS_WMME; PJMEDIA_AUDIO_DEV_HAS_WASAPI In your project build options (own of pjsua_wp or ypur)

Conditionally require gems in Gemfile based on Rails or Sinatra framework? -

I am writing a gem which can be used with both sinatra and rail, however, gem dependency is different The framework on which the developer is using the gem. If this is a rail app, then we need 'saas-rail' and 'coffee-rail'. If it is a seam app, then we need 'asus' and' coffee-scripts. ' Ideally the bundler will install only the necessary gems on which this gem is being loaded, but I do not seem to understand how to specify conditional reliance. Suggestions will be highly appreciated. I would suggest you not do this. This hack will be unbelievable. What you can do though is division and win! Make a generic version of your gem, which is an agnostic and handles only logic, let's call it yourgem-core , you can make two other gems on the basis of that first, Which is yourgem-rail and yourgems-sinatra . It is much better, only logic and logic test in yourgem-core , only rail integration testing yourgem-rails , yourgem-sinatra Only...

c# - Block direct access to a file over but allow via http using asp.net -

Image
I am using the code to download the file in my intranet asp.net web application. But a user hacked and found the shared folder path of the file. How to prevent it? System Web. HTPRS Response = System Web. Hpptx Running response; Response.ClearContent (); Response.Clear (); reaction. Content type = "text / plain"; reaction. Add Header ("content-dispute", "attachment; file name =" + filename + ";"); Response.TransmitFile (Server.MapPath ("FileDownload.pdf")); Response.Flush (); Response.End (); Using the Directory Browsing Option (IIS 7) you can disable it in IIS: Or you can do it yourself Change your own and add the following options: & lt; Configuration & gt; & Lt; System.webServer & gt; & Lt; DirectoryBrowse enabled = "false" /> & Lt; /system.webServer> & Lt; / Configuration & gt;

ios - Unable to write JSONValue into NSDictionary - JSON Framework not working -

I am using JSON to get feedback and then save it to NSDictionary I am trying. I am using the same code in about 12 clones of the same app and I am doing a great job. But, in one of my apps, I am unable to do this. NSDictionary * resultDictionary = [jsonString JSONValue]; NSString * statusString = [resultsDictionary objectForKey: @ "status"]; This is a simple two line code and works well in general, but I do not know what is going on at this time. My JSON framework may not work properly. But I'm getting this in JSONValue : {"status": "success", "data": [{"userName": "abc@gmail. Com "," first name ":" ABC "," last_name ":" xyz "," gender ":" male "," user id ": 1," membership status ":" active "," saldo ": 499 749, "Avatar": "No_photo.gif", "Unique Code": "abc234abc234", ...