Posts

Showing posts from January, 2011

asp.net - NULL value when update data -

I had a grid view, which retrieves data from the database and has a crazy update for specific columns, but when I If I updated on the column then it gives another column What can I do with zero value? Note: I created them only to read columns which had zero value because the user was not allowed to edit them Because you have read, only you get blank - and it's normal, but you need to delete the SQL reference for this value Your SQLDitours Go to Update Command (or other) on and Let L remove the value read by reading the value.

c++ - Crash Analysis on Linux -

What is the best way to analyze crashes on Linux? We expect to create software and distribute release versions to testers. The testers can not recall how the accident can regenerate or the accident can be completely intermittent. They will not even have a development environment on their machine. Software is written in C / C ++ and compiled in original machine code for distribution. I believe what you are seeing:

android - How to Get Rid if Intermediary Page in Searchable Dictionary-Like App -

I am working on a search app and since I started, I started with a searchable dictionary sample Decided what I am trying to achieve. It got to work, but I have a problem: The sample loads an empty page initially, asking the user to press on the search button to start the search. The search is pressed once, a new page loads with a search field and a button at the top, so that the user can start looking for stuff. What I have to do is get rid of the intermediary page so that the search field and button can be loaded from the beginning, the app load starts on the first screen when it starts doing Is there any idea on this? Detailed instructions / examples will be appreciated, because I am starting with Android programming. Thanks a lot! Just call Searchreux () from your activity Open the search screen This method is present in every category The activity which is spread out. After this, search controls are simply overlapped at the top of the current screen.

How to loop through all controls in a form, including controls in a subform - Access 2007 -

The title of my question tells how this is possible through all the controls in any form, including subfomes. For example, I tag * Public Sub colCtrlReq (frame form) 'sets the background color for the required fields - & gt; Tag = * as dim controls set to set the string as the collar = RGB (255, 244, 164) DM CTL each CTL in frm.Controls If ctl.ControlType = acTextBox or ctl.ControlType = acComboBox or ctl. ControlType = acListBox then if InStr (1, CTL.TAG, "*") & lt; & Gt; 0 then ctl.BackColor = setColour End if End Is Next CTL set CTL = Nothing End Sub To Catch controls in a subform how it will change? Thanks in advance for any help or hints. Cheers Noel You can use Recursion public sub ColCtrlReq (Frame) "sets the background color for the required fields - & gt; tag = * dim set string as the collar = RGB (255, 244, 164) DM CTL for each CTL as a control, in the CRL, type CTL Control = ATtextbox or CTL. Control Type = ACCMOBOX _ ...

javascript - Embedding inline JS script instead of making an AJAX request. Why? -

I did not send AJAX requests to load some websites (for example: apple.com or disqus.com) For example, live search results Instead they attach new JS scripts, which keep all the results in one variable. To be more specific, if you go to apple.com and type "test" in the finder, it will not send an AJAX request to get the result, instead it & lt; Script src = "some.addres.apple.com/result.js?q=test"> Perform a new piece of HTML and JS script to bring search results to. Improvements are they doing just because you can not send AJAX requests to a different domain, or is there any speed improvement possible? JSONP's "Hackinsoness" has many discussions: I found it very useful to be around cross-domain security boundaries but I have not seen any speed improvement nor did I Have heard I highly recommend knowing more about JSONP (especially when it is useful / required).

Method not found in protocol: Objective C -

मुझे यह मेरे दृश्य नियंत्रक में है: [[[UIApplication sharedApplication] delegate] SendMessageAsSingleObject: [प्रेषक currentTitle]]; मुझे यह चेतावनी दी जाती है: चेतावनी: '-समेंडमासेज एसिंगलेऑब्जेक्ट:' प्रोटोकॉल में नहीं मिला लेकिन मेरे ऐपडैलेगेट में मेरे पास हैडर में घोषित विधि है ... मुझे कॉल जोड़ना चाहिए, केवल चेतावनियों से छुटकारा पाएं। धन्यवाद [[UIApplication साझाअनुप्रयोग] प्रतिनिधि] रिटर्न एक वस्तु जो UIApplicationDelegate प्रोटोकॉल लागू करती है इस प्रोटोकॉल में विधि sendMessageAsSingleObject नहीं है तो आपका कंपाइलर यह नहीं जानता कि यह पद्धति वास्तव में वहां है आपको अपने एप्लिकेशन प्रतिनिधि के विशिष्ट वर्ग में सबसे पहले प्रतिनिधि को डालने की आवश्यकता है। MyAppDelegate * appDelegate = (MyAppDelegate *) [[UIApplication sharedApplication] delegate]; [ऐप डिलीगेट भेजेंमसेजएज़िंगऑब्जेक्ट: [प्रेषक वर्तमानटाइटल]];

SSI-like feature in ASP.NET / ASP.NET MVC -

This could be a heterogeneous question, we have a large site where many pages are still in ASP, mostly dynamic Not included, but they are included through SSI or server. It can look like a poor person's caching, but it's working really well and I think Microsoft has optimized IIS quite a bit for this scenario. Now, we want to achieve something like this: ASP.NET / ASP.NET MVC. We will generate HTML snippets from time to time (usually per hour or more) which we will call ASP.NET The main site Chrome, which want to include in ASP.NET MVC Rappers, provides some navigation, and possibly some other dynamic content related to the snippet. So this is a mix, but the point is that the generated HTML is generated from time to time due to external reasons, primarily for reasons of performance and keeping our server farm in sync. I was able to find the closest thing in ASP.NET: Which & lt;% Server.Execute "GeneratedSnippet.inc"% & gt; Seems to be equal. I...

c# - How can I generalize the use of these different data structures? -

I have an application that reads a file from a bar [StructLayout ( LayoutKind.Sequential, Pack = 1] Public Structure IntraPacketTime_RTC {Public UInt64 RTC: These times as shown below, there may be three different formats depending on flag bits in the file;} [StructLayout (LayoutKind.Sequential , Pack = 1] Public Structure IntraPacketTime_Ch4 {Public Unused UInt16; Public UInt16 TimeHigh; Public UInt16 TimeLow; Public UInt16 Micros You can see all three time formats: source data file; StructLayout (LayoutKind.Sequential, Pack = 1] public struct IntraPacketTime_IEEE1588 {public UInt32 nanosecond; public UInt32 seconds;} It takes up to eight bytes, but these eight bytes are differently , depending on the set time format However, production time is always the same format, the way This (the source data is stored in the file, either YYY hH Without :. MM: DD SS SSSSS , where ssssss are a fraction of each other, or SSSSS.ss ssss seconds and partial seconds past midnight) . I ...

python - Change skin colour programmatically -

Does anyone have any information or advice about adjusting an image so that the skin tone in it matches the second image Eat? It is a bit of an unclear question, but I was hoping that anyone would come before this problem! I have the purpose of doing this so that I can replace one face with one face in the face of another by using a python (or any language), just this program as long as this is). I have many papers related to the subject: (pdf) (See also :) (pdf) (Pdf) However, the content is on my side and therefore I can not say what to do on the basis of what they are saying. Any kind of advice would be greatly appreciated because I do not have to do damage for what I currently do. There are some general high-level advice for how to get started. Actually, what you are doing is a customizable problem. These algorithms are used for many problems, and there are many famous ways to do this. They boil over it Create a scoring function, which can tell you a r...

c# - Visual Studio 2008 Setup Project -

I need to create a setup project for a Windows application developed in C #. Along the way, I need the user to be able to set up a database server / instance name authentication type and username / password if they are using SQL authentication. This connection string is stored in my app.config file. Once the setup is complete, the website needs to be opened which will install some control required for this application. I see how setup projects are to be developed but I can not know what I need to do. All help is appreciated. Thanks! You must create a custom dialog in the setup project as shown doing this An interesting way to use a custom verb with "normal" submissive is described as Take a look at Wix, I tested it for a small application / edit, it works fine. Do more work for the problem, but I think if you make your Wix modular then come Parts for a new setup application can put together.

PHP session garbage collection becoming an annoyance, i need some help to modify this behavior -

I have been facing this problem for a while, I do not know at all if this is a problem but I am very confident That's it, I remember that the set of sessions has ended after 1 week, but when I go to my site after a few hours of inactivity, I remember that the session has ended, Checking TMP DIR and Session Flat File, me Does it seem that some PHP session trash collector goes on and on again every now and then, but I do not want to delete these sessions, which are meant to be preserved for a week, how is this behavior modified? You are confusing two things. A "Remember Me" mechanism does not rely on sessions, it depends on a cookie that stores the credentials used to start the session. In this case, you have to set up a cookie so that one week is final. See. If you want to extend the life of the session, you have to increase the lifetime of both session cookies for one week and delay the waste collection. It has to change.

wpf - Why doesn't checking out in TFS 2010 give me write permissions? It causes an exception in my project at the target of invocation -

I have just moved my code from sabotage to TFS. When I get the latest version, I understand that I can not allow writing. However, when I select the option to take unique lock and choose, a check mark appears next to my file and I am able to edit them. When I look at Windows Explorer, some files are still marked "Read Only". When I try my application and run it becomes a problem. For some reason, if I do not have permission to write everything, I give an exception to the goal of the invention message (its a wpf project). When I run files out of version control, it's all right. When I run the version under TFS, I get this exception - whenever I have specifically checked the files. Any thoughts that are happening here? It seems very confusing here. So I have many questions: Have you specifically checked the files that are still marked as "Read Only"? Or have you just checked other files that could have been related to people who marked ...

java - Android equivalent for BlackBerry DateTimeUtilities -

Is Android Phone Equal to Blackberry's Datetime Usability? Do I really need DateTimeUtilities.copyCal (source, dest), and I can write it myself, but I actually exist before working in this way, but I did not know that it hates writing . I know about the clone (), but in reality what I have to do, be able to easily change the timing of a date without worrying about DST etc. Post text "itemprop =" text "> check out

php - Enabling a '.equals' equivalent for PHP5 Classes -

I have two examples of PHP5 class (called class), and I want to see if they are equal or No . In C #, I can write a .equals (ClassA other) method for ClassA, which will overload on the == operator. Is PHP5 a method overload in class and can be used for comparison ==, or did I compel something like $ example A-> equal ($ instanceB) going? Ah, sorry to miss the point of question about overloading. It does not seem that it is possible as mentioned above. However, I found a useful example to implement my own. This link is showing me some example codes:

arcobjects - How do I add point features from memory rather than a database or file? -

I am embedding MapControl in a C ++ application. The application is linked to a proprietary, non-relational database. Therefore, it is not possible to add map control directly to GIS data. Instead, I want to load my feature features only in the feature layer. I understand the mechanics of making a feature layer, but they look tied to some types of data sources. How do I load feature data directly into the layer without pointing to a file or database? In other words, I only want these features to be a memory resident. Instead of ScratchWorkspaceFactory, I will use. You will still need a feature laser, which will have a reference to the feature that is in the temporary workspace, as well as the symbolology (IGeoFeatureLayer.Renderer) which defines how information will be emblemed. .

What is wrong with this SQL statement? -

I am trying to create this table and I want to get my eyes out. What's wrong in this? I get an error: "wrong syntax near PLAN" Table creation tool (ID int primary key, IDSeguimiento int foreign key references Seguimiento (ID), GuiaDocente bit, GuiaDocenteObservacion varchar (200 ), GuiaAlumno Bit, Gayalombo Observational Varna (200), Plan Bit, Plan Observations Vertical (200), Registrotonotus Bit, Registrotonos Obiservacy Varna (200), Plantificiplips Bit, Plantificinaclaces Observatory Walker (200), Limit B (200), Proctoofin Bit, Proactofinal Varker 200), Practicing Bit, Practicos Observation Varchar (200), Portfolio Bit, Portfolio Observation Conduct (200)) PLAN is a reserved keyword. Rename or use the appropriate escape for your server type. For MSSQL, I think you will use [plan] , but you have to type any question / process / etc.

Qt Visual Studio Add-In Problems -

I use Qt 4.6.2 with Visual Studio with the latest version of Visual Studio Add-in (1.1.5) I am doing 2005 Professional. I think whenever I restart the Visual Studio or the goal of the goal (I am creating Win32 & x64, Debug / Release Builds), all my mock, UIC & amp; R. CC files will be revived even when .h / .ui / .qrc files can not be changed. Any ideas about fixing it? It is making significant increase in time of construction. Zack Hm, odd, I've checked with my settings, And even after changing the debug-release, this is not the same symptoms. I used: Visual Studio Add-in (1.1.5) - Updated to 1.1.4 Visual Studio 2008 Pro This is my QT option dialogue: I only created Win32 I am aiming Apart from this, you have to check the MSVC compiler settings for some rebuilding options. Try the default settings to apply. Hope this information is helpful.

java - JTabbedPane tabs -

OK, so I have an application in JTabbedPane and it has several panels. Is it possible to assign JPopupMenu to the actual tab instead of JPanel? If this is possible, how do I do it? For an example, see. I think that you will first call setTabComponentAt ([every index], [labeled with a popup attached]), then you have to add a method to change each method tabs when they Are clicked.

ajax - Ruby on Rails jQuery Visual Effect -

I am working on a search function which is basically just a cool visual effect when a user search button Clicks. Here is the code for my view.rhtml & lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt; Tutor & lt; / Title & gt; & Lt;% = javascript_include_tag: default% & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; H1 & gt; & Lt; / H1> & Lt;% = form_remote_tag: url = & gt; {: Action = & gt; : Search_results} ,: update = & gt; "Result"%> & Lt; Fieldset & gt; & Lt; Legend & gt; Teacher Search & Lt; / Legend & gt; & Lt; Label = "searchItField" & gt; keyword search. & Lt; / Label & gt; & Lt; Input class = "tiffield" type = "text" value = "find your tundor here" name = "searchitfiled" id = "searchfiled" /> & lt; Span id = "submit_search" & gt; & Lt; Span id =...

asp.net mvc - passing values between views in mvc? -

I'm new to MVC I want to send values ​​between the view and I do not know How does this happen? Also I want to send the selected item to the second view in the grid . The view is used to show data passed only with one controller action. Therefore, technically you need to send data to another controller action compared to the current view provided. A standard way of sending data in controller action is to send a GET / POST request to this action and pass the parameters in the URL or POST body. Other commonly used storage is TempData , session and cache . Answer to the second part of your question as to how you have been given this grid, how to choose an item, you need to provide more information on how you are going to another controller action. Will be. For example, you can enter a & lt; Form & gt; , which has a hidden field, indicating the current item.

c# - HttpWebRequest Timeout -

मेरा कोड: System.Net.HttpWebRequest req = (System.Net.HttpWebRequest ) System.Net.WebRequest.Create ( "http://192.168.2.2/web/movielist"); Req.Timeout = 2000; System.Net.WebResponse res = req.GetResponse (); System.IO.Stream प्रतिक्रियाप्रवाह = res.GetResponseStream (); अनुरोधित दस्तावेज़ (movielist) एक बहुत बड़ा दस्तावेज़ है और इसे पूरा करने के लिए 10 सेकंड से अधिक की आवश्यकता होती है। मैं केवल स्थापित करने के लिए एक समय समाप्त करना चाहता हूं कनेक्शन ही जहां तक ​​मैं req.Timeout देख सकता है पूरे अनुरोध के लिए समयबाह्य है न केवल कनेक्शन की स्थापना। दस्तावेज़ पुनर्प्राप्त करने के लिए कोई समय-सीमा नहीं होनी चाहिए। यह समयबाह्य मिलीसेकंड में है - इसलिए 2000ms = केवल 2 सेकंड। आप कनेक्शन को समय-सीमा निर्धारित नहीं कर सकते हैं - पूरे अनुरोध के लिए समय समाप्ति है। समयबाह्यता से बचने के लिए 2000 से 20000 (20 सेकंड) या उच्च को बदलने का प्रयास करें।

Microsoft SQL analysis Server -

How can I remove Microsoft SQL Analysis Server properties using SQL Query? thanks Analysis Services does not use SQL queries . It uses MDX properties stored in XML files. You can run a power script to get the information. Here's a snap-in to enable SSAS queries in PowerShell -

c# - Can we execute a batch file (*.bat) using Application Domain? -

Can we execute the batch file (* .bat) using the application domain? Application domains are fully CLR concepts, they do not have any relevance that is not a managed library, thus there is no way to run a batch file within an appdomain. . The batch file is tied to a specific appdomain, but it will still turn on a separate process to run your batch file. In the MSDN documentation, under the comments you should have a very good explanatory lesson that you are an exact appdomain, and what you can and can not do with one.

jquery - jeditable and rails 3 -

I'm trying to use jeditable with my Rail 3 application I'd like to edit some fields inline This is working on my client side, but the data has not been updated in my app. Can you take a look? thank you in advanced! My view: & lt; Dt & gt; Overview: & lt; / Dt & gt; & Lt; Dd class = "edit_textfield" id = "& lt;% = @ project.id%>" Name = "overview" & gt; & Lt;% = @ project.overview% & gt; & Lt; / Dd> My Controller: def Update Project = Project.find (params [: id]) Overview = params [: value] project.save Render: Text = & gt; Parameter [: value] expiration my application.js: $ (". Edit_textfield"). Submit 'OK', indicator: 'Saving ...', tooltip: 'Click to edit ...', lines: 10, method: "put", submit: {ID: $ (this) .attr ('id'), name: $ (this) .attr ('name')}})}}; Thank you for the sccper, it works. But when I use jed...

printing - IE8 hangs on print -

IE8 usually prints the expected page on my system, but when I select print or print preview, IE8 is negligent with uncertain Time has taken place (this is not on Firefox). Due to the specialty of a particular web page, is there a problem in IE8? Although I do not understand why IE8 is hanging, I'm pretty sure that something in it Do the complexity of the rendered document. Therefore, as part of the work, I excluded parts of the document via CSS when it is printed: So now do not hang IE8 on print command now!

iphone - UIImageView startAnimating: How do you get it to stop on the last image in the series? -

I am using UIImageView to create a simple animation and everything works perfectly, but when I start I will run the animation once (as I want), but back to the first frame I want to stop the animation on the last frame. I use: myAnimation.animationImages = myArray; MyAnimation.animationDuration = 0.7; MyAnimation.animationRepeatCount = 1; [MyAnimation startAnimating]; Could I use startAnimating method override? What is the best way to fix my problem? Before starting animating, set the last image image view imageView.image = yourLastImage ; and then start the animation After the animation is complete, the image view will show your last image. For NSTimer thing, there is no other option to know when the default animation is over. So if you want to do anything after the animation is completed, then you have to rely on NSTimer as Dean Vomboron has suggested.

logging - suggest a good tool to automate the log parsing work -

The log form must be To analyze and validate the log, I have 3010 "Xyz" and the other parameters are the same as desired by the reaction line (the next line) on UNIX:

c - printing linked list from beginning -

I got the code from Wikipedia for the linked list (). But it prints the result in reverse order (5 4 3 2 1). How to print it from the beginning (1 2 3 4 5) Given the following example: / **** ************************************************************************** ************** ********** / * * Function: Add an element to our list * / / * * / / * parameter: ** p he The node on which we want to insert. * / / * If the node is initially empty it / / * other wise it is put in the next location * / list * list_add (list ** p, int i) {if (p == NULL) / * see it Checks whether the indicators return somewhere in the space / refund; LLIST * n = Molok (sizeoff (LIIST)); / * Creates new node of correct data size * / if (n == NULL) return tap; N- & gt; Next = * p; / * The last element (* p) now becomes the "Next" element * / * p = n; / * Add new empty element to the front of the list * / n- & gt; Data = i; Return * p; } When you call list_add , adding elements...

.net - The thread tried to read from or write to a virtual address for which it does not have the appropriate access -

I have developed a .NET 2.0 extension that acts as a plug in a third party application. Anything but everything runs fine when running on Citrix, when run on the sitrix as a published application, the extension randomly crashes the crash, which also crashes the third party application. I have opened a dump file and I have received an exception message that has been reported: Try to read thread or write to a virtual address For which he does not have proper access. I did not have much luck with Google. This application uses threading, which I suspect is what happens above, but where is the secret. If I run locally on seriatrix server locally (i.e. not as a published app.) Then it works fine. I'm not expecting an answer here (if someone is great then!) The general nature of this issue, but if someone raises the issue or helps in describing the error message If I can tell, I would be very appreciative. Rob The nature of the error message is having a problem with t...

Error in SQL Server 2005 Syntax -

यहां एसक्यूएल है: CREATE TABLE dbo.TmpFeesToRules1 (नाम varchar, LookupId पूर्णांक ) डीबीटीएमटीएसटीओ 1 में लिखें (नाम, लुकअपआईडी) चुनें धन का नाम, 0 ऋण से। यूनिअस का चयन करें अंतर नाम, 0 ऋण से। आवेदन करें डीबो। टीएलएलकूप (LookupType, LookupCode, LookupDesc, EditFlag, DeletedFlag, DefaultFlag) में शामिल करें SELECT ' FEE_CODE ', नाम, नाम, 0, 0, 0 dbo.TmpFeesToRules1 अद्यतन dbo.TmpFeesToRules1 सेट LookupId = L.LookupID dbo.tblLookup एल अंदरूनी शामिल हों dbo.TmpFeesToRules1 टी से से T.Name = L.LookupDesc ​​कहां L.LookupType = 'एफईईओओसीईईडीई' टैब्लेट डीबीओ टैम्फिसेटोआर्यूल 2 (फीस इंट, नाम वर्चार) में जमा करें। टीपीएफआईएसटीओआर 22 (फीस, नाम) चयन फीस आईडी, नाम से ऋण। आवेदनअनुमति दें ऋण जमा करें। एफ़ेप्लिकेशन फीस जमा करने के लिए आवेदन करें। आवेदनपत्र एफटीआईआईपीआईडी ​​= टी। चेकअप डीडी से .TmpFeesToRules2 टीटी इनर डीबीओ सम्मिलित करें। टीपीएफआईएस टोरियम 1 टी पर टी .नाम = टीटी। नाम कहाँ है उधार.एप्लिकेशन एफआईआईएफआईआईडी = टीटी। एफई ईद ड्रॉप तालिका dbo.TmpFeesToRules1 ड्रॉप ता...

iphone - Getting navigation controller to launch one of two different views -

I have a program where we are using the navigation controller and launching one of two different views Requires app for Actually, if some information has been recorded first, then we need an app to look at A, but if the information is never recorded then we have to start to see it. I am having difficulty working on this and what am I thinking if somebody can implement this I am sure that this should be done in an app representative, but I am not sure how it will be. thank you in advanced!

web parts - how to do the webpart to list the items(doc,lib) available in current site in sharepoint 2010 -

How to create a webpoint using the client object model and get the current site, through the list and libraries to loop The documents received are uploaded today; Tomorrow If using the object model is important, then the SPSiteDataQuery class may fit in the bill. Allows to query for objects of interest within a site collection. Through such a query object model, it will be faster and stronger than running manually through lists and libraries. But there are some good examples.

Siebel eScript varargs function always throws an exception -

सिबेल प्रलेखन के अनुसार, eScript को varargs समर्थन करता है। निम्नलिखित नमूना सिबेल दस्तावेज़ से लिया गया है: फ़ंक्शन SumAll () {var total = 0; के लिए (var ssk = 0; ssk & lt; SumAll.arguments.length; ssk ++) {कुल + = SumAll.arguments [ssk]; } कुल वापसी; } हालांकि, अगर मैं इस विधि को SumAll (1,2,3) की तरह कॉल करता हूं तो मुझे निम्नलिखित अपवाद मिलता है: जहां xxx कथन के लिए पंक्ति संख्या है। कोई भी विचार, क्यों? धन्यवाद! "SumAll.arguments" टाइप करने के बजाय, बस इस तरह के "तर्क" का उपयोग करने की कोशिश करें: फ़ंक्शन SumAll () {var total = 0; (Var ssk = 0; ssk & lt; arguments.length; ssk ++) के लिए {कुल + = तर्क [ssk]; } कुल वापसी; }

javascript - jQuery onclick change parent background -

मैंने स्क्रिप्ट को emposha.com/javascript/fcbklistselection-like-facebook-friends-selector.html से डाउनलोड किया और कुछ बनाया संशोधनों, क्योंकि स्रोत आवश्यक रूप से काम नहीं कर रहा था (फ़ॉर्म सबमिट करते समय, सभी मूल्यों को फ़ेक्स हैंडलर को भेजा जा रहा था, न केवल जांच किए गए)। मेरा काम उदाहरण इस में है मेरा मुद्दा यह है: मैं & lt; lis & gt; के एक समूह को कैसे जांच सकता / सकती हूं ताकि मेरे पास 'सभी का चयन करें' बटन हो। आप इसे ऐसा कर सकते हैं: $ ("# fcbklist li इनपुट: चेकबॉक्स")। एट्र ("चेक", सच); या यदि आप उस चेक बॉक्स के चेक बॉक्स को चुनने पर एक टॉगल करना चाहते हैं, तो सभी को अनचेक करें, ऐसा न करें: $ (" एट्र ("चेक", यह। चेक);}); यद्यपि आप प्लगइन के साथ इच्छित प्रभाव प्राप्त करने के लिए, आपको माता-पिता पर भी क्लिक करें आग की आवश्यकता होगी, जैसे: एटीआर ("चेक किया गया", यह। चेक)। Parent ()। क्लिक करें ()। (" ;}); ।

java - Need to have the manifest generated data moved deeper inside of the jar -

मेरे नियंत्रण के बाहर एक डिज़ाइन समस्या के कारण, MANIFEST.MF फ़ाइल मेवेन आर्किवर प्लगइन (मेवेन जार प्लगइन के अंदर) ओवरराइट किया गया है। क्या मैं: फाइल आगे नीचे जार में ले जाइए (यानी से / META-INF से / src / home उस सामग्री के साथ एक अलग फाइल को पॉप्युलेट करें जो आमतौर पर MANIFEST.mf (अर्थात src / home / something.txt ) मैंने & lt; manifestFile & gt; संपत्ति को बदलने की कोशिश की है लेकिन यह उस स्थान से स्पष्ट रूप से उस स्थान से / META- आईएनएफ स्थान। मुझे वाकई बात नहीं मिलती - यह एक MANIFEST.MF अब - लेकिन अगर आप सामग्री को स्थानांतरित करते हैं, तो src / main / resources / src / home / something.txt , src / home / something.txt दबाएं जार में खत्म हो जाएगा जब तक मैं कुछ ग़लत समझा नहीं, यह वही है जिसे आपने पूछा। अगर ऐसा नहीं है, तो कृपया स्पष्ट करें।

How do I convert an incoming object to binary in Access 2007 VBA? -

I have to import PDF and XLS objects and convert them to binary. The following code does not work, apparently because "fd.SelectedItems (1)" is the object's object instead of the object. If I dim the "fileToUpload" as an object, then I get a "run time" 91 'not set with object variable or block block'. I do not particularly slow "fileToUpload", when I get to the last line I get the "run time '424' object needed '. Anyone know that magical word? Dim fd FileDialog dim ImageToBytes () byte dim ImageCode string as FilePickerControl = Fd = Application.FileDialog (msoFileDialogFilePicker) fd.AllowMultiSelect = false as the False set. Show = -1 then FileToUpload = fd.SelectedItems (1) finished then ImageToBytes = System.IO.File.ReadAllBytes (FileToUpload) What should fileToUpload be? You need to set it as an object, ie, set FileToUpload = fd.SelectedItems (1), but I do not think that thecorrect thing is necess...

java - Limiting type arguments for generics in C# -

I was thinking a lot, but I miss in Java that I can declare a field or parameter as I: Public Class BarHandler {public class This may be useful for factory-style systems, where you have to be able to generate new examples of type of example. I am trying to figure out whether it is analog in C # or it is probably something that is available in Java. There is a variation of answer 280Z28. I have named the "type" class as "factory" because in my version it's like value instead of type type GetInstance The method displays . It uses 2 general parameters and common barriers to implement the rules in the creator of the original answer for the normal type of type. Public abstract class factory & lt; T & gt; {GetInstance T {Public Essentials; } Public Sealed Class IoCfactory & lt; T, TDR, & gt; : Factory and lieutenant; T & gt; Where TDR: T / compiler implies that TDRAT is obtained from T {Public override T gate instance (TOD...

ASP.NET MVC 2: What Model property datatype will autobind an html select (DDL) with multiple selections? -

There is a model property of the customer, for which a separate list of selected options requires a comma, we will select our selection list (DDL) As a multi-choice dropdown. What will be the property datatype that automates the multi-selects in the client-side HTML selection (DDL)? Select such post data: myOptions = Volvo & amp; MyOptions = Mercedes & myOptions = Audi and we want to automatically pair it for some property: IList then the Post Action Mercer parameter will be (Carref MyForm) which will contain myForm.CarChoices in which a list of three selected cars Include? I can misunderstand what you are trying to do but I think Phil Hawks This post tells you how you can try to do it in a pure way:

authentication - python http request with token -

How and with whom is the Python library possible to create a httprequest (https) with a user: password or token? Originally the curl -u user: pwd https://www.mysite.com/ thanks class urllib2.HTTPSHandler is to handle opening a square HTTPS URL. 21.6.7. HTTPPasswordMgr objects These methods are available on HTTPPasswordMgr and HTTPPasswordMgrWithDefaultRealm objects. HTTPPasswordMgr.add_password (realm, URI, user, passwd) Yuri can be either a URI or a sequence of URIs. Realm, user and passwd wire should be used for this reason (user, passwd) to be used as an authentication token when authentication for realm and any of the given URIs is given a super-URI. HTTPPasswordMgr.find_user_password (realm, authuri) Get user / password for given realm and URI, if any For the HTTPPasswordMgrWithDefaultRealm object, no one will be found if a user / password in the given realm is not.

flex - Freely creating BlazeDS RemoteObjects -

So I know the standard MXML syntax of Blazads to create remote objects. Ex: & lt; S: Remote object id = "SIM" destination = "simulation web service" & gt; & Lt; S: Method Name = "getAvailableTargetNames" results = "Settration Name (Event)" /> & Lt; S: Method Name = "getAvailableToolNames" result = "Setturnname (event)" /> & Lt; S: Method Name = "getAvailableActionNames" Results = "Set Name Name (Event)" /> & Lt; S: Method Name = "Simulation" result = "Reset field (event)" /> & Lt; / S: RemoteObject & gt; But this is not enough what I want to do. This allows me to make the code immediately behind the page code as SimulationWebService , while I want to do many different things depending on user's actions, in which Not even born at all. How do I create this same thing from action script? I'm not sure that I understand corre...

.htaccess - How to rewrite /foo to index.php?x=foo but also /foo/bar to index.php?x=foo&bar=true in one RewriteRule? -

अपाचे के फिर से लिखनाइंजिन का उपयोग करना, / foo से index.php? X = Foo लेकिन / foo / bar से index.php? X = foo और बार = सच में एक rewriterule को फिर से लिखना मेरे पास अभी यह है: रीवाइट कंडोम% {REQUEST_FILENAME}! -f पुनर्लेखन कन्वर्ट% {REQUEST_FILENAME}! -डी रीराइटआर्यूल ^ (। *)? Index.php? X = $ 1 [एल, एनसी] index.php? X = foo पर # रीलीइट्स / एफू, लेकिन index.php के लिए / foo / bar नहीं? X = foo और bar = true यह केवल / foo को index.php? X = foo को फिर से लिखता है, लेकिन / foo / bar से अनुक्रमणिका नहीं करता है ? .php एक्स = foo & amp; बार = सच । RewriteRule ? इन नियमों की कोशिश कर सकते हैं: रीवाइटकंड% {REQUEST_FILENAME} -f [OR] रीवाइटकॉन्ड% {REQUEST_FILENAME} -d रिवेराइटियम ^ - [एल] रीव्रेट नियम ^ ([^ /] +) $ index.php? X = $ 1 [ एल] रीव्रेट नियम ^ ([^ /] +) / ([^ /] +) $ index.php? X = $ 1 और $ 2 = सत्य [एल] पहला नियम है तोड़ने के लिए अगर अनुरोधित यूआरआइ को किसी मौजूदा फाइल या निर्देशिका में मैप किया जा सकता है। अन्यथा अन्य दो नियमों का परीक...

mysql - Does this case call for InnoDB or MyISAM? -

I'm doing something searching on a table (gets some input), which is maximum 5 seconds (7.5 million lines). This is a MyISAM table and I am not using full-text indexing on it because I did not make any difference in the speed of use of matches in this case and in this case what is the use of a general "choice" statement? Can see Now I am "suffering" from closed tables and I am facing questions running for a few minutes after its completion. Will they have to try to convert the engine to InDebbi? Or do I need to insert or update rows only? This whole table-locking thing is busy grinding my balls ... row-level and insert And table-level locking is only important for updated queries. If you mostly make the selection (hence not included often to lock the insert / update table) the difference will not be so high (even if the recent standards have done better than Mysam.) Other ways you might think that the restructuring of your data structure, perhaps ...

django - Is Rietveld inextricably tied to App Engine? -

I'm looking at Rietveld as a solution to the lack of code review on my company whether it is a server without an engine Can be installed at home? It seems that app engine is a bit of a specific code, and I'm not sure that it can be installed on a plain old Django / Apache installation. I have looked around but have not got any information about it. Instead of roaming with it, I would consider using a port or other GAE simulation. > Review Board is a powerful web-based code review tool that offers developers an easy way to handle code reviews. It is well scalable to small companies from small projects and offers a variety of tools to get more stress and time out of the code review process. For a very long time, a lot of work has been done in code reviews. This is largely due to lack of quality equipment, so developers support e-mail and bug tracker-based solutions. We have seen a lot of time and energy in which code review is both wasted open source projects an...

javascript - Not able to append options to select -

I'm not sure why this works, but when I pass in numbers & lt; Form ID = "Form 1" Runat = "Server" & gt; & Lt; Div id = "facebook photo-iframe content" & gt; & Lt; Div & gt; & Lt; P & gt; Sign in & lt; / P & gt; & Lt; P id = "LoginButtonContainer" & gt; Input & Lt; / P & gt; & Lt; P & gt; & Lt; Select ID = "facebookAlbumDropdown" /> & Lt; / P & gt; & Lt; Div id = "facebook photocontainer" /> & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Form & gt; AddDropdownItem ("- test a few - select", "-1", "testDropdown"); Function AddDropdownItem (sText, sValue, sDropdownID) {$ ("#" + sDropdownID) .append ("& lt; Option Value =" + sValue + "& gt;" + steext + "& lt; / Options & gt;) ;} This works but it is not: var id = 10438842...

security - Should a web page with a login form be secured? -

There is a question in the title, but I will expand. Say I have a non-secure page, but I do not want the data that the user is posting on my web server so that it can block anyone. Do I need a secure URL for the form Service or simply Post form? By serving the unprotected form, you post your form to a man-in-the-middle Allow change of destination, giving attacker crop login information. But the attacks of MITM are not common, so you are probably serving an unsafe farm.

ruby - safe_concat error while using table_builder rails plugin -

I am using the table_builder plugin and I am getting the following error undefined Method `safe_concat 'for ActionView :: Base: 0x00000100a81ef0 Is the safe_cat method and can someone tell me what I'm doing wrong See code thanks I am using Rail 2.3.5 Ruby 1.8.7 What I did was to install the plugin directly with the cloning in the vendor / plugins git clone Then I checkedout in a very specific commitment (Before it was turned into a gem and made git checkout -b pre-gem 21bb3fd2361b04076e7337603fcdd83b6428b47f And after that everything was fine. / P> Note that If you have a Rail webpage, it will try to avoid html by default and print a bunch of html tags on your page.

c# - What's the simplest most elegant way to utilize a custom attribute -

So little confession, I have never written a specialty class. I think they are decorating with flags or extra functionality The purpose of the service is probably done. Does anyone give me a quick example of not just creating one attribute and applying it in a class, but rather using a feature from any other block code code of code that I have ever known Kind of used to use the qualities, was doing this with reflection, although I always hope that there is a way to use them without reflection. Features are used with always reflections during compiled time Types are cooked in metadata and the only way to read them is through reflection when you want to type in a type and if you want to add some metadata with it, then this kind of can be used by consumers.

Only show number buttons on Soft Keyboard in Android? -

On the soft keyboard in Android, you can set the soft keyboard to show the numbers instead of the edge keyboard using Android : InputType = "numberDecimal" . However, if I only want to show the top code line 1 2 3 4 5 6 7 8 9 then what should I do and the following lines starting with @ # $% No ... ? Listen to Thanx! You should only add this line to your code: input Type the set of input (configuration. KEYBOARD_12KEY); This numeric keyboard will show only .

android - Is there a way to determine the duration of an audio file -

In Android, what is the easiest way to determine the duration of an audio file (assuming I have a URI of a file Is the phone)? Do I need to create and prepare media players for each file to determine the duration of the file? Thank you. > If MediaScan is running on the media then you can get that information by using MediaStore You can.

c++ - Aspect Orientated Programming in Qt -

I am trying to get my head around AOP and some QT codes will really help. Here is some sample code (easy to read QT / C ++ programmer): zero transfer (account AACC, account to AACC, int amount , User user, logger logger) throws an exception {logger Information ("fund transfer ..."); If (Check User Promotion (User)) {logger.info ("user is not allowed."); Throw new unauthorized user concept (); } If (fromAcc.getBalance () & lt; zodiac) {logger.info ("Insufficient fund, sorry :("); New inadequate funds exception ();} SACC method (amount); toAcc.deposit (amount) ; // Get database connection // save transaction logger.info ("successful transaction. :)"); } and then "Attached": Exceptions to zero transfer (account, account to AACC, int.) From account (if (fromAcc. GetBalance () & lt; zodiac} {new impaired funds extinguish ();} SACC method (zodiac); toAcc.deposit (amount);} Aspect logger {Zero bank transfers (AACC, accou...

sql - MySQL: ERROR 1054 (42S22): Unknown column in 'where clause' -

I am making some changes to a WordPress database. I need to replace UPL on UP-post table with ULL, which is a URL coming from another table called EBBRL. The details of the table are as follows: wp_posts: I want to have field types for two fields: ID -> bigint (20) unsigned guid -> varchar (255) and the table where I have data I need to export to wp_posts: ebdurls: Title -> varchar (255) url -> varchar (255) EBIDID -> Bilent (20) unsigned Everything looks right, but when If I apply the next query then I get an error that I can not really get. I have tried to quote fields, tables etc. ... everywhere, but no luck. mysql> update wp_posts set wp_posts.guid = ebdurls.url where wp_posts.id = ebdurls.ebdid; Error 1054 (42 s 22): 'where segment' in unknown column 'ebdurls.ebdid' Where's the fault? You have not specified whether ebdurls is, add a query to your query: UPDATE wp_posts, Ebdurls SET wp_...

Creating File Associations in VB.NET? -

How would one go about associating a file type with its application? I know how to read the command line arguments, but I'm not sure how I can "register" file extensions with windows. Also, my application is a lone executable, so how do I keep Windows up to date in place of my program? I searched in a fair amount and all I could find was old articles which everything was not understood, how can I create file association in VB.NET alone in a single executable? Everything is handled Registry If you want to create your own program, then you want to manually register the current location.

ruby - How do I handle errors or bad requests in my Rails REST API? -

I have a rail app that includes a JSON API interface. When the values ​​are properly specified, the controller handles the happy path properly and JSON is provided as output. However, if there is a problem with the input, an exception is raised and some templates are saved in instead of rendered "code" Would like to return a JSON error with {"error": {"msg": "bad request", "parameters": ...}} and proper HTTP status codes (such as 403 if they are not authenticated ) But I just want it to request any thing in example.com/api/...//> Be applicable to How can I do this? I had a similar case, but I saved different API methods separately because the method Specific errors were needed, I could have saved too many error types on In my application controller, I had one method: Diff error (status, code, message) render: js = & gt; {: Reaction_type = & gt; "Error" ,: response_code = & gt; Code: Message...

c++ - Conditionals in Visual Studio 2010 Project files -

In a Visual Studio 2010 C ++ project file, it is possible conditionally, to determine the presence of a library And to change the preprocessor, the flags, etc. are appropriately , say that we have a directory C: \ libraries \ MKL , I want Add another mkl_dll.lib to the #define MKL and an additional dependency if that directory exists. Many solutions have been used to achieve this goal first, but it is difficult to maintain. The following, when an F # paste in the bottom of the project, has the recommended effect (if > C: \ temporary \ foo.txt is present, then #define is added to THE_FILE_EXISTS ). I hope that only a slight modification will be required for the C ++ project, because they both use MSBuild. It's a little hacky probably the first thing I've been doing, . & Lt; UsingTask TaskName = "SeeIfFileExists" TaskFactory = "CodeTaskFactory" AssemblyFile = "$ (MSBuildToolsPath) \ Microsoft.Build .Tasks.v4.0.dll" & ...

What is the best Eclipse distribution for a mix of Java and Web? -

Actually, I want to mix Java and Web (JavaScript, CSS, HTML, PHP, .NET, etc.) . in one. So what is the best IDE for this? Since I am a big fan of Eclipse, I want to take from Dreamweaver to Eclipse for my web development. I like to use eclipse for Java development, but I want to be able to maintain the functionality of Dreamweaver in Eclipse ... so I want to include in my environment. Eclipse IDE for Java Developer and Eclipse IDE for Java EE Developers ? Can I do Java and Web Eclipse and if I can, then is it any of the above 2 packages done? Thank you! Eclipse IDE for Java developers and Eclipse IDE for Java What's the difference between? -text"> EE developers ? In fact, the Eclipse website has a Eclipse IDE for Java developers By including the following additional packages: - Server-side development support (Remote System Explorer - For plugins development - Database support / Ul> (...) So I want to include in m...

php - How do I retrieve the last 10 records from mysql database table? -

I have a strange problem when I run this script, I get 10 records from the database but they're all exactly the same. Are there. I do not know what I'm doing wrong or how to fix it. Please help me. I want to see table AMCMS_highscores, AMCMS_users, AMCMS_games inside the AMCMS_highscores table, get the last 10 records, but only where the field game ID is 1997 for example. Any help is appreciated. select $ data = Q ( "Kren` AMCMS_highscores`.`primkey`,` AMCMS_highscores`.`gameid`, `AMCMS_highscores`.`score`,` AMCMS_users`. `Username 'AMCMS_Hycomers``States, AMCMS_Highscores,' UserMess', 'AMCMS_Game'. 'Primki', 'AMCMSGame'. From Gammam 'AMCMS_Hauscocker', 'AMCMS_Game', 'AMCMS_UJs' where' AMCMS_ HighScore ' .`gameid` = '$ gameid' and `AMCMS_highscores`.`userkey`! =` AMCMS_users`.`userkey` and `AMCMS_highscores`.`gameid` =` AMCMS_games`.`primkey` and `` AMCMS_highscores`k`status AMCMS_ Aiscora...

asp.net - How to set overlay on a page according to page height using CSS -

If JavaScript is disabled, then I want to set an overlay on top of my web site. Since the height of each page is different I am unable to set the overlay based on the page's height. What I am currently doing is that I am setting the maximum maximum height of 2000px as follows: . OpenLine {background color: # 666666; Height: 2000px; Left: 0; Status: Completed; Top: 0; Width: 100%; Z-index: 1003; Opacity: 0.5; } But this is not what I want. Because there is very little height compared to the height of the height mentioned in some pages and is more in some pages, therefore the overlay issue Is not more effective. I want to set the height of the overlays according to the height of the page. Can anyone tell me how can I get it using Javascript? body, html {height: 100%; Width: 100%; Padding: 0; Margin: 0; }. Overlay {status: complete; Top: 0px; Left: 0px; Z-index: 999; Height: 100%; Width: 100%; Background: # c1c1c1; } This should work overlay a & lt; Div & gt...

jquery - How to disable back button navigation on certain pages -

संभावित डुप्लिकेट: एन्वि: jQuery, रिचफेस उपयोगकर्ता इंटरफ़ेस के कुछ पन्नों पर वापस बटन नेविगेशन (मेन्यू बार में) को अक्षम कैसे करें। आप किसी उपयोगकर्ता के ब्राउज़र पर वापस बटन को अक्षम नहीं कर सकते। यह ब्राउज़रों की मौलिक विशेषता है जो ओवरराइड नहीं किया जा सकता है। आप कर सकते हैं ऐसा कर सकते हैं ताकि आपका आवेदन टूट जाए (उपयोगकर्ता को प्रारंभ करने के लिए एक त्रुटि संदेश दिखाता है) उपयोगकर्ता वापस चला जाता है ऐसा करने के लिए एक बुरा विचार है, क्योंकि यह वास्तव में एक प्रवेश है कि आपने आवेदन को डिज़ाइन करने के दौरान वापस बटन को नहीं लिया था। हर एप्लिकेशन, यहां तक ​​कि ऑर्डर फ़ॉर्म, शॉपिंग कार्ट, ऑनलाइन बैंकिंग इत्यादि, यदि सही ढंग से डिज़ाइन किया गया है तो वापस बटन का उपयोग करने में सक्षम होना चाहिए। अगर वे ऐसा नहीं कर सकते हैं, तो यह एप्लिकेशन डेवलपर की ओर से विफलता है। मैंने जानबूझकर वापस बटन उपयोग को तोड़ने के लिए एक दृष्टिकोण आवेदन के भीतर और भीतर प्रत्येक यूआरएल पर एक टोकन पास करना है हर रूप टोकन को प्रत्येक पृष्ठ पर पुनर्जन्म किया जाता है, और एक बार उपयोगकर्...

batch file - Nhibernate: Batching and StatelessSession -

I was just trying to set the batch value in the config file, and I think that using it There is a visual advantage, as it takes less time to insert 25000 entries without batching, I have a question, what are the counter signs, or are there dangers to use batching? As I see, I only see the benefit in setting up batch values ​​and activating it. Another question is regarding StatelessSession. I was also testing and I have seen that when I make a scope. Note that it takes more time than it is to scope. Save a regular session, but when I do this, there is no reason for I can only speak with the first digit. The possible negative of having a large batch size is the size of the SQL being sent to the wire in a wire.

Is there any way to add method to JSON object? -

क्या JSON ऑब्जेक्ट में विधि जोड़ने का कोई तरीका है? हाँ जावास्क्रिप्ट फ़ंक्शंस प्रथम श्रेणी ऑब्जेक्ट हैं, जिसका मतलब है कि आप उन्हें अन्य ऑब्जेक्ट को गुणों के रूप में संलग्न कर सकते हैं। var myJson = {one: 1, two: 2}; MyJson.Sum = समारोह () {this.one इस दो दो; }; Var परिणाम = myJson.Sum (); // परिणाम == 3

php - count and search string from data array -

मेरे पास निम्न डेटाबेस तालिका है: लाइन मॉडल धारावाहिक श्रेणी सीरियल fa01 kd- जी 335ud 105x0001 105x0001-105x0200 fa01 केडी-जी 335ud 105x0002 105x0001-105x0200 fa01 केडी-जी 335ud 105x0003 105x0001-105x0200 fa02 केडी-आर 311ed 105x0001 105x0001-105x0500 fa02 केडी-आर 311ed 105x0002 105x0001-105x0500 जब मैं प्रश्न पूछें, मुझे इसका परिणाम होना चाहिए: लाइन मॉडल की मात्रा qty श्रेणी fa01 kd-g335ud 3 200 fa02 kd-r311ed 2 500 मैंने निम्नलिखित प्रश्न लिखा है, हालांकि मैं अब भी अभी भी क्यूटी श्रेणी दिखाने के तरीके के रूप में उलझन में हूं। // यह अभी तक मात्रा का चयन करें लाइन, मॉडल, COUNT (सीरियल) निरीक्षण समूह लाइन, मॉडल // यह खोज स्ट्रिंग के लिए $ sql_result = array (// मुझे क्या भरना चाहिए?); विदेशी मुद्रा ($ sql_result $ पंक्ति के रूप में) {preg_match_all ('/ \ d {4} /', $ पंक्ति, $ मिलान); गूंज गूंज ($ मैचों [0] [1]) - अंतराल ($ मैचों [0] [0]) + 1; } कृपया मदद, क्योंकि मैं अभी भी दूसरे वाक्य रचना के रूप में अनिश्चित हूँ यह मात्रा मानते हुए सीमा_सौरी SELECT...

slow category import in magento -

I wrote a custom adapter for importing 6K categories using advanced profiles. Tried to increase the number of records but it does not help How to speed things up? / div> The mechanism for importing magneto pain is slow, you will be better off putting data directly into the database.

javascript - How can I submit two forms on single click? -

I have to submit two forms; On one page, while the second combo change is coming through the event using jquery. I have to get the values ​​of these two forms on the same page. Click to submit both forms of this function which I am calling on the button My code looks like this: ex> function forms_submit () {document.form1.submit (); Document.form2.submit (); } You can not deposit two forms because you are in your browser You can only end up with one page ... and it depends on what form you submit. ( As long as you do not go to AJAX path ) Perhaps you want to merge the form in a single form Enter some more information / code to get some more specific answers ..

.net 3.5 - some questions on migrating ASP.NET 1.1 application to 3.5 -

I need to migrate from ASP.NET applications 1.1 to 3.5. I already through replies on this forum Have gone, but there are still some questions Should I change the application from 1.1 to 3.5 directly? Or, change it to 3.5 as before and after 2.0 and due to this Is there an article that runs from 1.1 to 3.5 through the whole conversion process? What happened during the conversion process in specific processes? Is it possible that the ASP.NET 2.0 project needs to be changed using ASP.NET 2.0 using VS 2008 or do I need to use the VS 2005 IDE ? Thank you in advance for your help. When the project changes from .NET 1.1 to 2 or higher, then just for Visual Studio 2008 Use the. This can convert your project to either .NET 2 or .NET 3.x, without much difficulty, and 99% of your code 1.1 will compile just fine on the new framework. You will most likely spend more time converting the old code to use the new layout features, but all 1.1 sections are still available. Th...

drupal rss feed not displaying in IE7 -

I am creating some RSS feeds from my Drupal site. They work fine in Firefox and IE8, but it is displaying XML in IE 6 and 7. The feed is in place. Can anyone help? IE 6 is a native RSS reader, so plain XML is completely normal and hopefully if IE 6 A "beautiful" view is essential, so you want to use client side xslt to speed it up (for example, see this answer for some useful pointers). Not sure about IE 7. I'm scared, I do not have a copy to copy yet. Your feed meets all the publishing requirements for IE7, however

SQL full-text thesaurus -

Can anyone obtain XML for English Thesaurus from the Web (for mssql)? I really hate to fill it with hand ... Here is Project Gutenberg, though I think This is TXT format

c++ - vsnprintf and gcc -

मेरे पास निम्न कथन है: vsnprintf (लक्ष्य, आकार - 1, "% Ls_% ls ", str16_1, str16_2); यह जीसीसी पर क्यों असफल है? मैंने इसे इस तरह विंडोज में इस्तेमाल किया: vsnprintf (लक्ष्य, आकार - 1 , "% S_% S", str16_1, str16_2); और यह अपेक्षा के अनुरूप काम कर रहा है जीसीसी प्रलेखन पर मैंने पाया कि% S समानार्थक% ls है, लेकिन मुझे इसका उपयोग नहीं करना चाहिए। मैंने% S के साथ भी प्रयास किया, लेकिन काम नहीं कर रहा है मैं इसे चर तर्क सूची के साथ एक समारोह में उपयोग करते हैं। क्या यह काम करना संभव नहीं है क्योंकि मैं प्रारूप वैरिएबल को बदलता हूँ जो मैं va_start से पास करता हूं? मुझे% S खोजना चाहिए और इसे% ls में प्रारूप चर में बदलना होगा। फ़ंक्शन कुछ ऐसा है: शून्य f (const char * format, ...) {Char * new_format =% s के साथ% s के साथ बदलकर% ls; Va_list आर्गेंट; Va_start (आर्ग्स, प्रारूप); Vsnprintf (str, आकार -1, नया_आकार, आर्गेंट); } मैंने चेक किया और नयाफ़ॉर्मेट सही है। धन्यवाद! snprintf का उपयोग करने का प्रयास करें, इसका कारण vsnprintf है। vsnpri...

Excel: Recreating a Sheet with a Macro? -

I am looking for a simpler way to reproduce a relatively complex Excel sheet with a macro, cell values, Formulas, formatting, and cell size. Actually, I have an Excel sheet and I need VB code which will create a sheet. To wit. Some macros prefer to use the recorder, but do all the steps in order. Any thoughts? (It would be more convenient to copy from template XL, of course, but I am limited to code and can no longer use additional files for production). If you do not want to use additional files, then your template will have a different sheet in the same XLS Keep where your macro resides. IMHO, you should avoid reproducing a full letter by code for at least maintenance reasons.

asp.net mvc 2 - How to store data of complex types for use in Javascript? -

This is a reoccurring topic: either the AJAX data server can be requested and then the data is shown to the user or The page is pre-generated (i.e. sung) with the data that has some kind of interaction with javascript. Here are some possibilities that I see how to store and manipulate (complex) data: Simply store the data in the DOM and javascript Use the to-do-to-dom, do something with the data and manipulate the dom accordingly to show results. Receiving and storing data (multiple hidden areas) can be a real mistake and many selectors may be slow to get data from JavaScript. The advantage in pre-populated scenarios is that the data search engine is indexable / crawlable by spiders and pages work without javascript enabled (it is highly affected). Use Javascript To keep data, use a container and DOM to visualize data only. When some action is initiated, the items obtained from DOM are something like an entity's ID, so we know what we are referring to in JavaScript. B...

vb6 - Create a user in Active Directory from an Infopath form -

I've been searching the web for some time and still can not find anything useful on this topic. / P> What I am trying to create, there is a button in my infopor that will create a user account in Active Directory. The code will need to be dragged through the information stored in the areas of Infopath form. I have chosen to use Visual Basic because I believe there is a good language scripting with Eddie. I successfully run this code: Sub CTRL1_12_OnClick (eventObj) MsgBox "Output:" and sub Is: 'Output:' in the VB dialog box ' When I click on my Infopath button However, when I try: obsolete = objou = GetObject ("LDAP: // OU = people, OU = contoso, DC = contoso, DC = com") set objUser = objou All I got an error message in Infopath ("User", "CN = Linda Mitchell") objUser.Put "sAMAccountName", "linda.mitchell" objUser.SetInfo () : The following error occurred: The ActiveX component obj...

java - Is there a call tree view available for jvisualvm or NetBeans profiler? -

JPProofer offers a live call-tree view so that you can view real time CPUs and drill down for details. Reset zero at any time, rinse, repeat I am currently without the device, and am trying to get it with the free / open option. Jvisualvm and NetBeans profiler have a steady snapshot call-tree and a live flat view. It seems that a live call-screen view will be available (or as a plugin), but I do not think so. Is this type of feature available only in Professional profiles? Thank you. If you press the 'Snapshot' button in the sample or profiler window after profiling of CPU usage, This will show you a call tree, in which for each method the CPU will be self-timed, along with a summary of time. Source:

osx - Tabbing through an HTML form on OS X, any way to force it to stop on all form elements? -

First question here, be gentle. :) In OS X, tabbing through the HTML form, you will find that it only prevents text boxes and lists. I need it to turn off all form inputs (strictly input s, all the form elements that collect data). As far as I know, it can be configured only by the system preferences under the keyboard shortcut, but obviously we do not control it ... Have any ideas? I feel like writing something in jQuery to hate something that feels so despicable. Thank you I am obliged to do such a thing to behave safari Want to do The drawback is that you prevent default on normal navigator tabulation, which can be a major problem for access to certain situations. But I doubt it. var tab = {}; Tab.i = 1, Tab.items = 0; Function Fix Tabulation () {/ * This can be used for auto-orange tab-indexes, or # has been commented whether this manual tab-index # has already been assigned * / $ ('Input, Select, texture ') each (function () {$ (this) .attr (' tab...

javascript consolidating switch statement -

मेरे पास निम्न है: स्विच (राज्य) {केस MyStates.StateA: / कुछ तोड़; मामले मायस्टेट्स। स्टेट बी: // कुछ ब्रेक करें; केस मायस्टेट्स। स्टेटस: // कुछ ब्रेक करें; } कहें StateB और StateC दोनों कोड को उसी बिट पर संसाधित करने की आवश्यकता है, मैं कैसे कर सकता हूं दोहराव से बचें? ध्यान दें कि मैं नहीं सेट MyStates.StateB = MyStates.StateC ; उन्हें अलग-अलग होना चाहिए और विभिन्न प्रकारों के भी हो सकते हैं। मैं निम्नलिखित अवैध कथन की तरह कुछ करना चाहता हूं: मामला मायस्टेट्स। स्टेट बी || मामले MyStates.StateC: स्विच (स्थिति) {केस MyStates.StateA : // एक ब्रेक के लिए कुछ करो; मामले मायस्टेट्स। स्टेटस: केस मायस्टेट्स। स्टेटस: // बी और सी ब्रेक के लिए कुछ करो; }

ruby on rails 3 - Reusing form_for in view for a mailer errors on forgery -

I have a template in a new.html.erb form, where I usually save DB and then e- Mail on success I want to send mailer to the same new.html.erb as body and pass the model so that the form is fully populated. I am getting the following error: Undefined method `protect_against_forgery? '# & Lt; # & Lt; For Class: 0x000000049d7110 & gt;: 0x000000049d4690 & gt; On the line immediately after the form_ tag (I think it is auth token tag injection). Is there any way I can defect it so that I can use the template again in the mailer? This looks like mailer code class MaintenanceMailer & lt; ActionMailer :: Base Assistant: app def request_mail (maintenance) mail: from = & gt; Maintenance.community.email,: subject = & gt; "Maintenance" | Format | Format.html {Render: Layout = & gt; 'Default' ,: Template = & gt; 'Maintenance / New'} End End Add it to a helper, which only Uses your mailer template: def protect_ag...