Posts

Showing posts from February, 2011

xna - Is there a way to tell if SpriteBatch.Begin has been called on a particular SpriteBatch object? -

I have recently started playing with XAN and nothing about this question has been found on the web. . Can you tell whether SpriteBatch.Beggin (and vice versa) has been called on a special Spritebatch object? For the moment, I am using only one essentially Global SpriteBatch object for the system, mainly because it is the preferred method of articles I read. I'm assuming that creating a spritebatch example for each object will cause too much upper part, anyway, I'm having trouble keeping SpriteBatch. Especially when drawing objects can have other drawing objects. If I could check whether the start / end has been called, then my problems go away. I think I can try something like sub-clinging of Spriteback class, but I think that this operation is so basic that there must be a built-in method to tell. I could not understand how. Thank you for any information you can provide! If you take a look at this link, then I think this will answer your question. Sorry, if the li...

user interface - Where do I put my Office Add-In configuration page(s)? -

I am writing a COM add-in for Word, Excel, and PowerPoint. This add-in has some user-configurable settings (about the full page of them ... or maybe even more than the same page). What is the standard way for a user to present them? Under Tools-> Options via a custom page? (How?) Under a custom button on the custom toolbar? A special menu for add-ins? If this was Outlook, then I would add a custom property page. I was very convinced that I could easily do some other Google applications like Google, but I'm not clearly searching for the right conditions. The signal is also very welcome to improve my search! Update : I realized that your From the question that you are targeting Office versions and can still include in 2003, for example, the Tools menu has moved to 2007. You can still answer your question by looking at the starting point of the migration mentioned from 2003-2007: Using the Settings for the Sample 2003 Add-in, click the add-in Is located in the spec...

Delphi: Draw a text in a caption form for vista with aero like windows 7 -

With text like windows 7 on a window, how does text (how with the onClick event) attract a caption bar? In the example, does not work on Aero with Vista, do you have any ideas? Thanks for all Automatically disabled MS Office expands client area to cover what ranges For tips, see "Drawing in glass area with glass" section for suggestions, you have to convert Delphi into API calls, I'm scared.

gcc - C++ GCC4.4 warning: array subscript is above array bounds -

I have recently upgraded to GCC 4.4 (Minigud TDM Build) and now the compliance code produces these warnings. : member function 'zero console :: print (const std :: string & amp;)': WARNING: array is above subtitle array limit code: zero console :: print (const std :: string and str) {std :: string newLine (str); If (newLine.size ()> MAX_LINE_LENGTH) {sf :: Uint32 stringSize = newLine.size (); {NewLine.insert (insertPos, "\ n") for (Sf :: Uint32 insertPos = MAX_LINE_LENGTH; insertPos & lt; stringSize; insertPOS + = MAX_LINE_LENGTH); }} String list token; Promotion: Partition (Token, Newline, Promotion :: is_any_of ("\ n")); (String List :: Iterator = Tokens.bugin (); it! = Tokens.and (); ++ this) {Adline (* this); }} Any ideas? This is an adaptation which is doing this ... It also appears that the line is due to this: boost :: split (token, newline, boost :: is_any_of ("\ n")); Ah, I found, there is a logic to pr...

authentication - Facebook apps redirect users to the wrong location after login. Is there a workaround? -

1) Make sure you are logged out of Facebook 2) Go to 3) Click one of the items for sale categories 4) Login to the top 5) You will get back to a malicious URL / wrong redirect It's also happening with my Facebook app. Do anyone have an alternative solution for this? Thank you I'm having this problem also when a user visits the page In the top right, Facebook logs in to access the fields in Chrome, then they are redirected to: WWW.facebook.com/my-app/ ... resulting in "no page found" .facebook .com / my-app / This bug has been submitted to FB Bugzilla. Let's hope they'll fix it soon.

tsql - schema sys/dbo - extended stored procedure rights -

I know that system schema has access to all extended stored procedures. If my system login login schemas are getting- dbo, what is the "sys" schema? Can I tell that system management has all the permissions executed on extended stored procedures? How can I prove it with TCLL? sys 'magic is specially identified as code And this is particularly visible to the objects inherent: SQL Server System Objects, such as sys.objects, are physically retained in the resource database, but they appear logically In the system schema of the database. General ownership and permission rules are not applicable to sys . Sysadmins do not need any permissions, they have all the privileges and can not be denied and nothing can be canceled.

php - How to use sessions in place of a querystring -

Using PHP .. I have a small app that I've created that is currently navigating data from a database And uses a query string to obtain data. The key in the database is also in the string and it is no longer acceptable. I need to change it. I would like to hide the DB key and would like to use a session instead, but I'm not sure how to do it. In fact, there are other variables in the query string which I would probably like to use for all sessions. page.php? Var1 and var2 and id = 1 This is what my string looks like I am looping through the results in the database and giving each row the id so that when users click on the line they want But I am not sure how I can do this session. Do anyone have any ideas? Thanks EDIT: I am developing an email type system where senders and recipients receive and are receiving mail. Each piece of mail stored on the server will have its own unique key. Currently, I am using that number to retrieve the message, but the problem is that ...

ruby on rails - What is the best graphing/charting toolset to use for creating Google Analytics type graphs? -

Given a rail application on the server, the best charting / graphing solution for displaying dynamic, database-driven charts / graphs What is available in a web page like Google Analytics An optimal solution can include components that AJAX can write back and forth with the Railway app through AJAX. Thanks check

.net - Includes and persistent storage in CustomRules.js of Fiddler -

I am using the filer for a few days, extending CustomRules.js with my own logic. However, the file is getting very heavy (it's heavy at the very beginning). I am not very familiar with .NET or JScript, but I want to be able to split CustomRules.js into several smaller files, which I can include in CustomRules.js. Is this possible? I also need some kind of continuous storage in the requests. Is there any easier way to store values ​​in CustomRules.js for later use in requests? Enter the method to split any direct rules into other files (I could possibly add one Should think about what you can do. Compile the NET libraries and call them with the script file, as described here: I would be interested to know more about your rules, because a large rule file suggests that I Can I bake more useful functionality straight into Fildler? "Continuous storage on all requests" - What kind of storage? If you add JavaScript Global Variables to Fiddler script, then it will...

firefox addon - batch delete css selectors identified by dust me selectors? -

My selector Firefox plugin recognizes unused CSS selectors. For large CSS files and multiple files, manual deletion of unused selectors is time consuming. Can this device automate? Have you tried spider controls

javascript - Scroll Bar in a Frame -

I have created a frame in a window. Frame size is fixed I do not want the scroll bar for the frame / if the text is overflow in the frame, I have to scroll a window instead of the frame scroll bar to control overflow part. thnks .. scrolling = "no" Displaying the scroll bar will prevent the iframe. But the second part of your question confuses.

C# and method hiding -

The "new" keyword used per MSDN, the "hidden" method, simply suppresses a warning To hide the method, do I really need a "new" keyword? If I have a child who has the same name of the same method but clearly does not make it clear that it is an override, then this is not necessarily the same thing, I just got a warning? Please tell me that my understanding is correct. Thank you You hide the method whether you specify "new" or not, but it's overriding not quite the same . Here's an example where they are different: using the system; Class Base {Public Virtual Zero Override Me () {Console.WriteLine ("Base.OverrideMe"); } Public Virtual Zero HideMe () {Console.WriteLine ("Base.HideMe"); }} Category derived: base {public override zero override () {Console.WriteLine ("Derive.OverrideMe"); } Public New Zero HideMe () {Console.WriteLine ("Derived.HideMe"); }} Class Test {Static Zero Main () ...

Can JRuby use original Ruby gems? -

I am thinking about the difference between the JRB on rail and the original ruby ​​on the rail for my product ? How does this difference in support between development activity, deployment, original or scalability? I have read many articles, he said that JRUB is a similar function like Ruby. Does this mean that we can use ruby ​​gems for jerbi, use ruby ​​like crabs and activitecards, and we can also deploy a product like Java Only gems written in Ruby will work under JRB. Gems like RMG or MySQL or (implementation of the standard) require a CS extension, in some cases and in other cases you will be out of luck with options like JDBC MySQL and JSON-JRUB Gem.

c# datetime to sql with including seconds -

I use the date and time of a SQL field (datetime data type) using Datetime.Now (using linq) I am trying to save. But are not coming through seconds. Does anyone know how to charge? Ta This works fine with me for datetime. Now how different is the date of SQL Server I have a problem with a different millisecond precision in different ways. How is the SQL table column for your date? Can It Store Seconds?

what is d2k in oracle -

ओरेकल में d2k क्या है यह ओरेकल डेवलपर सूट है, मुख्यतः ओरेकल फॉर्म और ओरेकल रिपोर्ट्स शामिल हैं। 2k 2000 (ओरेकल डेवलपर 2000) के शॉर्टनिंग से है। में अधिक जानकारी

How to cross join two tables in SQL server -

नमस्ते मेरे पास एक तालिका है EMP_SCHED जिसमें EMP_ID के लिए COMMENTS कॉलम और अन्य तालिका SHIFT है जिसमें EMP_ID के लिए COMMENTS कॉलम भी शामिल हैं। मुझे दोनों तालिकाओं से COMMNETS चुनने की एक निश्चित तिथि सीमा है। उदाहरण के लिए मेरे पास EMP_SCHED तालिका में 7 EMP_IDs और SHIFT में 2 EMPIDs हैं। मुझे सभी EMPIDS और COMMNETNS की आवश्यकता होती है और सामान्य EMPID एक पंक्ति में दोनों तालिकाओं से मैंने सोचा कि जगह पहले EMP_SCHED पर SHIFT पर शामिल हो लेकिन उन्होंने कई पंक्तियों को वापस कर दिया SELECT distinct E. [EMP_ID] SCHED_EMP, S के रूप में .EMP_ID के रूप में SHIFT_EMP, E. [SCHED_COMMENT], एस कॉममेंट्स [EMP_SCHED_COMMENT] ई, SHIFT S जहां e.emp_id = * s.emp_id आउटपुट देखा नल 33018 नल ट्रक डिलिवरी नाउल 33029 नल ऑर्डर बियर / वाइन नल 33067 नल डेली शिफ्ट उपलब्ध नाउल 33115 नल स्वच्छ बैकरूम नल 34232 नल सीसीसीसी 34020 34 020 kkkkkk 34020 34020 looo क्या मैं यहाँ सही कर रहा हूँ? Div> पहले आईडी की एक विशिष्ट सूची प्राप्त करें EMP_SCHED यूनियन से चुनें अंतर E...

c# - subsonic 3.0 , The SqlServer default value doesn't work? -

I used Subsonic 3 with T4, it is very easy to use. But now I get a problem. I specify the default value in Sqlserver 2005. Then I called the Save () method in the subsonic. I found that the default value does not work. The default value will not work because the object will set the value first - whether it is zero or ... Whatever the answer is, the default setting is on the object.

recursion - What's the explanation for Exercise 1.6 in SICP? -

I'm just starting to work through SICP (on my own, this is not for a class), And I was struggling with exercise 1.6 for some days and I do not know it. This is where Elisa redefines if in the context of cond , then it is like this: (define -Cong-clause) (code (again word-clause) (otherwise-clause)) He tests on some simple cases, and then use it to re-write it Does the square root program (which was worked fine with if ): (define (sqrt-iter guess x) (new-if ( Good A-enough? Estimate x) (sqrt-iter (estimated estimate x) x))) The question asks: "What happens when the elisa calculates the roots of this square Trying to use it? " , I'm happy to reproduce other processes ( good-enough? , improve , etc.), just let me know.] Now, I know what happens: it never gives value, which means that the program is infinitely recursive. I can not tell why this happens why. If there is a difference between new and new-if then I can not find any more and all help i...

sharepoint - MOSS vs. traditional ASP.NET -

I am in the process of evaluating MOS (SharePoint) and traditional ASP.NET for my client's site. The site will be available to the client's partners on the Internet. I am interested in the difference between these two approaches from the following perspectives: How does development perspective evolve? What are the professional and cons of both methods? Which platform will provide better performance than the display perspective? So far, we know that much of MOS's features can not be used out-of-the-box, and features will be added through web parts. The big difference you need to be aware of is licensing on the internet to use an internet mOS License will be required. The actual cost depends on your deal with MS, but this is a significant cost. We have found that developing ASPNNet pages for SharePage is more expensive to develop. Due to requirements especially for development environment and deployment problems. From a demonstration perspective, it depen...

entity framework - Asynchronous ObjectContext.SaveChanges()? -

मुझे SaveChanges की ObjectContext (Win apps) चाहते हैं मैं मूल रूप से को ओवरराइड करना चाहता हूं, SaveChanges को बदलना चाहते हैं I ऑब्जेक्ट कॉन्टैक्ट का । क्या इससे पहले किसी को इसके बारे में सोचा है? 2013-03-12 में संपादित करें: चूंकि कुछ लोगों ने इस जवाब को गिरा दिया, मुझे लगता है कि, किसी कारण से, यह समाधान है अब अच्छा नहीं है। कृपया, उस वजह से जवाबों को उतारा मत करो। हमेशा एक सौम्य टिप्पणी के साथ शुरू करें कि आपको जवाब क्यों नहीं पसंद आया। मेरा मानना ​​है कि आपको उपयोग करने की आवश्यकता है यह मूल रूप से इस तरह काम करता है: आप उस पद्धति से एक प्रतिनिधि बना सकते हैं जिसे आप अतुल्यकालिक कॉल करना चाहते हैं; आप कॉलिंग शुरू करने से प्रतिनिधि पर कॉल करें; आप जो भी करना चाहते हैं, आप करते हैं (उदाहरण के लिए एक marquee चेतन); आप या तो समाप्त करने के लिए async कॉल की प्रतीक्षा कर सकते हैं या यह जांच कर लें कि क्या पूरा हो चुका है और यदि यह नहीं है तो मार्की को एनिमेट करना;

css - Div float & negative margin question -

I hope this is a simple one, but I can not seem to be able to crack it quickly ... I have a 2 column layout, as well as the dynamic dynamic and AJAX content in the right column. Therefore, page height varies depending on what is in the right column. I should speak a small flash file (400px x 200px) at the bottom of the page, but below column 1. The problem is that I want a negative top margin of Flash-200px, so it's not getting trapped on its own. This also reduces waste white space. & lt; Div id = "container" & gt; & Lt; Div id = "col_1" style = "float: left; padding-bottom: 200px;" & Gt; Some static content & lt; / Div & gt; & Lt; Div id = "col_2" style = "float: left" & gt; AJAX content & lt; / Div & gt; & Lt; Div style = "clear: left" & gt; & Lt; / Div & gt; & Lt; P> I have simplified the code, but you should see what I am saying. Simple 2 c...

Evaluating SQL-query to LINQ-object - C# -

I have a dynamic SQL string that I want to return to as the evaluation and LINQ-object. Is there any easy way to do this in C #? Tried to do this, but nothing has been found. So all (or mostly) answers are appreciated. Best regards, Robin I found it: IEnumerable & lt; XElement & gt; LINQ; Linq = (IEnumerable & lt; XElement & gt;) XElement.Parse (RawXmlData.ToString ()). Element ();

iis 7 - WCF + WF + IIS 7 Virtual Path Error -

I'm new to try to build a set of services for use using WCF and WWF me For some client applications I'm making 2 applications called the Libraries (Workflow and Service) and Web API 1 Web App is hosted within IIS 7. API in Web applications, I workflow (current) InventoryService.svc file within the library service to a file called the set on my workflow service type and is set to host "System. ServiceModel.Activiation.WorkflowServiceHostFactory " I'm sure the config is correct, but here it is. & lt; & Gt; system.serviceModel; & Lt; Behavior & gt; & Lt; ServiceBehaviors & gt; & Lt; Behavior Name = "Synchronized Inventory Bid" & gt; & Lt; ServiceMetadata httpGetEnabled = "true" /> & Lt; The services included in the debugging include exceptions = DishialInstine = "false" /> & Lt; ServiceCredentials & gt; & Lt; WindowsAuthentication allowAnonymousLogons = "false...

.net - ICallbackEventHandler, HttpHandler, XMLHttpRequestObjext - which is the better method -

Which of the three (iclacAventhandler, HTTPHandler, or XMLHTPPKAE Object object) is a better method to use? They are essentially the same? Does ICallbackEventHandler and HttpHandler have variations to use just XMLHttpRequestObject? The HTTP handler is a server side type. XMLHttpRequest is client-side. I do not know what else is.

Is there JavaDoc available for DB2 drivers? -

Anywhere I add my IDE to get Java Dock support and to my DB2 driver (db2jcc.jar) Can i I have noticed that my computer has been installed locally, and it does not seem like anything. Is this also available online? There is no complainer for DB2 drivers. As you are rooted, you can use another JDBC driver, and you can configure your IDE to use this optional Javadoc. Doctors for DB2 JDBC are straight, but this is not in the form of a Java.

How do I make my table body width equal to the table width in HTML? -

How do I make the width of my table body equal to the table in the HTML table? You can also try to "collapse" the border-style style on your table. Any padding on the table made by default will reduce. table {border-fall: collapse; }

c# - How would you test something that filters complex objects -

I have a persistent object with 7 provincial areas. The number of values ​​listed here Can hold: area of ​​possible value # 1 5 2 20 3 2 4 2 5 19 6 2 7 8 For 121600 unique objects Which is probable There are several fields of code under test that gets a certain number of these objects based on the values ​​of these fields, Puts in a bin for use of Tm bin trivial submit, has been tested and works fine ... it's just not much work that filtering. It seems that many shadowy cases are not being covered and many objects are being kept in the bin when they should not be chosen at all. All things, 9 filters that work in a series of responsibilities, put each filter in the bin until the series is out in the bin. The last filter in the series is simply a 'filter' which sends an e-mail to an administrator that it is being noted that the objects are running low (i.e., if the series has reached this filter, the bin is not complete, And some need can be seen). So my pro...

php - Is a Session-Based Cache Solution Viable? -

I am thinking that instead of creating a file-based caching solution, to store cached items in session charges, is feasible? Since it is once per user, this can reduce the database to some additional calls if a user visits more than one page. But is it worth the effort? "post-text" itemprop = "text"> If you're caching (ready to cache) is not dependent on the user, in the session Why store ... which is related to a user? Ideas are usually stored in files, it will not be suitable in any type of optimization to use the files themselves. And if you have 10 users on the site, then you have 10 times the same amount of data in the cache? I do not think this is the best way to cache things - -) For the same data for all users, I actually go with one more solution, whether this file is based or not (Even for this Some things that you can see: A user, or specific data for a group of users, maybe I do not store it in session Will do - Almost every fr...

.net - Getting an error when using ObjectContext.AddObject with Entity Framework -

I'm getting an error while using the unit framework and C #. I am trying to save any of the common unit with a line of code similar to the following: objectContextInstance.AddObject (objectToSave.GetType (). ToString (), ObjectToSave) The error message I get is: The EntitySet name provided should be named with EntityContainer name, such as 'EntityContainerName.EntitySetName', or DefaultContainerName property, must be set to ObjectContext. I do not understand this error because I have checked the unit data model and confirmed that DefaultContainerName has been set. Can anyone provide any suggestions for troubleshooting it? Try it out: objectContextInstance.AddObject (objectToSave.GetType ( ) .name, objectToSave) Type string () namespace name, which is probably not even the name of unit STT. In addition to this, it will only work if the entity type name and EntitySet name are the same if you can not guarantee it, then you should sign an entry ...

java - Encrypting War files -

I would like to encrypt or obscure my war file so that the reverse engineering can do a bit more effort. Is there a device or Maven plug-in that will encrypt a war file and its content? In addition, once the war is encrypted, how will the web application be deployed at that time? If the web server can explode war, then every jar and resources can still be encrypted, how will the startup behavior be modified to decrypt nested jars and resources? Thank you, Walter - Article from JavaWorld. If your code suffices to go through all these troubles, then it is possible to understand it host it on a private server ...: \

iphone - Change text in GKPeerPickerController -

Is it possible to change the default text (like "other iPhones and iPod Touch") in GameKit's GKPeerPickerController? The solution that I have completely customized, but I was thinking that I can avoid that problem and just change the default text. You can mess with the view hierarchy of GKPeerPickerController OS versions can break with. If you are looking to create your own controller, let the user connect to another device, just forget about using the picker controller and use a simple example, it is open source Just scroll down a bit).

Facebook App vs. Facebook Connect site -

I am reading the documentation of Facebook so that I can understand how to enable Facebook connect on my site. Which tells me which parts apply to the Facebook application and Facebook connect, because I'm reading, I think I'm learning about Facebook connect, but then I will reach an area in which the Facebook app Would be mentioned. For example, here's the data from the page of .getCookies: This method gives all cookies to a given user and application. Cookies only apply to web applications; They do not apply to desktop applications I consider my website as a web application, but I can not tell that "Web application" Is for applications. How can I tell what I am reading, not just applying on Facebook connect, but just for the Facebook app? In that context, the "web application" shows the Canvas based application with Facebook "Desktop app" in that context, I will look at the Facebook platform as a set of APIs: Facebook canv...

c# - X509Certificate2: Extensions are missing -

In C #, I am loading X509Certificate2 objects from X509Store, such as initial: X509Store Store = New X50 9 Store ("My", Store Location, Local Macine); Store. Open (openflags.openexensing only; openflags.readonly); I created my certificate in OpenSsl and it has been set to "any purpose" so I expect X509Certificate2.Extensions should not be blank and stop the "server authentication" extension Will happen. However, the extension is always an empty list. Any ideas? I will double check the certificate in an independent source, just to check that the data you think That's actually where I usually use one of the web-based tools: There are two such devices. In this way you know that this test data or the use of X509 libraries Next, I'm not sure what you mean by setting "on any purpose" poked through the open SSL document, and I do not see a setting for what you describe is a proof There are two extensions in the letter th...

zend framework - DOJO : How do you reinitiate form elements after ajax call? -

I'm trying to do some things using the Zend Framework & amp; Dojo Toolkit, and any help would be appreciated. Here's the problem: I have a form that is provided with the Zand Framework Form Class, which has an AJAX radio button selection. Clicking on one of these radio buttons will send an AJAX request to another controller, which has no layout, only one rendered form. Ajax request will then populate a device with new form options. The problem is, when I change the DIV's internal HTM with AJAX feedback, all form inputs and elements are not inheriting the same dojo style and form validation I was wondering if there is any way to recreate the form elements after an AJAX call? I tried to use this code which I found and modified a bit for this example, though it did not work. If I use the line dojo.parser.parse (div); There is no change (in the example RG_ADRE is the ID of a form element placed on DOM) here is console.log of rg_address: ; OnClick = 'do...

Access network folder programmatically WSS 3.0 sharepoint -

I want to create a web part that has a button, on the click of that button, I want to use the network folder Apply business logic to delete file / folder such as file / folder etc I have created this kind of web part, but this is giving an error like "no part of the path could be found". Comp01 \ ibc '"when accessing the network folder. I'm using IO for a namespace system for tigers. I found a strange behavior such as this web part works fine on another WSS server Whether to access the shared point of the network folder Do I need any privileges? I am using a windows authentication, which is not a certified certification. Please help me in this regard. Where are you trying to create a folder in the SharePoint server or a different server? Check that you are reaching the path using the UNC \ format, make sure that permission is configured. Apart from this there is a chance that the cloning folder is not configured for the right to create, check the a...

asp.net - I want to open a popup on clicking a button showing an aspx page -

I have seen it in the West-Wind Toolkit, where he has created his control called the Hover Panel, but I am not able to apply the. So, there is another way to do this. You can use the jquery UI dialog for this. See this

silverlight 3.0 - SL3 TimePicker width resize -

I am using the latest version of SL Toolkit for SL3. Timepick works great but is a bit bigger before the real time there are so many white spots. I can not find the size below 120 width by setting the MinWidth and Width but TextBox and So the right part is hidden. Does anyone face the same problem and have a fix for that? I tried overloading the ContentTemplate but without any luck. You will need to set up TimeUpDownStyle instead, because the time picture control is a composite, in fact it There is a time-dropdown control inside (a template part) with a minimum set of 100 sets - and setting the style will help to fix it. Consider using code like this to create a new minimum width of 30 for the time-down down of control: & Lt; / Style & gt; & Lt; /Grid.Resources> & Lt; InputToolkit: Time Picture TimeupDown Style = "{static resource small minuWood}" /> Hope this helps!

html - How can I execute JavaScript onClick of a NON-LINK? -

I have some code that is running when a user clicks anywhere in the body of a web page. I just want to run javascript if any click on a click on non-link? Thanks / Mike document.body .onclick = function E) {var target = e? E.target: window.event.src element; If (target.nodeName.toLowerCase ()! == 'A') {// do something here ...}}; Note that the event will prevent you from running the above handler. You can use event capturing to avoid this.

Get current Windows user name within Silverlight -

Is it currently possible to meet the user's username with Silverlight? You can assume that the user has Windows OS and the Silverlight application is hosted in Internet Explorer. Getting ASP.NET from server side is not an option, this Silverlight application will be hosted on a static HTML file. Unfortunately, I do not think this is possible. Believe it, but it does not consider itself, so most common are normally not present in the subset of the available settings for the net mechanism Silverlight apps available to us to log in to the user's name normally: that is. System.Net.CredentialCache.DefaultCredentials System.S Ecity.Principal.WindowsIdentity.GetCurrent () .name Environment.Username All of the Silverlight applications are unavailable, while (in) a Windows Form application, using each of these mechanisms I think that this makes sense, in fact, because there is no guarantee that the Silverlight application is going to runnin Incidentally, Here also th...

php - Echo Warning or Confirmation on Condition -

I expect execution: function email () each Bar page is said to be loaded. If $ Valid is present email () should either return correct or false . If $ Valid is not present then email () check postback () (example: the page has been submitted and we are looking for it Are the other times?) And if correct is valid field () s form and either set $ valid = 1 ( true ) and Mail () or set to $ valid = 0 ( false ). Now exists $ valid to call email () for the second time, for example say correct Or false should be returned what's happening $ valid Code> does not appear when this happens when email () is initially called when we call email () for the second time Isset ($ valid) is called if section always false returns I really hope you can help, I appreciate any answers and thank you all! BTW: I know we can " try " and " hold " mail () but I The more you can do, the more complexity of the code is redu...

java - Slow building list of paths -

I am preparing a list of a hash that represents the path to the node path in a tree. My works work but they are incredibly slow in big tree structures - is there a better way? I have tried to create a list in a function, but I find unique shades where I do not want them. Public Aurelith Update: The suggestion of Marcin to make a hash during the tree tree gives a wrong answer, but perhaps I did it? Public Arrestists & lt; Integer & gt; GetPaths (Abstraction End Lt; String & gt; Tree, Stringbuilder Parent) {ArrayList & lt; Integer & gt; List = New Arrestist & lt; Integer & gt; (); Parent.append ("/"); Parent.append (tree.getNodeName ()); List.add (new stringbilder (original) .toString (.) Hashode ()); If (! Tree.isLeaf ()) {int i = 0; Iterator & LT; AbstractTree & LT; String & gt; & Gt; Baby = tree .get baby (). Iterator (); While (i & lt; tree.get Childen (). Size ()) {list.add all (getPaths (child.next), new strin...

java - Void value as return parameter -

मेरे पास यह इंटरफ़ेस है: सार्वजनिक इंटरफ़ेस कमांड & lt; T & gt; {टी निष्पादन (स्ट्रिंग ... आर्ग्स); } यह अधिकांश उपयोगों के लिए ठीक काम करता है लेकिन जब मैं एक कमांड का मॉडल करने की कोशिश करता हूं जिस पर केवल साइड इफेक्ट होते हैं (उदा। बिना वापसी मान) मैं लिखने के लिए परीक्षा देता हूं: सार्वजनिक वर्ग SideEffectCommand कमांड & lt; शून्य & gt; {@ ओवरराइड पब्लिक व्हॉयड एक्जिक्यूट (स्ट्रिंग ... आर्ग्स) {वापसी नल; // ठीक है ठीक है? }} क्या यह एक आम समस्या है? बिना और मॉडल आदेश मॉडल के लिए सर्वोत्तम प्रथाएं हैं? मैंने इस एडाप्टर के साथ कोशिश की है लेकिन मुझे लगता है कि यह कई लोगों के लिए इष्टतम नहीं है कारण: सार्वजनिक अमूर्त वर्ग VoidCommand का आदेश कमांड & lt; शून्य & gt; {@ ओवरराइड पब्लिक व्हॉइड एक्जिक्यूट (स्ट्रिंग ... एल्ग्स) {execute2 (आर्ग्स); वापसी नल; } सार्वजनिक सार शून्य निष्पादित 2 (स्ट्रिंग ... आर्ग्स); } यहां बहु-विश्वव्यापी कार्यान्वयन का सर्वोत्तम है। // जब किसी क्लाइंट को एक कमांड के रिटर्न वैल्यू के बारे में ध्यान न...

visual studio 2008 - Why does cassini start when I run a unittest in VS2008? -

I am trying to test a class (controller) that does not need to run inside the asp.net environment But when I run the test, Cassini starts. How can I save Cassini's load? Thank you The problem was code coverage. I have disabled it and now Cassini no longer starts (without debugging).

css - Animate pseudo class in jQuery -

Is it active when it is possible to animate a pseudo-class, for example: My CSS contains the following: # gallery one period {border: # 006553 3px solid; Status: Relative; Hidden flurry; Display area; Top: 0px; Left: 0px; Height: 89px; Width: 89px; } # Gallery One: Hover span {boundary: # F3bbf6px solid; Status: Relative; Hidden flurry; Display area; Top: 0px; Left: 0px; Height: 83px; Width: 83px; } I want to change the link when a user reaches the link, which means the span borders will increase. Is anyone possible if this is possible? Thanks in advance. // Edit: I have seen the 'Animate-to-Collector' jQuery plug-in, and have used the following jQuery function call, but there is no animation No, the border just jumps between the specified style above. Here is my function call: $ ("# gallery a span"). AnimateToSelector ({selectors: ["# Gallery One: Hover Span"], Properties: ['Border'], Incidents: ['Mouseover', 'Ma...

How do I instantiate a string array object into a Spring.Net container? -

What I'm getting logically, is something like this: & lt; Object id = "foobarList" type = "string []" & gt; & Lt; List & gt; & Lt; Price & gt; Foo & lt; / Pricing & gt; & Lt; Price & gt; Bar & lt; / Pricing & gt; & Lt; / List & gt; & Lt; / Object & gt; Any ideas? this is not enough string [] , but you can use it Are: & lt; Object id = "foobarList" type = "System.Collections.ArrayList" & gt; & Lt; Manufacturer-Arg & gt; & Lt; List & gt; & Lt; Price & gt; Foo & lt; / Pricing & gt; & Lt; Price & gt; Bar & lt; / Pricing & gt; & Lt; / List & gt; & Lt; / Creator-arg & gt; & Lt; / Object & gt; There is a way to form a string [] in the form of a spring but it is very painful (create a string object), then using a type object Use the GetType method, then pass it to the ArrayList.GetArray ...

Modify the HTML structure of a Joomla custom Module -

I need to change the HTML structure of a Joomla module. I want to create my own custom module where I Must show the title below. This is the current HTML which is the default format (round): & lt; Div class = "module_clipon" & gt; & Lt; Div & gt; & Lt; Div & gt; & Lt; Div & gt; & Lt; H3 & gt; Write Module & lt; / H3 & gt; & Lt; P & gt; This content is & lt; / P & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; I need the HTML above to do this: & lt; Div class = "module_clipon" & gt; & Lt; P & gt; This content is & lt; / P & gt; & Lt; H3 & gt; This title is & lt; / H3 & gt; & Lt; / Div & gt; Actually bring the title down to the module content. What is the method of manipulating HTML of a module in Joomla? I believe it is possible using modChrome if any solution is easy to implement,...

ruby on rails - Changing mocha default expects exactly once -

I have started using MOCHA now and I am worried that when creating a new fake item, This is called once. My helpful ways to generate my mask and I am doing something like this my_mock = mock all parameters can not be found Each exam is called for the method so it will increase an error: Expected one time, not yet applicable So I thought I need to do something like this: my_mock = fake () HashOfParameters.each do | K, v | My_mock.expects (k) Returns (v) .at_least (0) end This works, but I was thinking that there was an easy way to do this, like changing a default configuration ... OK, this was a stupid question ... I did not take the time to actually get a fake and a Understand the difference between Stub It is a good article that shows how it works: So in my example, I used the stub method instead of mock Karan Should.

sql server - How to execute stored procedure without exception thrown by CRecordset::Open? -

I am trying to execute a stored procedure on a SQL server from an MFC-based C ++ program. The stored procedure is executed properly, but an exception is placed in a CDBException containing messages of "function sequence error" in my program. Tracing through the MFC source code for CRCreset :: Open, the exception has been removed from the Move Next - it makes sense, because my stored procedure is not generating any output. I have input and output parameters both stored procedure, so I can not use the recommended CDB: :: Execute SQL in this question: I finally came up with a hack to fix the problem, I could not wait for SO to give an answer I already got the problem to CRecordSet :: was found in MoveNext, which immediately calls the CRCrescate :: MOVE. Which I have not realized immediately that Move has been declared virtual, so it is possible to bypass it with its own version. Zero CMIRCorcaseet :: Move (long nRows, WORD wFetchType) {(zero) NRO; (Zero) wFetchType...

object - F#: I cannot return unit in a do clause and still have side effects -

I am writing a simple III file parser and I want to "do" section with the start of the object, The unit can be returned but I am trying to pip in "ignore" or if I return directly to "()" then the blank function can not be given to side effects. This code works as a separate function because I can ignore the results. # Light Module Utilities Open system open system IO Open Systems Text. Regular Expression Open System Collection. Normal Type Edit (? Filename: string) = filename = defaultArg filename @ "C: \ path \ myConfigs.ini" static default default settings = dict ["setting 1", "1"; "Setting 2", "2"; "Debug", "0"; "State", "clutter";] setting regex = new regesx (@ "\ s * (?> ([^; # =] * [^; # =])) \ S * = \ S * (? & Gt; value & gt; ([^; #] * [^; #]) "File settings = new dictionary; string; string; () Let's addFileSetting (groups: ...

sql - Using multiple tables in MySQL and/or multiple columns for a Rails application -

I'm thinking about what is the best practice to create unnecessary columns in a MySQL database Because I have a user table in my database but I also want to be able to display many statistics about each individual user. These figures may include how many times the user has communicated with another model or how many messages are there. Does it affect performance to calculate all records of a particular object (such as a message)? Or is it better to create a redundant column in the user table, which is called the total message, every time a message is added / removed? Thanks, this is confusing me for a while. short answer: both of thumb As a rule, I do not like to create and update data that can be calculated on the fly (i.e. count). Therefore, I refrain from adding those unnecessary data until you achieve performance constraints and adjust accordingly. You can always add retrospective statistics based on user activity, so that you only need your application "F...

How to make a private branch of public SVN repository? -

I want to make a private branch of a public SVN repository. By this, I mean that there is a public, open source (codeplex) repository that I need to make of my own, these changes will not be accepted back in the customs changes in the tree. . I want to: Check the changes made in my own source control, so that they can be saved and editions made. Put some links with the original so that I can easily merge "official" changes. I understand that git can do this, but I can not understand how to do it with SVN. If not possible, how can I do some aspect of the above - to take a complete code in my repository and keep a "clean" copy of the official tree where I can easily let two trees Can i separate The best solution to this problem is described in the section, thanks, James Use the SVN export order to dump your local SVN workspace snapshot of the external SVN hosted project in the form of a vendor drop.

Visual Studio 2008 - Images copied in explorer do not show up in Solution Explorer -

I have created a new folder in my project, which is correctly named 'Picture'. I have copied and pasted my images in the folder through Explorer, but how do I show them in the studio, so when I tag IMG or whatever is available src ... dropdown and I can navigate to the image that I Want to Okay, I have followed the advice and now the folder I have and all the images are visible to my project. I really want to create a login page for a web project etc. I'm following the tutorial. All this works and now I am working on layout. I've added an image tag on my login page, as simple as the source is right; the image is definitely there, but the image will not appear on the page, why ?? I should have It works on other pages of the project, but do not login.Apux Page! Thank you. If you are using a web application project, then you must manually add them to the project . Click "Image" and click Add> Add existing item and choose your new images.

asp.net - List of UserAgent String Values -

I'm trying to determine which interface to show to a user. If a user is going to my site with a touch screen phone, I want to show them an interface, otherwise, I want to show them another one. Can anybody know the list of UserAgent string values, so can I check this? I know that I can check the iPhone using the following code in ASP.NET: Request. However, I really want to find a list of other similar phones such as Palm Pre Blackberry Thunder, etc. UserAgent.indexoff ("iPhone", String Commerción, Ordinal Ignore Case) There may be some help examples:

ascii - How to implement C# enum for enumerated char(1) database field? -

Ok, so I have a database field that has a small number of potential state codes in type four (1) (for example 'F' = failure, 'U' = unknown, etc.) I have a C # enum class Which corresponds to these states. I can: public enum statuscode: byte {unknown = (byte) 'u', failure = (byte) 'f', // etc} So far so good but returned from the database in the datatable, the column values ​​are System.Data.SqlTypes.SqlString example is obviously some C # string (or a C # variable) from C # byte (actually from C # variable There are some issues for converting for a UTF-16 codepoint) but in this case I know that the value is constrained for a small set. And the code should be thrown out of the exception if the value outside this set comes. With it, what's the best way to do this? Is it safe to put on a byte with SqlString? Will convert Would it be better to use just a switch / case to crosswalk them to the values? I'm not only looking for the "best...

c# - Recommended .NET encryption library -

After reading more or less (after reading another) that we should not include mortal developers with encryption I am surprised at what library I should use. I have only two libraries that are legitimate and they are, but they are not much for me in comparison to the .NET cryptography API. I think what I am thinking is "jQuery of cryptography libraries" which is simple, comprehensive-reliable, open and well-documented. itemprop = "text"> Bouncy Castle Library is actually a reputable and mature encryption library, but what is wrong with using many encryption functions? In the right way Are the NET structures built into it? In my experience, these implementations are rock-solid, provide many options (for example: you usually meet an algorithm and manage it Are applicable), and you do not want to "take it wrong", because you are just implementing using if you are a little worried that you use are incorrect You can always follow, as you ca...

database - postgres: constraint check and null values -

कृपया निम्न तालिका पर एक नज़र डालें: नाम | एक्स | Y --------- + ----- + ------ foo | 3 | 5 बार | 45 | 99 फ़ॉउबर | 88 | बारफू | 0 | 45 मैं एक बाधा जांच (y> x) जोड़ना चाहता हूं, लेकिन यह स्पष्ट रूप से असफल हो जायेगी क्योंकि इसका उल्लंघन 'फोबार' द्वारा किया जाता है। कैसे करें मैं कहता है कि एक बाधा उत्पन्न करता है: चेक (y> x), लेकिन तभी यदि y नल हो? वास्तव में, आपको वास्तव में कुछ और करने की ज़रूरत नहीं है एक चेक बाधा संतुष्ट है यदि चेक अभिव्यक्ति सही या शून्य मान का मूल्यांकन करती है। आपकी बाधा जांच (वाई> एक्स) आपके परिदृश्य में काम करेगी क्योंकि पंक्ति फ़ोबार बाधा का उल्लंघन नहीं करेगा रिक्त करने के लिए मूल्यांकन

regex - RegExp C# and richtextbox -

I'm trying to do the following: 1) To match all the strings Using the regex, the following pattern "@username" & lt; & Lt; I get the text to be parsed with rich text boxes and to paint those patterns, @ ([A-z09 _-]) {4,20} 2) Have done "@ Someone in Color" 3) They are clickable and clicked to insert the clicked string in the text box (only when this is done in many codes And it is possible without libraries) Well, basically this .. any help is appreciated :) 'Cheers :) Use regexp to search for all the events of "@username", and store them in the archive Then repeat through this collection and do this: int startpos = 0; if ((startpos = richTextBox1.Find (name)) gt; 0) {richTextBox1.SelectionStart = startpos ; RichTextBox1.SelectionLength = name.Length; richTextBox1.SetSelectionLink (true);} Note that uses the expanded rich textbox found here :. (SetSelectionLink Vanilla Richtexbox Truth is not in class.)

Entity Framework - Join on many to many -

I have very simple for many relationships and I am thinking how you can remove it Tables Media Media_keyword (many maps of multiple maps) I have a code here: public list & lt; Keyword & gt; GetFromMedia (int mediaID) {var media = (in connection media with data. Media where m.id == select mediaID). first (); Var key = (Media by K. Media_keyword select new keyword {ID = k.Keywords.id, Name = k.Keywords.keyword}}; Return keys Toolist (); } Is this a way to do better? Normally, I select the right from multiple maps. var keys = K. data from connection. Media_keyword where k.MediaID == select mediaID k.Keywords;

model view controller - MVC for a CMS? What about themes? -

I understand what MVC and CMS are. I understand how MVC patterns and CMS should work. But I have problems with themes and patterns. Example: When CMS is installed on the Surveyor, I want to change my homepage. I want to display some additional data, I change my homepage template and add function call to draw data from DB. My new data will be displayed on my homepage :) But when I do this, I broke the MVC pattern because in this situation, what data should be read from DB on my homepage? So ... is it MVC for a CMS? Or maybe it should not be a clear MVC pattern to work with such situations? Maybe I should forget about the pattern? I'm confused ... PS WordPress is not built on this MVC pattern, I think? Design patterns such as MVC mean that separating your display code from business logic and so on. It makes it easy to change any part without affecting any part (eg, about changing any commercial logic by mistake). Do you think the function you are adding is simple v...

Can i know how many partitions and their names has a drive from C#? -

I need to identify in an NTP by Epicode if there is a specific non-Windows partition in a drive what it obtained from C # can go? Logically I have to know whether the division exists or not, I do not have to read it. Thank you very much earlier. How to: (almost) everything via WMI to C # - Part 3: "Post-Text" itemprop = "text"> Hardware Here also is:

c# - How do I reference a TextBox I added to a DataPager's ControlTemplate within a Silverlight UserControl? -

Using the Silverlight 3 release, I created a Silverlight user control that included a Datapiger and a datagreat. I have modified the DataPager ControlTemplate and have added a textbox with X: The name of the TestTextBox within the DataPager limit before the standard DataPager button, but I can not find any reference in the UserControl code behind that text box. Back in the code (C #), I tried: text box my text box = it. GetTemplateChild ("TestTextBox") as text box, but myTextBox emits winds. I suspect that I need to work against the Datapagiger frequency, but I do not see any method for drilling in the datapazer's hair controls. I do not have much experience with control templates, so I'm not quite sure how this issue is well worthwhile to turn on other useful resources here and useful. Can someone push me in the right direction? I think you can findControl ("name")? Try it: Text Box TB = DetapEGar 1.FindControl ("TestTextbox") as t...

php - Alternative to passing variable info through URLs -

I am writing a php / mysql app which uses a few different tables. Table 1 stores user information (name email etc.), table 2 store, user widget, and table 3 store those different widgets configuration. The way I am doing this now, the key to an automatic increase in Table 1 is that I use the specific user skills when they use Table 2, then it creates a line In which the table is the key ID, as well as the "UID", which is the key ID, from that specific user of Table 1. When the user wants to set the settings for their widgets, in Table 3, this is what I call "cxid", or config xid, which is unique widget id from Table 2. This goal is to limit which users are visited, and clearly used for config configuration purposes. The problem is, when a person passes the URL in the UID, when calling widgets. This is clearly a security problem because you can change it and see other people's widgets. But I do not want anyone to know how this is being done. Is there ...

iphone - Loop and changing variable -

I have a loop for that which stores this data in an array. I like it essentially to have 15 different arrays populated, I have written some pseudo code below. Is it worth achieving? for (int y = 1; y & lt; 16; y ++) {NSArray * array + y = item} I always have this question and always want that there was a way (such as variable variables of PHP), but I'm pretty sure No ... The only way to do this is to do this array array: Suppose you want to assign a value for an element of an array: NSArray * arrays [15]; For (Int i = 0; I Of course, what you want NSNumber, I was using it as just an example ... Hope you wanted the same you want PS You can also use the arrayWithCapacity of NSMutableArray instead of using a C-style array, but whatever you want. NSMutableArray * arrays = [NSMutableArray arrayWithCapacity: 14]; For (int i = 0; i

c# - Programmatically find out if system supports standby -

It sometimes happens with a Windows XP installation, unless the display drivers are installed, standby and hibernate-like Power saving action is not supported. Whether the system supports Hibernate - Is there anything similar to stopping standby support

java - Wicket session Expiration -

I am using a class for the session that expands to org.apache.wicket.protocol.http.WebSession ; I need a method when this session will expire as a result of logout or timeout. But I did not find anything. How can I do this? You can do this at the wicket level: By using the session history implementation override - override application # new semester Story () @ override protected Aissststor Nuseshnstor () {new second level Kachessteshnstor (new Diskpejastor ()) {@Override protected void onUnbind (string) SessionId) { // This code is called httpSession.invalidate ()}} when the wicket call is made; } But there is a flaw: when the session is ended (which is restricted by the servlet container) this code will not be asked. In other words - you can only handle the session destroyed event which is due to the wicket. You can use the Seral API at the global level - you can respond to the session, whatever it was started, HTTPSIZEN LISTENER #SessionDirected (from HTTPPation...

c# - When to call WebResponse.Close() -

WebResponse प्रतिक्रिया; कोशिश {HttpWebRequest अनुरोध = (HttpWebRequest) WebRequest.Create (url); अनुरोध। टाइमआउट = 20000; प्रतिक्रिया = अनुरोध। GetResponse (); अनुरोध = (HttpWebRequest) WebRequest.Create (url2); प्रतिक्रिया = अनुरोध। GetResponse (); } पकड़ (अपवाद पूर्व) {// कुछ करना} अंत में {} जहां प्रतिक्रिया चाहिए। बंद करें () को बुलाया जाना चाहिए? आखिरी GetResponse () के बाद कोशिश में - एक बार? अंत में ब्लॉक? कोई नहीं उपरोक्त। आपको का उपयोग करके ब्लॉक का उपयोग करना चाहिए: HttpWebRequest अनुरोध = (HttpWebRequest) WebRequest.Create (url); अनुरोध। टाइमआउट = 20000; (WebResponse response = request.GetResponse ()) ({var stream = response.GetResponseStream ()) का उपयोग करके {var reader = new StreamReader (स्ट्रीम)) {var result = reader.ReadToEnd (); // परिणाम के साथ कुछ करें}}} ए का उपयोग करके ब्लॉक सुनिश्चित करेगा कि विस्थापन विधि को बुलाया गया है, चाहे एक अपवाद हो या नहीं निषिद्ध एक ही बात को बंद करें। का उपयोग करके (var d = नया डिस्पोज़ेबल क्लास (...

xslt - template match using xpath query -

My XML has some nodes with the same feature and I would like to draw them using some xpath hope, This type of help can be seen in the form & lt; Myxml & gt; & Lt; Some types = "AT_SAS_6" /> & Lt; Some types = "AT_SAS_50" /> & Lt; Some types = "AT_SAS_200" /> & Lt; / Myxml & gt; I know that if it was on the name then I can do something like this Is there any value to do the same? I think the XPATH you are looking for is ... myxml / something [begin-with (@type, "AT_")]

How do I get the size of an Iphone context -

मेरे पास; CGContextRef संदर्भ = UIGraphicsGetCurrentContext (); अब मुझे संदर्भ की चौड़ाई / ऊंचाई जानना है (पिक्सल में); ऐसा करने का कोई तरीका? आप उस जानकारी को CGContextRef ऑब्जेक्ट, लेकिन आसपास के फ्रेम ऑब्जेक्ट से: self.frame.size.width self.frame.size.height

c++ - Reading parts of a line (getline()) -

Originally a .txt file is searched for one word in this program and if it finds it, then it prints the line and line number. Even I have so far away. Code: #include "std_lib_facilities.h" int main () {string findword; Cout & lt; & Lt; "Enter the word to search. \ N"; Cin & gt; & Gt; Findword; Four filenames [20]; Cout & lt; & Lt; "Enter the file to search. \ N"; Cin & gt; & Gt; file name; Ifstream IST (filename); String line; String word; Int linecounter = 1; While (gateline (ITT, line)) {if (line.find (findword)! = String :: npos) {cout & lt; & Lt; Line & lt; & Lt; "" & Lt; & Lt; Line mark & ​​lt; & Lt; Endl;} ++ line-counter; } Keep_window_open (); } Resolve You are searching: if (line.find (keyword)! = String :: NPO) {...}

asp.net - Regex Allowing for Hours in 15 Minute Increments -

I need a regex which restricts entry of 0-24 for one hour. Please keep in mind the following conditions must be fulfilled: When the whole part is 0-23, then partial part can be .0, .25, .5, or .75. When the whole part is 24, the partial part can be .0 When no whole part is present, partial part .0, .25, .5, or .75 Empty string is not allowed I am confident that the following expression can be tightened, but it is thus far: (^ (([0-9]) | (1 [0-9]) | (2 [0-3])) (\ ((* * 0 *) | (250 *) | (50 *) | (750 *))) $.?.? (^ 24 (\ 0 *) $). (^ \ ((0+) | (250 *) | (50 *) | (750 *)) $) Update: regex verification client (javascript) and server (asp .net, c #) both exist. And the reason for this is why do you need to do this as a regular expression? Changing to a number and doing a few basic checks will be far easier. Check that the number is a natural number by 4x & lt; = 96, done The profiles that you are likely to use. NET I think you want it as a regular expression...

email - How to receive "report spam" complaints for a newsletter service? -

I am creating an email newsletter service. Obviously we are linking regular opt-out and everything in this way, but I am thinking ... When a user in Gmail reports "spam spam" button (or any email client) Equivalent), how can we get these reports? System to parse these reports programmed, such as the API or the usual format of report emails which we can parse? Thank you! Based on more information Answer: Sorry, maybe it has become confusing how I put it in words. I know that does not inform the mail server for each click on Gmail "Report Spam" button and it is mainly used for client-side filtering but Newsletter companies received reports of this kind, even if it be directly linked not to the "report Spam" button, too: here Melchimp dot com to see discussed: and Avebr here: it It is as if they have enough reports , They will close a message on the mailing mail server, should I accept the email's "Return Path" title and ma...