Posts

Showing posts from January, 2013

android - If I change an external library: AndroidManifest, cannot parse file -

I open an old project that has a normal Android 2.2 external library registered. Change the library to the Android 2.2 Google API. After that I can not parse the manifest file and I get an error: AnroidManifest.xml error: the file can not be parsed error second On the line is in the URI & lt; Manifest xmlns: Android = "http://schemas.android.com/apk/res/android" If I go to error, I get a message: URI not registered Is . What's more odd than that, when I return an old Librero to the project (Normal 2.2), I still have the same error. What could be the reason? The use of PS IDE is IntelliJ IDEA. Try, Android support has improved in it and File | Invalid cache can also help.

html - How do you make different layers of images in background? -

I want to know which code is used to create such a background What if I want to put a header in a way? Be sure that what you are doing is "different layers". Do you mean how the flags become radiant? They are just using the css3 opacity filter Something like this: .class {filter: alpha (ambiguity = 100); -moz-opacity: 1.0; -khtml-Opacity: 1.0; Opacity: 1.0; }. Category: Hover {Filters: Alpha (Opacity = 70); -moz-opacity: 0.7; -khtml-Opacity: 0.7; Opacity: 0.7; If you want to change an image while changing it, you can use the CSS background-postian filter. Assume that you have an image in 20px wide and 20px high Photoshop, repeat the canvas height, and put another image over it. Then do something like this in CSS: .class {height: 20px; Width: 20px; Background: URL ('your / image.png'); Background-position: 0 px 0 px; }. Category: Hover {Background-Position: 0px-20px; } // or 20px depending on how you want to move your background image. Sti...

javascript - Iframe Scroll bar is not moving -

I have created an iframe with the following attributes. & lt; Iframe id = 'modalIframeId' Width = '100%' height = '100%' name = 'modalIframeId' marginWidth = '0' marginHyft = '0' frameborder = '0' scrolling = 'auto' scrolling = 'yes' heading = 'Dialog title' & gt; When I scroll up from the top of the mouse wheel, the material is recovering. But the scroll bar is not running accordingly. It has the same scenario with IE8 and Firefox. How can I solve it? After your 100% width and height, you can see that you want to create an entire page as an iframe You can change your & lt; Frame & gt; and & lt; Frameset & gt; better, but using AJAX or PHP is best. & lt; Frameset calls = "100%" & gt; & Lt; Frame src = "document.html" & gt; & Lt; / Frameset & gt; & Lt ;? Include Php 'document.html'; ? & Gt; & Lt; S...

java - How to get a query string for a url using httpUrlConnection , android -

I am using HttpUrlConnection to post a query on a webpage. The web page takes my request and does another posting, for example: www.unknown.com url = URL = "new URL" ("http://www.unknown.com"); // $ non-NLS-1 $ urlConnection = (HttpURL connection) url.openConnection (); UrlConnection.setReadTimeout (15 * 1000); UrlConnection.setDoInput (true); UrlConnection.setDoOutput (true); UrlConnection.setUseCaches (wrong); UrlConnection.setAllowUserInteraction (true); Out = New OutputStream Water (urlConnection.getOutputStream ()); String content = "var1 = 5" & var2 = 0 & var3 = 6 "; // $ Non-NLS-1 $ Out. Write (content); Out.flush (); Out.close (); The code is working without any problems and I am getting the html code. The problem is that the webpage is processing another HTTP "post" method when it is taking my request, for example after the request of the URI: I received the value of "var4" in my code There is a need to...

c# - Disabling default buttons in word 2003 -

I am currently trying to disable some buttons on the menu bar in word 2k3 but I have no indication of doing so Not that how to do this, which I can find online, it seems that I need to call the "EnableMenuItem" function from user32.dll, but this does not seem to work. Are there any other options available? Thank you all for your help :) Gonçalo You repeat from the specific commandbars (in this case, the edit menu) and the app.commandbars collection to find out And then interact through commands to find specific menu items, then you can hook up the click event, or disable the button (commandbarbutton is a capable asset of objects that you set I can believe that you can set the visual on them too). / P> Keep in mind that in different languages, the caption can change, so this ID is best for the property key. How the information about these names and IDs has been obtained here

strange C program fgets -

I was going through an open source codebase and I see the following: - Code> char * buf; Four * line; #define BUFSIZE 5000 buf = malloc (BUFSIZE) line = buff; While (in fgets (line, (unsigned) (buf + BUFSIZE -line))! = NULL) {// do stuff // ....} Why is another buf + BUFSIZE - line ? The argument given as line to buf The number of characters at the end of / code> your // do stuff potential increment line buf + BUFSIZE one After the letter > buf buf + BUFSIZE - line There is an integral number pointing to / em> line to buf + BUFSIZE - and therefore the number of characters that you can safely line can be typed without any overflow buf

flash actionscript 1.0, load external swf file to parent swf file -

I am creating a website using Flash I have an external SVF file that I want to import to my website. Thought that this would be an easy task, but for some reason when I load the film, it is a flicker. My website (parent SWF) was built using 1.0. The external form was created using SDF 3.0. Any ideas? My attitude: 1. Create an empty movie clip called MCFRM. To go to the MC clip page I want to draw an external movie in 3. Within my action layer, I call the following function loadMovie ("main.swf", mcForm); If I write: Loadmophhen ("Main Sol.", 0); Then my main .swf opens correctly, but closes the parent sff file. I want to embed the original .swf file into the original file. As far as I know that action script 1 or 2 will load an action script 3 movie It is not possible to do the movie. The reason for this is that AS3 * action script is processed by Virtual Machine 2 '(AVM2), while AS1 and AS2 are processed by AVM1. As such, when you have an...

php - Accessing Object variable -

I am using an API that is the result of an array like this in the form of data: object (stud class) # 38 (5) {["returncode"] = & gt; Int (1) ["EntityResults"] = & gt; Object (stdClass) # 39 (1) {["unit"] = & gt; Object (Stud Class) # 40 (15) {["id"] = & gt; Int (43622) ["User Defined Field"] = & gt; Object (stdClass) # 41 (0) {} ["Tikida"] => Int (3,1024) ["Internal Unprocessed"] = & gt; Int (28303142) ["Date"] = & gt; String (19) "2011-03-24 T 00: 00: 00" ["start date"] = & gt; String (19) "2011-03-2411 11: 41: 00" ["Endadetime"] = & gt; String (19) "2011-03-2411 11: 46: 00" ["Hours Work"] = & gt; Float (0.08) ["Hour Tablet"] = & gt; Float (0.0833333358) ["OffsetHours"] = & gt; Float (0) ["summary notes"] = & gt; String (584) "Hi Steve ..." [...

objective c - How to pass a String from one .m to another .m file -

(sorry for bad english, IM from Germany) I'm sorry, New am and also in Objective-C. I have been searching for my problem for a long time also, but I could not find the answer. I believe it is very easy, but it does not work in my projects: - ( The problem is IT, I would like to use a string in two files. For example, if I create a utility app, there will be a main view and a flipside view, both have a .h file and an .m file. Now I fill Want a string in the main scene with the contents of a textfield, and And if I switch the view, the contents of the string from the main scene should be shown in a textfield on the flipside view. I have read Please help me: - ( In a short time: I want to use a string in two files, so I can work with the contents of both the files, and even in both the files. I hope someone helps me Dennis's Relationship #import "MainViewController.h" #import "MyFirstAnnotation.h" @implementation MainViewController /...

facebook c# sdk - Authorize with Permissions -

I started using "CSDK S # SDK 5.0.8" from "ASP.NET MVC3 website" is. Everything works fine How can I request additional permissions from the user after that? When there is no definition for 'permissions' error in System.Web.Mvc.AuthorizeAttribute, when I do [authorized (permissions = "offline-login")] . If I use [FacebookAuthorize (Permissions = "Offline-Login")] , then page redirection thanks "text"> Then the authorization feature is not part of the Facebook C # SDK. From that example, you learn how to use Facebook authorization in conjunction with Form Authority. There is no property on the name of permission in the authorized attribution and neither can it be used to authorize Facebook, it is investigating the permission to use your existing ASP.NET subscription provider. Facebook is not working as an official feature, because you can not mix two situations together, in fact, the tutorial you are rea...

exception - Objective C/NSMutableDictionary - [NSCFSet objectForKey:]: unrecognized selector -

I do not understand what I'm doing wrong. I have a dictionary that is the property of a singleton class: @ interface CABResourceManager: NSObject {.... NSMutableDictionary * soundMap; } @ Property (Maintaining) NSMutableDictionary * Soundmap; Then I add an object to a dictionary in this dictionary: + (zero) loadSoundFromInfo: (ABSoundInfo) sound {static unsigned int currentSoundID = 0; CABSound * newSound = [[CABSound alloc] initWithInfo: (ABSoundInfo) sound soundID: ++ currentSoundID]; [[CABResourceManager shared RISMGR] SOMAMAP SET OBJECT: New Sound for: Sound.Name]; } and try to get it in another method: + (ALuint) playSoundByName: (NSString *) name {NSMutableDictionary * map = [CABResourceManager Shared ResMgr] .soundMap; CABSound * Sound = [Map ItemFork: Name]; // There is an exception and the app goes over the exception. 2011-03-27 20: 46: 53.943 Book 3 HD-N [5485: 207] *** - [NSCFSet objectForKey:]: Sent to unknown selector 0x226950 2011- 03-27 20: 4...

java - Rreading a multi string argument using Apache commons -

o.getValue () विकल्प के लिए मान वापस। लेकिन एक बहु आरजी इनपुट के लिए, -h यह एक शीर्षक है, कहें, फ़ंक्शन केवल पहली स्ट्रिंग देता है ' यह '; मैं पूर्ण परम कैसे प्राप्त करूं: यह एक शीर्षक है । यह आपके शेल को कमांड लाइन के बारे में बताता है कि यह एक समस्या है। मुझे पता है कि अलग-अलग तर्कों में शब्दों को तोड़ने के लिए सभी गोले हैं और आपको उद्धरण चिह्नों का उपयोग करने की आवश्यकता है, उदाहरण के लिए -h "यह एक शीर्षक है" सभी गोले इस तरह से काम करते हैं और मेरा विश्वास नहीं है कि आप इसके आसपास जावा में प्राप्त कर सकते हैं।

activerecord - Rails 3 new_record? deprecated -

I have a Rail 3 app and am planning to use the ActiveRecord method new_record? On my shared look to show the user either a Create or Update button I saw this method and called it The method is deprecated: this method has been demoted on the latest stable version of the rail. The last existing version (v2.3.8) is shown here. What does this mean? Does this mean that it will not be available to move forward now? ActiveRecords :: No mention of strongness dislike ... I believe that API only Fooled by the restructuring of the classes, if the method was boycotted, the train will generate a warning when it will be used. See:

Is it possible to set up interrupts on each pin of Arduino Mega? -

We want to monitor 35 inputs in 20 x direction and 15 in the direction of y We are thinking of being a conscience for each input, so that every time there is a change, we can take some action, but how do we interrupt each pin? Or is there any other way to do this without interruption? As I know Arduino can not do this but you can use an infinite loop and each You can choose the row you can store the old value for each input and compare it to the current value. It seems that an infinite loop in Arduino is very cheap if you are computing between signal changes then this method is somewhat more difficult. Another way is to use only one interrupt line which will initiate the same voting allocation which will compare the old and existing values ​​on the input. / P> The idea of ​​using different distinctions seems delicate to me, while processing in the middle, usually other interrupts are disabled so that you can lose input change signals during this time period. Have you ...

c++ - Usage of union inside a class -

मैंने कुछ कोड इस प्रकार देखे हैं: class A {निजी: union {B * प्रतिनिधि; ए * अगला; }; // इस गुमनाम परिभाषित कोई चर! शून्य मजेदार () {ए * पी = नया ए; P- & gt; अगला = नल; // पी क्यों 'अगले' के सदस्य चर है? }}; मैंने बिना किसी त्रुटि के VS2010 के साथ उपरोक्त कोड संकलित किया है यहां सवाल है, क्यों पी में सदस्य चर 'अगला' है? union {B * rep; ए * अगला; }; जहाँ तक मुझे पता है, यह बिना एक चरणीय परिभाषित किए बिना एक अज्ञात संघ है हम इस यूनियन के भीतर सदस्य चर का उपयोग कैसे कर सकते हैं? क्योंकि यह काफी अज्ञात संघ है करता है, यह संलग्न नाम स्थान में शून्य-या-अधिक चर को परिभाषित करता है (जो एक कक्षा घोषणा में उन्हें फ़ील्ड नाम देता है) जो अतिव्यापी स्मृति को नियंत्रित करता है इसलिए उपयोग में यह वही है जैसा आपने घोषित किया था वर्ग ए {निजी: बी * प्रतिनिधि; ए * अगला; शून्य मजेदार () {ए * पी = नया ए; P- & gt; अगला = नल; }}; ... प्रतिनिधि और अगले अधिग्रहण अतिव्यापी अंतरिक्ष (या दो बिंदुओं के समान आकार, एक ही स्थान होगा) को छोड़कर, और इसलिए सभी खतरों और ...

curl - Is making asynchronous HTTP requests possible with PHP? -

I have PHP scripts, which need to download multiple files from remote server. At present I have only files with CRL Has a loop in the download and processing, which means that it does not start before downloading a file - the time before running the script increases significantly. It is possible to start many instances of CRL, for example, to download the asynchronous files without ending the previous files at any one time? If so, how will this be accomplished? Yes is there (or view :). This is a multi-threaded curl library. As another solution, you can write a script that is in a language that supports threading, such as Ruby or Python again, just call script with PHP, rather than simple looks like.

sql - how to use the NormalizeChars stored procedure inside the searchWord stored Procedure -

I want to remove the diary from this function alternative procedure [dbo]. [Searchword] (@Word = '%' + RTRIM (@Word) '%' + (@Word) '@WordNVARCHAR (50), @PageNumber INT, @ProductsPerPage INT, @HowManyResults INT Production) Set as @Word ='% ' Announced @Results table (ProductsId INT, ProductsCode NVARCHAR (250), ProductsDesc NVARCHAR (MAX), ProductsIngredients NVARCHAR (MAX), ProductsName NVARCHAR (250), ProductsPhoto NVARCHAR (MAX), ProductsPrice money, ProductsWeight2 float, RowNumber INT) - matches products to INSERT @ select Rispols to DI1 T1.ProductsID, T1.ProductsCode, Utpadnam as LOWER (DESC products as T1.ProductsDesc), T1.ProductsIngredients, LOWER (T1.ProductsName), T1.ProductsPhoto, T1 .ProductsPrice, more than T1.ProductsWight2, ROW_NUMBER () (order by T1.ProductsName) RowNumber (select ProductsID, ProductsCode, low (ProductsDesc) as the ProductsDesc, ProductsIngredients, low (ProductsName) ProductsName T1.ProductsID = T2.ProductsID at T2 a...

variables - Why Doesn't a Global Var Declared in one VB6 project Compile in Another Project in same VB6 Project Group? -

I'm sorry that this is such a primary question 6 projects in our VB6 project group and UI is a project that includes all app forms. We generate a unique ID (GstuInieMPUUID) in the code behind any one form, which should be in contact with a class in any other project in the project group. I have announced that this variable is a universal variable in the .bas module which is part of the main UI project, in this way: String like gstrUniqueImportUuid I then provide a value for gstrUniqueImportUuid, which works fine. But then when I try to use that global variable value in any other project, then it will not compile the project - "not defined variable". What am I doing wrong on the earth? Thank you. Modules are not public outside the project What you want to do, create a class and call it Global Multii Usage Is set up for Any public property of that class will be visible to refer to the project. Note that you only do this for ActiveX DLLs and Active...

Ruby Hpricot XML Parsing ARIN document -

I am trying to parse this ARIN XML document. I want to get the "Name" property inside the orgRef tag, and when I call it HPCocot I am doing this: Doctor = HPricot (material) (doctor /: orgRef). OFFFF | Puts "element of the foundation!" End When I do (doctor /: net), it is doing some output, but for some reason this one element can not be found for any reason. I try (doctor /: net / yajfed) too. What is happening? Is ARIN intentionally made it impossible to parse this XML? No problem, I understand. I had to do ipWebHost = (doctor / "net / orgraf") [0] ['name']

mysql - How do you approach optimizing this complex sql query then choosing proper table index's -

I have a complex query that is not able to optimize me with the proper index, ways to optimize questions or indexes Any ideas about modifying columndata A table is 55000 records, drows D is less than 4000 record 25 rest of the tables, how should you optimize a problem like this: select 'id', a.string_data, b.grid_id, c.data_type, d.document_id, 'callmandata' a, 'columnembed' b, `dcolumns` c,` drows` d WHERE b.grid_id = 9 and d.document_id = 17 and d.id = a.row_number and b.column_id = a.column_id and c.id = a.column_id and 0 = (select count (1) `from security` e q,` Role_userlist`f, `as user_type_defaults`g where ((e.access_for = 1 and e.access_for_id = 0) or (e.access_for = 2 and e.access_for_id = F.role_id and f.userid = 0 ) Or (e.access_for = 3 and e.access_for_id = g.id and (g.usertype_name = "or (g.usertype_name =" guest "and 0 = 0)))) and e.access_level = 0 AND ((e .access_type = 2 and e.access_subtype_grid_id = b.grid_id and e.ac...

sql server 2008 - sql management studio failed to install -

Hi I have successfully installed SQL Server 2008 Express from my window 7 x 32 bit here But I did not find any way to install SQLManagement Studio for the 2008 Express SQL. I have no choice for setting up that management studio should I set it apart? FYI, I have both Sxcelorworld Express 2005 and Express 2008 installed. Sqlmanagement Studio 2005 is also installed. The easiest way to install SQL Express 2008 w / management studio I would know that you can add it before tracking different installers.

android - What is the difference between src and background of ImageView -

I'm a bit surprised to use src or background for a ImageView . I know that this means that it is the content of ImageView and that means the background of ImageView is. But to find out what to use? I can not see the difference All scenes can take background image. Some changes such as alpha-settings and to set the boundary to match the image dimension, and / Can get it.

c++ XML file parsing problem -

Hello everybody is my problem, I want to parse a XML file, I just want to change the unit value like In my name, I type a code in my name c ++ which is the following #include & lt; String & gt; # Include & lt; Iostream & gt; # Include & lt; Sstream & gt; # Include & lt; Stdexcept & gt; # Include & lt; List & gt; # Include & lt; Sys / types.h & gt; # Include & lt; Sys / stat.h & gt; # Include & lt; Unistd.h & gt; # Include & lt; Errno.h & gt; #include "/usr/local/include/xercesc/parsers/SAXParser.hpp" #include "/usr/local/include/xercesc/sax/HandlerBase.hpp" #include "/ usr / local / include / xercesc / util / XMLString.hpp "using namespace std; Using the name space xercesc; Int main (int argc, char * args []) {XMLPlatformUtils :: Initialize (); Char * xmlFile = "/home/manish/conf/mapred-site.xml"; Cout & lt; & Lt; XmlFile; SAXParser * pars = new SAXParser ();...

symbian - Qt SDK version 1.0 & version 1.1 -

Nokia has been developing an application for Nokia Symbian for the last two months, Nokia is a new platform for me, I have a good experience in the iPhone. Development, I started QT SDK 1.0 which I found that 1.0 actually did not really work for some mobile devices in the UI, I released the Qt SDK Gone in 1.1, I used to do QML (Qt Quick) I went through the medium, I really enjoyed this UI experience, finally when I reach out to Ovi to publish my application, Ovi has rejected my application due to QT SDK 1.1 which is now on Nokia Symbian devices Not supported. Then I return the QT SDK 1.0 on the camera QDelearativeView and the same QML structure works fine on the simulator but when I'm trying to create it for Symbian device, No directory "error. Now I have the number of questions given below 1 - How can I correct this error and publish it in Ovi 2 - Anyone for publication Good resources & amp; Signed process for Symbian devices 3 - There is no hope that Ovi QT wi...

Form_Tag problem with posted value in Rails -

There are my routes for a specific controller of my application (I manually create them): scope: path = & gt; '/ Labor' ,: Controller = & gt; : Labor vote '/' = & gt; : Index =, as in> & gt; 'Labor' post 'start /: task_hour' = & gt; : Start, as: = & gt; 'Start' post 'Stop' = & gt; : Stop, as: = & gt; 'Stop' and I am creating a form_tag, but I am having trouble passing through the posting value. My form is currently: & lt;% = form_tag start_path%> & Lt;% = select_tag: work_hours, options_for_select (["1", "2", "3", "4", "5", "6", "7", "8"], "1")% & Gt; & Lt;% = submit_tag "# {T 'labor.start_work'}"%> & Lt;% end% & gt; I hope that to work, but unknowingly, it is not and I do not know why I actually get the routing error any way matches {: control...

javascript - I want to show a message with 'yes' and 'no' button in ASP.net on button click if some condition is true -

I want to show a message with the code 'yes' and 'no' button when some condition is correct in the codebehind .. and if the user clicks, yes, then a piece of code will execute in another way, it will not happen. For example: button_click () {if (condition == true) {popup a yes and not with msg (user click 'yes') {then Some code ...}}} Add your code to this line: button. OnClientClick = "If (Confirm! ('Do you want ...')) Return;;;;;;;;;

wpf - stackpanel xml parsed targets to go to a new row -

I have a stackpanel, using this stackpaneal, the parsed goal of XML is shown as a checkbox as shown. has gone. foreach (different child in stack 1.) (if the system is child. Windows control checkbox) & amp; ((System.Windows.Controls.CheckBox) child) IsChecked.Value) {masterbuildproperties.WriteLine ((System.Windows.Controls.CheckBox) child).);}}} this The stackpad is embedded in the grid control. XAM: & lt; StackPanel name = "Stack 1" grid. Line = "2" grid Column = "0" orientation = "horizontal" & gt; & Lt; / StackPanel & gt; My question is, how can I ensure that 7 checkboxes have been parsed, my 8th checkbox and above will go to a new row? Example is shown below: checkbox 1 checkbox 2 checkbox 3 checkbox 4 checkbox 5 checkbox 6 checkbox 7 checkbox 8 check box 9 You can use it to get it.

c++ cli - How do I pass a struct to a backgroundworker thread in C++/CLI -

struct तर्क टैग {int x; स्ट्रिंग टेक्स्ट 1; }; /////////////////////////////////////// ArgumentList arg1 = {12, "text123" } वर्कर थ्रेड- & gt; रन वर्कर एसिंक (arg1); मुझे एजीआर 1 पारित करना है, लेकिन कंपाइलर कहते हैं "त्रुटि C2664: 'शून्य सिस्टम :: घटक मॉडेल :: पृष्ठभूमिवर्क :: रनवॉर्कर एसिंक (सिस्टम :: ऑब्जेक्ट ^)': पैरामीटर 1 को परिवर्तित नहीं कर सकता 'सिस्टम :: ऑब्जेक्ट ^' 'के लिए' तर्क सूची '" सिस्टम :: शून्य पृष्ठभूमिवर्कर 2_DoWork (सिस्टम :: ऑब्जेक्ट प्रेषक, सिस्टम :: ComponentModel :: DoWorkEventArgs ^ e) {// Do stuff ई- & gt; तर्क के साथ तर्क सूची passarg = (तर्क सूची) ई- & gt; तर्क; // 'प्रकार कास्ट': 'सिस्टम :: ऑब्जेक्ट ^' से 'तर्क' सूची में परिवर्तित नहीं किया जा सकता 'int y = passarg.x स्ट्रिंग text2 = passarg.text1 // ...} ऐसा लगता है कि आपको रेफरी रिफ़ संरचना तर्क सूची {int x; स्ट्रिंग टेक्स्ट 1; }; इस प्रकार यह ऑब्जेक्ट प्रकार (सभी मैनगैड कक्षाओं के लिए बेस ऑ...

printing - C# print screen scrollable control -

Image
I have a control that is a plotter that is scrolling. After the plotter has finished plotting, it is capable of scrolling like this: My conspiracy is a real time conspiracy, that is, it means plots, as time passes and it is not a static plotter (which you manually put into values). After I have stopped the plotters, I am able to scroll around the plotter to see the results. However, I want to save the plotter in an image, which I am trying to use to print screen method. But what I was able to capture is only a part of the conspiracy, but the part of the plot is not visible (which means that it needs to be scrolled). I hope now it is clear that the code for the print screen is: // Set the bitmap object in the size of the screen bmpScreenshot = new bitmap (panel2.Bounds.Width, panel2.Bounds .High, PixelFormat.Format32bppArgb); // Create a graphics object with Bitmap; gfxscreenshot = Graphics.FromImage (bmpScreenshot); Point P = this.PointToScreen (new point (panel2.Bounds.X, pa...

bash - Value too great for base (error token is "0925") -

मेरी बास स्क्रिप्ट में मेरे पास निम्न तर्क है: #! / Bin / bash स्थानीय_टाइम = $ (तिथि +% एच% एम) अगर (((स्थानीय_टाइम & gt; 1430 & amp; स्थानीय & amp; समय & amp; nbsp; 2230) || (स्थानीय_टाइम & gt; 0300 & amp; स्थानीय & amp; समय & lt; 0430))); फिर # कुछ काम करते हैं हर अब और फिर, मुझे शीर्षक में निर्दिष्ट त्रुटि मिलती है (किसी भी समय 08xx ऊपर त्रुटि को ट्रिगर करने के लिए प्रतीत होता है)। यह कैसे ठीक करें पर कोई सुझाव? मैं उबंटू 10.04 एलटीएस पर चल रहा हूं [संपादित करें] मैंने सिएजेक्स द्वारा सुझाए गए स्क्रिप्ट को संशोधित किया है, और अब, मुझे त्रुटि मिल रही है: [: 10 # 0910: अपेक्षित अभिव्यक्ति । कोई भी मदद? bash आपके नंबरों को अग्रणी के कारण octal का इलाज कर रहा है शून्य से आदमी bash एक प्रमुख 0 के साथ स्थिरांक को अष्टक संख्या के रूप में समझा जाता है एक प्रमुख 0x या 0x हेक्साडेसिमल को दर्शाता है अन्यथा, संख्याएं [आधार #] एन लेते हैं, जहां आधार अंक संख्या 2 और 64 के बीच एक दशमलव संख्या होती है, और n उस आधार में एक संख...

dependencies - I want to call it side-effect programming, but there's gotta be a better term for this -

What is the name of the following programming paradigm: The code is executed based on the logical set To solve the test's right (section). This section contains operators and operands. Each operand is a value / object. Rather than explicitly evaluating the clause, as is done in compulsory languages ​​(e.g., if () (e.g.), normal flow control, () {} ), Clause is declared and bound as resultant code. When the segment is satisfied, at any point in the future, the code will be executed. For example, it is basically a dependency tree which relies again depending on whether the code depends when a dependency situation changes. Example, another amp; Amp; B & amp; Amp; Amp; Amp; Amp; Amp; Amp; Amp; Amp; Amp; Amp; Amp; Amp; And & amp; Amp; Amp; Amp; Amp; And. Tool ()) {runThisCode (); } I am looking for a more formal name and definition, and after searching for it, I have not come anywhere. It is somewhere between declaratory and compulsory, but I've never see...

sharepoint - Override Chrome Type Webpart -

Image
In SharePoint 2010, I have created a webpage, and I need to set the value "chrome type" in all ways to "none". I I was looking for ways to emphasize Cambodia" no one ", or ways to override" chrome type "in the C # class, but I want to do them No way found. What is the best way to set up this property? You should be able to modify the property of the Web Part in the code. Keep in mind that where you do this in the web part life cycle. If you do it as part of the method of presenting it will be very late - Chrome has already been drawn by it. If you do this quickly at the other end of the scale, your setting will override when setting the settings from the SharePoint toolbar. Look at something like the OnPreRender event.

iphone - UITabBarController crashing issue -

I have used the UITabBarController application I've added 10 navigation controllers inside the tabbar. Show five items only on the tabbar. BT When the second time we click on the iTabbar 5 times the app crashes. Error (interrupted). Thanks in advance. This error (message sent for example) means that you do something quickly and then you Want to access Check where you leave and use it again.

apache - How to Redirect any subdomain request to main domain? -

मैं domain.com से www के लिए सभी उपडोमेन अनुरोधों को पुनर्निर्देशित करने का प्रयास कर रहा हूं Domain.com तब भी जब उपडोमेन मौजूद नहीं है, उदाहरण के लिए यदि हमारे पास है: abc.domain.com से www.domain.com जहां एबीसी कोई भी अनुरोध हो सकता है इसके अलावा, उपडोमेन एबीसी मौजूद हो सकता है या नहीं लेकिन जो कुछ भी है, मैं इसे मुख्य डोमेन पर पुनर्निर्देशित करना चाहता हूं। और कम महत्वपूर्ण अनुरोध है पता बार पर इनपुट पते को कैसे रखा जाना और मुख्य डोमेन पर रीडायरेक्ट करना संभव है? यह मेरे लिए सबसे अच्छा होगा यदि यह .htaccess द्वारा किया जाता है मैं अपाचे सर्वर का उपयोग करता हूं। धन्यवाद। आप स्वर्ग से आपके द्वारा उपयोग किए जाने वाले वातावरण को निर्दिष्ट नहीं किया गया है, यहां कुछ सामान्य टिप्स दिए गए हैं: सबसे पहले, पुनः निर्देशित करना के बीच अंतर है: उपयोगकर्ता के प्रकार। , लेकिन इसे domain.com पर रीडायरेक्ट किया जाता है - & gt; Domain.com पता बार में है, क्योंकि उपयोगकर्ता अब domain.com पर है ... और पृष्ठभूमि में यूआरएल को दोबारा लिखना : उपडोमेन में उपयो...

scripting - Git folder with files from two different branches -

I just explain my scenario. I have a folder in which git is managed with scripts that are running automatically Each script has a related filter file, which determines which files in response to different incidents Will have to run. Example: a.script a.filter b.script b.filter I have a branch in which there are some changes in scripts, but we have decided to roll them for certain scenarios at the moment. a.philter So we will end up with something: a.script a_.script Li> So I need that script files from the main branch, and the script files from the test branch are checked out in a folder together with different names. I do not know when (or) the test branch will be merged into the main, then I have to push the changes in both the branches. Do you have any additional or modified files already, there is a good way to think that GIT Using? test ); This branch should contain files from the Master branch (as it was made from master , rig...

Cassandra not value inserted -

I am using cassandra.my column testcassa and column is test1. I tried to insert the value like set testcassa ['123'] [test1] = 'sample' but it gives 'blank'. And no error message .. someone can help me .. Thanks in advance. [default @ unknown] create keys mykeyspace; [Default @ unknown] use mykeyspace; [Default @mikespace] set CF1 [1] ['C2'] = UTF8 ('test'); [Default @micyspace] get CF1 [1]; [Default @micyspace] set CF1 [1] ['C2'] = UTF8 ('Test2'); [Default @micyspace] del cf1 [1];

c - second to nanosecond - struct itimerspec -

I am making the TimesPC structure popular, the intention is that users can always enter values ​​in seconds (0.01 seconds) ), So we are converting seconds into nanoseconds: lt_leak_start = atoll (getenv ("LT_LEAK_START")) * sec_to_nsec; where the variable is fixed long sec_to_nsec = 1000000000; and then using it as a logic for the settime: timer_settime (timerid, 0, & amp; its, NULL) . Thanks in advance. Code> Enter the code here String Times Exec {time_t tv_sec; / * Seconds * / long TV_NSC; / * Nanoseconds /}; Structure itimerspec {struct timespec it_interval; / * Timer Interval * / Straight TimesPack it_value; / * Initial Term * /}; I'm trying to get the code here: Fixed long sec_to_nsec = 1000000000; Lt_leak_start = Atoll (getenv ("LT_LEAK_START")) * sec_to_nsec; / * Set timer interval * / its.it_interval.tv_sec = 0; Its.it_interval.tv_nsec = 1; / * Timer End Setting * / its.it_value.tv_sec = 0; // First end after 1 second its.it...

android - AsyncTask return value -

In an example, I need to return my thread to a true or false value for my main thread. Is there a way to get this return value from an asyncTask executed function? When I do the following: Toast. Make text (Find out "test:" + location update. Exempt (location), toast. LNNHHLLG). Show (); I think what I want is a way to stop the main thread until the second thread is completed. The second thread calls a function in the main thread, which sets my return value. So when the second thread is complete, the main thread can unpause and access the return value set by another thread If this argument is sound, please provide suggestions ... thanks! You can use the AsyncTask method for this. To complete the computation, if it is necessary, it waits for it, and then gets its results: Toast. MakeText ("Locate.This," test: "+ locationUpdate.execute (location) .get (), Toast.LENGTH_LONG) .show (); But be sure to not block the main threa...

Fixing a direct rename instead of svn rename -

मैं test.py को main.py नाम से फाइल का नाम बदलना चाहता था कोड>। test.py विवाद संस्करण नियंत्रण के तहत है मैंने फ़ाइल को सीधे नाम दिया, लेकिन बाद में पता चला कि मुझे इसके बजाय svn rename का उपयोग करना चाहिए था अब svn स्थिति निम्न दिखाती है: ? Main.py! Test.py इसे ठीक करने का कोई भी तरीका? नाम बदलें इसे वापस, फिर svn rename ? का उपयोग करें

php - Jquery Impromptu -

I have a problem adding Jquery Impromptu boxes to a project. This code works well outside of the project, But when it gets spoiled. & lt; Script type = "text / javascript" & gt; Function openprompt () {var txt = 'text here'; Function mycallbackform (v, m, f) {if (v! = Undefined) $ .prompt (v + '' + f.alertName); } $ .prompt (txt, {callback: mycallbackform, button: {add: 'add', cancel: 'cancel'}}); } & Lt; / Script & gt; When this action is executed, nothing will do. If I remove $ .prompt, then it will work. I'm getting this console message even after executing the function ... Unicode type error: object function (selector, context) {// jQuery object is actually only init constructor 'Enhanced' Returns New jQuery.fn.init (Selector, Event, Root Jyoti); } There is no way 'sign' The code has been placed in a PHP file which I think may cause problems, but I check the code in another PHP file So, i...

How to safely store strings (i.e. password) in a C++ application? -

I am working on a wxWidgets GUI application that allows the user to upload files to an FTP server and the user name / FTP server Password is required to reach. As far as I know, STL strings or even four * string appear to end the user, even the program is already compiled, hex editor or perhaps Like string extractors So, is there a safe / secure way to store sensitive information inside the C ++ application? PS I can not use .NET for this application. It is independent of the actual programming language used. FTP is a protocol that transmits its passwords in plain text. Any amount of ambiguity will change, and an attacker can easily block the password as if it is transmitted. There is no other problem, no protocol will be used, this will change the fact that your application is decoding Should be enabled Once you start looking at the secure protocol (like SFTP), then you can also get the infrastructure. For automated access to secure authentication (such as...

service - Image search by sketching, who has implemented? -

Online algorithms are used to find image data based on sketching, e.g. Here: I want to write a webpage which uses such algorithms, where the algorithm has been implemented and made in service by somebody else. I am surprised that Google has not implemented it on its own API. Does anyone know of an online service that does this, and is ready to experiment? The data set to be searched can be that any service that has been indexed (such as Google Image Index) or a set of images provided by the user may be You can find pages with a given image (consider this a reverse image search), but this It should be exactly the same. Otherwise, which searches mainly based on closed architecture Br> And so, which is similar to Gazapa, but mainly searches based on colors.

javascript - Dynamically add drop-down lists to html form -

I have the following code: It does not seem to work on Jsfiddle But it works fine on almost normal webpages. I have received the code online but I have touched it and I am trying to add a button to add a new text box under the existing one. I am trying to call the addNew () function for it, but it seems that instead of just adding one, will I continue? The second thing I see is that it explicitly adds a new textbox but I want to add 3 drop-downs: / Specifically, This will be the following: & lt; Id = "tag" name = "select tag" category = "tag" & gt; & Lt; Option value = "tag" selected = "selected" & gt; Tag & lt; / Option & gt; & Lt; Option value = "agent" & gt; Agent & lt; / Options & gt; & Lt; Option value = "extension" & gt; Extensions & lt; / Options & gt; & Lt; Option value = "file vision" & gt; Fireworld & lt; / Option...

visual c++ - Could Query Notiifications be used in C++ ? if yes then how, if not, may be there is an alternative -

Can notifications be used in C ++? If so, then, if not, then there may be an alternative. MSDN provides examples of how to use query notifications using sqlDependency, but I have C ++ applications I need to use this kind of facility. So what do you think ..? SQL dependence is a net class rather than the creation of a particular language. So it can be used for any language, which can use net class, it is especially easy for those languages ​​like MSL like C #, VBnet etc. C ++ is not so lucky. / P> Although SqlDependency is based on SQL Server features; Voting in the first version, and later the service broker gives you nothing to prevent from entering a trigger on the table to get query notifications on C ++. Actually you can do it yourself, or find a library that does this for you. Net developers are poor and more productive due to the library they use.

arrays - Kohana 3 arr::rotate -

I am trying to upload a multipatt file in Coha 3. I do not know the number of files that will be uploaded. I have tried this UISER: Rocket, but it is not visible to any method of Koha 3. ($ _ Files ['product_image']) $ as file $ {Variable = Upload :: Save ($ _ files ['product_image'], foreach (arr :: rotate ($ _ FILES ['product_image' Tap, applepath. 'Media'. '/'); $ Product_image- & gt; Image = bassname ($ variable); } How do I do arr :: rotate in 3? For now, you can copy the method from the Kohana 2 codebase to an extended AR class. We will add it to Kohana 3.2.

msbuild - How to build both Debug and Release for a TeamCity project -

The first idea to come to my mind is to use two visual studio (.sln) build steps - one for each configuration (Supports multiple build TC v5 +) Is there any better way? We have two different MSBuild targets that create solutions using various properties: / P> & lt; Target name = "build-debug" & gt; & Lt; MSBuild Projects = "OurSolution.sln" target = "reconstruction" property = "configuration = debug" /> & Lt; / Target & gt; & Lt; Target name = "build-release" & gt; & Lt; MSBuild Projects = "OurSolution.sln" target = "reconstruction" property = "configuration = release" /> & Lt; / Target & gt; With TeamCity, we have a "configuration" (in TeamCity-Bol), which calls the Build-Debug goal, and the one that calls Build -Release .

android - How to close AlertDialog with a mouse click? -

I have a alertcard with a little information about my application and without it I Close any button, just click on a mouse click on my alert dialog Is it possible to do this? You can use mAlertDialog.setCanceledOnTouchOutside (true) ; If you click outside the dialogue, it will be rejected.

c++ - when does ambiguity arise in multiple inheritance? -

एकाधिक विरासत में अस्पष्टता कब उत्पन्न होती है? जब आप विरासत के कई रास्तेों में बेस क्लास को दोहराया है और आप इसे डालने की कोशिश कर रहे हैं या इसके सदस्य फ़ंक्शन को कॉल कर रहे हैं। struct A { }; संरचना बी: ए {}; स्ट्रेट सी: ए {}; संरचना डी: बी, सी {}; // ने ए को बेस क्लास डी डी के रूप में दोहराया है; ए * ए = स्टेटिक_कास्ट & lt; A * & gt; (& amp; d); / Oops समस्या में कई उपाय हैं जो संदर्भ पर भारी निर्भर करते हैं (वर्चुअल आधार वर्गों का उपयोग करते हुए, केवल उपरोक्त कलाकारों को परिष्कृत करते हैं आदि) अधिक जानकारी, विशेषकर।

windbg - Cannot attach to process in .net 4.0 -

** The post was edited, more information below I just got two great about advanced Watch the video Dotnet debugging (by Brian Resmusen) and I'm trying to repeat some steps, but there is no information to proceed with TIS error: Effort DebugPort or ExceptionPort was created, but a port already in this process is present. I have received some answers on Google and I generally understand what the error says, but I do not understand a strange fact: when I compile my simple app ; .NET 4.0, I can attach as a movie show, I am trying to do this even after the target collection. NET 4.0 disables the attachment to me. One of Google's replies says "non-explosive mode" but .. Brian does not use any of these checkboxes, it just works on his video. What's the difference? Where's the catch? Is it Windows 7 vs Vista? Maybe there are some different compile settings in case? I am experimenting with MSDN with 10 MS SDK of MS VS2 with Windbug x86 and correctly c...

debugging - How to see printf lines in gdb? -

मेरे मूल कोड को डीबग करना मैं इन पंक्तियों को लिखा था: m_sock = socket (m_iAf, M_iType, m_iProtocol); Printf ("errno =% d,% s \ n", त्रुटि, strerror (errno)); printf ( "Hellowrold \ n"); मैंने एक गर्तिका बनाई है, लेकिन जब मैं इस रेखा को निष्पादित करता हूँ, यह नकारात्मक वापस आ रहा है इसलिए मुझे त्रुटि ढूंढनी होगी मैं मुद्रित लाइनों को कैसे देख सकता हूं? मैं एनडीके-जीडीबी के साथ नया हूँ, इसलिए कृपया मदद की ज़रूरत है। Printf के बजाय आप एंड्रॉइड लॉगिंग सुविधा का उपयोग कर सकते हैं: धन्यवाद, रिआसैट #include & lt; एंड्रॉइड / लॉग। एच & gt; __android_log_print (ANDROID_LOG_INFO, "MYPROG", "त्रुटि =% d,% s", त्रुटि, strerror (errno)); __android_log_print (ANDROID_LOG_INFO, "MYPROG", "हेलोरोल्ड"); अनुगामी "\ n" यहां के लिए कोई ज़रूरत नहीं है और ये लॉगकैट में दिखाई देंगे आपको लॉगिंग लायबरी से भी लिंक करना होगा। आपकी एंड्रॉइड.एमके फ़ाइल में, निम्नलिखित को जोड़ें: LOCAL_LDLIBS: = -log

excel - Error in VBA: Lost Connection to MySQL Server at 'reading authorization packet',system error 2 -

Image
मैक्रो माइक्रोसॉजिकल डाटाबेस को हर 5 सेकंड में अपडेट करने के लिए काम करता है। यह मैक्रो लगभग 10 मिनट के लिए क्रियान्वित करता है। / P> क्या गलत हो सकता है? कृपया मदद और सुझाव मेरा मैक्रो नीचे दिया गया है: सार्वजनिक चलाने के रूप में डबल लोक निर्माण cRunIntervalSeconds = 10 'पाँच सेकंड लोक निर्माण cRunWhat = "UpdateMarketData" प्रक्रिया के नाम ADODB.Connection मंद Server_Name स्ट्रिंग मंद Database_Name स्ट्रिंग मंद user_id के रूप में के रूप में स्ट्रिंग मंद पासवर्ड स्ट्रिंग मंद SQLStr के रूप में के रूप में के रूप में उप UpdateMarketData () मंद Cn को चलाने के लिए के रूप में स्ट्रिंग मंद रुपए ADODB.Recordset सेट रु = नई ADODB.Recordset रेड = 0 टेक्स्टस्ट्रैग = टेक्स्टस्ट्रांग & amp; "'" फील्ड 2 = "सीड" फ़ील्ड 1 = "बोली" तालिका 1 = "MMbanner" पंक्ति के लिए = 3 से 4 एसक्यूएलटी = "अद्यतन करें tbl_MarketData SET मिड ='" & amp; सेल (पंक्ति कंसार, 2) & amp; "', बोली ='" ...

netbeans - file not found exception even i have -

java.io.FileNotFoundException: java पर अन्य \ pappm101.ini (सिस्टम निर्दिष्ट पथ नहीं ढूँढ सकता)। Io.FileOutputStream.open (मूल विधि) मेरे पास फ़ोल्डर और फ़ाइल है, फिर भी मुझे एक ही अपवाद फिर से दोबारा मिल रहा है। मैं हूं Netbeans द्वारा इस फाइल को संकलित कर रहा है। एप्लिकेशन की कामकाजी निर्देशिका वह नहीं है जो आपको लगता है कि यह है। हालांकि आप एप्लिकेशन चला रहे हैं, जांच लें कि इसकी कार्यशील निर्देशिका आपके अन्य निर्देशिका से ऊपर की निर्देशिका पर सेट है।

stream - Camera streaming using RTP from Android to PC -

I want to write an application for Android for streaming to PC (H.263, MPAGGAD). I found some libraries: sipandroid, jlibrtp sipindraode: rpt packets are streamed (wahhark catches well on PC), but VLC can not run it. Jlibrtp: The API is shady, stream is not played correctly using VLC. Maybe there are some customizations in these libraries (this is to work for camera streaming), or some other libraries with clean APIs and samples? Thank you for your reply. The possibility of network interfaces is likely to be on VLC as , and @Lukas. If you stream everything in a port, and talk to that port, you will have at least got something you can see in the RTP packet also to see if they are well-formed. VLC itself uses the library, so you can use it.

jquery - Download prompt from MVC -

In my MVC application, I use Ajax Post using jquery. Example is shown below var postData = {recordID: selectedRecord}; $ AJAX ({Type: "Post", Data: Postdata, url: '& lt;% = Url.Action ("LoadAudio Player", "Search")%> Success, Action: Results (Results) {Warning (Results );}, Error: Work (Results) {Warning ('Error');}}); In the task of creating a virtual path of a .wav file. How can I do a download prompt in the user public string load audio player (string record id, search modals search modell) {// some operation path = getPath (); \\ Getting the Virtual Path of File Return Path; } I can see the reason for the path because I keep a warning. I want to make an indication for the user whether it wants to download the file or not. How can I handle it with jquery? You will have to open a new window in your success function as a window (pop up) with. This client will query the file stored on your server from the server and ...

vb.net - Add an item in a listview by index number -

All I am trying to find a way to add one of the columns in my listview. The way my code has been prepared is like this: while dr.Read () if dr.IsDBNull (12) then objItem = lstMaster.Items.Add ("nothing") Other objItem = lstMaster intervals (Dr (12)) if objItem with the end if Dr. ISDN Bull (11) then SubItems.Add ("nothing") Other .SubItems.Add (DR (11)) End if How can I say to keep it in just 3 columns (I 5 total (0-4)) Is the bus roll going down and it falls in the sequence? Any help would be great! : O) David You have columns that add as many sub-items. Then the sub index to the bus index that you want to change for example: dim item = list view 1. item. Add to the integer = 1 list as CNT for "Test" (1). Columns Items item. SubItems.Add ("") Next item. Sub-item (3) Text = "blah"

gcc - Linking troubles in C -

I have an test.c which is using code from two libraries. Is linked to a static link (like libstatic.a , other - dynamic (such as libdynamic.so ). Compiled as follows: GCC-i. / Inc -c test_subframeip_omap.c -o test_subframeip_omap.o I now use the static and dynamic libraries How to combine in order to make the final executable? Thanks! Usually something is needed: GCC-i. / Inc -c test_subframeip_omap.c -o test_subframeip_omap.o Gcc -l / path / to / libs -l fixed -nature-test_subframeip_omap test_subframeip_omap.o -L library adds directory to search path and -l , and also link, not compile.

c - function with struct parameter and its inside objects -

I searched with my problem but no success I do not know how the proper function is implemented IFhost () . Well I have a file library file in which I store the variable and the function iphost () . There is another file called main.c where I play the function iphost (...) . I do not really know how to fix my problem. I got the error adr_srvr not the element sin_addr . / home / user / desktop / pap_lab2 / 2 /biblioteka.h|23 Terror: request for member ???? Sin_addrâ ???? Some do not have structure or association. Maybe I have declared strong logic with that star signs and empires Can anyone help me? & Amp; Amp; * Arg & lt; = (Four) '9') {printf ("Paradopodobny Viprovodozono IP:% s \ n", RGR); Inet_aton (arg, and adr_srvr.sin_addr); // here ERROR srvr_addr = inet_ntoa (adr_srvr.sin_addr); }} main.c iphost (argv [2], and adr_srvr); // Fine ? Very little support to reduce the code: I can not go to adr_srvr.sin_addr. char * ...

reflection - .class file in java -

Can anyone guide me in this problem (Remember this problem under the Java Reflection context) There is a Java class named "A" with an internal class named "B" . When I compile this Java file, it creates 2 versions. Class file named "Eccles" & amp; "A $ b class" and if there are 2 internal classes i.e. B, C in the "A" category 3 versions will be created "A class" & amp; "A $ B Class " & amp; "A $ C class" Why does this happen And if I want to read the .class file, then what class file I've read B / C, Then it will ask for A $ B class and be given by: java. Lang.ClassNotFoundException: A $ B class And if we give the A $ B class it will give exceptions java.lang.NoClassDefFoundError: Java.lang .classNotFoundException class A {string_name = "tom"; Square b {int _phoneNo = 8384040; }} There is a Java class named "A" "Internal clas...

java - Casting combobox objects back to their correct type -

I have a combo box of objects (two types; product groups and family) I have a Went out on the limb and tried if (cbFamily.getSelectedItem) for example product group (host), {joppenpan. Show Message Dialeg (Main Window, "You Have Selected a Product Group")} I had no luck Note: I am new to Java I may have to ask more explanation on some answers. Your code should work fine The problem will be somewhere else. Use the debugger, or "system.out.println (cbFamily.getSelectedItem). Write" getClass ()); "Before your" if "to determine which square has been returned from your combobox.

unrecognized objects using Facebook c# sdk samples -

I am starting to use Facebook C # SDK Starting with the sample provided at source (CSASPNETWebsiteRegistrationForm) I added references and used Facebook and Facebook. Sentence like Web but FacebookApps Present. AppId is not recognized by Visual Studio. (Not present in present context) am I forgetting something? Sorry for my ignorance You are missing reference to Facebook.dll and Facebook.Web.dll Are there. These bin files are available in source downloads.

c# - Calling web service from asp.net causes exception but from windows app does not? -

मेरे पास एक asp.net साइट है जो बिंग अनुवाद वेब सेवा का उपयोग करती है (http://api.microsofttranslator.com/V2/ SOAP.svc) सेवा कॉल करने वाला कोड अपवाद का कारण बनता है (कोई समापन बिंदु नहीं सुन रहा था जो संदेश को स्वीकार कर सकता था। यह अक्सर एक गलत पते या SOAP कार्रवाई के कारण होता है। InnerException देखें, अधिक जानकारी के लिए।) लेकिन एक ही कोड विंडोज़ ऐप से काम करता है। कोड: BingService.LanguageServiceClient क्लाइंट = नया BingService.LanguageServiceClient ( ); Res = client.Translate (BingAppID, "टेक्स्ट", "एन", "आर", "पाठ / सादा", "सामान्य"); मुझे यह संदेह है कि यह मेरे डोमेन पर नीति से हो सकता है (जैसे कि iis या somethinng) जैसा कि मैंने किसी अन्य इंटरनेट कनेक्शन का प्रयोग करने की कोशिश की (डोमेन के बाहर, फ़ायरवॉल के बिना सामान्य डीएसएल) यह ठीक काम करता है !! लेकिन जब मैं विंडो ऐप चलाता हूं, तो यह नीति कैसे लागू नहीं होती? आप पर एक आवेदन हो सकता है वेबसर्वर जो आपके इंट्रानेट के बाहर पहुंच की अनुमति नहीं देता आपको इस...

jquery - Setting first option as selected -

I'm trying to set something first to be set as selected Pass I tried jQuery (". AtributosSort") [0]. Selectededexex = 0; and jQuery ("AtributosSort option: first"). Attr ('selected', 'selected'); Both were discussed but when I inspect the DOM, I am using jQuery, because I am not in any sensory mode . Can this be the problem? When I try both attempts to get the selected values, I did not get any error in the script console Another thing that can be relevant I can sort out options with this Loop for each selected element on the function sorted dropdown listBit text () {// page. JQuery ("select"). Keep track of every option (function () {// selected option. var selectedValue = jQuery (this) .val (); // Sort all options of text. I can easily sort them Val JQuery (this). Html (jQuery ("Options", jQuery (this)). Sort (function (a, b) {return a.text == b.text? 0: a.text & lt; b.text? -1: 1} )); //...

Why my Jquery function not working? -

मेरे पास यह jquery फ़ंक्शन --- फ़ंक्शन domail_slide_settings (obj) {$ ( "Div #" + obj)। टॉगल (); } और जब मैं इसे इस तरह कार्यान्वित करता हूँ --- & lt; a href = "#" onclick = "domail_slide_settings ('टॉगल')" Id = "टॉगल" & gt; टॉगल करें & lt; / a & gt; यह टॉगल नहीं करता! क्या किसी को इस बारे में कोई विचार है? कृपया मुझे बताएं, यह एक बड़ी मदद होगी। धन्यवाद अग्रिम! $ ("#" + obj) के साथ प्रयास करें। टॉगल (); और इसे & lt; Div & gt; तत्व, एक एंकर के बजाय

How do I ping a server 100k times via javascript? -

I have a website that keeps going up and down, and I never know when it is I constantly ping it I want to be able to see so that I can see when I went down. Step 1 is to work ping. Step 2 is to remove the results when they take the time to send messages to my pager. I am only interested in step 1. What would be the best way to javascript or flex? Thanks You probably want to try a service: they are for you It will do all

PHP command line output buffer outputs regardless of buffer settings -

I have some classes. I am writing unit tests for which they have resonance. I want to suppress this output And thought ob_start () and ob_clean () would be enough, but they have no effect. Public Function Testing Some () {ob_start (); $ Square = new MyClass (); $ Square & gt; Method (); Ob_clean (); } I have not availed any benefits like ob_start (false, 0, true), and ob_end_clean () . What am I missing? you want something like