Posts

Showing posts from August, 2015

iphone - Removing UIView from back/done button -

I have a small app that has some buttons from the Home screen, when these buttons are loaded into a new view , Then all these functions are correct: - (IBAction) showMaps: (ID) sender {MapViewController * viewcontroller = [[MapViewController alloc] initWithNibName: @ "MapView" bundle: zero]; [[See itself] Adsview: View Controller Weave]; [See Controller Release]; } The problem occurs when MapView loads I have created a new IBAction in the MapViewController.h file: - (IBAction) showHome :( Id); and also this action within the MapViewController.m file: - ShowHome: (ID) sender {[self.view removeFromSuperview]; } But no joy, this is a little welcome for a newbie, so more than any help! Your showmaps: method creates a view controller, but not created If you want to stay around it then you have to retain ownership of that visual controller. I suggest adding an asset to my main view controller - which contains showmaps: method below the example code: ...

tsql - SSRS Parameters. Allowing "All" or "Null" -

The SSRS parameter is a pain. I want to be able to reuse the reports for many different needs by allowing users to access and make multiple optional parameters. Therefore, if I start out of the code such as: select * mytable from myt, where '1 / 1/2010' and 'between myt.date' 12/31/2010 'and year (myt.date) =' 2010 'and myt.partnumber =' XYZ-123 ' I want those parameters to be optional so my first attempt To clear the parameters as the default: and (myt.partnumber = (@PartNumber) or (@PartNumber) is empty) There are problems because if the database field in question is able to tap You will leave the record because zero is not equal faucet. I then used this type of code: DECLARE @BeginDate ASDTime DECLARE @EndDate AS DATETIME DECLARE @PartNumber AS VARCHAR (25) SET @Year = ' .. All 'SET @BeginDate =' 1/1/2005 'SET @EndDate = '12 / 31/2010' SET @PartNumber = '... all' SET @Year = '..' Selec...

invite - How can I track accepted invitation sender on facebook app? -

Strong>, Y and Z . Users X and Y have accepted the invitation, but the user is not Z . How many people can I track? I would like to take some privileges for User A based on the acceptable invitations count. Is any way sent to accept the invitation? per section v.1. You should not encourage users to provide additional permissions To make or use application integration points. And about documentation about "> including invitations ), publisher, inbox attachment, chat, bookm In any other feature of the user profile or Facebook communication channel, or through which an application is provided, displayed, or directed from a user, Delivers transmitted content.

OpenCV with GigE Vision Cameras -

I need to use OpenCV with a GigE Vision Ethernet camera, but I have very useful information on how to do this Can not find, any signal, document, and example code? I need to read the frame from the camera. Giga-e is a communication standard for a wide range of cameras. OpenCV includes a cover for now based cameras (see CV_CAP_PVAPI) But generally it is better to use the camera's original API to get the data and then OpenCV will use a returned data To convert to an image, a number of OpenCV Bayer pattern -> RGB routine. The CVSpecert module is convenient for testing because it can be read without any camera or file - but it is not really suitable for real-time high-speed vision

Drag and drop from Outlook attachment to VB6 application -

I'm experimenting with drag and drop from an email attachment email address to a custom application. It works fine with C #, but now I want to do it in VB6. My test code looks like this: Personal sub-grdLis_OLEDragDrop (Data MSFlexGridLib.DataObject, as long as the effect of the integer, integer, integer, X single form In the form of changes in Y, Single FileDropped String * 256 dim as lCF_FILEGROUP long as the CF_FILEGROUP integer dim lCF_FILECONTENTS as long as CF_FILECONTENTS, the integer dim bData () Byte dim form of bFileNameData (256) Byte as bData2 () byte lCF_FILEGROUP = RegisterClipboardFormat ("FileGroupDescriptor") MoveMemory CF_FILEGROUP, lCF_FILEGROUP, 2 bData () = Data.GetData (CF_FILEGROUP) j = 0 76 I = 76 for +256 bFileNameData (j) For = bData (i) j = j + 1 next I fileDropped = trim (StrConv (bFileNameData, vbUnicode)) lCF_FILECONTENTS = RegisterClipboardFormat ("FileContents") MoveMemory CF_FILECONTENTS, lCF_FILECONTENTS, 2 bData2 () = Da...

How should I localize content in an ASP.NET MVC application? -

To set the language and culture setting of our website in relation to the settings we can take from the user coming to this site The question is. Let's assume our website supports 2 languages, English (N) and German (D). Suppose we want to ignore the locale (at least on the server side, so we only know that we support "N" and "D", so we have application code, config file or other Places are specified). So we do not care that the user Or comes from the UK. What we're doing matches "N" or "D" for possible matches in the languages ​​/ cultures defined in the user's browser. The issue I am coming to is that if I do this I / * languages ​​/ browsers from the ILIT We get all kinds of results. We can obtain lists such as en (for example Firefox N-US, - N- UK. N, - D, - IT. D, - N-US, - N. What do I want to ask here: Is it OK to compare strings here (checking that "n" sub-objects Do we have...

.net - How do you convert a file in memory to a byte array? -

I am using IonicZip to insert video files and am storing in a Blob field. I have a zip file created, it needs to be converted to only one byte array. I have done this without writing the harddrive thanks, Dave If you can write on MemoryStream, you can use the "ToArray ()" method on MemoryStream to get a byte array Can be used.

PHP Mail & Ajax: Message does not contain any form data -

I am using jQuery's AJAX function to send messages with a contact form - Click $ ('form button') (function () {$ ("input"). RemoveClass ("error"); $ ("texture"). RemoveClass ("error"); var name = $ ( $ ("Name"); $ ("name") (name == "name =" name == "name" || name == "name") {$ ("# name"). # Name "). Focus (); Return Back;} var Email = $ (" # Email "). Val (); if (email ==" "= email ==" email "|| email ==" ePost "$ "(" #Email "). AddClass ('Error'); $ (" # Email "). Focus (); Usage Val (); Val (); Val (); if (message == "") {$ ("# message"). AddClass ('error'); $ ("# message") Focus (); Return Back;} // Non-Verification Field var Phone = $ ("Input # Phone"). Val (); // Collect Data var post = 'name =' + name + 'and email = '+ Emai...

ruby - How do i remove   — – special characters from my XML files -

यह xml फ़ाइल का नमूना है & lt; row tnote = "0" & gt; & Lt; प्रविष्टि नामित = "कॉल 2" नामांकित = "कॉल 4" हमें = "कोई नहीं" एफ़एमपी = "बीएलडी" & gt; & lt; blst & gt; & Lt; li & gt; & lt; text & gt; सिंगल, घर के प्रमुख, या योग्यता विधवा (एर) & amp; # x2014; $ 55,000 & lt; / text & gt; & lt; / li & gt; & Lt; li & gt; & lt; text & gt; विवाहित फाइलिंग को संयुक्त रूप से & amp; # x2014; $ 115,000 & lt; / text & gt; & lt; / li & gt; & Lt; / BLST & gt; & lt; / प्रविष्टि & gt; & Lt; प्रविष्टि colname = "col6" ldr = "1" valign = "middle" & gt; & amp; # x2002; & lt; / एंट्री & gt; & Lt; प्रविष्टि colname = "col7" valign = "middle" & gt; 5. & lt; / प्रविष्टि & gt; & Lt; / पंक्ति & gt; आदि & amp; # x2014; आदि HTML 4.0 संस्थाओं का प्र...

java hashmap query -

I am reading values ​​from a file and store these values ​​in a hampp, using bufferreader, following By way - while ((strings str = buffread.readLine ()) Length ()> 1) {hashMap.put (str.substring (0,5), str) ; } I can also verify that Hashp has all the data that was initially present in the file. PrintWriter Out = New PrintEvent (Outfile); Set Entries = Hashmap Antiset (); Iterator entry = entry = entries While (entryIter.hasNext ()) {map. Entry entry = (map entry) entry. Object value = entry.getValue (); // Get the value out.println (value.toString ()); } But it starts composing less number of entries in the file compared to the number of entries in the hashMap1.size () or essentially read from the source file. Although I am due to the printwitter and the flamer, if someone can tell me why this problem is happening, then it will be very helpful. Regards P1 ng Maybe you have left this code that you Posted, but you are clearly calling flush ()...

java - Using generics to create max function that returns the larger one -

In Java, how do I use generic to create a maximum function, which are two similar types of comparative objects and larger returns One? I tried: public stable = 0) OBJ 1: OJ 2); } (If both of them are equal then return to OBJE 1.) This method is based on code that I have found. However, when I compile it, I get this warning (with compilation - Xlint: uncheck): Warning: [uncheck] to compare unwanted calls (t) raw type As a member java.lang.Comparable This is because you can use raw type Comparable, and the compiler can not be sure how you compare it to comparisons, comparative To use the area type parameter is also well require comparatively of Paramitryj: public static & lt; T comparative & lt;? Super T & gt; & Gt; T max (T obj1, T obj2) Do you need to use ? Since Super T , you may have Class A which increases class B which is Comparable & lt; B & gt; implies, but A Comparable & lt; A & gt; Does not apply to . So can you pas...

casting - C++ - downcasting a diamond shape inherited object without RTTI/dynamic_cast -

I am currently working on integrating a third-party package which is available on many non-RTTI platforms with a lot of RTTI Uses accessories (android). Actually, I implemented my own RTTI, but I got stuck on a problem. The issue is that there is a diamond legacy problem in many sections because all the classes are the same base class .. And so, if I want to make the class derived from the base class, Use a dynamic_cast - but RTTI is not available! How can I convert the object from child to originals when I have a virtual legacy without dynamic_cast? It looks like: class A {public: virtual char * func} {return "A"; }; }; Class B: Public Virtual A {Public: // Virtual Variable * func () {Return "B"; }; }; Class C: Public Virtual A {Public: // Virtual Variable * func () {Return "C"; }; }; Category D: Public B, Public C {Public: // Virtual Variable * func () {Return "D"; }; }; DD; A * PA = Static_cast & lt; A * & gt; (& Amp; D)...

.net - Better solution for WCF service(s) that talk to 3rd party Java services? -

I am in a scenario where I have to integrate with my work on a third party system that works with Java-based web services Displays. I can parse the service WSDL definition and generate a proxy class and work with them in the NAT world. However, services are not called "clean" in such a way that the name of property in the Java application's object model is extremely complex, and the servers hosting the Java environment will sometimes go down and point-to-point, when the mine client The URI is not responding, so the apps do not strengthen it. I did not even want to include service implementation logic in my web app because these Java services reuse multi use The possibilities are because businesses often use the same data, which asks for new things. What I did some time ago, some "cover" WCF services that handle property mapping and provide a better interface for our developers to develop against it. However, this solution does not look great because I want...

How to use hover property simultaneously with jQuery's mousemove? -

I have inserted an image-containing code in a simple device that follows the mouse cursor, when using the mouse divas JQuery Mausomov Property It works great, except that I would like to hide the image by default and only when the mouse is present (and then when the mouse disappears again). It can usually be handled with the hover property, but it does not work when a museum is kept with a property? Here is the original code that I am currently using: $ ('. Container_'). Mousemove (function (e) {$ ('Picture'). CSS ({'left': e.pagex + 'px',})}}; Here is a demo page: Thanks for the help! Andrew It would be best to div and divide itself into the event. $ ("div.containerDIV") Mouseenter (function () {$ ("img.sun"). Show ();}). Mouseleave (function () {$ ("img.sun"). Hide ();});

c# - Building Content in Winform XNA -

I have been able to successfully construct my Vinophy using the content, but my question is how do you get the content The next time you open it, the editor will come back in the content, .xnb, the file is currently being saved in a temporary folder, whether by any means the content can be reloaded in the editor again and every Make the file again To? Can I save it to the contents folder inside bin / folder and then search for folder and .xnb files on that startup and load them? Or is there any easy way to do this? Another WinForms sample has an HTML readme file that describes how the application was created in a temporary directory Saves content and then deletes it when the program stops. This is a significant bit: Depending on your application, always like to use the same temporary directory name, and never delete it. This will leave files lying on your hard drive. The content creation process is incremental if your program tries to load the same content files already...

smtp - how to send email from rails app with gmail address -

I am trying to send a sample email from my rail application. I have done so far: Rail gmailtest cd gmailteest script / plugin installed git: //github.com/collectiveidea/action_mailer_optional_tls.git Then I placed the ActionMailer in my environment.rb file ( end ) the following: Base smtp_settings = {: address = & gt; "Smtp.gmail.com" ,: port = & gt; 587,: domain = & gt; "Mygmail@gmail.com" ,: user_name = & gt; "Mygmail@gmail.com" ,: Password = & gt; "Mypwd" ,: Authentication = & gt; : Plain} script / mailer user mailer then model \ UserMailer : class UserMailer views \ user_mailer \ welcome_email.text.html .erb & lt ;! DOCTYPE html public "- // W3C // DTD XHTML 1.0 Transcription // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Meta content = "text / html; charset = UTF-8" h...

tsql - How to make table dynamic in sql -

Does anybody know how to run a table based on the variable is to write the script in the stored proc (or it is possible Hence?)? For example: I have names of 3 tables named Customer, Supplier, and Support When user input 1, then table customer, 2 table supplier and 3 support table support input input; If @input = 1 declares, then @Tale Vivarkar (50); Set @table = 'Client' end if declared @input = 2, then 'Taylor Wirt (50); Set @table = 'Supplier' end if @input = 3 is declared, table workers (50); Set @table = 'support' and select * INTO ## test from @table Yes, you can do this by using the dynamic SQL "EXEC" or "Sp_Executesql" command. Example: Use Northwind make table #MyTemp (RowID int IDENTITY, LastName varchar (20)) DECLARE @SQL nvarchar (250) SET @sQL = '# Include in the Employee Choose the last name from the employee; ' Execute SP_executesql @SQL

Zend Framework: Fill form with data from mapper -

An example of getting data from form using Mapper in official form. something like that (Without using Mapper and DBTable): Class NewsModel_form_newsZend_Form (private $ id = 0; public function getId () {return- $ this-> ID;} Public function set ID ($ id) {$ this-> id = $ id;} Public function init () {$ model = New Newsmodel_backend (); // If the form is required to add an action ($! - -> ID) {// Form Code} Other {// if editing form Fill with values) // Form with form form}}} But with the mapper pattern this stuff should be more beautiful and cool, but I do not know That's how to do it. So the question is how to populate the form with values ​​using Mapper Pattern (for example, from Quick Start to Guest Book Entry)? public function init () {$ model = new Newsmodel_backend (); $ This- & gt; Populate ($ model> toArray ()); ...

java - Lua to JVM compiler? -

Is there a compiler for Libya that is compiled in JVM Bytecode (and whether it will be able to run on Google App Engine )? I know two slag VMS for jvm and

Properties of randomized algorithms (Monte Carlo, Las Vegas) -

Now I am learning Las Vegas and Monte Carlo algorithms, and two questions can be simple but I can not answer them. If someone can help me ... thanks in advance Consider Monte Carlo Algorithm A for a Problem P, whose expected running time is the highest T (N) Let's suppose that N is producing the right solution with probability y (n) A has a solution, we can verify its Shita (n) time. How to get Las Vegas algorithm, which always gives the correct answer for P and runs in maximum time (T) (T) (N) / Y (N). Let 0 repeat your algorithm to run And do not get the right answer until the result is tested. Each run and check takes (T) + T (N) is a geometric random variable with the units of time, and the run number 1 / y (n). What is the probability of failure for one run? For two runs? Not run? Determine the probability of failure for N, solve e2 and solve for n.

excel - How to find smallest values in AutoFiltered range? -

I have a column with two value ranges, especially 0-30000 and 60000+ of which I The values ​​need to be removed in the 60000 range. I have found the only way to use the AutoFilter to produce a subset of the data needed to remove. My problem is that the autofilter function does not return the context of a category. If I did this, I could use the SMALL function to get those values. How can I filter and extract two smallest values ​​from this filtered data? I abandoned the idea of ​​using the autofilter instead, I used to SMALL And went with a combination of a loop. Cell (2, secIdCol). Choose the set valsRange = category (selection, selection. End (xlDown)) for each value valsRange if val.Value & lt; 599999 Then val.Value = "" // I did not save the change val1 = Application.WorksheetFunction.Small (valsRange, 1) val2 = Application.WorksheetFunction.Small (valsRange, 2) end if next val

How to use localized messages in javascript file in asp.net -

How to use localized message in javascript file in asp.net. I have a javascript file (global-script.js) which includes all my scripts. I use another file (messages.js) which contains all the fixed error messages (Example: " Are you sure you want to delete? ") So that they can be localized. Is it possible to localize this main script file without a second file (messages.js), so that I can remove a script reference? The ASP.Net Script Manager controls have the ability to provide some scripts to your script. If your script is embedded inside you assembly then to find the script manager that you have some local strings stored in that .resx file, Used, want to serve at any time. These strings are injected into the page as JSN objects and then in your main script, instead of the JSN object, instead of literal strings, the output references are called instead. For example, you will embed your script in such a way: [assembly: system. Web. UI. Web Resource ("Pr...

architecture - How can I share common components between Java web applications? -

पर्यावरण आईडीई: नेटबीन्स 6.9 ऐप सर्वर: ग्लासफ़िश 3 फ़्रेमवर्क: स्प्रिंग, हाइबरनेट, स्ट्रट्स 2 समस्या I 2 वेब अनुप्रयोग हैं मैं उन दोनों के बीच संसाधनों को साझा करना चाहता हूं - जैसे कि प्रमाणीकरण प्रपत्र जेएसपी और अन्य संपत्तियां (जेएस - वाई, जेकी / छवि / सीएसएस)। मैं और अधिक वेब अनुप्रयोग जोड़ूँगा जो इन आम घटकों तक पहुंच की भी आवश्यकता होगी। अंतिम उपाय के रूप में मैं एक और वेब प्रोजेक्ट बनाऊँगा जिसमें केवल आम संपत्तियां शामिल होंगी - उनमे शामिल हैं। किसी और को यह कैसे हासिल हुआ है? क्या मैं एक वेब संसाधन जार / युद्ध बना सकता हूँ और इसमें दोनों ऐप्लिकेशन शामिल कर सकता हूँ? मैं प्रयोग कर रहा हूं ताकि कोई भी प्रगति के साथ सवाल अद्यतन हो जाएगा। बहुत धन्यवाद। इन मॉडलों (या कई अलग-अलग मॉड्यूल) में इन 'सामान्य' घटकों को रखें और अपने ऐप के अन्य भागों से इस मॉड्यूल पर निर्भरता बनाएं। (मुझे यकीन नहीं है कि नेटबींस में इसे कैसे बुलाया जाता है, इंटेलीज आईडीईए में, इसे मॉड्यूल कहते हैं, एक्लिप्स में - यह एक ही कार्यक्षेत्र में एक अलग प्रोजेक्ट है)।

java - Does JMSClient (which is also producer in some cases) receive its own messages which it sends -

Does the JMSClient (which is also a manufacturer in some cases) receive messages sent by it? I got the answer .. there is a non-lock flag that does not receive messages from the same connection

Android Webview Zoom Density -

I would like to set zoom level on my WebView (WebChromeClient). According to WebSettings, a static method should be the ZoomDensity that should be trick but I can not work it. It seems that there is no way of web settings, content assistant does not suggest or show me this. WebWeight or WebSetting does not hold any other method to set up ZoomLevel - so I'm stuck Good - The answer to the problem was that I had an Android version 3 The application was run for - and not 7. Simple error is always the longest time to find out;)

sql server - how to sp_refreshsqlmodule with procedure that are prefixed with a schema -

जब मैं EXEC sp_refreshsqlmodule [myschema.myprocedure] का प्रयास करता है तो फेंकता है वस्तु 'myschema.myprocedure' नहीं मिल सकता है या आपके पास नहीं है अनुमति। यदि वस्तु स्कीमा-बाध्य है, तो मेटाडाटा पुराना नहीं हो सकता क्योंकि ऑब्जेक्ट बाध्य है अंतर्निहित ऑब्जेक्ट्स को यह संदर्भ देता है। संपादित करें: आपके संपादन के आधार पर, प्रक्रिया का नाम एकल उद्धरणों में संलग्न होना चाहिए: EXEC sp_refreshsqlmodule 'myschema.myprocedure'

c - Why doesn't my output show up until the program exits? -

I have a simple program from the C programming book, and it should ask for two integers and then show them together Yoga. I am able to enter two numbers but the output is not visible till the very end of the program. #include & lt; Stdlib.h & gt; # Include & lt; Stdio.h & gt; / * Additional Programs * / Main () {int integer 1, integer 2, yoga; Printf ("Enter the first integer \ n"); Scanf ("% d", and integer1); Printf ("Enter second integer \ n"); Scanf ("% d", and integer2); Sum = integer1 + integer2; Printf ("sum% d \ n", sum); Return 0; } The output looks like this: Enter the first integer 6 6 Enter the second integer number 8 Thanks any help would be greatly appreciated, thanks! It is possible that the output is not being automatically flavored After fflush (stdout) can be added and see if it is helpful. Which environment are you using to create and run this program?

javascript - How to get text from a div from user selection -

मेरे पास चयन के साथ एक तत्व अक्षम है: & lt; div id = "text" onmousedown = "selectionstart ();" onmouseup = "selectionEnd ();" & gt; यहां स्टफ & lt; / div & gt; मुझे क्या करना है, उस पाठ पर एक डिवेल बनायें जिससे उपयोगकर्ता उपयोगकर्ता के भीतर चुने गए मूल्यों के साथ चयन करने का प्रयास कर रहा है (ऐसा लगता है कि यह हाइलाइट हो रहा है)। चयन पूरा हो जाने पर, उपयोगकर्ता इस div को बिना किसी समस्या के चारों ओर खींच सकता है। चयन के लिए मेरा कोड () मूल रूप से उस स्थान की एक्स स्थिति को सेट कर रहा है जहां माउस है (और div तत्व को चित्रित करने के लिए y स्थिति )। चयन के लिए मेरा कोड अंत () अंतिम X और Y स्थिति प्राप्त कर रहा है और आंतरिक एचटीएमएल के उपस्ट्रिंग कर रहा है। इस विचार को एक एकल वर्ण चौड़ाई प्राप्त करना और जारी रखना होगा उस के साथ - क्या यह एक व्यवहार्य तरीका है? अपडेट: अब मुझे सही चरित्र चयन प्राप्त हो सकता है, अब मुझे जो कुछ करना है, वह चयनित क्षेत्र पर एक div (अस्पष्टता / पारदर्शिता के साथ) बना रहा है । फ़ंक्शन चयनस्टार्ट (...

.net - ParamArray Not Working With COM -

I have a class library, which is in contact with COM in this way: & Lt; ComClass (SomeClass.ClassId, SomeClass.InterfaceId, SomeClass.EventsId) & gt; Public Sub Category Class Class Class Class EIDID String = "GUID1" as public console interface in the form of the public sub-strings = "GUID2" public creation events string = "GUID3" Paramayare Value) "// some code here end sub and class Then I used regasm / tlb / codebase to register it. All the methods and properties are working correctly in VBA / VB6 but when I try to use the method with a Paramayer, it will not compile. I get an error: Compile error: The function or interface is marked as restricted, or the function does not use an automation type in Visual Basic Does What do I need to do to properly highlight this method, so that I can use it like this ?: SomeClass SomeMethod 1, 2, 3 function using an automation type Does not supported in Visual Basic. The bonu...

objective c - Initial View over Split View Based Application -

I am trying to add an initial view for a partitioned visual based application. I want users to navigate to the partition view, press a button on the initial view. However, I do not know how to complete it any ideas / suggestions? Thank you You can find a reference to this question

.htaccess - PHP Redirection (301) hiding query string -

I am trying to redirect a page using PHP (I think there are several pages included and The information required to redirect is kept in a database.) The page I am trying to redirect to has already been rewritten, and looks like this: www.example.com/shop/deptartment/section/product1/ which rewrites for www.example.com/content.php?dept=department&sect=section&prod Has = Product However, when I use the php header ($ url, TRUE, 301); with $ url (for example) www.example.com/shop/deptartment/ section / product 2 / re-direct: www.example.com/shop/ Deptartment / section / product2 /? Dept = department & amp; sect = section & prod = product I want all those www.example.com/shop/deptartment/section/product2/ I know how to stop it in .htaccess, but php, have no idea? / P> Many thanks, Stuart The rules for ps rewriting are: rewrite rule / ([a -zA-Z0- 9 \ -_] +) / ([a-zA-Z0-9 \ -_] +) / ([A-zA-Z0- 9 \ -_] +) /? $ /content.php?dept=$1&sect=$2...

c# making http put request to azure storage -

Hi I wonder if blue blob service can be called using API C # ID wants to upload a file such as the word document on the storage space, the http method "puts" and the rest of the url "" will this code work? string user name = "user"; String password = "password"; String Data = "Path to Word Document; HTTP WebBurwer Request = (HTTP WebBarm) WebRequest.CRETE (URL); Request method =" Pt "; Request Credentials = New Network Credentials (UserName, Password); Request.ContentLength = data.Length; request.ContentType = "text / plain" (StreamWriter author = new streamer (request.GetRequestStream ())) {writer.WriteLine (data);} WebResponse Response = request.GetResponse (); (StreamReader Reader = using new streammorder (response.GetResponsestream ()) {while (re Ader.Peek ()! = -1) {Console.WriteLine (reader.ReadLine ()); No, this will not work. Authentication for Windows Azure storage involves signing the header...

python - Can I use Google App Engine for processing data? -

I would like to execute some long-running JRuby scripts [nothing to web request and url] on Google App Engine. What is the application of the same plain JRuby / Python scripts on the URL access requests 30 seconds limit? If so, is there an alternative solution? 30-second applies to everything that happens on apnezene. It's not really an ideal platform to host long-running processes. There are some techniques you want that you want. Can be set up to work in the background, for example. However, you will want to see one of the large variety of hosting options that will continue to launch and run a process.

flex - Calculating the Area of a Polygon When the Polygon's Points are Lat Longs: Which Function is More Accurate? -

I am trying to find a way to calculate the area of ​​polygon using a long long coordinate in a Flex 3 site. I am On Google Maps for the Flash group, Hong Kong 7 was great for posting the following tasks: PrivatePhase GetPolygonArea (polygon: polygon): number {var nVer: int = polygon.getOuterVertexCount ( ); Var sz: number = 0; Var s: number = 0; Var x: number = 0; Var y0: number = 0; Var y1: number = 0; Var maple color: wave long; If (nVer> = 3) {for (var i: int = 0; i gt; 0) {maplatlng = polygon.getOuterVertex (i-1); Y0 = Maplatlng.lat (); } And {moplantang = polygon.getOuterWorTex (naveer-1); Y0 = Maplatlng.lat (); }; If (I and LT; (nVier-1)) {matlatang = polygon.Tetu.itretex (I + 1); Y1 = Maplatlng.lat (); } Else {Maplatlng = polygon.getOuterVertex (0); Y1 = Maplatlng.lat (); }; S = x * (y0-y1); SZ + = s; }; // 경위도 시 1 도자 곱다 곱한다 (대략 면적 환산) Maplatlng = polygon.getOuterVertex (0); Var Iplatang 1: Latlang = New com.google.maps.LatLng (Maplatlng.lat () + 1, Maplatlng.lng () +...

ruby on rails - Could not find RubyGem mloughran-api_cache (>= 0) -

I'm having this error trying to make a rake db: migrate -> rubygem-melining- api_cache (> = 0 ) I do not know that it remembers a gem, but for some reason I do not know about that gem. This is not any gem named apiakai or at least if so, the system does not know that it is installed. Any help would be really appreciated Thanx Yeahnne T This is what I show as a gem: ➜ Gem list -R Mole-ephone-catch *** Remote jams *** *** mloughran-api_cache (0.2.0) with the following sources ➜ Mani source *** Current source *** http://gems.rubyforge.org http://gems.github.com

What is practical use of IDEA MPS and Eclipse Xtext -

उन दोनों ढांचे मेटा-मॉडल से निपटते हैं: (जेटब्रेन) क्या आपके पास उन उपकरणों के साथ मेटा-मॉडल परिवर्तन पर आधारित व्यावहारिक अनुप्रयोगों का उदाहरण है? हमने पूरे एमपीएस का उपयोग कर बनाया है कोड जनरेशन लक्ष्य नहीं है, लेकिन कुछ निष्पादन योग्य कोड प्राप्त करने का मतलब है। लक्ष्य डेवलपर को एक उपकरण देना है जो न्यूनतम प्रयास के साथ डीएसएल बनाने की अनुमति देता है। एमपीएस के बारे में अच्छी बात यह है कि यह आपको अपनी भाषा के लिए आईडीई भी प्रदान करता है। और आपके द्वारा बनाए गए अलग-अलग डीएसएल संगत हैं, अर्थात आप डीएसएल बना सकते हैं जो जावा को क्लोजर और अन्य डीएसएल से बढ़ाता है जो बाह्य तरीकों को सक्षम करता है, और ये एक्सटेंशन एक साथ काम करेंगे।

jQuery: how do I get a div to go away after 1 second? (jQuery 1.3.2) -

Is there a way to hide a device after 1 second? Edit: setTimeout (function () {$ j ('. Flotymessage'). FadeOut (300);}, 1000); does not work .floatymessage is a div Use after one second (1000 milliseconds). setTimeout (function () {$ ('div # divID'). Hide ();}, 1000);

android - Chaining activities inside a tab -

Here's my problem: a list of albums in each tab is an application with me to tab to a different list Is listed, then on one screen with an image, clickable text etc. In one word, I have work inside the tab. Despite looking a long time between the question forum and tutorials can not just witch figure out the best way to do this: switching activity is a tab change insde or scene. here saved my code public class application enhances Tabaktiviti Crete (bundle {public void Instansstet) {Suprknkret (saved Instensstet); SetContentView (R.layout.main); Resource res = getResources (); // Resources to get the Drawables TabHost tab object = getTabHost (); // Activity TabHost TabHost.TabSpec Tip; // intent to re-usable TabSpec intentions for each tab; // Re-usable intent for every tab // Create an intent to launch an activity for tabs (can be reused) Intents = New Intent () SetClass (this, Activity0.class); // Start a TabSpec for each tab and add it to TabHost spec = tabHost.newTab...

html - php include statement -

I am working using my first website php. I came in a good way, or I thought, where am I to deal with the incorporation of CSS sheets. For example, I have a form I present with this code: $ root = '../'; Death of the function ($ error) {Include '../includes/header.php'; Echo "We are very sorry, but error (s) has been found in your submitted form."; Echo "these errors appear below. " Aloe $ error Echo "Please go back and fix these errors. Include '../includes/footer.php'; Die (); } I have set the variable $ root for "$ .." and then here is the relevant part of header.php: I would think that it will put "../" in front of styles, but it does not do anything why does not it work? Thank you! You can create paths to complete your CSS file: & lt; Link href = "/ styles / styles.css" rel = "stylesheet" type = "text / css" /> Prefix URLs with a for...

soap - Using Apache CXF in from MATLAB -

Function in MATLAB has some important limitations, such as not helpful features. It seems that Apache CXF's ability is a relatively user- In a favorable way SOAP can be a way to reach a wide variety of end points. Simply adding appropriate JAR files to your MATLAB class path will allow you to make strong customers interactive from the MATLAB command line. Has anyone tried this? Will someone please provide an example? createclassfromwsdl actually has limited functionality so I used to get metabags for SOAP communication Have tried two Java packages. Apache CXF - There were some problems during the compilation and therefore I used the other option: Axis 2: This work is very well with Matlab, Followed: 1) Install Axis 2-1.5.4 2) ./ wsdl2java.sh -uri .. 3) Then give me soap To avoid some errors during communication, you had to fix the stub generated (you do not need it): - Instead of replacing by SOAP12Constants by SOAP11Constants 4) Copy the sources to the outp...

c# - Windows 7 left click on clock popup -

When a click is left on the clock in Windows 7 (probably Vista too) a popup opens the calendar and the clock (S) (Do not include dates and time adjusted window). How do I open this window myself (like in C #)? I expected timeliness to call it, but it opens the date and time adjusted window. To show the clock, you need to send the proper window message in the tray window. This can be done using the Windows API Function SendMessage : ; Using System.ComponentModel; Using System.Runtime.InteropServices; Using System.Text; Class ShowCalendar {Personal representative Bull EnumChildCallback (IntPtr hwnd, ref IntPtr lParam); [DllImport ("User32.dll")] Private static deportation bool EnumChildWindows (IntPtr hWndParent, EnumChildCallback lpEnumFunc, IntPtr lParam referee); [DllImport ("User32.dll")] Private static extern int GetClassName (IntPtr hWnd, StringBuilder lpClassName, int nMaxCount); [DllImport ("user32.dll", charset = CharSet.Auto)] Priva...

javascript - jQuery Carousel jumping to the wrong item -

I have : last and . There is a strange problem with. Previously () method is not inserting the code before the final element. edit] I have a new problem : / The problem (now that is in the order of , that the carousel will now scroll through 4 items, Quickly go to the next item. Code below. (Also, I think this is: $ ('#carousel_ul'). CSS ({'left': '0px'}); doing this - on lines 19 a 37 . Thank you very much. $ (document) .ready (function () { Var numItems = $ ('# carousel_ul'). ('Li'); var previous () ($ ('# carousel_ul li: last') + $ ('# carousel_ul li: last')) ('# Carousel_ul li'); while (differen ca. 1) {$ ('# carousel_ul li: last'). Later ('& lt; li class = "empty" style = "background color: green; Click here (function () {var item_width = $ ('# carousel_ul li'). External Wide () + 10; var left_indent = parseInt ($ ('# carousel_ul'). Css...

What are the methods of protecting JavaScript web applications/games? -

Previous story: I am planning to implement a casual game deployed in a webpage, but I do not want to use Flash, rather than just wanting a plain javascript flash I want, though it is a binary Distributes, not source code, so to prevent your code from being reused / stealing by another person or preventing the client from changing to "cheating" New easy game? So my question is: What are the ways to protect JavaScript applications like this? Am I limited to the usual methods of using code obuscetator? Will it be enough? Use AJAX to verify your game against server code, which you control . It is also useful if the game is multi-player in any place. Verification prevents the code from changing to deceive someone. In addition to this, Flash is not completely immune from being taken by any other person. People can download binary and post it wherever they want. And Flash de-compilers are present and they are quite effective.

sql - Selecting Users signed up in past 30 days and in past 7 days in one efficient query -

I have a question that selects the number of user signups in the last 30 days: Select as COUNT (*) from the UserCount30 user WHERE User.UserDateCreated & gt; Then I have a question that selects the number of users signed up in the last 7 days form of SELECT COUNT (*) In UserCount7 user from WHERE User.UserDateCreated & gt; (Strict () - interval 7 days) Ideally, all of these are going to be part of a larger query. How do I get these two values ​​in a skilled query, which can not be used preferably subcultures? What to do, drag it for 30 days and calculate (*), then do a sum and XP If a statement comes back to 1 as a sum, if it is within 7 days or 0, then it is not so. SELECT COUNT (*) AS UserCount30, SUM if ((Kurt (- (Interval) 7 days) & lt; User.UserDateCreated 1) 0 user from where the user. User account & gt; (Strict () - interval 30 days)

Wordpress - Custom taxonomy page of custom post type listing by terms -

मेरे पास एक वर्गीकरण-वर्गीकरण। Php पृष्ठ है, जिसे इस प्रकार दिखना है: कस्टम पोस्ट प्रकार कस्टम वर्गीकरण 1 (संसाधन प्रकार) संसाधन प्रकार टर्म 1 (श्वेत पत्र) श्वेत पत्र पोस्ट 2 श्वेत पत्र के बाद 2 श्वेत पत्र पोस्ट 3 संसाधन प्रकार टर्म 2 (वीडियो वीडियो पोस्ट 1 वीडियो पोस्ट 2 वीडियो पोस्ट 2 पी> Wordpress 3.0 के लिए सभी नए दस्तावेज़ों को समझने की कोशिश की, लेकिन यह केवल मुझे और अधिक भ्रमित कर दिया क्योंकि इसे 2.8 के साथ मिश्रित लगता है। ऑब्जेक्ट को ऑरेंज में ट्रांसफ़ॉर्म करने के लिए आवश्यक नहीं है, आप बहुत अधिक परेशानी के बिना ऑब्जेक्ट के साथ काम कर सकते हैं। क्या है (कम से कम मेरे लिए), यह है कि आप इस तरह से कुछ प्राप्त करें: Array ([0] = & gt; stdClass ऑब्जेक्ट ([term_id] = & gt; 7 [name] = & Gt; मैजिस्टर कम्यूनिकेशन ऐप्लिकैडस [स्लग] = & gt; मैजिस्टर-कॉम्यूनिकेशन-एप्लिकैडस [टर्म_ ग्रुप] = & gt; 0 [टर्म_टाक्कोमोनी_आईडी] = & gt; 7 [वर्गीकरण] = & gt; लाइनिया-डी-एस्टडियोज [विवरण] = & gt; [मूल] = & Gt; 0 [गणना] =...

mysql - Trouble retrieving products under a complex category structure in PHP -

I hope you guys can help me with this one. Therefore, I have a product table and a category table. The structure for the table of categories is listed bellow. With a series of three or four levels, there would be about 20 categories, a recurring event was written to get the class tree and it is working fine. My new job is to show products for a given category. As an example, I will show the data in the beta. Therefore, if I add a product with category_id = 7, then I have to show that product when the user selects Category 7, but when the user also chooses Category 4 or Category 1. In addition, if a user selects the category with ID = 1, the products for Category = 1, 4, 5, 6 are to be displayed. My categories table this looks as follows: Create tab 'categories' ( `Sreni_aidi`) (5) unsigned NOT NULL Autisiaartiment,` Kategri_nam` considered (256) character set Utif 8 Collet Utif 8_inikod_si not, `Sreni_slog` considered (256) character set UTF-8 Collet Utif 8_inikod_si...

Where to Download java-ee.jar? -

Where does the jar file come from? I expected that it would be either JDK or part of Eclipse. This hope proved wrong Sun / Oracle A java-ee.jar - only Java EE APIs and does not include any method body - which you can use against compile (from java.net maven repository): For Java EE6: If you want to execute some Java eE codes, you can get the Java EE application server They will need to work in Java EE API Provide Nwyn. For example, for Java EE6, there is.

perl - Efficient way to continually read in data from a text file -

There is a script at our FTP endpoint that monitors the FIP log generated by our FTP daemon. What we're currently doing is that a Perl script essentially runs a tail-F on the file and sends every single row to a remote MySQL database, which has slightly different column content depending on the record type. This table table for content of FTP user functions, along with the name / content of the tablet table, said the package; Downloads, deletes, and everything else logs the VSTPTP. I consider it particularly bad, but I'm not sure what's better. The goal of replacement is still to get the log file as soon as possible to file the contents in a database. I am doing something like creating a FIFO / Pipe file instead of the FIP Log file, I can read once in a while, to ensure that I do not read the same thing twice. Considering VSFTTPD, it will look good (I'm thinking that this will not happen, insights are welcome!). The FTP daemon is VSFTPd, at least I'm def...

.net - CLR: System.InvalidOperationException: The context connection is already in use -

I get this error when I try to make a display in the middle of my datestor: System .United exception: Connection connection is already in use. Let me repeat all the rows that should be repeated through the data reader because many lines have been returned. > SqlConnection conn = New SqlConnection ("Reference Connection = True"); SqlCommand CMD = new SqlCommand (); Cmd.Connection = conn; Cmd.CommandType = CommandType.StoredProcedure; Cmd.CommandText = "spClean_Select_Product_For_Delete"; CMD. Comma timeout = 41600; Conn.Open (); SqlDataReader Reader = cmd.ExecuteReader (); Try {SqlContext.Pipe.Send (DateTime.Now.ToString () + "- started working with the product"); While (reader.Read ()) {SqlContext.Pipe.ExecuteAndSend (New SqlCommand ("Product Product from Einfo Productivity =" + Reader ["Product Id"]. ToString ()); } SqlContext.Pipe.Send (DateTime.Now.ToString () + "- Complete the work with the product"); } Fina...

lucene.net - Query types within Lucene -

Lucene NOOB warning! I myself considered to be the person of the least wisdom, but I in my special example, I have to find a single string field in my document which is only the moderate length (approx. 50-character average). I want users to be able to type the beginning of the items they are searching for. Example field: "Generic brand strength" Searches should match: "Normal brand strength" "Brand generic strength" ... "Gene bran str" "Bran generic str ... ... etc. .. It is possible that I have to store my information (each word of the example) in different areas if it helps I present In the world of fuzzy wildcards and multi-term phrases I have been lost. A can explain this whole scenario? (And yes, I have seen it for a large scale online, but a decent resource can not be found). BTW I am using Lusen 2.9 But I do not think that really matters. Each word within a different area No need to store. Example field:...

data structure for powershell script -

I am trying to write a power-shell script that will take in a text file (or xml file) or whatever I I want to see the list of server names and some server names to read in a row from PowerShell to a text file, but I did not know the powers to import data into different variables How do I pass other functions for If it is argued that it looks trivial, but should be a simple way for me rather than to use a regex on each line to do so. "post-text" itemprop = "Consider the following XML: $ xml = [xml] @" server " Server name = "server1" & gt; & Lt; Process & gt; Process 1 & lt; / Projection & gt; Process & gt; Process 2 & lt; / Process & gt; & Lt; / Server & gt; Server name = "server2" & gt; Process & gt; Process 3 & lt; / Process & gt; & Lt; / Server & gt; & Lt; / Server & gt; "@ You can process the $ xml variable like this: foreach ($ xml.Servers.Serve...

java - Struts and swing integration -

Hi friends, I am new to Java I develop a swing application and struts application And I need to integrate both of them. When the user clicks the download button Exe should download and install on the client. Pc.after installation should communicate with the exe file Struts application. In advance thank you Aswan First of all Want to study so you can download your swing app: Then you want to use GET and POST requests on your Straits app on the server. Your best bet is to just swing the piece and use the HttpURL connection to access a servicelet through a post. You can check the command pattern so that you can send different requests through a servicelet. On another note: If you can live with an app that lives inside a web page, it also has good use, it can be well integrated with existing web pages and struts. .

python - How to create a table and its related model.py automatically from a csv file in Django -

Think about this: You create some kind of CMS, which gives you an application Name for the name and a CSV file for that application then automatically creates that app on the flyer, making the necessary model.py depending on the CSV column The admin page is activated for this and allows you to get full permission from this new table through the DEGENGO only. Administrator then adds this application to url.py and creates a vera package for this too. Then what you have to do, upload a CSV, give your app and name! , You have an admin page to play. Now, is there any way to make any app or at least one model / django out of a csv file or is there any django-app that can do this? Note: (./manage.py Observatory> models.py) Although this is not included to create a real models.py and applications, you may want to look into it. You can have "meta" models that store information on dynamic models, and then import your CSV view data into those models, create class...

html - How can I activate a CSS style for a label when hovering over the associated checkbox? -

Every time I hover over a checkbox label, it turns yellow: Markup & lt; Input type = "checkbox" value = "hello" id = "hello" name = "deleted files []" /> & Lt; Label = "hello" & gt; Hello & lt; / Label & gt; css label: hover, label: active {background: yellow; } When I take the related checkbox, I want to highlight the label. Is there a way to fire the same hover rule by using CSS if I can also hover over the checkbox? Or do I have to use javascript for this? You can use CSS future selector, like this: Labels: hover, label: active, input: hover + label, input: active + label {background: yellow; } Note that this will not work in IE6.

which is more prefered to be called, "XSL file" or "XSLT file"? -

What should I call my file with XSL code (XSLT code ??), ? More sensible / meaningful I know both of them short but do not know what to use and where. Edit1: I In words I came to w3schools.com It started with XSL and ended with XSLT, XPath and XSL-FO. And written "XSL source code" also written, what about Alejandro's comments? Now my question lessens the simpler version yet .. Can we also call XSLT code as XSL code ?? Or is it disliked ?? to Expressed in a change, XSLT is called a stylesheet [Definition: A conversion in XSLT language has been expressed as a stylesheet, whose syntax is well, the formation of XML [XML 1.0] is consistent with namespaces in XML Recommendations. [Namespace in XML 1.0].] except for the formalities of the specification, you can say that what you Regarding the components of the stylesheet (or transformation): They are directive for XSLT 1.0 and its content is templates , they are declarations And instructions...

c# 4.0 - How do I create a new proccess in C# (.Net4)? -

I need to create a process that will wait until it runs with executables and check for errors. thanks system Diagnostics. Process class. process.start () will start a new process (with logic, if you want - many overloaded), process. WaitForActit () will wait for it to exit and exit the exit code of ExitCode property will return. All self-documentation, right?

linux - Why ulimit can't limit resident memory successfully and how? -

मैं एक नया बैश खोल शुरू करता हूं, और निष्पादित करता हूं: ulimit -m 102400 ulimit - एक "कोर फाइल आकार (ब्लॉक, -सी) 0 डेटा सेग आकार (kbytes, -d) असीमित समयबद्धन प्राथमिकता (-e) 20 फ़ाइल आकार (ब्लॉक, -एफ) असीमित लंबित संकेत (-i) 16382 अधिकतम लॉक मेमोरी (kbytes , -एल) 64 अधिकतम स्मृति आकार (किलोबाइट, -एम) 102400 खुली फाइलें (-n) 1024 पाइप आकार (512 बाइट्स, -पी) 8 POSIX संदेश कतार (बाइट्स, -क) 819200 वास्तविक समय प्राथमिकता (-आर) असीमित वर्चुअल मेमोरी (kbytes, -v) असीमित फ़ाइल ताले (-x) असीमित " Pre> और फिर, मैं एक विशाल परियोजना संकलन निष्पादित करता हूं इसका लिंक करना बड़ी स्मृति का उपयोग करेगा, और फिर 2 जी परिणाम, प्रक्रिया ld अधिक 2 जी निवासी स्मृति का इस्तेमाल किया। क्या कोई गलत है? निवासी मेमोरी को सीमित करने के लिए मैं कैसे अन्य प्रोग्राम का उपयोग कर सकता हूं? सीमा निवासी स्मृति का लक्ष्य है, क्योंकि एक प्रक्रिया लगभग सभी मेमोरी का उपयोग कर कंप्यूटर स्थिर हो जाएगा। के लिए मैन पेज के अनुसार: RLIMIT_RSS प्रक्रिया के निवासी सेट की सीमा (पृष्ठों में)...

Strange linkage problem with Visual C++ 2005 -

Please help me, I have a strange problem that I can not sort out in any way. Complex: I am using Visual C ++ 2005 in Windows 7 7x64, and I'm sure that Linux is running well with G ++ because my code is bad is not. I am developing an application which I get two mysterious LNK 2019 errors in the link phase of the application. This is the title of one of the library's classes: Nameshot sulfur {class quark {public: ... addAccel (const Vec2 & Amp; a); ... different methods personal: ... different data}; } Obviously in CPP file I'll provide an implementation for addAccel with the same signature. When I try to link applications with the library, all other addAccel members get jobs except. Linker "searches for symbol" addAccel @ quark @@ QAEXABV? $ TemplateVec2 @ M @ Atlax @@@ Z While in the .lib file (which I got to use for Dumpbins) "? AddAccel @ quark @ sulfur @@ qAEXABV? $ TemplateVec2 @ m @ Attacks @@ @ z ". The only difference h...

c++ - Console output in a Qt GUI app? -

I have a QT GUI application that is running on Windows which allows to pass the command line option and some In situations I have to output a message for the console and then exit, for example: int main (int argc, char * argv []) {QApplication a (argc, argv ); If (some command lineups) {std :: cout & lt; & Lt; "Hello world!"; Return 0; } main window; W.show (); Back a.exec (); } However, console messages do not appear when I run the app from a command prompt, does anybody know how I can get it to work? Windows does not really support dual-mode applications View console output You need to create a console application CONFIG + = console However, if you double click to start the GUI mode version The program will show you a console window, which you probably will not want. You must create a GUI mode application in order to stop the console console displayed, in which case you do not get any output in the console. One idea could be to create a seco...

oop - Which pattern to use in replacement of composite with limited number of element type? -

I can have one object composed of components but each component has a type and it should be unique: Class Client {Set & lt; IComposite & gt; Element} interface iCompace site {string getType (); } Class status implies Icomposite {String getType ()} {return "status"}} class class uses the IComposite {String getType () {return "clientdate"}} So I think I could encapsulate the collection but each element should be unique, so only 1 position, only one port, but maybe I can create a new composite class which can be more than one. How to design an idea? Thanks a lot You have a dictionary as a collection of your elements While adding the element to your unique ID (type in your case) as the key of the dictionary, you can check whether the element exists in the dictionary or not. So you can keep the collection with unique elements.

sql - SqlDataReader getting rows when no data -

This is incredibly important, I need to present this application in three and a half hours. Checks the application against the data source to see that whether the value is present in the database and changes in values, depending on whether the value was found in the question or not. The problem is that I have run SQL query with value in question in SSMS and no rows have been returned, and even then, my detitor says that its lines are there. This means that my application is incorrectly reporting here's my code: new SQL connection ("Data source =. \ SQLEXPRESS; initial catalog = test; integrated security = true;") SqlDataReader = cmd.ExecuteReader if new reader as SQL CMD (SQL, Conn) Conn.Open () dim reader as Reader. HasRows then values ​​= true acctNumber = reader (1) end if reader. Using Close () I have deleted the code which is not relevant to this post, but what you want to know is: Value The Boolean ActNumber String is Because it is an app for work, I ...