Receiving the error: "Cross-thread operation not valid: Control 'ddlReportType' accessed from a thread other than the thread it was created on"
Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on
Possible Duplicate:          There are several tarballs (e.g. Firefox, Eclipse, Zend Studio and ...) that have executable files in them, that we can extract and run. but this executable will be available only for the user that extracts it.  If we want to make it available for all users we should move it to some location like /usr/share, /usr/local/share/, /opt/, ... and give appropriate permissions, make an executable file in /usr/bin/ and so on...  I want to make a deb installer file that does them all! How to do it? color code in SharePoint calendar How to print all printable ASCII chars in CLI? How can I define a math operator behaving like \lim or \sum with limits? For a 3D scene in the world coordinates, its View Reference Point $\mathrm{VRP}$ is at $(5,-2,1)$, and a viewer is looking towards point $A=(1,1,1)$. Construct a transform matrix which will map world coordinate points to a right-handed $(UVN)$ viewing space, so that $\mathrm{VRP}$ is the origin, the line joining $\mathrm{VRP}$ to $A$ is the positive $N$ axis, and the view-up Vector is $(0,0,1)$.   To my knowledge, the final answer should be a single transform matrix. To calculate the final matrix, I first find the matrix which translates the coordinate system to the to the origin in homogeneous matrix form:  Translation matrix:  $$ T=         \begin{bmatrix}         1 &amp;0 &amp;0 &amp;-5 \\         0 &amp;1 &amp;0&amp; 2 \\         0 &amp;0 &amp;1 &amp;-1 \\         0 &amp;0 &amp;0 &amp;1 \\         \end{bmatrix} $$  Using the unit vectors of the coordinate axes, the resulting rotation matrix is:  $$ R=         \begin{bmatrix}         -0.6 &amp;-0.8 &amp;0 &amp;0 \\         0 &amp;0 &amp;0 &amp;1 \\         -0.8 &amp;0.6 &amp;0 &amp;0 \\         0 &amp;0 &amp;0 &amp;1 \\         \end{bmatrix} $$ Then the final matrix (the final answer for full marks) would be the rotation matrix multiplied by the translation matrix:  $$ M=         \begin{bmatrix}         -0.6 &amp;-0.8 &amp;0 &amp;1.4 \\         0 &amp;0 &amp;0 &amp;1 \\         -0.8 &amp;0.6 &amp;0 &amp;5.2 \\         0 &amp;0 &amp;0 &amp;1 \\         \end{bmatrix} $$ Is my method and final answer correct?    Following the answer to this question, I have calculated the translation matrix:  $$ T= \begin{pmatrix} 1 &amp; 0 &amp; 0 &amp; -5 \\ 0 &amp; 1 &amp; 0 &amp; 2 \\ 0 &amp; 0 &amp; 1 &amp; -1 \\ 0 &amp; 0 &amp; 0 &amp; 1 \\ \end{pmatrix} $$  I have calculated the rotation matrix:  $$ R= \begin{pmatrix} -0.6 &amp; -0.8 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; 1 &amp; 0 \\ -0.8 &amp; 0.6 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; 0 &amp; 1 \\ \end{pmatrix} $$  But what would the final transformation matrix $M$ be? My lecture slides tell me it would be rotation matrix multiplied by translation matrix, with the last column multiplied by $-1$ except for the $1$. This would equal:  $$ M = R \times T =  \begin{pmatrix} -0.6 &amp; -0.8 &amp; 0 &amp; -1.4 \\ 0 &amp; 0 &amp; 1 &amp; 1 \\ -0.8 &amp; 0.6 &amp; 0 &amp; -5.2 \\ 0 &amp; 0 &amp; 0 &amp; 1 \\ \end{pmatrix} $$  But the answer here just adds them together somehow. Which one is correct? I want to use the get_option() function of wordpress in one of my theme's files, which is not related to WP, it is just located in the same directory of the other theme files. I need this file because of some extra IPN paypal related actions, but I need some values from the options table that exists in WP to be called in this page in order for it to work. I know I can't just use get_option() as this file is overlooked by wordpress. Is there any approach by including some parts of wordpress in my theme to make this functionality only work? Why is the potential energy equal to the negative integral of a force? Use of pizza stone in gas oven I have a new gas kitchen stove.  The oven seems to burn so easily. I have a thermometer in there and it is registering the temp that I have the oven set on.  I have seen where people have used a pizza stone to even out the heat.  I want to know if you place a rectangle pizza stone directly on the bottom of the oven or should it be placed on a rack on the lowest setting?  I would appreciate replies from anyone who has used this and if it had helped the problem Can regular expressions be used to match nested patterns? Introduce a  "general reference" close reason There is a certain amount of questions that are absolutely trivial in nature: How to format a date, how to concatenate a string, et cetera. Questions that could be solved by taking a look into the manual.  Random examples from the tags I frequent:                What those OPs need is a link to the right manual, which we should give them. But the question serves no purpose. They don't even have a use by being searchable,  because any sane search query would lead to the actual manual as the first hit.  Jeff discusses the possibility of introducing a new close reason for this over at  According to Robert's suggestion there, it could go like this:     general reference: this question is too basic; the answer is indexed in any number of general internet reference sources designed specifically to find that type of information.   Please please implement this.  Add a field (like the "enter duplicate ID here" popup) for users to suggest the correct manual link:    The suggested links would then be shown in a block in the top section of the question, like duplicate links.   Also, the amount of reputation earnable from these trivial questions is appalling. I'm sure a great portion of most high-rep users' points (including mine) is from answering "what was that function for replacing a string again?" type questions. This dilutes the value of reputation as a measure of true expertise a great deal.  I would suggest that answers to questions that get closed as "general reference" are made community wiki retroactively, taking away any reputation earned. I am developing a set of scripts, which I want to be present for all users, when I set up a server. But I don't want them in the standard locations like /usr[/local]/[bin],[sbin] etc.  Is there some existing convention for where such scripts should be placed? I'm using Xubuntu 14.04 64 bit. I know that question been asked a billion times, but all of them consist of editing following file:  /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla   That file does not exist on my system. I tried com.xubuntu.enable-hibernate.pkla but doesn't exist either, locate command doesn't find it. How do Stack Overflow questions appear in Google search results in seconds? 500 Error on index.php file Problem  Let $n \geq 3$ be an odd number and let $G=\{1,...,2n\}$ be a group of order $2n$. Let $\phi:G \to S_{2n}$ be the morphism defined by $\phi(g_i)(g_j)=g_ig_j$ and let $H=\phi^{-1}(A_{2n})$. Show that $H$ is a proper normal subgroup of $G$.  So basically the result of this problem is that every group of order $2n$, with $n$ odd, is not simple.   The morphism $\phi$ can be seen as the action of $G$ on itself by left multiplication. Since $A_{2n} \lhd S_{2n}$, then $H=\phi^{-1}(A_{2n}) \lhd G$. I am stuck at showing that $H \neq \{1\},G$. All I could think of is that $G$ has an element $g$ of order $2$, then $\phi(g)$ is of order $1$ or $2$, but it is easy to see that $\phi(g)=1$ if and only if $g=1$, so $ord(\phi(g))=2$. I don't know which are the elements of order two in $S_{2n}$. I would appreciate some help to solve the problem, thanks in advance. Proving that if $A$ is a $8\times 8$ matrix over $\mathbb{R}$ and $A^3=A$, then $A$ is diagonalizable. If $A$ is a $8\times 8$ matrix over $\mathbb{R}$ and $A^3=A$ then prove that $A$ is diagonalizable.   I have got that the minimal polynomial of $A$ may be $x^3-x$ or $x$ or $x(x+1)$ or $x(x-1)$ in the 2nd case it is not possible in the 3rd and 4th cases the matrix will be the identity matrix or identity matrix multiplied by a scalar!  But I cannot reach any further. $$\lim_{x\rightarrow 0}\frac{(1+x)^{1/x}-e+\frac{ex}{2}}{x^2}=\,?$$   by directly substituting $x=0$ i got $\infty$ by using L-H's rule, i got $-1/8$   the given options are  $a)\frac{24e}{11}$    $b)\frac{11e}{24}$    $c)\frac{e}{11}$    $d)\frac{e}{24}$    may be the question would be  $$\lim_{x\rightarrow 0}\frac{(1+x)^{1/x}-e+\frac{ex}{2}}{x^2}=\,?$$ Unable to make recursive call in Javascript I have 2-3 different column names that I want to look up in the entire DB and list out all tables which have those columns. Any easy script? C++ templates that accept only certain types