qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
280,449 | <p>I have a page on which I must load controls dynamically based on the user selection.
Let's say that I have something like this:</p>
<pre><code>public static readonly Dictionary<string, string> DynamicControls = new Dictionary<string, string>
{
{ "UserCtrl1", "~/Controls/UserCtrl1.as... | [
{
"answer_id": 280470,
"author": "Magnus",
"author_id": 4184,
"author_profile": "https://Stackoverflow.com/users/4184",
"pm_score": 4,
"selected": true,
"text": "private Control GetControl()\n{\n string dynamicCtrl = CurrentItem.DynamicControl;\n string path = SomeClass.DynamicCont... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280449",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2099426/"
] |
280,457 | <p>I have a game in which you can score from -40 to +40 on each match.
Users are allowed to play any number of matches.
I want to calculate a total score that implicitly takes into account the number of matches played.</p>
<p>Calculating only the average is not fair.
For example, if Peter plays four games and gets 40... | [
{
"answer_id": 281407,
"author": "dreeves",
"author_id": 4234,
"author_profile": "https://Stackoverflow.com/users/4234",
"pm_score": 2,
"selected": false,
"text": "SE = sqrt((ss - s^2/n) / (n-1) / n)\n s/n - SE\n d i d^(i-1)"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280457",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,472 | <p>I need to make some changes to a ClickOnce application that I haven't touched for over a year and therefore the certificate has expired.</p>
<p>I've read that publishing with a new certificate will make the application fail, because it will be signed with a different key.</p>
<p>Therefore I think I need to use the... | [
{
"answer_id": 54120387,
"author": "Sogger",
"author_id": 579234,
"author_profile": "https://Stackoverflow.com/users/579234",
"pm_score": 3,
"selected": false,
"text": " [DllImport(\"crypt32.dll\", CharSet = CharSet.Auto)]\n- internal static extern int CertNameToStr(X509Encoding d... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280472",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11989/"
] |
280,485 | <p>We have a DLL which is produced in house, and for which we have the associated static LIB of stubs.</p>
<p>We also have an EXE which uses this DLL using the simple method of statically linking to the DLL's LIB file (ie, not manually using LoadLibrary).</p>
<p>When we deploy the EXE we'd like the DLL file name to b... | [
{
"answer_id": 280567,
"author": "wimh",
"author_id": 33499,
"author_profile": "https://Stackoverflow.com/users/33499",
"pm_score": 4,
"selected": false,
"text": "dumpbin /exports ws2_32.dll LIBRARY WS2_32\nEXPORTS\n accept @1\n bind @2\n closesocket @3\n connect ... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280485",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/755/"
] |
280,488 | <p>I'm looking to convert the following <code>mod_rewrite</code> rule to the <a href="http://wiki.codemongers.com/NginxHttpRewriteModule" rel="noreferrer">Nginx equivalent</a>:</p>
<pre><code>RewriteRule ^foo/(.*)$ /bar/index.php?title=$1 [PT,L,QSA]
RewriteRule ^foo/*$ /bar/index.php [L,QSA]
</code></pre>
<p>So far I... | [
{
"answer_id": 282437,
"author": "jumoel",
"author_id": 1555170,
"author_profile": "https://Stackoverflow.com/users/1555170",
"pm_score": 4,
"selected": true,
"text": "rewrite ^/foo/([^?]*)(?:\\?(.*))? /bar/index.php?title=$1&$2;\nrewrite ^/foo /bar/index.php;\n"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280488",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1555170/"
] |
280,494 | <p>I have a group by clause in a sql statement and need to use an aggregate function to minus all the values in each group instead of adding like the Sum() function.</p>
<p>i.e. </p>
<pre><code>SELECT Sum(A)
FROM (
SELECT 2 AS A
UNION
SELECT 1) AS t1
</code></pre>
<p>..so will evaluate 2+1 and return 3.</... | [
{
"answer_id": 280496,
"author": "Unsliced",
"author_id": 2902,
"author_profile": "https://Stackoverflow.com/users/2902",
"pm_score": 2,
"selected": false,
"text": "SUM() -1 select top 1 @var = [value]\nfrom myTable \norder by [some condition] \n\nselect @minused = (2 * @var) - sum([val... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280494",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11989/"
] |
280,495 | <p>When browsing ASP.NET MVC source code in <a href="http://www.codeplex.com/aspnet/SourceControl/FileView.aspx?itemId=266503&changeSetId=17272" rel="noreferrer">codeplex</a>, I found it is common to have a class explicitly implementing interface. The explicitly implemented method/property then invoke another "prot... | [
{
"answer_id": 280505,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 5,
"selected": true,
"text": "ICloneable DbCommand class Foo : ICloneable\n{\n public Foo Clone() { return CloneCore(); }\n object ICloneable.... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280495",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26349/"
] |
280,497 | <p>I am having a peculiar problem with the order in which FlowLayoutPanels are added in to the form's <strong>controls</strong> property. This is what I tried,</p>
<p>I added 7 FlowLayoutPanels in to a C# window application from left to right in vertical strips. Then I tagged the flow layouts as 1, 2, 3, ... 7 again f... | [
{
"answer_id": 280517,
"author": "Steve Morgan",
"author_id": 5806,
"author_profile": "https://Stackoverflow.com/users/5806",
"pm_score": 0,
"selected": false,
"text": "FlowLayoutPanel[] panels = new FlowLayoutPanel[7];\n\nforeach(FlowLayoutPanel panel in this.Controls)\n{\n panels[(i... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280497",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,515 | <p>I need to implement a queue using table.
The business requirement is to have a single queue which will be accessed by 5-10 boxes to get the next job/jobs. There will not be more than 5000 jobs per day. Also, a batch of jobs should be "dequeued" at one time.</p>
<p>Just wondering what are the problem areas and issu... | [
{
"answer_id": 280738,
"author": "Vegard Larsen",
"author_id": 1606,
"author_profile": "https://Stackoverflow.com/users/1606",
"pm_score": 2,
"selected": false,
"text": "UPDATE tblQueue SET mark = <unique application id> WHERE mark IS NULL ORDER BY timestamp ASC LIMIT 1\nSELECT * FROM tb... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280515",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36494/"
] |
280,539 | <p>As far as I understand, if I want to get my database under source control then I need to be checking in change scripts for each change and then running them from some revision to get the correct DB.</p>
<p>I am trying to make a batch file that will be checked in too, that allows other developers on the team to re-b... | [
{
"answer_id": 280547,
"author": "kristof",
"author_id": 3241,
"author_profile": "https://Stackoverflow.com/users/3241",
"pm_score": 0,
"selected": false,
"text": ":: Parameters Required:\n:: %1 UserID\n:: %2 Password\n:: %3 Server\n:: %4 Database\n:: %5 file with scripted object\n::\nec... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280539",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,542 | <p>I'm regularly creating an XSD schema by transforming a proprietary data model of a legacy system. This works out pretty good. However, the legacy system only allows me to specify very basic attributes of a parameter, such as the data type (<code>int</code>, <code>string</code> etc.).</p>
<p>I would like to enhance ... | [
{
"answer_id": 286272,
"author": "Dimitre Novatchev",
"author_id": 36305,
"author_profile": "https://Stackoverflow.com/users/36305",
"pm_score": 3,
"selected": true,
"text": "<datamodel xmlns:nm=\"my:new.meta\">\n <customer>\n <firstName type=\"string\"\n nm:n... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280542",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25842/"
] |
280,551 | <p>I try get the <a href="http://flash-mp3-player.net/players/js/" rel="nofollow noreferrer">mp3 flash player</a> to work with my javascript on all browsers. All went well for first, but fast realized that my code doesn't work on MSIE.</p>
<p>After trying to find out I found this in the reference code:</p>
<pre><cod... | [
{
"answer_id": 4434557,
"author": "Troels",
"author_id": 541245,
"author_profile": "https://Stackoverflow.com/users/541245",
"pm_score": 1,
"selected": false,
"text": "<script type=\"text/javascript\" event=\"FSCommand(command,args)\" for=\"myFlash\">\n eval(args);\n</script>\n functi... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280551",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21711/"
] |
280,559 | <p>This is probably easy but I am getting stuck: when I build a solution in Visual Studio - how do extract the exact cmd line for the current build command in order to be able to do the same build from VisualStudio console? </p>
<p>In the output window I can see the single projects in the solution build commands but n... | [
{
"answer_id": 280584,
"author": "kenny",
"author_id": 3225,
"author_profile": "https://Stackoverflow.com/users/3225",
"pm_score": 5,
"selected": true,
"text": "%comspec% /k \"\"C:\\Program Files\\Microsoft Visual Studio 8\\VC\\vcvarsall.bat\"\"x86\"\n @echo off\n\n:: setup VS2005 comman... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280559",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1311500/"
] |
280,563 | <p>Has anybody got any real world stories build mobile web sites with NetBiscuits?</p>
<p>Someone told me it was the next big thing in mobile development (<a href="http://www.netbiscuits.com/home" rel="nofollow noreferrer">http://www.netbiscuits.com/home</a>) and it looks pretty good from their site. Just wondered if ... | [
{
"answer_id": 280584,
"author": "kenny",
"author_id": 3225,
"author_profile": "https://Stackoverflow.com/users/3225",
"pm_score": 5,
"selected": true,
"text": "%comspec% /k \"\"C:\\Program Files\\Microsoft Visual Studio 8\\VC\\vcvarsall.bat\"\"x86\"\n @echo off\n\n:: setup VS2005 comman... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280563",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36503/"
] |
280,566 | <p>Is there any clever method out there to make my executeEveryDayMethod() execute once a day, without having to involve the Windows TaskScheduler?</p>
| [
{
"answer_id": 280592,
"author": "Vinko Vrsalovic",
"author_id": 5190,
"author_profile": "https://Stackoverflow.com/users/5190",
"pm_score": 2,
"selected": false,
"text": "using System;\nusing System.Timers;\n\npublic class Timer1\n{\n private static Timer aTimer = new System.Timers.T... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280566",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36504/"
] |
280,571 | <p>I am confused about how popen() redirects stdin, stdout and stderr of the child process in unix. The man page on popen() is not very clear in this regard. The call</p>
<pre><code>FILE *p = popen("/usr/bin/foo", "w");
</code></pre>
<p>forks a child process and executes a shell with arguments "-c", "/usr/bin/foo", a... | [
{
"answer_id": 280587,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 3,
"selected": false,
"text": "FILE * file = popen(\"/bin/cat\", \"w\");\nfwrite(\"hello\", 5, file);\npclose(file);\n \"hello\" \"foo\" F... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280571",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31330/"
] |
280,578 | <p>I have got some code to load an assembly and get all types, which implement a certain interface, like this (assume asm is a valid and loaded assembly).</p>
<pre><code>var results = from type in asm.GetTypes()
where typeof(IServiceJob).IsAssignableFrom(type)
select type;
</code></pre>
<p>Now I'm stuck: I need t... | [
{
"answer_id": 280591,
"author": "Matt Hamilton",
"author_id": 615,
"author_profile": "https://Stackoverflow.com/users/615",
"pm_score": 5,
"selected": true,
"text": "private static IEnumerable<T> InstancesOf<T>() where T : class\n{\n var type = typeof(T);\n return from t in type.A... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280578",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16440/"
] |
280,579 | <p>How do I pass a value from a child back to the parent form? I have a string that I would like to pass back to the parent.</p>
<p>I launched the child using:</p>
<pre><code>FormOptions formOptions = new FormOptions();
formOptions.ShowDialog();
</code></pre>
| [
{
"answer_id": 280586,
"author": "Mitch Wheat",
"author_id": 16076,
"author_profile": "https://Stackoverflow.com/users/16076",
"pm_score": 6,
"selected": false,
"text": "FormOptions GetMyResult using (FormOptions formOptions = new FormOptions())\n{\n formOptions.ShowDialog();\n\n s... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280579",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,597 | <p>We have a problem affecting the production environment only.</p>
<p>We have a VB6/ASP website that allows for data in a database table to be hand edited.</p>
<p>It looks alot like an editable datagrid.</p>
<p>One of the editable columns is a date and when the record is saved dates day/month are being reversed.</p... | [
{
"answer_id": 280633,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 2,
"selected": true,
"text": "SET DATEFORMAT SET LANGUAGE"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280597",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27412/"
] |
280,624 | <p>I'm writing an image processing program to perform real time processing of video frames. It's in C# using the Emgu.CV library (C#) that wraps the OpenCV library dll (unmanaged C++). Now I have to write my own special algorithm and it needs to be as fast as possible. </p>
<p>Which will be a faster implementation of ... | [
{
"answer_id": 319726,
"author": "Tom Barta",
"author_id": 29839,
"author_profile": "https://Stackoverflow.com/users/29839",
"pm_score": 2,
"selected": false,
"text": "malloc()"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280624",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31045/"
] |
280,634 | <p>How can I check if a string ends with a particular character in JavaScript?</p>
<p>Example: I have a string </p>
<pre><code>var str = "mystring#";
</code></pre>
<p>I want to know if that string is ending with <code>#</code>. How can I check it?</p>
<ol>
<li><p>Is there a <code>endsWith()</code> method in JavaScr... | [
{
"answer_id": 280644,
"author": "Phillip B Oldham",
"author_id": 30478,
"author_profile": "https://Stackoverflow.com/users/30478",
"pm_score": 7,
"selected": false,
"text": "if( \"mystring#\".substr(-1) === \"#\" ) {}"
},
{
"answer_id": 280651,
"author": "duckyflip",
"au... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280634",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15177/"
] |
280,658 | <p>I'm currently running into some issues resizing images using GD.</p>
<p>Everything works fine until i want to resize an animated gif, which delivers the first frame on a black background.</p>
<p>I've tried using <code>getimagesize</code> but that only gives me dimensions and nothing to distinguish between just any... | [
{
"answer_id": 280705,
"author": "Davide Gualano",
"author_id": 28582,
"author_profile": "https://Stackoverflow.com/users/28582",
"pm_score": 5,
"selected": true,
"text": "imagecreatefromgif() imagecreatefromgif"
},
{
"answer_id": 280743,
"author": "Kris",
"author_id": 18... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280658",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18565/"
] |
280,672 | <p>I have let's say two pc's.PC-a and PC-b which both have the same application installed with java db support.I want from time to time to copy the data from the database on PC-a to database to PC-b and vice-versa so the two PC's to have the same data all the time.
Is there an already implemented API in the database la... | [
{
"answer_id": 1235367,
"author": "Chris K",
"author_id": 51789,
"author_profile": "https://Stackoverflow.com/users/51789",
"pm_score": 2,
"selected": true,
"text": "Customer: \n SiteCode varchar,\n CustomerID varchar, \n .... \n primary key(siteCode, CustomerID) \n SiteCode|C... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280672",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36525/"
] |
280,680 | <pre><code>$images = array();
$images[0][0] = "boxes/blue.jpg";
$images[0][1] = "blah.html";
$images[1][0] = "boxes/green.jpg";
$images[1][1] = "blah.html";
$images[2][0] = "boxes/orange.jpg";
$images[2][1] = "blah.html";
$images[3][0] = "boxes/pink.jpg";
$images[3][1] = "blah.html";
$images[4][0] = "boxes/purple.jpg";... | [
{
"answer_id": 280686,
"author": "Davide Gualano",
"author_id": 28582,
"author_profile": "https://Stackoverflow.com/users/28582",
"pm_score": 0,
"selected": false,
"text": "while($i<5)\n{\n $rand = rand(0,(sizeof($images)-1));\n $boxes[$i] = $images[$rand];\n $i++;\n... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280680",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31677/"
] |
280,684 | <p>Do web browsers send the file size in the http header when uploading a file to the server? And if that is the case, then, is it possible to refuse the file just by reading the header and not wait for the whole upload process to finish?</p>
| [
{
"answer_id": 280750,
"author": "vincent",
"author_id": 34871,
"author_profile": "https://Stackoverflow.com/users/34871",
"pm_score": 2,
"selected": false,
"text": "enctype=\"multipart/form-data\" POST / HTTP/1.1\nHost: 127.0.0.1:8000\nUser-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280684",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36529/"
] |
280,687 | <p>I am trying to change the rows output by PHP in a table to links. I have added the a href tags to the example below, however it results in an unexpected <code>T_VARIABLE</code>. I have tried it without the extra quotes, but this displays a blank table. I am not sure what the flaw in the logic is.</p>
<pre><code>whi... | [
{
"answer_id": 280750,
"author": "vincent",
"author_id": 34871,
"author_profile": "https://Stackoverflow.com/users/34871",
"pm_score": 2,
"selected": false,
"text": "enctype=\"multipart/form-data\" POST / HTTP/1.1\nHost: 127.0.0.1:8000\nUser-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1246613/"
] |
280,690 | <p>I'm developing an application that is so far using HttpListener to provide a small standalone http server. However, I've recently discovered that HttpListener needs to be run as Administrator, which is not always going to be possible.</p>
<p>What would the best alternative be? I need http GET and POST, both of whic... | [
{
"answer_id": 9666157,
"author": "ctrlplusb",
"author_id": 350933,
"author_profile": "https://Stackoverflow.com/users/350933",
"pm_score": 2,
"selected": false,
"text": "netsh http add urlacl url=http://+:8346/ user=\"NTAuthority\\Authenticated Users\" sddl=\"D:(A;;GX;;;AU)\"\n"
},
... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280690",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6448/"
] |
280,692 | <p>I am creating a form within InfoPath which is to be integrated into a SharePoint 2007 Portal. Within this form there will be a textfield into which a user can enter the Name of a Person. </p>
<p>How can I validate whether this Person exists or not?</p>
<p>Instead of validating the user, is there a way to fill a dr... | [
{
"answer_id": 415000,
"author": "oillio",
"author_id": 4354,
"author_profile": "https://Stackoverflow.com/users/4354",
"pm_score": 0,
"selected": false,
"text": "string ADName = System.Environment.UserName;\n IXMLDOMDocument3 UserQuery = (IXMLDOMDocument3)thisXDocument.GetDOM(\"G... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280692",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25428/"
] |
280,706 | <p>I've been thinking of ways of providing syntactic sugar for a framework I have been working on. I want to deal with Immitable objects exclusively.</p>
<h3>Say I have an immutable object and wish to create a modified version of it. Would, in your view, a non-instantiable class with a single static factory method brea... | [
{
"answer_id": 280752,
"author": "bruno conde",
"author_id": 31136,
"author_profile": "https://Stackoverflow.com/users/31136",
"pm_score": 1,
"selected": false,
"text": "public final class Lowercase {\n\n private Lowercase() {}\n\n public static String string( final String string ) {\n... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280706",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4857/"
] |
280,712 | <p>There should be something akin to <code>\w</code> that can match any code-point in Letters or Marks category (not just the ASCII ones), and hopefully have filters like [[P*]] for punctuation, etc.</p>
| [
{
"answer_id": 280762,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 8,
"selected": false,
"text": "u [\\u2000-\\u206F\\u2E00-\\u2E7F]\n"
},
{
"answer_id": 8933546,
"author": "mgibsonbr",
"author_id": 5207... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280712",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,713 | <p>Does the "for…in" loop in Javascript loop through the hashtables/elements in the order they are declared? Is there a browser which doesn't do it in order?<br>
The object I wish to use will be declared <em>once</em> and will never be modified.</p>
<p>Suppose I have:</p>
<pre><code>var myObject = { A: "Hello", B: "W... | [
{
"answer_id": 280734,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 5,
"selected": false,
"text": "for .. in"
},
{
"answer_id": 280861,
"author": "Borgar",
"author_id": 27388,
"author_profile": "https:... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280713",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3055/"
] |
280,729 | <p>I am trying to use the following code to write data into an excel file</p>
<pre><code> Dim objexcel As Excel.Application
Dim wbexcel As Excel.Workbook
Dim wbExists As Boolean
Set objexcel = CreateObject("excel.Application")
obje... | [
{
"answer_id": 280758,
"author": "Fionnuala",
"author_id": 2548,
"author_profile": "https://Stackoverflow.com/users/2548",
"pm_score": 4,
"selected": true,
"text": " Set wbexcel = objexcel.WorkBooks.Open( _\n \"C:\\Documents and Settings\\TAYYAPP\\Desktop\\test folder\\ERROR REPORT2.x... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280729",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31132/"
] |
280,748 | <p>I have a T4 template that generates classes from an xml file. </p>
<p>How can I add a dependency between the xml file and the template file so that when the xml file is modified the template is rerun automatically without choosing "Run custom tool" from the context menu?</p>
| [
{
"answer_id": 280827,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 2,
"selected": false,
"text": "<Exec ... /> targets"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280748",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4685/"
] |
280,749 | <p>I have some directories that are bundled with my installer and I need to access them from within a custom action. I have done some research and seen that the SourceDir can be used to obtain the currently executing dir location. However I cannot find any examples of how to obtain this property? Or another way to o... | [
{
"answer_id": 282465,
"author": "w4g3n3r",
"author_id": 36745,
"author_profile": "https://Stackoverflow.com/users/36745",
"pm_score": 1,
"selected": false,
"text": "strSourceDir = Session.Property(\"SourceDir\")\n"
},
{
"answer_id": 1004783,
"author": "Chris",
"author_id... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280749",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,751 | <p>I have a large c# solution file (~100 projects), and I am trying to improve build times. I think that "Copy Local" is wasteful in many cases for us, but I am wondering about best practices.</p>
<p>In our .sln, we have application A depending on assembly B which depends on assembly C. In our case, there are dozens... | [
{
"answer_id": 280804,
"author": "Aleksandar",
"author_id": 29511,
"author_profile": "https://Stackoverflow.com/users/29511",
"pm_score": 1,
"selected": false,
"text": "<developmentMode developerInstallation=\"true\" />"
},
{
"answer_id": 283808,
"author": "Bruno Shine",
... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280751",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6996/"
] |
280,759 | <p>I am using the <strong><a href="http://en.wikipedia.org/wiki/JQuery" rel="noreferrer">jQuery</a> validation plugin</strong>. Great stuff! I want to migrate my existing ASP.NET solution to use jQuery instead of the ASP.NET validators. I am missing a replacement for the <strong>regular expression</strong> validator. I... | [
{
"answer_id": 280952,
"author": "redsquare",
"author_id": 6440,
"author_profile": "https://Stackoverflow.com/users/6440",
"pm_score": 6,
"selected": false,
"text": "$.validator.addMethod('postalCode', function (value) { \n return /^((\\d{5}-\\d{4})|(\\d{5})|([A-Z]\\d[A-Z]\\s\\d[A-Z]\... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280759",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36546/"
] |
280,767 | <p>After years of programming it's still some of the simple things that keep tripping me up.</p>
<p>Is there a commonly agreed definition of filename ?</p>
<p>Even the <a href="http://en.wikipedia.org/wiki/Filename" rel="noreferrer">wikipedia article</a> confuses the two interpretations.</p>
<p>It starts by defining... | [
{
"answer_id": 280785,
"author": "Adam Liss",
"author_id": 29157,
"author_profile": "https://Stackoverflow.com/users/29157",
"pm_score": 3,
"selected": false,
"text": "path filespec filename extension basename"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280767",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2900/"
] |
280,769 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/2246772/whats-the-difference-between-not-exists-vs-not-in-vs-left-join-where-is-null">What's the difference between NOT EXISTS vs. NOT IN vs. LEFT JOIN WHERE IS NULL?</a> </p>
</blockquote>
<p>I need to wit... | [
{
"answer_id": 280775,
"author": "Galwegian",
"author_id": 3201,
"author_profile": "https://Stackoverflow.com/users/3201",
"pm_score": 3,
"selected": true,
"text": "SELECT *\nFROM A\nWHERE ID NOT IN\n (SELECT ID FROM B)\n"
},
{
"answer_id": 280778,
"author": "CubanX",
... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280769",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,787 | <p>I need to suppress autoplay for the mass storage devices.
This needs to be achieved programatically through a service/deamon running in the background.</p>
<p>I know it can be done by an application which opens a window and handles the "queryCancelAutoPlay" message sent by windows.</p>
<p>Can this be done without ... | [
{
"answer_id": 280813,
"author": "Robert Gamble",
"author_id": 25222,
"author_profile": "https://Stackoverflow.com/users/25222",
"pm_score": 0,
"selected": false,
"text": "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer \n NoDriveTypeAutoRun\n\nValue Meaning\n0x1... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280787",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,793 | <p>I need to highlight, case insensitively, given keywords in a JavaScript string.</p>
<p>For example:</p>
<ul>
<li><code>highlight("foobar Foo bar FOO", "foo")</code> should return <code>"<b>foo</b>bar <b>Foo</b> bar <b>FOO</b>"</code></li>
</ul>
<p>I need the code to work for an... | [
{
"answer_id": 280805,
"author": "okoman",
"author_id": 35903,
"author_profile": "https://Stackoverflow.com/users/35903",
"pm_score": 7,
"selected": true,
"text": "function preg_quote (str, delimiter) {\n // discuss at: https://locutus.io/php/preg_quote/\n // original by: booeyOH\n /... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280793",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,797 | <p>When you use the POISSON function in Excel (or in OpenOffice Calc), it takes two arguments:</p>
<ul>
<li>an integer</li>
<li>an 'average' number</li>
</ul>
<p>and returns a float.</p>
<p>In Python (I tried RandomArray and NumPy) it returns an array of random poisson numbers.
What I really want is the percentage t... | [
{
"answer_id": 280843,
"author": "Alex Coventry",
"author_id": 1941213,
"author_profile": "https://Stackoverflow.com/users/1941213",
"pm_score": 5,
"selected": false,
"text": "scipy >>> scipy.stats.distributions\n<module 'scipy.stats.distributions' from '/home/coventry/lib/python2.5/site... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280797",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,798 | <p>I'm trying to make a class that will execute any one of a number of stored procedures with any amount of variables</p>
<p>Im using php and mysqli</p>
<ul>
<li>My class enumerates an array and constructs a string based on the number of elements if any</li>
<li>giving something like this <code>CALL spTestLogin(?,?)<... | [
{
"answer_id": 280829,
"author": "Stefan Gehrig",
"author_id": 11354,
"author_profile": "https://Stackoverflow.com/users/11354",
"pm_score": 2,
"selected": false,
"text": "$params=array_merge(\n array($this->paramTypes), \n $this->paramValues\n);\ncall_user_func_array(array($stmt, ... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280798",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11394/"
] |
280,801 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/16991/what-ruby-ide-do-you-prefer">What Ruby IDE do you prefer?</a> </p>
</blockquote>
<p>I'm making a <strong>simple</strong> script using ruby on a Windows 2003 Server.
My questions are:</p>
<ul>
<li>How can... | [
{
"answer_id": 280857,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 2,
"selected": false,
"text": "require 'DBI'\n\n# make an ODBC connection\nconn = DBI.connect('DBI:ODBC:datasource','your_username','your_password')\n\n#... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280801",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15884/"
] |
280,818 | <p>I'm developing a small utility application that needs to detect whether another one has one of its MDI child windows open (it's an off-the-shelf Win32 business application over which I have neither source code nor control).
From my app, I would like to be able to poll or detect when a particular MDI Child window is... | [
{
"answer_id": 280878,
"author": "Robert Vuković",
"author_id": 438025,
"author_profile": "https://Stackoverflow.com/users/438025",
"pm_score": 4,
"selected": true,
"text": " \n\n[DllImport(\"user32\")]\n\n[return: MarshalAs(UnmanagedType.Bool)]\npublic static extern bool EnumChildWindow... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280818",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3811/"
] |
280,819 | <p>My WCF service involves the sending of a dataset (in csv format) data between client and service. This dataset must be encrypted so that the data cannot be intercepted. I'm using wshttpbinding and trying to encrypt the message by using the following settings in web.config:</p>
<pre><code><wsHttpBinding>
<... | [
{
"answer_id": 280890,
"author": "Martin",
"author_id": 1529,
"author_profile": "https://Stackoverflow.com/users/1529",
"pm_score": 3,
"selected": true,
"text": "makecert -sr LocalMachine -ss My -pe -n CN=subject-name -eku 1.3.6.1.5.5.7.3.1 -sky exchange\n"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280819",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/445/"
] |
280,834 | <p>I would like to know if it is possible, to select certain columns from one table, and another column from a second table, which would relate to a non imported column in the first table. I have to obtain this data from access, and do not know if this is possible with Access, or SQL in general.</p>
| [
{
"answer_id": 280848,
"author": "Noah Goodrich",
"author_id": 20178,
"author_profile": "https://Stackoverflow.com/users/20178",
"pm_score": 4,
"selected": true,
"text": "CREATE TABLE tbl_1 (\n pk_1 int,\n field_1 varchar(25),\n field_2 varchar(25)\n);\n\nCREATE TABLE tbl_2 (\n ... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280834",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1246613/"
] |
280,846 | <p><strong>Mark Up</strong></p>
<pre><code><%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="Zuhaib.test" %>
<!-- Put IE into quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmln... | [
{
"answer_id": 280947,
"author": "phihag",
"author_id": 35070,
"author_profile": "https://Stackoverflow.com/users/35070",
"pm_score": 4,
"selected": true,
"text": "#right{\n position: absolute;\n left: 100px;\n padding-left: -100px;\n width: 100%;\n ...\n}\n"
},
{
"answer_id... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280846",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25138/"
] |
280,864 | <p>Does anyone know of an open source web service/wcf service that can stream media content to clients? In particular I am looking for something that could access my music collection and stream it to a client (could be a client browser, win mobile app or even iphone application).</p>
<p>I guess it would have to be WCF... | [
{
"answer_id": 280947,
"author": "phihag",
"author_id": 35070,
"author_profile": "https://Stackoverflow.com/users/35070",
"pm_score": 4,
"selected": true,
"text": "#right{\n position: absolute;\n left: 100px;\n padding-left: -100px;\n width: 100%;\n ...\n}\n"
},
{
"answer_id... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280864",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/445/"
] |
280,872 | <p>I'm trying to write a <a href="/questions/tagged/vba" class="post-tag" title="show questions tagged 'vba'" rel="tag">vba</a> macro for a group tha</p>
<ul>
<li>has one workbook where they daily create new worksheets, and also have</li>
<li><em>Sheet 1</em>, <em>Sheet 2</em> and <em>Sheet 3</em> at the end o... | [
{
"answer_id": 280979,
"author": "dbb",
"author_id": 25675,
"author_profile": "https://Stackoverflow.com/users/25675",
"pm_score": 4,
"selected": true,
"text": "Function GetLastNonEmptySheetName() As String\nDim i As Long\nFor i = Worksheets.Count To 1 Step -1\n If Sheets(i).UsedRange.C... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280872",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26140/"
] |
280,879 | <p>In some existing code there is a test to see if the user is running IE, by checking if the object Browser.Engine.trident is defined and returns true.</p>
<p>But how can I determine if the user is running IE6 (or earlier) or IE7 (or later)?</p>
<p>The test is needed inside a JavaScript function so a conditional com... | [
{
"answer_id": 280886,
"author": "Nick Berardi",
"author_id": 17,
"author_profile": "https://Stackoverflow.com/users/17",
"pm_score": 2,
"selected": false,
"text": "if (jQuery.browser.msie == true) { \nif (jQuery.browser.version == 7.0)\n // .. do something for 7.0\nelse \n // .. do so... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280879",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,891 | <p>I've decided to reimplement the datetime picker, as a standard datetime picker isn't nullable. The user wants to start with a blank field and type (not select) the date.</p>
<p>I've created a user control to do just that, but if the user control is near the edge of the form, it will be cut off on the form boundry. ... | [
{
"answer_id": 280932,
"author": "Bruno Shine",
"author_id": 28294,
"author_profile": "https://Stackoverflow.com/users/28294",
"pm_score": 1,
"selected": false,
"text": "SafeNativeMethods.SetWindowPos SetBoundsCore"
},
{
"answer_id": 282008,
"author": "Robert Rossney",
"a... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280891",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29830/"
] |
280,892 | <p>I'm looking to write a small proxy server for kicks and giggles.</p>
<p>Apart from the options in libWWW, can anyone recommend any opensource options for the HTTP server and client code? Thinking of a library of some kind similar to libWWW.</p>
<p>Chosen language is C/C++ but open to Java, C#, Python... etc. :-)</... | [
{
"answer_id": 280932,
"author": "Bruno Shine",
"author_id": 28294,
"author_profile": "https://Stackoverflow.com/users/28294",
"pm_score": 1,
"selected": false,
"text": "SafeNativeMethods.SetWindowPos SetBoundsCore"
},
{
"answer_id": 282008,
"author": "Robert Rossney",
"a... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280892",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,894 | <p>I have an access database, with a query made. I need to automate it so that each night this query can run and export to a tab delimited csv file. It is not possible to export a query to a csv file from within access. My question is, are there any tools that can select certain tables, or perform an sql query on an md... | [
{
"answer_id": 280900,
"author": "Fionnuala",
"author_id": 2548,
"author_profile": "https://Stackoverflow.com/users/2548",
"pm_score": 2,
"selected": false,
"text": " Sub TransferCSV()\n\n DoCmd.TransferText acExportDelim, , \"PutNameOfQueryHere\", \"C:\\PutPathAnd\\FilenameHere.csv\"... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280894",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1246613/"
] |
280,896 | <p>I seem to be in the minority, but to be honest I am not comfortable with linq and don't see any benefits in my personal development (not to say there are no benefits, just a personal opinion based on my situation).</p>
<p>I build web applications (.net, .net mvc) and I love having part of my data layer in stored pr... | [
{
"answer_id": 280954,
"author": "b1tsn4ck",
"author_id": 36481,
"author_profile": "https://Stackoverflow.com/users/36481",
"pm_score": 1,
"selected": false,
"text": "foreach"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280896",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,904 | <p>I hope this is a simple enough question for any SQL people out there...</p>
<p>We have a table which hold system configuration data, and this is tied to a history table via triggers so we can track who changed what, and when. </p>
<p>I have a requirement to add another value in to this table, but it is one that w... | [
{
"answer_id": 280956,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 7,
"selected": true,
"text": "CREATE TRIGGER \n [dbo].[SystemParameterInsertUpdate]\nON \n [dbo].[SystemParameter]\nFOR INSERT, UPDATE \nAS\n ... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280904",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/377/"
] |
280,909 | <p>Is there a programmatic method to set CPU affinity for a process in c/c++ for the Linux operating system?</p>
| [
{
"answer_id": 280924,
"author": "Alnitak",
"author_id": 6782,
"author_profile": "https://Stackoverflow.com/users/6782",
"pm_score": 7,
"selected": true,
"text": "sched_setaffinity(2) #define _GNU_SOURCE\n#include <sched.h>\n\ncpu_set_t mask;\nCPU_ZERO(&mask);\nCPU_SET(0, &mask);\nCPU_S... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280909",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7362/"
] |
280,940 | <p>I am programming in C against a third party library (in HP/Mercury Loadrunner) that allows a varargs-style variable size argument list for one of it's functions. I want to call this function but I do not know up front how many arguments I will have. </p>
<p>There is a function made by one of my predecessors that se... | [
{
"answer_id": 281029,
"author": "pnkfelix",
"author_id": 36585,
"author_profile": "https://Stackoverflow.com/users/36585",
"pm_score": 1,
"selected": false,
"text": "web_submit_data"
},
{
"answer_id": 281055,
"author": "Ben Collins",
"author_id": 3279,
"author_profil... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280940",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36574/"
] |
280,948 | <p>I am setting-up my DataGridView like this:</p>
<pre><code> jobs = new List<DisplayJob>();
uxJobList.AutoGenerateColumns = false;
jobListBindingSource.DataSource = jobs;
uxJobList.DataSource = jobListBindingSource;
int newColumn;
newColumn = uxJobList.Columns.Ad... | [
{
"answer_id": 280958,
"author": "Bruno Shine",
"author_id": 28294,
"author_profile": "https://Stackoverflow.com/users/28294",
"pm_score": 1,
"selected": false,
"text": "IComparable"
},
{
"answer_id": 280992,
"author": "Patrick Desjardins",
"author_id": 13913,
"author... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280948",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18349/"
] |
280,953 | <p>Could anyboby help me with the alternative solution in C# regarding <strong>AddressOf operator in VB6</strong>? AddressOf returns a long value. What way can I get the output in C#?</p>
| [
{
"answer_id": 280959,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 3,
"selected": false,
"text": "<delegate> += <function>;"
},
{
"answer_id": 280967,
"author": "TcKs",
"author_id": 20382,
"author... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280953",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,969 | <p>I need to grab the folder name of a currently executing batch file. I have been trying to loop over the current directory using the following syntax (which is wrong at present):</p>
<pre><code>set mydir = %~p0
for /F "delims=\" %i IN (%mydir%) DO @echo %i
</code></pre>
<p>Couple of issues in that I cannot seem to ... | [
{
"answer_id": 281073,
"author": "Patrick Cuff",
"author_id": 7903,
"author_profile": "https://Stackoverflow.com/users/7903",
"pm_score": 4,
"selected": true,
"text": "@echo OFF\nset mydir=\"%~p0\"\nSET mydir=%mydir:\\=;%\n\nfor /F \"tokens=* delims=;\" %%i IN (%mydir%) DO call :LAST_FOL... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280969",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31412/"
] |
280,971 | <p>Within my InfoPath form (which has to be loaded within a SharePoint Portal by the browser)I have a repeating table containing multiple fields. Now I would like to make the first textfield autoincrement starting by 1. How exactly can I do this?</p>
<p>I have already heard of a way by using the "count" function but t... | [
{
"answer_id": 281227,
"author": "Alex",
"author_id": 35999,
"author_profile": "https://Stackoverflow.com/users/35999",
"pm_score": 2,
"selected": true,
"text": "count(/my:myFields/my:item)\n"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280971",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25428/"
] |
280,990 | <p>I have a snippet looking something like the below.</p>
<pre><code>string bodyTypeAssemblyQualifiedName = "XXX.XX.XI.CustomerPayment.Schemas.r1.CustomerPayments_v01, XXX.XX.XI.CustomerPaym" +
"ent.Schemas.r1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ac564f277cd4488" +
"e";
</c... | [
{
"answer_id": 281014,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 0,
"selected": false,
"text": "bodyTypeAssemblyQualifiedName\\s=\\s(?<location>[.\\n]*?);\n RegexOptions.Singleline"
},
{
"answer_id": 281183,
... | 2008/11/11 | [
"https://Stackoverflow.com/questions/280990",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
280,991 | <p>I have been working on splitting up the app tier and web tier of a web application. In the app tier, I managed to separate the business logic into a bunch of services exposed using WCF proxies. The problem is that these services talk to another legacy application that uses a large CLR object as its primary means of ... | [
{
"answer_id": 12067200,
"author": "Niels Brinch",
"author_id": 392362,
"author_profile": "https://Stackoverflow.com/users/392362",
"pm_score": 0,
"selected": false,
"text": "System.Web.Caching"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/280991",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16671/"
] |
281,015 | <p>Hi would like to send an email alert after checking the result of a query which will return the numbers of rows in a table. Does anyone have any ideas how I could do this in SQL Server 2000 in 2005 I would use a maintenence plan but not sure how in 2000?</p>
| [
{
"answer_id": 281083,
"author": "Valerion",
"author_id": 16156,
"author_profile": "https://Stackoverflow.com/users/16156",
"pm_score": 1,
"selected": false,
"text": "-- @From varchar(100) ,\n -- @To varchar(100) ,\n -- @Subject varchar(100)=\" \",\n --@Body varchar(4000) =\" \"\n/... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281015",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
281,017 | <p>(Warning - asp newbie) I have an aspx file with the tag</p>
<pre><code> <%@ Page Language=VB ... %>
</code></pre>
<p>right at the beginning of the file.</p>
<p>When calling this from my IIS server (<a href="http://localhost/myservice/default.aspx" rel="noreferrer">http://localhost/myservice/default.aspx... | [
{
"answer_id": 65036058,
"author": "Victor Muñoz",
"author_id": 8325863,
"author_profile": "https://Stackoverflow.com/users/8325863",
"pm_score": 0,
"selected": false,
"text": " - < tag > text < / tag > ---> wrong\n\n - <tag> text </tag> ----> good.\n\n"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/281017",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6583/"
] |
281,020 | <p>I want to call some RESTful web services from a J2ME client running on a MIDP enabled mobile device. I read the MIDP api for HTTPConnections and thought this is just crying out for a simple wrapper to hide all those unpleasant byte arrays and such like. Before I write my own I wondered whether there was a good open ... | [
{
"answer_id": 287057,
"author": "darius",
"author_id": 5896,
"author_profile": "https://Stackoverflow.com/users/5896",
"pm_score": 4,
"selected": true,
"text": "* Asynchronous versions of HTTP Get and Post\n* HTTP Basic Authentication\n* Multipart MIME (sender only)\n* Progress listener... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281020",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32747/"
] |
281,034 | <p>Under visual studio if you run a web project by pressing the <kbd>Go</kbd> button on the Debugging toolbar, then stop it by pressing the <kbd>Stop</kbd> button on the debugging toolbar, Internet Explorer is opened and closed by the IDE.</p>
<p>Is there a way to prevent the IDE from closing Internet Explorer when st... | [
{
"answer_id": 281063,
"author": "Bruno Shine",
"author_id": 28294,
"author_profile": "https://Stackoverflow.com/users/28294",
"pm_score": 4,
"selected": true,
"text": "Detach All Debug"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/281034",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36591/"
] |
281,036 | <p>Are "out" parameters a bad thing in .NET? Any good articles/discussions on this topic?</p>
| [
{
"answer_id": 281049,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 7,
"selected": true,
"text": "out"
},
{
"answer_id": 281077,
"author": "Simon",
"author_id": 15371,
"author_profile": "https://Stac... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281036",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36590/"
] |
281,041 | <p>I am not that hot at regular expressions and it has made my little mind melt some what.</p>
<p>I am trying to find all the tables names in a query. So say I have the query:</p>
<pre><code>SELECT one, two, three FROM table1, table2 WHERE X=Y
</code></pre>
<p>I would like to pull out "table1, table2" or "table1" a... | [
{
"answer_id": 281053,
"author": "LeppyR64",
"author_id": 16592,
"author_profile": "https://Stackoverflow.com/users/16592",
"pm_score": 1,
"selected": false,
"text": "select\n *\nfrom\n A\n join (\n select\n top 5 *\n from\n B)\n on B.ID = A.ID\nwhere\n A.ID in (\... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281041",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6486/"
] |
281,045 | <p>This is a question that was sparked by <a href="https://stackoverflow.com/users/3631/rob-walker">Rob Walker</a>'s answer <a href="https://stackoverflow.com/questions/36455/alignment-restrictions-for-mallocfree#36466">here</a>.</p>
<p>Suppose I declare a class/struct like so:</p>
<pre><code>struct
{
char A;
... | [
{
"answer_id": 281154,
"author": "Jason Baker",
"author_id": 2147,
"author_profile": "https://Stackoverflow.com/users/2147",
"pm_score": 0,
"selected": false,
"text": "struct foo{};\n extern \"C\" foo;\nstruct bar: public foo{};\n"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/281045",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2147/"
] |
281,095 | <p>I would like to retrieve at runtime the values for the "dialect" and "connection.driver_class" properties specified in the configuration file.</p>
<p>Do you know how to do that?</p>
<p>Many thanks,
Nicola</p>
| [
{
"answer_id": 289528,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 4,
"selected": false,
"text": " public static Dialect GetDialect(ISession session)\n {\n Dialect dialect = session.GetSessionImplementation().Fa... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281095",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
281,101 | <p>When building a application that accesses a MySQL database on linux using C/C++ i have to dynamically link into the mysql client library. Is there a way in which i can statically link the application so that the mysql client libraries are no longer required?</p>
<p>What is the best practice, with regards to C\C++ ... | [
{
"answer_id": 294919,
"author": "AndrewR",
"author_id": 2994,
"author_profile": "https://Stackoverflow.com/users/2994",
"pm_score": 0,
"selected": false,
"text": "gcc -I/usr/include/mysql -c mysql.c\ngcc -o mysql mysql.o -static -lmysqlclient -static-libgcc -lm -lz -lpthread\n /usr/lib/... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281101",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7362/"
] |
281,108 | <p>I have a compiled AppleScript application which I have moved to my windows server. I'd like to then insert a text file into the application (which looks like a zip file on windows):</p>
<pre><code>myapplescript.app/Contents/Resources/MyNewDir/MyTxtFile.txt
</code></pre>
<p>So, I've precompiled the AppleScript to t... | [
{
"answer_id": 284311,
"author": "Mike Blandford",
"author_id": 28643,
"author_profile": "https://Stackoverflow.com/users/28643",
"pm_score": 3,
"selected": true,
"text": "set theFile to (POSIX file (theFolder & \"Contents/Resources/MyNewDir/MyTxtFile.txt\"))\n"
},
{
"answer_id":... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281108",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28643/"
] |
281,111 | <p>How do I replace text from one file with text from another file using vbscript?</p>
<p>The text being replaced is somewhere in the middle of the file. </p>
| [
{
"answer_id": 281138,
"author": "Svante Svenson",
"author_id": 19707,
"author_profile": "https://Stackoverflow.com/users/19707",
"pm_score": 2,
"selected": false,
"text": "Dim oFSO\nDim sFileAContents\nDim sFileBContents\nDim sFileCContents\nDim sResult\nSet oFSO = CreateObject(\"Script... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281111",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
281,119 | <p>Has anyone written a version of .Net's generic Queue that implements INotifyCollectionChanged, or is there one hidden deep in the .Net framework somewhere already?</p>
| [
{
"answer_id": 281148,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": true,
"text": "// this isn't the best code ever; refactor as desired\nprotected void OnCollectionChanged( NotifyCollectionChangedEventArgs cce... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281119",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5548/"
] |
281,121 | <p>The default generated hashCode and equals implementations are ugly at best.</p>
<p>Is it possible to make eclipse generate ones from HashCodeBuilder and EqualsBuilder, and perhaps even a toString with ToStringBuilder?</p>
| [
{
"answer_id": 281179,
"author": "bruno conde",
"author_id": 31136,
"author_profile": "https://Stackoverflow.com/users/31136",
"pm_score": 2,
"selected": false,
"text": " public boolean equals(Object o) {\n boolean result = false;\n\n if (this == o) {\n result... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281121",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11858/"
] |
281,123 | <p>I have a loop (for item in @dataset) and I want, in each iteration, to get different data from another table and make some operations that will be printed in the view. I cant't get this data from the dataset used in the loop.</p>
<p>How can I do this according to MVC? I can put the code into the loop, in the view, ... | [
{
"answer_id": 282109,
"author": "Orion Edwards",
"author_id": 234,
"author_profile": "https://Stackoverflow.com/users/234",
"pm_score": 7,
"selected": true,
"text": "has_many @people Person has_many Address # Controller\n@people = Person.find(:all, :include => :addresses)\n...\n\n# View... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281123",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36599/"
] |
281,132 | <p>Is there any difference between a <code>volatile</code> Object reference and <code>AtomicReference</code> in case I would just use <code>get()</code> and <code>set()</code>-methods from <code>AtomicReference</code>?</p>
| [
{
"answer_id": 281163,
"author": "pgras",
"author_id": 12719,
"author_profile": "https://Stackoverflow.com/users/12719",
"pm_score": 8,
"selected": true,
"text": "java.util.concurrent.atomic get volatile set volatile AtomicReference::lazySet volatile"
},
{
"answer_id": 497150,
... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281132",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4110/"
] |
281,133 | <p>What would be the easiest way to move the mouse around (and possibly click) using Python on OS X? </p>
<p>This is just for rapid prototyping, it doesn't have to be elegant.</p>
| [
{
"answer_id": 281330,
"author": "Ben",
"author_id": 36522,
"author_profile": "https://Stackoverflow.com/users/36522",
"pm_score": 4,
"selected": true,
"text": "#include <ApplicationServices/ApplicationServices.h>\n\nint to(int x, int y)\n{\n CGPoint newloc;\n CGEventRef eventRef;\... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281133",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36522/"
] |
281,144 | <p>I am having some trouble grasping some concepts behind the MVC framework. I am doing a very simple application which categorizes products.</p>
<p>The Creation screen will simply use a dropdown list showing the list of categories, the name of the product and submit.</p>
<p>On a normal .Net app, I would databind a s... | [
{
"answer_id": 281211,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "public class LogEvent{\n public string Title {get;set;}\n public string Date {get;set;}\n public string Message {get;set;}\... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281144",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5789/"
] |
281,167 | <p>I've got a particular SQL statement which takes about 30 seconds to perform, and I'm wondering if anyone can see a problem with it, or where I need additional indexing.</p>
<p>The code is on a subform in Access, which shows results dependent on the content of five fields in the master form. There are nearly 5000 re... | [
{
"answer_id": 281214,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 1,
"selected": false,
"text": "WHERE\n [drawername] Like Nz(Forms!FrmSearchCompany!SearchName, \"\") & \"*\"\n And \n [Drawerpostcode] Like Nz(Forms!F... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281167",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30140/"
] |
281,170 | <p>I have an installer that deploys web services to IIS. After this has finshed a custom action fires that updates the database with the scripts required by the webservices. The scripts are currently deploying to IIS aswell because they are part of the .net project. How can I configure the installation process so th... | [
{
"answer_id": 281364,
"author": "CheGueVerra",
"author_id": 17787,
"author_profile": "https://Stackoverflow.com/users/17787",
"pm_score": 0,
"selected": false,
"text": "<Binary Id=\"webServiceScript.sql\" src=\"[DirectoryToFile]\\webServiceDataScript.sql\" />\n <CustomAction Id=\"CallCm... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281170",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
281,177 | <p>Is it a good practice to comment code that is removed? For example:</p>
<pre><code>// Code to do {task} was removed by Ajahn on 10/10/08 because {reason}.
</code></pre>
<p>Someone in my developer group during a peer review made a note that we should comment the lines of code to be removed. I thought this was a ter... | [
{
"answer_id": 281206,
"author": "andy.gurin",
"author_id": 22388,
"author_profile": "https://Stackoverflow.com/users/22388",
"pm_score": 2,
"selected": false,
"text": "// removed because of this and that\n/* \n removed this stuff because my left leg...\n*/\n doSomething();\n// this... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281177",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5831/"
] |
281,210 | <p>We have scalar functions in our database for returning things like "number of tasks for a customer" or "total invoice amount for a customer". </p>
<p>We are experimenting and looking to try to do this w/o stored procedures ... normally we would just call this function in our stored procedure and return it as a sin... | [
{
"answer_id": 281224,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 4,
"selected": true,
"text": "[Function(..., IsComposable=true)] var qry = from cust in ctx.Custs\n select new {Id = cust.Id, Value = ctx.... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281210",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1768/"
] |
281,246 | <p>I have to add either an embed tag for Firefox or an object tag for Internet Explorer with JavaScript to address the appropriate ActiveX / Plugin depending on the browser. The plugin could be missing and needs to get downloaded in this case. The dynamically added embed tag for Firefox works as expected. The dynamical... | [
{
"answer_id": 281280,
"author": "Jason Bunting",
"author_id": 1790,
"author_profile": "https://Stackoverflow.com/users/1790",
"pm_score": 5,
"selected": true,
"text": "// something akin to this:\ndocument.getElementById(myDivId).innerHTML = \"<OBJECT id='foo' classid='CLSID:22d6f312-b0f... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281246",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1890/"
] |
281,247 | <p>I'm relatively new to NHibernate, but have been using it for the last few programs and I'm in love. I've come to a situation where I need to aggregate data from 4-5 databases into a single database. Specifically it is serial number data. Each database will have its own mapping file, but ultimately the entities al... | [
{
"answer_id": 291994,
"author": "anonymous",
"author_id": 36602,
"author_profile": "https://Stackoverflow.com/users/36602",
"pm_score": 0,
"selected": false,
"text": "public class Serial\n{\n public string SerialNumber {get; set;}\n public string ItemNumber {get; set;}\n public... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281247",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36602/"
] |
281,257 | <p>In an earlier question about <a href="https://stackoverflow.com/questions/280579/c-beginner-help-how-do-i-pass-a-value-from-a-child-back-to-the-parent-form">how to return a string from a dialog window</a>, <strong>yapiskan</strong> suggested <a href="https://stackoverflow.com/questions/280579/c-beginner-help-how-do-... | [
{
"answer_id": 281953,
"author": "Robert Rossney",
"author_id": 19403,
"author_profile": "https://Stackoverflow.com/users/19403",
"pm_score": 2,
"selected": false,
"text": "MyDialog d = new MyDialog();\nd.ShowDialog(\n string foo;\nstring\n bar Parameters MyDialog d = new MyDialog();\nd.... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281257",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14606/"
] |
281,258 | <p>Suppose I have one html page with frames. The left frame is simply a list of links, which will be displayed in the right frame. Is it possible, using javascript, to generate the contents of the left frame when the page loads?</p>
| [
{
"answer_id": 281953,
"author": "Robert Rossney",
"author_id": 19403,
"author_profile": "https://Stackoverflow.com/users/19403",
"pm_score": 2,
"selected": false,
"text": "MyDialog d = new MyDialog();\nd.ShowDialog(\n string foo;\nstring\n bar Parameters MyDialog d = new MyDialog();\nd.... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281258",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34329/"
] |
281,264 | <p>How do I remove empty elements from an array in JavaScript? </p>
<p>Is there a straightforward way, or do I need to loop through it and remove them manually?</p>
| [
{
"answer_id": 281288,
"author": "Matty",
"author_id": 26241,
"author_profile": "https://Stackoverflow.com/users/26241",
"pm_score": -1,
"selected": false,
"text": "function removeEmptyElem(ary) {\n for (var i = ary.length - 1; i >= 0; i--) {\n if (ary[i] == undefined) {\n ... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281264",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8954/"
] |
281,275 | <p>I have two STL containers that I want to merge, removing any elements that appear more than once. For example:</p>
<pre><code>typedef std::list<int> container;
container c1;
container c2;
c1.push_back(1);
c1.push_back(2);
c1.push_back(3);
c2.push_back(2);
c2.push_back(3);
c2.push_back(4);
container c3 = u... | [
{
"answer_id": 281296,
"author": "Eclipse",
"author_id": 8701,
"author_profile": "https://Stackoverflow.com/users/8701",
"pm_score": 4,
"selected": true,
"text": "set_union sort merge unique erase template <typename container>\ncontainer unique_merge(container c1, container c2)\n{\n s... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281275",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9236/"
] |
281,276 | <p>Here's an open ended question. I work on a lot of mssql files, and I like to have a date stamp on each. This is so I can know just by looking at the source of a stored procedure whether it's up to date or not.</p>
<p>I'd like to have a shortcut autocomplete key, that, if i type say, d-tab-tab, I get the current dat... | [
{
"answer_id": 281354,
"author": "Alex B",
"author_id": 6180,
"author_profile": "https://Stackoverflow.com/users/6180",
"pm_score": 0,
"selected": false,
"text": "$Date: $"
}
] | 2008/11/11 | [
"https://Stackoverflow.com/questions/281276",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40352/"
] |
281,300 | <p>I have a collection of items that the user needs to group/categorize in several ways. For the sake of an example, let's say it's a collection of cars and the user wants to categorize them in the following ways:</p>
<ul>
<li>Color (red, silver, blue, black, etc.)</li>
<li>Body shape (hatch, sedan, coupe, stationwago... | [
{
"answer_id": 281319,
"author": "Bob",
"author_id": 45,
"author_profile": "https://Stackoverflow.com/users/45",
"pm_score": 1,
"selected": false,
"text": "TagType { Color, Seats, BodyType, Seats }\nTabSubType { Color-Red, Color-Blue, Color-Green, Seats-2, Seats-4, ... }\n"
},
{
... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281300",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8705/"
] |
281,323 | <p>I am attempting to insert a copy of a row from one table into another table with the same schema, with the addition of one column (a timestamp) to provide a "history" of the first table in MS Sql Server 2005.</p>
<p>So, my query, without the additional column would be:</p>
<pre><code>"SELECT INTO [WebsiteHistory] ... | [
{
"answer_id": 281336,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 5,
"selected": true,
"text": "INSERT\n WebsiteHistory\nSELECT\n *,\n GETDATE()\nFROM\n Website\nWHERE\n Id = @WebsiteId\n WebsiteHistory Website DAT... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281323",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2327/"
] |
281,334 | <p>I have a UL that looks like this:</p>
<pre><code><ul class="popular-pages">
<li><a href="region/us/california/">California</a></li>
<li><a href="region/us/michigan/">Michigan</a></li>
<li><a href="region/us/missouri/">Missouri</a>&l... | [
{
"answer_id": 281360,
"author": "Arief",
"author_id": 34096,
"author_profile": "https://Stackoverflow.com/users/34096",
"pm_score": 0,
"selected": false,
"text": "*html ul.popular-pages li a { \n display:block; \n float:left; \n border-right:1px solid #b0b0b0; \n border-bott... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281334",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
281,339 | <p>So for the second day in a row, someone has wiped out an entire table of data as opposed to the one row they were trying to delete because they didn't have the qualified where clause.</p>
<p>I've been all up and down the mgmt studio options, but can't find a confirm option. I know other tools for other databases h... | [
{
"answer_id": 281344,
"author": "Galwegian",
"author_id": 3201,
"author_profile": "https://Stackoverflow.com/users/3201",
"pm_score": 3,
"selected": false,
"text": "BEGIN TRANSACTION DELETE COMMIT ROLLBACK"
},
{
"answer_id": 281392,
"author": "Dave DuPlantis",
"author_id... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281339",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36614/"
] |
281,350 | <p>Our windows deliverable has different sets of config files and binary assets for different customers. Right now the configuring is done by hand before packaging and its error prone. What do you think of using branches for each customer, and having the package build/script automerge the customer's branch with trunk... | [
{
"answer_id": 281575,
"author": "Brian Schmitt",
"author_id": 30492,
"author_profile": "https://Stackoverflow.com/users/30492",
"pm_score": 0,
"selected": false,
"text": "#If FirstCustomer Then\n ' <code specific to the FirstCustomer version>.\n#ElseIf SecondCustomer Then\n ' <code ... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281350",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20003/"
] |
281,363 | <p>I am using WinCVS as client and CVSNT as my source control server. Some of the files I wanted to add to my CVS repo, were added as Unicode files. Now, I want to recommit the same as ANSI (aka ASCII) files. However, despite deleting the old files from the repo, every time I add the file with the same name, it automa... | [
{
"answer_id": 281802,
"author": "Ken Gentle",
"author_id": 8709,
"author_profile": "https://Stackoverflow.com/users/8709",
"pm_score": 0,
"selected": false,
"text": "CVSNT CVS CVSNT CVSNT CVS Add Attic ,v cvs add"
},
{
"answer_id": 282726,
"author": "Oliver Giesen",
"aut... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281363",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/382974/"
] |
281,365 | <p>If I have the following code,</p>
<pre><code>Foo *f = new Foo();
vector<Foo*> vect;
vect.push_back(f);
// do stuff
vect.erase(f);
</code></pre>
<p>Did I create a memory leak?
I guess so, but the word <em>erase</em> gives the feeling that it is deleting it. </p>
<p>Writing this, I am wondering if it is not ... | [
{
"answer_id": 281385,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 4,
"selected": true,
"text": "{ \n boost::shared_ptr<foo> f(new foo);\n\n std::vector< boost::shared_ptr<foo> > v;\n v.push_back(... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20986/"
] |
281,372 | <p>How do I set up a shell script to execute from the Mac OSX dock? It seems that simply creating a shortcut will open the file in my editor. Is there a flag I need to set somewhere to tell it to run instead of opening it for editing?</p>
| [
{
"answer_id": 281389,
"author": "Jeremy",
"author_id": 1114,
"author_profile": "https://Stackoverflow.com/users/1114",
"pm_score": 6,
"selected": false,
"text": "Example Example.app/Contents/MacOS/Example Example.app Contents/MacOS Example"
},
{
"answer_id": 281455,
"author"... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281372",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5291/"
] |
281,373 | <p>I am looking for a query that will work on Sharepoint 2003 to show me all the documents created/touched by a given userID.</p>
<p>I have found tables with the documents (Docs) and tables for users (UserInfo, UserData)
but the relationship between seems a bit odd - there are 99,000 records in our userdata table, and... | [
{
"answer_id": 283290,
"author": "Bjørn Stærk",
"author_id": 36164,
"author_profile": "https://Stackoverflow.com/users/36164",
"pm_score": 2,
"selected": true,
"text": "select d.* from userinfo u \njoin alluserdata d on u.tp_siteid = d.tp_siteid \nand u.tp_id = d.tp_author \nwhere u.tp_l... | 2008/11/11 | [
"https://Stackoverflow.com/questions/281373",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/33186/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.