Posts

Showing posts from May, 2013

xul - XMLHttpRequest problem -

I'm writing a web application using XUL. In the Iam using the AJAX XMLHttpRequest object to send a request to the server. When I use the GPRS connection to send request to the server from my web application, the request is not going to go, but the readyState has been changed to 4 and status = 0 if the request is not ready to prepare how ready Is happening The same code is working well in the local network, if I send a request from the browser to the server using GPRS, then it is working fine. Can anyone help me in solving this problem? Thanks in advance. not being requested how to do You determine this? Do you use HTTP schemes? If so, the situation == 0 is a problem, (Firefox has the known quirks). Status == 0 also returned when the request is using a non-HTTP protocol. So if you are creating a file: // Request accidentally, it will explain all the symptoms ... [edit] 2009-09-07 Also found this problem: Status of canceled XMLHttpRequests == 0 Since Firefox 3.

c# - Adding Tasks programmatically into the taskList in sharepoint -

I have a task list at URL, what do I want to do when the page loads, loads the task list all together Should work on its sub-sites I want to do it in C # No need to develop yourself because the solutions available in the box are available. Out-of-The-Box If you have Office SharePoint Server 2007 (not just WSS 3.0), just add the Content Query Web Part to that page Give where you want to add collected data then configure it to display items from the task list. Another option that works, if you have WSS 3.0 then SharePoint Designer can add data to the Web Part on page and configure it to do the same, although only fixed From sites set. There are other ways that you can buy. Custom If you still want to go down the custom route, there are also many options. Then take a look at what they are doing, some of them require an Office SharePoint server. There is also a method of looping through sub-sites, after obtaining an example in each list, if you have several sub

html - How to force link from iframe to be opened in the parent window -

I need to open the link in the same original page rather than opening it in a new page. Note: iframe and guardian pages are the same domain . I found the best solution to use the base tag. Add the following to the top of the page in the iframe: & lt; Base target = "_ parent" & gt; This will load all the links on the page in the original window. If you want to load your link in a new window, use it: & lt; Base target = "_ blank" & gt; This tag is in all browsers.

delphi - Clicking relative link goes to about:<relative link> which does not show wanted page -

I am using 14.77.9 TemperedWB in a project in Delphi 2007. I use TembedWW in conjunction with headformstring. All this works as I want, but when click on the link in the page, it goes to a page which I do not expect. For example, if the page is a specific IMDB result on the site and clicks on the link on that browser: / title / tt1041829 / I think I forgot to set up some additional asset or I am doing something wrong. If someone can tell me correctly, then I appreciate it. The problem is that the page that the web you are accessing uses relative links and reference points Another way to decide whether it is also relative, it is your loadframestring that loads through "about: blank" page; for another LT injection; Base href = "http://www.originaldomain.com/originalpath" and GT; The tags in the HTML header (LT; between head and gt; and & lt; / head & gt; tags) will tell the browser, where the relative tags start and will fix the problem without inspec

java - Launching a subprocess which survives parent process -

इस सवाल का पहले से ही एक उत्तर है: < / P> 6 उत्तर मैं एक एक जेवीएम से सबप्रोसेस, लेकिन मैं चाहता हूं कि यह जीवीएम बाल प्रक्रिया से पहले बंद हो। मैंने इसे विंडोज़ एक्सपी पर जेआरकीट के साथ करने की कोशिश की लेकिन ऐसा लगता है कि जेवीएम अपने समाप्त होने से पहले बाल प्रक्रिया समाप्ति की प्रतीक्षा करता है। क्या एक बच्ची प्रक्रिया शुरू करने का कोई तरीका है जो मूल प्रक्रिया के स्वतंत्र हो जाता है, यानी जो मूल प्रक्रिया समाप्त होने के बाद समाप्त होता है? धन्यवाद।

asp.net mvc - x.BeginForm() and ViewData -

I have a scene where I initially used HTML. BeginForm () After posting, I show a message with ViewData ["Message"] It works fine. When I turn to Ajax. Benefit (), Viewedata ["Message"] is zero. What am I missing? I think that when you use HTML Beniform Your administrator is re-presenting the current view, so the message will appear correctly in HTML. When you make Ajax requests, it is up to you to decide what should be after success. This Ajax Benefit can be done with the AJAX option parameter, where you can set the Javascript callback function on ons property.

reflection - How to get the list of all attributes of a Java object using BeanUtils introspection? -

I have a method that becomes POJO because this parameter is now I want to get all the properties of the program (Because my code does not know that it has all the properties in the time of running) and needs to get value for properties, in the end I will present the string of POJO. I could use, but I want to create my output string in specific format according to my requirement. Is it possible to do this in rotation? If so, any hint for the method name? If not, should I write my own reflection code? Have you tried? It seems that what you describe should be done.

javascript - How to flash web browser's window using JS -

I'm writing in the web app that refreshes the web page (dashboard) that refreshes every 10 seconds if If there is any new data then I have to draw attention to the users. According to me, the only possible solution is to attract users by flashing the browser window. So if the browser window is not an active window then the user will see the blinking icon on the Windows taskbar. How can I do this in Java Script? At present, we change Google's title bar content by the way. But our client wants to wink the browser window because they have seen something on the web with live help (chat). What if the webpage's title text "New Data" in every few seconds gives you a new message Sends?

java - Can I render to several displays from the same JVM? -

I have 4 Java applications that provide some ADT graphics. They all present different X displays, which we configure at JVM startup time. I would like to run them from the same JVM. In this way, I launch a Java app, and it opens four screens, which provide their content in different displays. Is this possible in Java? I had a similar question. Actually, you need to migrate from the GraphicsEnvironment.getLocalGraphicsEnvironment () with the graphics environment of each device in your GeFrom. GetScreenDevices ()

cocoa touch - Removing View from its SuperView, Notifying the Subviews on iPhone -

What happens when the scene is removed from its super view? Does this sub-idea get any message? For example, my Subview 2 and Subview 3 have been added to Subview 1 like superview -> Subview 1 -> Subview 2 -> Subview 3 If I click on Subview 1 Delete [subview1 removeFromSuperview] by; What are its sub-views (Subview 2 and Subview 3) received? Is there a way to find SubViews that their super view has been removed? It depends on the number of subview2 and subview3 retains. If you make them through [[UIView alloc] initWithFrame: frame, and add them as subviews, then they will have a number of 2 will be maintained. (Or 3, if you have a reference in a retained property, i.e. self.subview2 = [[... ... So if you want them to be released, when Subview 1 Is released, make sure you add them as a sub-release and release another release, so that they are calculated from one to only one being added as a subview. UIView * subview2 = [[UIView alloc] initWithFrame: m

iphone - Looking for tutorials on iPhoneCoreDataRecipes App -

I find it difficult to find out how views are loaded and wired with TabBarController in the iPhoneCoreDataRecipes app. How do anyone have to learn the concepts presented in this Apple sample app? I have read other items on the Apple developer site. - (zero) applicationdeffincial launching: (UIApplication *) application {recipeListController.managedObjectContext = self.managedObjectContext; [Add windowSubviewview: Tabbar controller. picture]; [Window-making and knowledgeable]; } my understanding of the above Line 2: inventory controller public relations? Line 3: Adding a Sub View to the Tab Controller View? If the understanding of my line 3 is correct, then where are the other ideas, unit conversion, tab controller added? A tab bar controller needs a list of view controllers I have not seen this specific spec, so It can be taken care of from the first line, however, normally you will do the following: Instant all view controllers: UIViewcontroller * viewContr

linq - the point of the Field extension method -

डेटारॉ पर फ़ील्ड एक्सटेंशन विधि का क्या मतलब है (अन्तर्हित डेटाटैबल्स के लिए)? फ़ील्ड का उपयोग करने के साथ फ़ील्ड का उपयोग करने या नहीं। फ़ील्ड : फ़ील्ड : (गुड) myRow ["myColName "] मुझे कोई सम्मोहक सुधार नहीं दिखाई देता। विस्तार विधियों को DBNull की अवधारणा, दोनों दिशाओं में - फ़ील्ड और SetField , संदर्भ प्रकारों और नल योग्य मूल्य प्रकारों के लिए सार को दूर करता है। गैर-नल योग्य मूल्य प्रकार के लिए वे समतुल्य हैं।

css - Why doesn't a:hover work on an anchor without an href attribute? -

In my application, I can not find a: hover My anchor tag does not have any href attribute when CSS style works. Is there any reason for this? IE does not support one: href hover in a tag without a href = "#" or Href = "javascript: zero (0);" However this final option may not work on IE6. or use JavaScript mouseover / mouseout.

javascript - How to use SIFR or Facelift with ASP.net? -

Has anyone used SIFR or Falclot (FLIR) with ASPC? I saw that all the scripts included with FLIR are all PHP pages I looked around but it seems that there is no good solution for image replacement for ASP.NET. SIFR is a client-side technology that takes advantage of javascript and flash, so the server- Use side language, is much more independent than it, for some examples of implementing it, see.

Custom jQuery event -

I want to make my own event - OnPositionChange. Organizing the course implementation is not a problem. The point is, when the style of the top or the left changes, how can it be triggered? Should I overwrite the prototype of the $ .css () function, or is there a better solution? Not sure about an ideal method, but you can always set an interval which Does that CSS value have changed, and then this event has been triggered: // Bind $ ('#'. Element ') PositionChange (function () {. ..}); $ .fn.PositionChange = function (Data, FN) {// Function to Border and trigger the algies later on event = $ (this); Self.bind ('PositionChange', data, fn); Var top = self.offset (). Top; Var left = self.offset (). Left; SetInterval (function () {if (self.offset (). Top! = Top || self.offset (). Left! = Left) {self.trigger ('PositionChange');} top = self.offset () Top ; Left = self.offset () .left;}, 1000); // you can use a different interval from 1000 ms}

How to rename a folder using Ant? -

I want to rename my application folder with a time stamp and then using the same folder name, one of my app I want to open a new version. Using ant, it seems that you can move from one folder to another. Is this the only way I can do in ant? The trick works by what you do, but the naming is a bit confusing. If you believe that your directory is a 'file' in the Java sense - a file system handle that can represent, a directory in the middle of others or a file in general sense - then the trick function is understood then the following & lt; Move file = "mySourceDirName" tofile = "myTargetDirName" /> This means that instead of myTargetDirName rename / move mySourceDirName directory. Below > To move the directory mySourceDirName to the existing someExistingDir directory to become the child directory. , the 'file' attribute in the ant refers to the target in question, and reference to the 'todir' attri

javascript - Handle user hitting 'Enter' key in a ASP.NET MVC web site -

I am working on an ASP.NET MVC web site that has multiple submit buttons. I.e. & lt; Input type = "submit" name = "submit button" value = "reset" /> & Lt; Input type = "submit" name = "submitButton" value = "OK" /> & Lt; Input type = "submit" name = "submitButton" value = "back" /> I have to allow users to quickly submit a form by pressing the 'Enter' key. The HTML standard specifies that if a user presses the 'Enter' key then the first submit button will be assumed. However, I need to make the default button (i.e. "OK") button, and for reasons I do not want to talk about it, changing the button order is not an option I googled around And I found about the page. ASP.NET in Form.DefaultButton but it does not work with ASP.NET MVC. I also tried the following Javascript solution, while it works in Chrome but does not work in IE6 $ ('

php - Being redirected to the wrong place - sometimes -

I have a JavaScript set interval that checks out every 5 seconds external page for the mail, I think If I log in or click a form is stored at the same time when the request ends, I sometimes was looking at Y or N (to block my JS) instead of the real link. How does this debug it? I'm using Firefox with firebug, my app is using PHP with javascript. EDIT: It is almost as if the fight over Java is ending, and this user is signing it because it is signing it ... this only happens when someone changes the page Ho and Java are running at the same time. Edit 2: If you want to see it for yourself, you will need to visit my site and create an account and signup process (2-3 to top Minutes), and the Beta password is goldfish . What you want to do is log-in, like check mail sends your request. Like this I have to cancel something or callback to callback or throw something away. You should show the request every 5 seconds, (well it adds 5 seconds each request) but you will see it.

ZoneEdit api Rest example -

Is anyone an example of using the field editing API? I have looked at the docs and there is no clear example. Preferably I want to interface through ZoneEdit through REST. Darren

arrays - How do you concatenate Lists in C#? -

यदि मेरे पास है: सूची & lt; स्ट्रिंग & gt; myList1; सूची के & lt; स्ट्रिंग & gt; myList2; MyList1 = getMeAList (); // चेक किया गया myList1, इसमें 4 स्ट्रिंग्स शामिल हैं myList2 = getMeAnotherList (); // चेक किया गया myList2, इसमें 6 स्ट्रिंग्स myList1 शामिल हैं। कॉनकेट (myList2); // चेकलिस्ट mylist1, इसमें 4 स्ट्रिंग्स हैं ... क्यों? मैंने इस तरह के विज़ुअल स्टूडियो 2008 में कोड चलाया और हर निष्पादन के बाद ब्रेक पॉइंट सेट कर दिया। myList1 = getMeAList (); , myList1 में चार स्ट्रिंग होते हैं, और मैं यह सुनिश्चित करने के लिए प्लस बटन दबाया कि वे सभी नल नहीं थे। myList2 = getMeAnotherList (); के बाद, myList2 में छह स्ट्रिंग होते हैं, और मुझे यकीन है कि वे रिक्त नहीं थे ... के बाद myList1.Concat (myList2 ); myList1 में केवल चार तार हैं ऐसा क्यों है? कॉन्सैट एक नया क्रम देता है myList1.AddRange (myList2) । आज़माएं

svn - Is there a Subversion user's guide to Git? -

I am a new user in the world of guitto I used subversion (using TortoiseSVN) and it is very easy . I want to try the git but I was confused with words. Is there a document / guide that can tell me how to use Git? For example, in subversion I use checkout; Which commands should be used in GIT? Any good book about GIT that I could use? These are two good guides: < Li>

How do I define my own hardcoded Ceilings and Floors in Sql Server? -

I have some SQL statements that calculate some numbers. It is possible (with bonus points / penalty points) that a person can get more than 100 (with bonus points) or 0 (with penalties) final scores. How can I ensure that the value is calculated, if it is more than 100, then maximizes to 100. Alternatively, if the score is less than zero, then it is minus 0. I'm assuming that I can use a simple UDF which does this math - it's not difficult, I'm not sure if it's already there? I checked out and these two are doing other things, not what I am. Thoughts? Tes, it would be nice if SQL Server ANSI-SQL "horizontal" works in a consolidated way What exactly are others suggesting: " MIN (score, 100) ", etc. Unfortunately, it is not that you can not do this Normal way This matter is with expression: Select when the score between 0 and 100 hits when & lt; Bandscosm from your table as 0 THEN 0 ELSE 100 END

c# - I have added the child controls on repeater control. that child control not firing the event -

I have created the wizard control, along with that I have made the repeater control. There are three radio buttons in this repeater control. Dynamically created. I want to fire the investigation of a radio button. Find the code: ** panel objPanel = (panel) wizard 1. Magicstep [Wizard 1 ActiveStepIndex] .Controls [5]; Repeater reptrAddQuestion = new repeater (); ReptrAddQuestion.ID = "reptrAddQuestion" + (count-1); String [] obj = new string [2]; ReptrAddQuestion.Visible = true; ReptrAddQuestion.DataSource = obj; ReptrAddQuestion.DataBind (); ReptrAddQuestion.EnableViewState = true; Int control Idvalue = (Calculate - 1) + 1; {Radioboton R.Dobboton = new radio button (for; index; index; lt; = reptrAddQuestion.Items.Count - 1; index ++); RdoBtn.AutoPostBack = True; RdoBtn.ID = "RdoBtn" + controlIdValue.ToString (); RdoBtn.CheckedChanged + = New System.EventHandler (RdoBtn_CheckedChanged); RdoBtn.EnableViewState = true; ReptrAddQuestion.Controls.Add (RdoBtn); C

c# - xna networking problems -

We are working on a multiplayer game, however we have tested some problems. I realized that we need to launch a game on two computers to be able to test this, although it seems that I can not use the same gamer tag (or live account you would like) for both clients What exactly do we need to take exams? I have got club membership of a payment XNA creators. Other developers have a Windows Live ID and a gamer tag. When we try to launch a client / server instance on two machines on the local network, we receive an error message that no game session can be found. Any thoughts? / muxare Ensure that both computers On the same subnet, the "type" of the account (Creator Club, Gold etc.) should not really make a difference, both accounts can actually be local silver accounts. :)

java - Can someone explain the conversion from byte array to hex string? -

I recently started looking for MD5 hashing (in Java) and I have got to help complete the algorithms and methods, I think how it actually works. For one, I found out of the following: Convert Private Static String ToHex (Byte [] data) {StringBuffer buf = new stringbuffer (); {Int halfbyte = (data [i]>>> 4) & amp; nbsp; (for int i = 0; i & lt; data lamps; i ++) & amp; 0x0F; Int two_halfs = 0; Do it {if (0> = halfbyte) & ampby; (halfbyte & lt; = 9)) buf.append ((four) ('0' + halfbyte)); Else buf.append ((four) ('a' + (halfbyte - 10)); Half-bite = data [i] & amp; 0x0F; } While (two_half ++ & lt; 1); } Return buf.toString (); } I do not need to use bit-shifting in Java, so I'm a little disturbing on that enough to explain to someone (in simple words) the above code conversion How does ">>>"? I also found other solutions on the stack overflow, like, and, which instead uses the bigteger: try {string s

url rewriting - Tracking where a custom 404 is handled - code, IIS, etc? -

Is there a way to control a 404 error within the code? We do not seem to have a site that we are hoping for. We have changed the IIS custom error page to point to the new page, but we feel that it still redirects to the root of the old 404.htm file This site can be seen. We can not see why this happens and why this happens. How can we get logic of reason?

How to login without leaving RP by showing the OP login window in iframe? -

How to login to show an IP login window in an iframe to leave the RP? I opidid > Using an iframe is compromised on excessive , because the user will enter his credentials on the page that looks such that it is your RP But it is believed that it is OP. It teaches users to phishing. If you are going to use an IFrame, then you have to do very little work. In some ways you can take though. If you are taking OpenID Identifier from user on page and displaying an iframe based on user input, then the easiest way is to use Javascript, when user can click on "Login" to create an iframe and UserSuppliedIdentifier . That page will execute an openID search on the identifier and will redirect the standard to the OP, which will be restricted to iframe since the request has come from that time. Send OPID to OPD.Ret_You should be on a special page, how to return the IFrame's "pop out" to your main window. This is really a very similar flow in the popup window

objective c - Cocoa Distributed Objects, Long Polling, launchd and "Not Responding" in Activity Monitor -

Scenario: I have an object-based IPC distributed between a Mac application and launch daemon ( Written with Foundation classes). Since I have problems related to asynchronous messaging (for example, I have a register client: the root object on the server and whenever an event occurs, the server's root object indicates a method in the proxy object of the client / call ), I used to vote for a long time, which means the "Crop" list of events / notices from the Customer Daemon, it's the "Crop" call of a server object method call Done Yam, which then returns an NSArray instance. It works very well, for a few seconds, the process of server object (launch through launch) starts to be labeled with "(no answer)" tag with red (activity) Inside the monitor) Like I said, functionally, it works well, but we want to get rid of this "no answer" label. How can I stop this "no answer" tag? FYI, I had already started the launch-base

Java - converting byte array of audio into integer array -

Let me pass audio data in a 3-party system as "16-bit integer array" (I have limited documents) Will happen . This is what I have tried so far (the system reads it as a result byte data file). AudioInputStream inputStream = AudioSystem.getAudioInputStream (new file ("C: \\ all.wav")); Int numBytes = inputStream.available (); Byte [] buffer = new byte [numBytes]; Inputstream.read (buffer, 0, numbytes); BufferedWriter fileout = new buffed vater (new flamer (new file ("c: \\ temp \\ bytes.dat"))); Bytebuffer BB = BitBuffered.butter (buffer); While (BB) clearance ()> 1) {abbreviated current = BBTat (); FileOut.write (String.valueOf (current)); FileOut.newLine (); } It does not appear to be working - the third party system does not recognize it and I can not even import the file as raw audio in Audacity. Is there anything clear that I am doing wrong or is there a better way of doing this? Additional information: wave file 16 beats, 44100 HJ,

java - Can Drools Flow scale to executing hundreds of thousands of process instances per day? -

I am currently evaluating Doros Flow as a workflow engine for the execution of hundreds of process instances per day. Has any scalability benchmark published for this technology? Does anyone have any relevant experience in the absence of published results that they can share? They come as fast as it is too small and light if it fights You will need the original code, we have an experimental native flow compiler - but I would be very surprised if it is needed. If you have any problems contact us.

qt cannot open input file 'c:\Qt\qt\lib\qtmaind.lib' -

I am using QT 4.5 I have created a project and I used Visual Studio 2008 For Windows Mobile 6.0 I want to compile, I have done project files like this: D: \ projects \ phone_ipia \ phone_pa & gt; Set QMKEPEP = WIN 32-MSVC-2008D: \ Projects \ Phone_PIDA \ Phone Pinia & gt; QMAC - TP VC VS The project was created. However, when I try and compile, I get this error: LINK: Fatal error LNK1181: Can not open the input file 'c: \ qt \ qt \ lib \ qtmaind.lib' However, when I look at my library and are included under project properties in Visual Studio. I have this: Additional included directories c: \ qt \ qt \ include \ qtCore c: \ qt \ qt \ include \ qtgui c: \ qt \ qt \ c c \ \ qt \ Qt \ include \ ActiveQt debug c: \ Qt \ qt \ mkspecs \ win32-msvc2008 Additional Library Directories c: \ qt \ qt \ lib Additional dependency c: \ qt \ qt \ lib \ qtmaind.lib c: \ qt \ qt \ Lib \ QtGuid4.lib c: \ Qt \ qt \ lib \ QtCored4.lib However, when I browse the directory

API to get an iPhones unique ID? -

Two part question: Is there a unique ID in addition to the MAC address in the iPhone ? If so, is there an API call that I can use to get it? (Hopefully this is not a duplicate, I have not found anything in the iPhone has a unique identifier, which is called UIDID (this same identifier is used) , When it is used) Setting up an instrument for development or ad-hoc distribution). You can retrieve it: NSString * uniqueIdentifier = [UID device current device] .uniqueIdentifier;

c# excel range.FormulaArray, if you have time can you try below c# program with two different FormulaArrays -

Can someone tell me why this does not work Excel.Worksheet ws_res = (Excel worksheet) wb.Worksheets.Add (wrong, wrong, wrong, wrong); Excel.Range range_res = (Excel.Range) ws_res.get_Range ("A1", "HM232"); Range_res.FormulaArray = "= ROUND (IF ((IF (Sheet4 A1: HM232 = 1.0," + IF (Sheet4A1: HM232 = 0,1, Sheet4A1: HM232))) = 1, 0, " + "IF ((IF (Sheet4 A1: HM232 = 1.0," + "IF (Sheet4 A1: HM232 = 0,1, Sheet4A1: HM232))) = 0,1, (" + "IF (Sheet4A1 : HM232 = 1.0,! "+" IF (Sheet4 A1: HM232 = 0,1, Sheet4A1:! HM232)))))), 0) "; but it does Excel.Worksheet ws_res = (Excel.Worksheet) wb.Worksheets.Add (wrong, wrong, wrong, wrong); Excel.Range range_res = (Excel.Range) ws_res.get_Range ("A1", "HM232"); Range_res.FormulaArray = "= ROUND ((IF (Sheet4 A1: HM232 = 1.0, IF (Sheet4 A1: HM232 = 0,1, Sheet4 A1:! HM232)), 0)"; ======================================= ======================

tsql - Using a cursor with dynamic SQL in a stored procedure -

I have a dynamic SQL statement that I created in a stored procedure. I use the cursor again to get results Need to run I have difficulty finding the right syntax here What I'm doing here Perform select @SQLStatement = declared Choose userId from users' @UserId users_cursor cursor announced here @SQLStatment --Fails for. Like Doesn''t fetch the open users_cursor @UserId inquiry Next users_cursor while @@ FETCH_STATUS = 0 start the completion of the closing EXEC asp_DoSomethingStoredProc @UserId users_cursor deallocate users_cursor Right to What's the way declared A cursor will accept only one select statement, so if the SQL is really dynamic You need to use the global cursor to work your server down the cursor part of the statement you are performing. Of @UserID varchar (100) @sqlstatement nvarchar (4000) announced to declare --move declared cursor to execute announced cursor SQL set @sqlstatement = 'User to User to select the cursor "User

jQuery selector for every row except the first on every table except first -

I want to apply the correct alignment on the last cell of each table row, leaving the first table on the page and leaving it first. I wrote the following: $ ("table: gt (0) tr: gt (0) td: last-child"). CSS ("text-align", "right"); Tables well after being selected first. The last cell in each row is aligned in the right. good. The first row in the first table is omitted in the result set. good. The result is the style applied to each row in subsequent tables in BAD. I have tried to pass the function to "each" method on the wrapped set, but it is not working. Any ideas? You were almost there. $ ("Table: gt (0)"). ("Text: align", "right"); Otherwise, tr: gt (0) is always true Because jquery is looking at every tr, not in every tr in each table.

c++ - What is the best practice regarding const instance methods? -

The answer to the accepted answer indicates that a member will return a non-contact reference by frequency method compiled (one Without artists or members capable of making variable changes), a common best practice discussion of the questions const constant methods has been discussed. For the future generation, here is the basic question: If I have an object with a geller who gives non-concent references, for example: SomeObject & amp; SomeOtherObject :: foo () {someObjectInstance return; } Should it be constrained? Obviously, this call does not modify the object, but the caller can modify some object instances, which will change the example of some other objects. I think my question really is " what exactly is a member method? " does this a) the call will not mutate the object only or B) call There may be no change in the object during, or as a result of the returned reference / pointers, warnings for those who do const_casts). In a different form, I c

c# - .NET equivalent of MFC function SetModifiedFlag -

What is the equivalent call in .NET? The MFC documentation means that it is only necessary when the state changes continuously, and I am unsure whether continuous state in NIT controls will be considered. SetModifiedFlag (); This is not clear from your question how you are actually converting , But it seems to me that your conversion may be accurate Too many I can not think of enough analog for MCC's CDcast object, so it's likely that with adherence to CDcast functionality, C-and-Cleid Functions. You probably want to translate it on a conceptual basis and instead of looking at them on one-to-one basis, call the set-modified flag, as if calling in their purpose is better.

asp.net - set the height of freetextbox -

How should I go about setting the height of freetextbox? I want a proper text box size based on the length of text in the text box. Just set the height of the text box as much as you want ... like .. & lt; FTB: Freetextbox ID = "TTTDSC" runat = "server" width = "590px" height = "300px" & gt; & Lt; / FTB: FreeTextBox & gt;

text - in Ruby, trying to convert those weird quotes into "regular" quotes -

I am trying to parse a text file whose strange quote is in "and" like "general quotation marks" " I tried to do this: text.gsub! (" ", '' ') Text.gsub! ("" ", '' '') But when it is done, they still exist there and \ x93 and \ x94 , so I tried to add them also with any luck: text.gsub! ('\\ X93 ',' '' ') text.gsub! (' \\ x94 ',' '' ') The problem is, when I show those strange quotes on a webpage When I try, it makes a weird diamond with a question mark mark: It seems that: text =" "foo" "= & gt;" \ 342 \ 200 \ 234foo \ 342 \ 200 \ 235 "irb (main) : 002: 0> Text.gsub! ("" "'' ') = & Gt;" \ "foo \ 342 \ 200 \ 235" irb (main): 003: 0> Text.gsub! " "\" Foo \ "" To remove all the character code contained in it, you must use t

jsp - Java bean with JNI? -

I added the basic method to the Java Bean code. Then I got into System 32. HTTP status 500 - Type exception report This returns an error < / P> Message The description server encountered an internal error (), which prevented it from completing this request. Exception org Apache.jasper.jasperException: javax.servlet.ServletException: java.lang.UnisfiedLinkError: Binder.Maisimpluain. Hello () Ljava / lang / String; Orgkapachekjesprksserwletkjaspasrvletwrpperkhndlejaspekssepshn (Jaspasrvletwrpperkjawa ... 22) Orgkapachekjesprksserwletkjaspasrvletwrpperksrvis (Jaspasrvletwrpperkjawa:398) Orgkapachekjesprksserwletkjaspasrvletksservisejspfile ( Jesuservelet.java: 342) org.apache.jasper.servlet.jspServlet.service (jspServlet.javamore67) javax.servlet.http.HttpServlet.service (HttpServlet.java:717) Root cause javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: BeanDir.mysimplebean.sayHello () Ljava / lang / String; Org.apache.jasper.runtime.Page

math - How to calculate log of a complex number to a base other than 'e'? -

Image
I have been deducted virtual VB6 from this project: You can use the following mathematical: <10> log 10 = log (x) / log (10) log2 = log (x) / log (2) "alt text"> ... logon = log (x) / log (n)

java - JCIFS NTLM Authentication for HTTP Connections on GlassFish (or any servlet container) -

I have created a Java class that connects to an IIS website which requires NTLM authentication. Java class uses the JCIFS library and is based on the following example: Config.registerSmbURLHandler (); Config.setProperty ("jcifs.smb.client.domain", domain); Config.setProperty ("jcifs.smb.client.username", user); Config.setProperty ("jcifs.smb.client.password", password); Url url = new url (location); Buffer Reader Reader = New buffed reader (new input train reader (url.openstream ()); String line; While ((line = reader.readline ()) = null {} System.out.println (line); } example works fine when executed from the command prompt, but as soon as I tried to use the same code in a servlet container (especially GlassFish) therefore I A IOException I have tried to run a pinch jar for system classpath (% GLASSFISH% / lib). , But it does not matter. Suggestions are highly appreciated. It seems that I was trying to do that is supported already in Java

deployment - Problem deploying Python program (packaged with py2exe) -

I have a problem: I used py2exe for my program, and it worked on my computer. (Still worked on my computer), but when I sent it to another computer, I found the following error while trying to run the application: "CreateProcess failed; code 14001." The app will not run (note: I am using wxPython and multiprocessing modules in my program.) I went a little bit for this and found that the user should redistribute some MS, but I am not responsible for my users. Want to Is there a solution? Version: Python 2.6.2c1, py2exe 0.6.9, Windows XP Pro You need to rename msvcr90.dll, Microsoft.VC90.CRT.manifest, and python.exe.manifest ([yourappname] .exe.manifest in your installed directory). If you install Python with the option "Only for me", these files will be in Python 26 directory on your system. Instructions for doing this. Do not forget to call your main function, or you encounter problems when you start a new process. While others have discussed in y

Getting Excel 2003 to interpret a pasted number with leading zeros as text (works fine in 2007) -

I know that there are other similar threads on the SO, but they have to prefix cells with text and / or cells Suggest '. I have done both of them, and it works fine in Excel 2007, but when I open the exact same template template in Excel 2003 and paste it to the same source, then this leading zero Does it have any other possibilities? Can a macro do something? EDIT: I got a solution to a different problem which also fixes it properly. Record a macro which uses 'paste special' as text, and overrides ctrl-v on that spreadsheet. If you use a leader, then it should work.

ejb 3.0 - Configuring an MDB in JBOSS -

कैसे maxMessages गुण MDB को प्रभावित करता है? उदाहरण के लिए: @activationConfigProperty (propertyName = "maxmessages", propertyValue = "5") यदि अधिकतम सत्र 10 है तो यह कैसे प्रभावित होगा? इस पर थोड़ी ऊनी होती है, वे कहते हैं कि मैक्स मैसेज को के रूप में परिभाषित किया गया है सत्र की डिलीवरी करने से पहले प्रतीक्षा करने के लिए संदेश की संख्या, प्रत्येक संदेश को अभी भी एक अलग लेनदेन (डिफ़ॉल्ट 1 ) मुझे लगता है कि आप सोच रहे थे कि क्या यह एक बार में एमडीबी से गुजरने वाले थ्रेड्स या समवर्ती सत्रों की संख्या को प्रभावित करता है, लेकिन ऐसा लगता है कि यह पैरामीटर उस व्यवहार से संबंधित नहीं है, और इसलिए कोई संघर्ष नहीं है।

mvvm - using WPF navigation in standalone applications -

Using WPF Navigation in standalone applications is best practice? And can it be used with WPF MVVM patterns? To answer your second question, yes, WPF Navigation was successfully used with MVVM patterns goes. As far as the first question comes, the best answer is 'it depends', in particular, it depends on the application you are trying to make; Some applications are logically 'navigation' applications, where users are expected to navigate through a series of screens in some frames, while other applications have different criteria, which I can give you the best advice He does not have to fight it - if your application is understandable in the navigation context, use WPF navigation in every way, but if it does not So, do not try to cover it in one. Perhaps your method is the best way to decide whether your application uses the navigation patterns or not; whether the back button is understood or not; If this happens, you will want to use the frame or navigation

asp.net - HttpRequest object in HealthMonitoring -

I am installing some health monitoring for an ASP.NET 2.0 app. To be able to select the original web request object I want to inspect the header sent through the medium and I would like to inspect any post data if possible. I currently have an event provider that is inherited from WebEventProvider, but it only includes HttpWebResponse data, not the request. How can I go about this? Do you want to monitor only for monitoring your application or monitoring all applications in IIS? For your own application only, you can create a class and get it from IHttpModule and in the Init method, you can also create event notifications to monitor the request of any other state. Public class MyMonitor: IHttpModule {Public Zero Init (HttpApplication Reference) {/ You can see any such event and answer the reference accordingly. BeginRequest + = New EventHandler (context_BeginRequest); Context.PostUpdateRequestCache + = New EventModer (Reference File Update) Request; Context.Error +

.net - How to make your software able to run only when the original CD is present in CD Drive -

I have to run only when the original CD is present in the CD drive. Apart from this, the user should not be allowed to copy the CD. You can not do this - - Your software may be running in virtual machines with a virtual CD drive And people can configure them to be indistinguishable from the real thing. I believe that some game companies have attempted such a plan where they physically put a CD and play only when it got those flaws. The idea is that the naivety program is not able to copy the disc due to unreadable parts, or the same physical fault as the original copied will not be. However, unless you have access to such a device, I do not think you can do this.

sql server - SQL objects that use an index -

Is there a way to see that SQL objects use a fixed index from a data base. But I do not want to see the execution plan for every object because I have many stored procedures and ideas PS it is for SQL 2005 Database objects do not use any index, do queries. A table or view can be an index defined you can call it management studio . In the property tree. This or may not be later table or view . Whether or not to use index, it is decided during the query parsing phase. Seeing the execution, the plan is the only way to determine whether the query uses the index or not.

java - Is there a neater way of testing calls to mocked methods for each item in a list -

This is an example of a pattern that I've encountered a lot lately. To test how I have a method that takes a list and can apply some other method (s) to each item in the list, I define a loop in the call parameter specified in Iterator and JMK expectations. The call is made against each item of the iterator (see trivial examples below). Look at the Hamakrister Matters, but there is no such thing which test (or how wrongly available matters work) for it. Does anyone have a more elegant attitude? Package Com Hbsbc.maven.versionupdater; Import java.util.ArrayList; Import java.util.Iterator; Import java.util.list; Import org.apache.maven.plugin.testing.AbstractMojoTestCase; Import org.jmock.expectations; Import org.jmock.Mockery; Import org.jmock.Sequence; Import org.jmock.internal.NamedSequence; Public category FooTest AbstractMojoTestCase {public interface bar {void doIt (String AGR) extends; } Public square Foo {Private times; Public Zero Execute (Ultimate list & lt; st

objective c - error: expected specifier-qualifier-list before 'GKPeerPickerController -

I'm receiving this message (in the title). If you have been wanting to see what I just look quickly at your code, I have begun to implement peer picker, so I'm not working yet fully. I need some advice / support in the first part. The error appears in M-file between two .import statements, meaning that it could be something wrong that I've used Jikepiiarpikrkantrolr header file. Bluetooth_Ad_Hoc_NetworkAppDelegate.h #import & lt; UIKit / UIKit.h & gt; @ Class Bluetooth_Ad_Hoc_NetworkViewController; @interface Bluetooth_ad_aq_network appDialegate: NSObact & lt; UIApplicationDelegate & gt; {UIWindow * window; Bluetooth_Ad_Hoc_NetworkViewController * viewController; GKPeerPickerController * Picker; Jijunesh * session; IBOutlet UILabel * Status; NSDT * Data; } @ Property (Nonomatic, Rectangle) IBotllet UILb * Status; @protecti (nontomic, retten) gkppitter controller * picker; @property (nonatomic, retained) G2Cession * session; @ Property (Nonomatic, Re

datetime - Adding hours to Javascript Date object? -

This surprises me that JavaScript's date object does not apply to any type of function. I just want a function that can do this: var now = date.Nan (); Var Chauraurilator = Now Added (4); Function date.prototype.addHours (h) {// How do I apply it? } I just get some hints in some direction. Do I need to parse the string? Can I use the settime? How about milliseconds? Like this: New date (millisecond + 4 * 3600 * 1000 / * 4 hours in MS / *)? It looks really hack though - and it also works? JavaScript has a terrible date / time API, this is the only way to do this in pure JavaScript. I would recommend - as suggested by Nusrud - if you are manipulating in a lot of time, though. Date.prototype.addHours = function (h) {this.setTime (this .getTime () + (h * 60 * 60 * 1000)); This return; }

c# - Will a .NET Windows Forms application work in a 64-bit OS or does it need to be modified? -

Generally, one. Will the NET Windows Farm application work in a 64-bit OS or need to modify it? / P> < P> If this does not rely on 32 bit external libraries (such as COM component), then it will work as a 64 bit process and its benefits (instead of the big address, x64 instruction set, ...) Will take advantage of If it relies on 32 bit stuff, most of the time, you can run it as a 32 bit application, setting the targeting platform in x86.

regex - Help with regular expression with mod_rewrite -

मेरे पास ऐसा लिंक है जो मैं बदलना चाहता हूं: mypage.com?page = मिशन & amp; आईडी = 5 mypage.com? Page = hello मैंने उन्हें इसके साथ आसान लिंक में बदलने की कोशिश की: विकल्प + अनुवर्ती लिंक्स पुनर्लेखनइन्गइन ऑन RewriteRule ^ ([^ /] *) / ([^ /] *) $ /index.php?page=$1&id=$2 [एल] यह काम करता है लेकिन अगर मैं (Mypage.com?page=hello) जैसे पृष्ठों तक पहुंचना चाहते हैं मुझे लिखना है: mypage.com/hello/ और अगर मैं लिखूं इस तरह से अंत में स्लैश के बिना mypage.com/hello यह काम नहीं करता है। मैं कैसे करूँ इसे ठीक करो? :) यह काम करना चाहिए: RewriteRule ^ ([^ /] *) (/ ([^ /] *)) $ $ /index.php?page=$1&id=$3 [एल] यह स्लैश को वैकल्पिक द्वारा बना देगा इसमें एक वैकल्पिक समूह में ( (...)? द्वारा निर्दिष्ट किया गया है, क्वेरी स्ट्रिंग के वैकल्पिक दूसरे छोर के साथ। चूंकि यह पहली और दूसरे (बाएं कोष्ठक के आदेश को निर्धारित करता है) के बीच एक नया समूह पेश करता है, हमें $ 2 से $ 3 से दूसरा बैक्रेफरन बदलना होगा। < P> यदि तर्क इस से अधिक जटिल हो जात

jquery - Cross domain scripting error? -

I'm using the following code to draw stock value from Yahoo Finance & Lt; Script type = "text / javascript" & gt; $ (Function () {$ ("# quote"). Load ("http://finance.yahoo.com/q?s=utg # yfs_l10_utg"). Text ();}); & Lt; / Script & gt; I get the following error: - Security Error: Content in file: [file URL] http: // can not load data from finance is. Yahoo.com/q?s=utg Error: [exception ... "Access denied to restricted URI" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location : "[File url]"] source file: [url] Does anyone have any idea how can I view it? Javascript security model does not allow you to load off-domain content, a good explanation on this and Some work of jQuery is around .getJSON Docs:

mysql - SQL To Find Most Popular Category -

मेरे पास मेरे डीबी (MySQL) में 3 टेबल हैं। श्रेणियां (नाम: स्ट्रिंग तो एक श्रेणी में कई आइटम हैं, और एक आइटम में कई वोट हैं I मैं सबसे लोकप्रिय श्रेणियों को प्राप्त करने के लिए एक प्रश्न लिखना चाहता हूं, जिसका मतलब श्रेणियों को प्राप्त करना है जिनकी वस्तुओं ने पिछले हफ्ते अधिक वोट (दोनों ऊपर या नीचे) प्राप्त किए हैं। < पी> मैं कुछ आसान कोशिश कर रहा हूँ, बस लोकप्रिय आइटम मिल रहा है, लेकिन मैं वास्तव में सिर्फ इस बिंदु पर अनुमान लगा रहा हूँ और यह काम नहीं करता है। SELECT *, COUNT (votes.item_id) वस्तुओं से स्कोर के रूप में प्रवेश करें वोटों का उपयोग करें (item_id) कहां वोट .created_at & gt; # {1.week.ago} आदेश द्वारा COUNT (वोट। Etem_id) DESC LIMIT 5; मुझे नहीं पता कि मैं क्या कर रहा हूं, कोई विचार? इसके अलावा, यदि किसी को भी और अधिक उन्नत करने के बारे में अच्छी तरह से लिखना चाहिए, तो इस तरह से मुझे यह पढ़ने के लिए अच्छा लगेगा। MySQL प्रलेखन थोड़ा गुप्त है और मुझे वास्तव में 'एएस' और 'जॉन्स' नहीं समझते। यह कोशिश करो श्रेणी के नाम से समूह

c# - How do i change the intellisense settings in VS2008? -

What does the title say is a way of changing intellisense settings (like intellisense box sizes and things)? You can resize the intellisense box by simply dragging the lower right corner with the mouse. Just like any other window

Change scrollspeed for ctrl+arrows in Visual Studio? -

I do not want to take my hands every time I scroll into a document, so I have ctrl + up and ctrl + Many things down but this is very slow, is it any way to scroll a line more than a click? Whenever the keyboard fatigue harms, always save the save! This auto-matrix macro should do the trick: ^ DOWN :: send ^ {DOWN} ^ {DOWN} ^ {Ctrl down down 3 times ^ UP: : Send ^ {UP} ^ {UP} ^ {UP}; Ctrl + 3 Bar Return Send this is quite a rough solution but it seems like what you want to do.

c# - Adding a tab to the "Add Reference" dialog in VS? -

VS is working on individual add-ins for 2008 and is researching automation and control. I see that one for the registry There are many examples of adding Dll reference so that they appear in the ".NET" tab in the Add Reference dialog. What I would like to do, however, in this a new tab in the context dialog with some functionality. Is it possible to do this? I can not find any documents to modify the reference addendum. Thanks in advance! I'm not sure about extending the existing dialogue, but you consider creating your own Here it is the place where a person has created a new dialog for a fast load time. You may start with that code and modify as needed.

performance - Efficient representation for large numeric arrays in GWT -

I have a class repeatedly, 100K-200K value during the course of a day (basically the market tick, equally Sample). The most performing representation on the Java side is to use double [] (unlike the list). I am suspicious that the map of this approach is well reproduced. On the side of Java, the double [] array should be expanded from time to time (i.e. allocate a new array and copy the old one in the new one). For example, there is a method like class: public zeros add (long time, double price) {... if (_len == _prices.length) extension (); _press [_len ++] = value; ...} Private Zero Extension () {Last Double [] newprices = New Double [_prices.length + 1024]; System.arraycopy (_prices, 0, newprices, 0, _len); _prices = newprices; } Now there is a separate array model of JavaScript, and allows indexing to incrementally extend the incremental extension beyond the final index, through indexing. GWT has a JSERre numeric, which allows one to see and manipulate JS numeric arra

sql server 2005 - Updating report parameters based on parameter selection? (SSRS) -

I have created a report in SSRS with two report parameters. I will update it on the basis of the second selection Want second for The first is the list of sales agents, and the other is the list of distributors. Each agent can have many distributors. So if the report user selects an agent, then I want to show only my distributors in the list for the second parameter. Obviously the parameter values ​​will come from a query, but I do not know how once the agent is selected and how to reboot it in the list. This works automatically if you organize your parameters and datasets properly < / P> First of all, set a primary (report) dataset, then a dataset for each parameter dropdown. To correct dependency in parameter variables, code WHERE in the dataset Order another, order your parameters in the report. Parameter menu so that the user first variable / parameter is on top of the filling, and the second dataset depends on that parameter. Follow this order through para

delphi - Problem with Check for updates in RAD studio -

I have installed AmberCadero RAD Studio (Delphi 2009). When the IDE ran for the first time, download this update and MSI ran automatically by accidentally suppressed, I suppressed it properly instead. So I thought about reopening the studio so that he could check for updates. But this time it has not happened! So, I used "Check Updates" from menu options, surprisingly it gave me "RAD sudio up to date". What is the location of these downloaded update files on the system? Where are these files saved after auto download? Registered users can download updates here: < P> You can also get many "free", including "TMS Sound Controls, Infospever Essentials, and Marco Kantas" Delphi 200 9 "as PDFs.

visual studio - Other Flex IDEs? -

I'm an Adobe Flex developer and I'm sick of Eclipse. Is there an alternative (free) IDE for Flex? I know about Tofino, but I can not get to work on my MSVS Express editions, and I do not want to buy the whole thing. Help is greatly appreciated. Even if you are not related to a visual designer. / P>

Changing python interpreter windows -

I have two python installations, 2.5 and 2.6 I want to convert the default Python interpreter from 2.5 to 2.6. Anyone know? PYTHONPATH no This is different for what you are searching for Python Looks for "import" package and module. You need to change the PATH variable in your environment, so that it contains eg. Instead of "....; c: \ python25; ...." Start> Control Panel> System> Advanced> Click on Environment variable ".... c: \ python26;" Path Select "Edit. Click on the right time to get out of there.

Weird IE8 CSS/HTML bug when using Yahoo's YUI Uploader -

This video best describes the problem: The directory is actually located here: Using YUI.js as the uploading script is a piece of problem. YUI updates the table row with new information on each event. That's why I updated it with some CSS / HTML so that it is a progress loading bar. It works fine for all browsers but IE I'm not sure whether this is a known rendering bug or what, and if there is any fix for it then? Work-demo.HTML basically indicates that if you change the shape of the div using Java, IE provides it right along with the new row in the table with the new information Has been updated which causes issues of presentation. Edit: I'll link everything but I can only use 1 hyperlink I got a solution If I include it in HTML it will work fine: & lt; Div class = 'progressbar-completed' style = 'visibility: hidden;' & Gt; & Lt; / Div & gt; It seems that IE is having trouble retaining the background file's &quo

jquery show slide bug -

Based on the button you click, the desired effect for the panel is to be changed. It works fine. Whatever problem I've seen is that what you click on the # button, the setting panel is the one that slides. I tried the global level and tried to store the previous panel, but it was not working at all. I believe the problem is in this line $ ("div # text div"). No ("#" + target). ("Slide", {direction: "right"}, 500); Thanks! CSS #buttons {float: left;} #buttons ul {list-style-type: none; Cursor: indicator; Overflow: Hidden;} # Bootens Ul Lee {Height: 195px; Width: 40px; Float: left} #Buttons a {display: block; Height: 192 px; Width: 40px; Border: None; Cursor: indicator;} # bootens a.Settings: hover, #buttons a. Message: Hover, #Button A Points: Hover {Background-Position: -40px;;} # Buttons A.Titings {background: url (accountsettings.png}} #buttons a.messages {background: url (accountmessages.png}} #buttons a.payments { Backgroun

architecture - Patterns for non-layered applications -

In the pattern of enterprise application architecture, Martin Fowler writes: What are the patterns for building parts of non-level applications / applications? Take a statistical modeling engine for a financial institution. There may be a layer for data access, but I hope most codes will be in one layer. Would you still expect to see a four-pattern gang in this kind of layer? How about a domain model? Will you use oops at all, or will it be fully functional? Specifies pipes and filters as alternate models for bid layers. I can easily imagine such an engine using pipes as a way to break data processing. Do other patterns exist? Are there any common patterns for areas like work schedules, result collection, or distribution of work? What are some options of MapReduce? I think the faller means that focus in focusing on "vertical" de-object in a layered application. "post-text" itemprop = "text"> Coupled communication between layers Another arch

python - Recursive delete in google app engine -

I am using Google App Engine with django 1.0.2 (and django-helper) and am surprised that people How to remove recursive Assuming you have such a model, which is something like this: class top (besomodel): pass class below (besomodel): dad = db. References (top) Now, when I delete a type of 'top' object, I want to remove all related 'bottom' objects too. As things are now, when I remove a 'top' object, I have 'left' objects and then I get the data that is not anywhere while reaching the datastore in a scene, I Ends with: An exception was caught while rendering: Failed to resolve reference property. I can certainly find all the items and remove them, but since my real model is at least 5 levels deep, I hope that there is a way to ensure that It can be done automatically. I have found out how it works with Java and it looks as beautiful that I also want Nobody knows how I would like that behavior to be deeggo Can i get in You need to

c# - Does IIS7 use different default membership provider? -

कहें कि मैं CreateUserWizard को नियंत्रित और उपयोग AspNetSqlMembershipProvider ( machine.config में परिभाषित) एक डिफ़ॉल्ट सदस्यता प्रदाता के रूप में। मान लिया जाये कि मैं बदल डिफ़ॉल्ट प्रदाता के requiresQuestionAndAnswer के लिए विशेषता झूठी , तो CreateUserWizard नियंत्रण टेम्पलेट प्रदान करने की आवश्यकता नहीं किया जाना चाहिए प्रश्न और उत्तर फ़ील्ड लेकिन मैं के माध्यम से IIS7 मैं निम्नलिखित अपवाद पृष्ठ का अनुरोध करता है, तो: CreateUserWizard1: CreateUserWizardStep.ContentTemplate सुरक्षा प्रश्न के लिए आईडी प्रश्न के साथ एक IEditableTextControl शामिल नहीं है, यह आवश्यक है कि यदि आपके सदस्यता प्रदाता को एक प्रश्न और उत्तर की आवश्यकता हो। ए) उपरोक्त अपवाद बताता है कि जब IIS7 के माध्यम से एक पृष्ठ का अनुरोध करते हैं, तो रनटाइम का उपयोग नहीं होता < Em> aspNetSqlMembershipProvider ( machine.config में परिभाषित) एक डिफ़ॉल्ट प्रदाता के रूप में ?! यदि सत्य है, तो ऐसा क्यों है? बी) और IIS7 के डिफ़ॉल्ट प्रदाता के लिए परिभाषा कहां मिल सकती है? thanx

c# - Simplest way of invoking a webservice via SOAP on ASP.NET -

I have a webservice on a remote host that I need to start with ASP.NET / C / Class I by SOAP What is the easiest way to call a method, WSDL url and a method sign? Given: WSDL URL (only available at runtime, ie variables) method sign (static) as string: Requirement: Create a soap client and call method. See here: This view is very easy in the studio - you can only search the web Add a reference URL and it generates a proxy stub for you.

c# - How do I determine when to show a tooltip? -

I'm writing a calendar control in .Net WinForms which will show tooltips for each date. What is the best way to show tooltips? It is being shown in MouseMove , so I have to show that when mouse mounts on each date cell MouseHover event only sets the first hover after MouseEnter , so I can not use it. EDIT : I am using WinForms < P> Time between Enter and Hover is specified in the delay If for any reason whatever UI is using the framework, then underlying tooltip handling for whatever UI frame you are using The code is not enough, you can only spin the timer after each mouse mow and when the tooltip is shown when it is a fire. Obviously, you should be taken to the timer every time to stop a long chain "rain of tooltips".

php - Drupal Session User id for independent script -

I have a simple script say a.php. I know that Drupal 6 makes a session etc. So in my a.php I am trying to print_r ($ _ session); But this does not seem to work, what's the best way to get logged in user user ID in my program? Sorry, I'm new to Doppel. Thanks for your time. Drupal's Cron.FPP is a perfect example of "simple" PHP scripts that are used in Drupal / Libraries Uses the directory that contains the main lines of the file: include_once './includes/bootstrap.inc'; Drupal_bootstrap (DRUPAL_BOOTSTRAP_FULL); If you include your own code, your APPP The files will have access to all the Drupal's references and libraries.