qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
269,466
<p>I am having trouble with a very simple Perl process. I am basically querying an Oracle database and I want to load it into Excel. I have been able to use DBIx::Dump and it works. However, I need to be able to use a variety of Excel formatting tools. And I think <a href="http://search.cpan.org/dist/Spreadsheet::W...
[ { "answer_id": 269497, "author": "EvilTeach", "author_id": 7734, "author_profile": "https://Stackoverflow.com/users/7734", "pm_score": 2, "selected": false, "text": "to_char(date, 'YYYY/MM/DD HH24:MI:SS')\n to_date(date, 'YYYY/MM/DD HH24:MI:SS') \n" }, { "answer_id": 270591, ...
2008/11/06
[ "https://Stackoverflow.com/questions/269466", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
269,486
<p>I'm trying to change default firstDayOfWeek for java.util.Calendar from SUNDAY to MONDAY. Is it possible to achieve this through JVM configuration instead of adding this piece of code?</p> <pre><code>cal.setFirstDayOfWeek(Calendar.MONDAY); </code></pre>
[ { "answer_id": 269538, "author": "Kariem", "author_id": 12039, "author_profile": "https://Stackoverflow.com/users/12039", "pm_score": 5, "selected": true, "text": "public static void main(String[] args) {\n Calendar c = new GregorianCalendar();\n System.out.println(Locale.getDefaul...
2008/11/06
[ "https://Stackoverflow.com/questions/269486", "https://Stackoverflow.com", "https://Stackoverflow.com/users/35172/" ]
269,494
<p>I am launching a child process with ProcessBuilder, and need the child process to exit if the parent process does. Under normal circumstances, my code is stopping the child properly. However, if I cause the OS to kill the parent, the child will continue running.</p> <p>Is there any way to "tie" the child process ...
[ { "answer_id": 272728, "author": "Greg Case", "author_id": 462, "author_profile": "https://Stackoverflow.com/users/462", "pm_score": 5, "selected": false, "text": "String[] command;\nfinal Process childProcess = new ProcessBuilder(command).start();\n\nThread closeChildThread = new Thread...
2008/11/06
[ "https://Stackoverflow.com/questions/269494", "https://Stackoverflow.com", "https://Stackoverflow.com/users/420/" ]
269,496
<p>There are two schools of thought on how to best extend, enhance, and reuse code in an object-oriented system:</p> <ol> <li><p>Inheritance: extend the functionality of a class by creating a subclass. Override superclass members in the subclasses to provide new functionality. Make methods abstract/virtual to force su...
[ { "answer_id": 269535, "author": "Toon Krijthe", "author_id": 18061, "author_profile": "https://Stackoverflow.com/users/18061", "pm_score": 9, "selected": true, "text": "class Dog\n Eat;\n Walk;\n Bark;\n Play;\nend;\n class Cat is Dog\n Purr; \nend;\n class Cat is Dog\n Purr; \n ...
2008/11/06
[ "https://Stackoverflow.com/questions/269496", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3488/" ]
269,513
<p>Why is the generic.list slower than array?</p>
[ { "answer_id": 270486, "author": "Marc Gravell", "author_id": 23354, "author_profile": "https://Stackoverflow.com/users/23354", "pm_score": 2, "selected": false, "text": "List<T> T[] T[] List<T>" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269513", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
269,523
<p>I've got a Page class in my .edmx ADO.NET Entity Data Model file with with Parent and Children properties. It's for a hierarchy of Pages.</p> <p><em>removed dead ImageShack link - ADO.NET Entity Framework Hierarchical Page Class</em></p> <p>This is handled in my SQL database with a ParentId foreign key in the Pag...
[ { "answer_id": 273535, "author": "Zack Peterson", "author_id": 83, "author_profile": "https://Stackoverflow.com/users/83", "pm_score": 5, "selected": true, "text": "<Window x:Class=\"Window1\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n xmlns:x=\"http://...
2008/11/06
[ "https://Stackoverflow.com/questions/269523", "https://Stackoverflow.com", "https://Stackoverflow.com/users/83/" ]
269,541
<p>I'm trying to build a HQL that can left join values from a collection, in order to give me the chance of checking "is null" on it.</p> <p>Taken from the example from hibernate manual:</p> <pre> from Cat as cat left join cat.kittens as kitten with kitten.bodyWeight > 10.0 </pre> <p>doesn't seem to wor...
[ { "answer_id": 494894, "author": "Frederik Gheysels", "author_id": 55774, "author_profile": "https://Stackoverflow.com/users/55774", "pm_score": 1, "selected": false, "text": "from Cat c\nleft join c.Kittens as kitten\nwhere kitten.bodyweight > 10 or kitten.bodyweight is null\n" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269541", "https://Stackoverflow.com", "https://Stackoverflow.com/users/33663/" ]
269,545
<p>With the jQuery datepicker, how does one change the year range that is displayed? On the jQuery UI site it says the default is "10 years before and after the current year are shown". I want to use this for a birthday selection and 10 years before today is no good. Can this be done with the jQuery datepicker or wi...
[ { "answer_id": 269561, "author": "Shog9", "author_id": 811, "author_profile": "https://Stackoverflow.com/users/811", "pm_score": 8, "selected": true, "text": "Year dropdown shows last 20 years $(\"#restricting\").datepicker({ \n yearRange: \"-20:+0\", // this is the option you're look...
2008/11/06
[ "https://Stackoverflow.com/questions/269545", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2847/" ]
269,560
<p>In Python map() works on any data that follows the sequence protocol. It does The Right Thing^TM whether I feed it a string or a list or even a tuple.</p> <p>Can't I have my cake in OCaml too? Do I really have no other choice but to look at the collection type I'm using and find a corresponding List.map or an Arr...
[ { "answer_id": 269851, "author": "Chris Conway", "author_id": 1412, "author_profile": "https://Stackoverflow.com/users/1412", "pm_score": 5, "selected": true, "text": "Enum Enum Enum.t Enum.t Enum.t Foldable Functor Foldable Functor" }, { "answer_id": 829115, "author": "J D",...
2008/11/06
[ "https://Stackoverflow.com/questions/269560", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18446/" ]
269,566
<p>I have two html pages, when you click on something on the first html, it will go to the second one. What I want to do is to show text according to what you clicked on the first html. different texts are wrapped with different ids. Here's how I wrote:</p> <pre><code>&lt;a href="secondpage.html#one"&gt;&lt;/a&gt; &lt...
[ { "answer_id": 269592, "author": "Keltex", "author_id": 28260, "author_profile": "https://Stackoverflow.com/users/28260", "pm_score": 0, "selected": false, "text": "<a name='one'></a>\n" }, { "answer_id": 269595, "author": "Pim Jager", "author_id": 35197, "author_prof...
2008/11/06
[ "https://Stackoverflow.com/questions/269566", "https://Stackoverflow.com", "https://Stackoverflow.com/users/34797/" ]
269,577
<p>I am working on a small parser that should accept input in a number of languages. I am going to have maybe 50 strings that will serve as keywords/anchors in parsing the input. In PHP, what would be the best way to organize these translated keywords? </p> <p>One possible solution that comes to my mind is to use an a...
[ { "answer_id": 270850, "author": "too much php", "author_id": 28835, "author_profile": "https://Stackoverflow.com/users/28835", "pm_score": 0, "selected": false, "text": "$lang <?php // lang.us.php\n$LANG['us'] = array(\n 'totalDebt' => 'Total Debt',\n ...
2008/11/06
[ "https://Stackoverflow.com/questions/269577", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
269,578
<p>I want to get the method <code>System.Linq.Queryable.OrderyBy&lt;T, TKey&gt;(the IQueryable&lt;T&gt; source, Expression&lt;Func&lt;T,TKey&gt;&gt; keySelector)</code> method, but I keep coming up with nulls.</p> <pre><code>var type = typeof(T); var propertyInfo = type.GetProperty(group.PropertyName); var propertyTyp...
[ { "answer_id": 269908, "author": "David", "author_id": 21909, "author_profile": "https://Stackoverflow.com/users/21909", "pm_score": 2, "selected": false, "text": "var orderBy =\n (from methodInfo in typeof(System.Linq.Queryable).GetMethods()\n where methodInfo.Name == \"O...
2008/11/06
[ "https://Stackoverflow.com/questions/269578", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21909/" ]
269,581
<p>I am attempting to return a collection of departments from a .NET assembly to be consumed by ASP via COM Interop. Using .NET I would just return a generic collection, e.g. <code>List&lt;Department&gt;</code>, but it seems that generics don't work well with COM Interop. So, what are my options?</p> <p>I would like t...
[ { "answer_id": 270025, "author": "Mike Henry", "author_id": 14934, "author_profile": "https://Stackoverflow.com/users/14934", "pm_score": 5, "selected": true, "text": "System.Collections.ArrayList ComArrayList ArrayList GetByIndex SetByIndex public class ComArrayList : System.Collections...
2008/11/06
[ "https://Stackoverflow.com/questions/269581", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14934/" ]
269,582
<p>What combination of CSS or attributes are needed?</p>
[ { "answer_id": 270195, "author": "Ionuț Staicu", "author_id": 23810, "author_profile": "https://Stackoverflow.com/users/23810", "pm_score": 5, "selected": false, "text": "<input type=\"file\" size=\"50\" .... />\n" }, { "answer_id": 270675, "author": "Bryan M.", "author_i...
2008/11/06
[ "https://Stackoverflow.com/questions/269582", "https://Stackoverflow.com", "https://Stackoverflow.com/users/337/" ]
269,590
<p>I just spent half an one our to find out what caused the Error-Message "Ci is not defined" in my JavaScript code. I finally found the reason:</p> <p>It should be (jQuery):</p> <pre><code>$("asd").bla(); </code></pre> <p>It was:</p> <pre><code>("asd").bla(); </code></pre> <p>(Dollar sign gone missing)</p> <p>No...
[ { "answer_id": 269636, "author": "Jason Bunting", "author_id": 1790, "author_profile": "https://Stackoverflow.com/users/1790", "pm_score": 3, "selected": true, "text": "bla() $ (\"asd\") bla() String.prototype.bla = function() {};\n\n// now this next line will execute without any problem...
2008/11/06
[ "https://Stackoverflow.com/questions/269590", "https://Stackoverflow.com", "https://Stackoverflow.com/users/999/" ]
269,601
<p>I have a file I need to rename to that of an existing file. This is a copy, modify, replace original operation on an existing JAR file. I've got the first two steps done, I just need help with the replace original bit. What's the best way to rename the new version of the JAR to that of the old. The old JAR doesn't n...
[ { "answer_id": 269647, "author": "Powerlord", "author_id": 15880, "author_profile": "https://Stackoverflow.com/users/15880", "pm_score": 3, "selected": true, "text": "java.io.File oldFile newFile oldFile.delete()\nnewFile.renameTo(oldFile);\n" }, { "answer_id": 269649, "autho...
2008/11/06
[ "https://Stackoverflow.com/questions/269601", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4893/" ]
269,603
<p>I'm looking to convert a small .NET console application into a Windows Service. I'd like to build two versions, one using .NET 2.0 and another with .NET 3.5 .</p> <p>Are there radically different approaches that need to be taken, or will the 2.0 version be roughly equivalent to the 3.5 version? Where's a good sou...
[ { "answer_id": 15064862, "author": "Praveen", "author_id": 1671639, "author_profile": "https://Stackoverflow.com/users/1671639", "pm_score": 0, "selected": false, "text": "windows service" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269603", "https://Stackoverflow.com", "https://Stackoverflow.com/users/35171/" ]
269,605
<p>I've got an MS access database and I would need to create an SQL query that allows me to select all the not distinct entries in one column while still keeping all the values.</p> <p>In this case more than ever an example is worth thousands of words:</p> <p>Table:</p> <pre><code>A B C 1 x q 2 y w 3 y e 4 z r 5 z t...
[ { "answer_id": 269620, "author": "a2800276", "author_id": 27408, "author_profile": "https://Stackoverflow.com/users/27408", "pm_score": 2, "selected": false, "text": "select \n * \nfrom \n my_table t1, \n my_table t2\nwhere \n t1.B = t2.B\nand\n t1.C != t2.C\n\n-- apparently you nee...
2008/11/06
[ "https://Stackoverflow.com/questions/269605", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
269,611
<p>"Both DataSource and DataSourceID are defined on 'grdCommunication'. Remove one definition."</p> <p>I just got this error today, the code has been working until this afternoon I published the latest version to our server and it broke with that error both locally and on the server. I don't use "DataSourceID", the ...
[ { "answer_id": 269701, "author": "tsilb", "author_id": 11112, "author_profile": "https://Stackoverflow.com/users/11112", "pm_score": 4, "selected": true, "text": "DataSet dsActivity = objCompany.GetActivityDetails();\ngrdCommunication.DataSource = dsActivity.Tables[0];\ngrdCommunication....
2008/11/06
[ "https://Stackoverflow.com/questions/269611", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18893/" ]
269,623
<p>I am rather new to complex CSS, and have a question- I have a page which positions a floating element along the bottom of the page. It does so by setting the Bottom: 0, and Position: Absolute. </p> <p>When the user resizes their browser to a very-small size, this element covers up other content on the page.</p> <p...
[ { "answer_id": 269680, "author": "Greg", "author_id": 24181, "author_profile": "https://Stackoverflow.com/users/24181", "pm_score": 1, "selected": false, "text": "html, body { min-width: 800px; min-height: 600px; }" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269623", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
269,632
<p>Upon a click on an IMG, I would like to get to the next subsequent DIV so that the DIVs content can either be displayed or hidden depending on its current display state.</p> <p>This is an HTML snippet:</p> <pre><code>&lt;div&gt; &lt;span class="expand"&gt;&lt;img src="images/plus.gif"&gt;&lt;/span&gt; &lt;span...
[ { "answer_id": 269691, "author": "Steve Perks", "author_id": 16124, "author_profile": "https://Stackoverflow.com/users/16124", "pm_score": 0, "selected": false, "text": "$('.expand').click(function () {\n $(\".record\").toggle();\n});\n $('.expand').click(function () {\n $(\".record\")...
2008/11/06
[ "https://Stackoverflow.com/questions/269632", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2755/" ]
269,653
<p>Does anybody know if there is a way to make autocompletion work in MySQL Command Line Client under Windows? It's working nicely under Linux for me, but simply moves the cursor under Windows instead.</p>
[ { "answer_id": 269750, "author": "Bill Karwin", "author_id": 20860, "author_profile": "https://Stackoverflow.com/users/20860", "pm_score": 5, "selected": true, "text": "C:\\> mysql --auto-rehash\n [mysql]\nauto-rehash\n mysqlc.exe mysqlc.exe" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269653", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9777/" ]
269,657
<p>I want to alert the user in a Swing application of certain events with an old fashioned PC Speaker beep (NOT the soundcard), since not on every PC there is a soundcard with an attached speaker, or volume might be turned to zero, or a headphone might be connected... How can I do this?</p> <p>UPDATE: java.awt.Toolkit...
[ { "answer_id": 269663, "author": "Michael Myers", "author_id": 13531, "author_profile": "https://Stackoverflow.com/users/13531", "pm_score": 5, "selected": false, "text": "Toolkit.getDefaultToolkit().beep();" }, { "answer_id": 269690, "author": "Paulo Guedes", "author_id"...
2008/11/06
[ "https://Stackoverflow.com/questions/269657", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21499/" ]
269,659
<p>I am trying to use a malloc hook to create a custom function my_malloc(). In my main program when I call malloc() I want it to call my_malloc() can someone please give me an example on how to do this in C</p>
[ { "answer_id": 269672, "author": "Alex Gartrell", "author_id": 10307, "author_profile": "https://Stackoverflow.com/users/10307", "pm_score": -1, "selected": false, "text": "#undef malloc\n#define malloc my_malloc\n" }, { "answer_id": 269695, "author": "Randy Stegbauer", "...
2008/11/06
[ "https://Stackoverflow.com/questions/269659", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
269,660
<p>Does anyone know how to iterate over a generic list if the type of that list isn't known until runtime?</p> <p>For example, assume <code>obj1</code> is passed into a function as an <code>Object</code>:</p> <pre><code>Dim t As Type = obj1.GetType If t.IsGenericType Then Dim typeParameters() As Type = t.GetGener...
[ { "answer_id": 269807, "author": "Todd", "author_id": 2572, "author_profile": "https://Stackoverflow.com/users/2572", "pm_score": 2, "selected": false, "text": "Public Sub Foo(Of T)(list As List(Of T))\n For Each obj As T In list\n ..do something with obj..\n Next\nEnd Sub\n Dim li...
2008/11/06
[ "https://Stackoverflow.com/questions/269660", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12842/" ]
269,669
<p>Either for comparisons or initialization of a new variable, does it make a difference which one of these you use?</p> <p>I know that BigDecimal.ZERO is a 1.5 feature, so that's a concern, but assuming I'm using 1.5 does it matter?</p> <p>Thanks.</p>
[ { "answer_id": 269684, "author": "Greg Hewgill", "author_id": 893, "author_profile": "https://Stackoverflow.com/users/893", "pm_score": 6, "selected": true, "text": "BigDecimal.ZERO BigDecimal(\"0\") BigDecimal.ZERO BigDecimal(\"0\") BigDecimal.ZERO" }, { "answer_id": 642907, ...
2008/11/06
[ "https://Stackoverflow.com/questions/269669", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3098/" ]
269,676
<p>I want to make my Python library working with MySQLdb be able to detect deadlocks and try again. I believe I've coded a good solution, and now I want to test it.</p> <p>Any ideas for the simplest queries I could run using MySQLdb to create a deadlock condition would be?</p> <p>system info:</p> <ul> <li>MySQL 5.0...
[ { "answer_id": 270492, "author": "Charles Bretana", "author_id": 32632, "author_profile": "https://Stackoverflow.com/users/32632", "pm_score": 1, "selected": false, "text": " Begin Transaction \n Insert TableA() Values()... \n Begin Transaction\n Insert TableB() Values()... \n ...
2008/11/06
[ "https://Stackoverflow.com/questions/269676", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13009/" ]
269,692
<p>I have a clock feature in a VB.NET program that displays the time including the seconds. I currently have a timer constantly polling using NOW. I have to poll the system clock quite often because I need to have the second update in sync with the system clock.</p> <p>Is there a more direct to access the time only wh...
[ { "answer_id": 269738, "author": "Jason Z", "author_id": 2470, "author_profile": "https://Stackoverflow.com/users/2470", "pm_score": 4, "selected": true, "text": "Public Class Form1\n Private WithEvents clockTimer As New Timer\n Private currentTime As DateTime = DateTime.MinValue\n\n...
2008/11/06
[ "https://Stackoverflow.com/questions/269692", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4856/" ]
269,703
<p>I have an app with the following basic architecture:</p> <p>A windows service (Service) that registers a .NET type (RemoteObject) for remote access (.NET Remoting). RemoteObject creates non-ThreadPool threads that use the ThreadPool to do IO processing. The size of the ThreadPool must be restricted to a limit for ...
[ { "answer_id": 269808, "author": "vfilby", "author_id": 24279, "author_profile": "https://Stackoverflow.com/users/24279", "pm_score": 2, "selected": false, "text": "SERVICE_DEBUG #if !' #if SERVICE_DEBUG\n ServiceHost s = new ServiceHost();\n s.DebugService();\n ...
2008/11/06
[ "https://Stackoverflow.com/questions/269703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7529/" ]
269,713
<p>We have a current application where user login credentials are stored in a SQL Server DB. These are, basically, stored as a plain text username, a password hash, and an associated salt for this hash.</p> <p>These were all created by built in functions in ASP.NET's membership/role system. Here's a row for a user n...
[ { "answer_id": 269888, "author": "grieve", "author_id": 34329, "author_profile": "https://Stackoverflow.com/users/34329", "pm_score": 0, "selected": false, "text": "0x00 0x70 0x00 0x61 0x00 0x73 0x00 0x73 0x00 0x77 0x00 0x6F 0x00 0x72 0x00 0x64\n 0x70 0x61 0x73 0x73 0x77 0x6F 0x72 0x64\n...
2008/11/06
[ "https://Stackoverflow.com/questions/269713", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13668/" ]
269,720
<p>I'm looking for a good way to run a Apache Derby server in network mode. I'm using the NetworkServerControl to start the server and it's working great.</p> <p>I start the server like this:</p> <pre><code>/** * starts the network server * @return true if sucessfull */ public boolean start() { try { ...
[ { "answer_id": 269765, "author": "SCdF", "author_id": 1666, "author_profile": "https://Stackoverflow.com/users/1666", "pm_score": 2, "selected": false, "text": "DriverManager.getConnection(\n \"jdbc:derby:sample;shutdown=true\");\n" }, { "answer_id": 269801, "author": "SCd...
2008/11/06
[ "https://Stackoverflow.com/questions/269720", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2216428/" ]
269,721
<p>According to <a href="http://en.wikipedia.org/wiki/Rounding" rel="noreferrer">Wikipedia</a> when rounding a negative number, you round the absolute number. So by that reasoning, -3.5 would be rounded to -4. But when I use java.lang.Math.round(-3.5) returns -3. Can someone please explain this?</p>
[ { "answer_id": 269735, "author": "sblundy", "author_id": 4893, "author_profile": "https://Stackoverflow.com/users/4893", "pm_score": 5, "selected": true, "text": "(long)Math.floor(a + 0.5d)" }, { "answer_id": 269746, "author": "Paulo Guedes", "author_id": 33857, "auth...
2008/11/06
[ "https://Stackoverflow.com/questions/269721", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23249/" ]
269,722
<p>We are using feature branches in Subversion for our development which is a very convenient way of keeping code within version control that is not yet ready for the mainline. However, whenever I go to merge the feature branch revision into the mainline it is a pain. Right now I go through the following steps:</p> <o...
[ { "answer_id": 269760, "author": "Carl Seleborg", "author_id": 2095, "author_profile": "https://Stackoverflow.com/users/2095", "pm_score": 2, "selected": false, "text": "svn merge \"LASTSYNC\":HEAD svn://path/to/FeatureBranch ." } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269722", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4599/" ]
269,759
<p>I am writing a simple xml string to an MSMQ from a VB6 app, but when I attempt to read the message off the queue in C# using the XmlMessageFormatter I get the following error:</p> <p>"Name cannot begin with the '.' character"</p> <p>How do I successfully read these messages using .Net code?</p>
[ { "answer_id": 31191260, "author": "earthling42", "author_id": 1328604, "author_profile": "https://Stackoverflow.com/users/1328604", "pm_score": 0, "selected": false, "text": " private static string MsmqMsgBodyWtf(Message recalcitrantMsmqMessage, bool showHex = false, bool showChars =...
2008/11/06
[ "https://Stackoverflow.com/questions/269759", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
269,761
<p>Please consider the following:</p> <pre><code>&lt;td style="width: 500px;"&gt; &lt;div style="width: 400px;"&gt;SomeContent&lt;/div&gt; &lt;/td&gt; </code></pre> <p>For some reason, the column that contains a div will not expand to 500px as the style suggests.</p> <p>Do you know how to get the td to honor the...
[ { "answer_id": 269793, "author": "Steve Perks", "author_id": 16124, "author_profile": "https://Stackoverflow.com/users/16124", "pm_score": 0, "selected": false, "text": "<td style=\"width: 500px\">\n <div style=\"padding: 0 50px\">SomeContent</div>\n</td>\n" }, { "answer_id": 26...
2008/11/06
[ "https://Stackoverflow.com/questions/269761", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10589/" ]
269,773
<p>I am using a custom item renderer in a combobox to display a custom drawing instead of the default text label.</p> <p>This works fine for the dropdown list but the displayed item ( when the list is closed) is still the textual representation of my object.</p> <p>Is there a way to have the displayed item rendered t...
[ { "answer_id": 280859, "author": "Matt MacLean", "author_id": 22, "author_profile": "https://Stackoverflow.com/users/22", "pm_score": 4, "selected": true, "text": "package\n{\n import mx.controls.ComboBox;\n import mx.core.UIComponent;\n\n public class ComboBox2 extends ComboBox...
2008/11/06
[ "https://Stackoverflow.com/questions/269773", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2011/" ]
269,774
<p>I've got a solution which I setup / cleanup using batch files ... - there are a pair of MSMQ ports, send and receive, with another application on the end of the queues</p> <p>I'm finding I can't properly stop the orchestration in the batch file ... the error is the send port is unenlisted - I'm using the StopOrch....
[ { "answer_id": 280859, "author": "Matt MacLean", "author_id": 22, "author_profile": "https://Stackoverflow.com/users/22", "pm_score": 4, "selected": true, "text": "package\n{\n import mx.controls.ComboBox;\n import mx.core.UIComponent;\n\n public class ComboBox2 extends ComboBox...
2008/11/06
[ "https://Stackoverflow.com/questions/269774", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27756/" ]
269,781
<p>Is there an easy way to convert a string that contains this:</p> <pre><code>Date: Wed, 5 Nov 2008 13:12:12 -0500 (EST) </code></pre> <p>into a string that contains this:</p> <pre><code>20081105_131212 </code></pre> <p><strong>UPDATE:</strong><br> I ended up using date.tryparse which is similar to tryParseExact e...
[ { "answer_id": 269841, "author": "Salman Kasbati", "author_id": 33931, "author_profile": "https://Stackoverflow.com/users/33931", "pm_score": 0, "selected": false, "text": "Format(date, \"yyyyMMdd_HHmmss\")" }, { "answer_id": 269883, "author": "splattne", "author_id": 646...
2008/11/06
[ "https://Stackoverflow.com/questions/269781", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24721/" ]
269,782
<p>I have a really simple WPF UserControl:</p> <pre><code>&lt;UserControl x:Class="dr.SitecoreCompare.WPF.ConnectionEntry" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="connEntry" BorderBrush="Navy" BorderThickness="1" Margin="5,0,0,5...
[ { "answer_id": 280095, "author": "Geoff Cox", "author_id": 30505, "author_profile": "https://Stackoverflow.com/users/30505", "pm_score": 3, "selected": true, "text": "<TextBox x:Name=\"txtDatabase\" TabIndex=\"2\" Text=\"{Binding Path=DatabaseName, Mode=TwoWay}\"></TextBox>\n" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269782", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13627/" ]
269,794
<p>I have this code:</p> <pre><code>CCalcArchive::CCalcArchive() : m_calcMap() { } </code></pre> <p><code>m_calcMap</code> is defined as this:</p> <pre><code>typedef CTypedPtrMap&lt;CMapStringToPtr, CString, CCalculation*&gt; CCalcMap; CCalcMap&amp; m_calcMap; </code></pre> <p>When I compile in Visual Studio 2008, ...
[ { "answer_id": 269811, "author": "Adam Rosenfield", "author_id": 9530, "author_profile": "https://Stackoverflow.com/users/9530", "pm_score": 2, "selected": false, "text": "int m_calcMap CCalcMap" }, { "answer_id": 270160, "author": "Michael Burr", "author_id": 12711, ...
2008/11/06
[ "https://Stackoverflow.com/questions/269794", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9744/" ]
269,795
<p>How do I learn where the source file for a given Python module is installed? Is the method different on Windows than on Linux?</p> <p>I'm trying to look for the source of the <code>datetime</code> module in particular, but I'm interested in a more general answer as well.</p>
[ { "answer_id": 269803, "author": "Greg Hewgill", "author_id": 893, "author_profile": "https://Stackoverflow.com/users/893", "pm_score": 6, "selected": false, "text": "sys.path python -v\n>>> import sys\n>>> sys.path\n['', '/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', ... ]\n...
2008/11/06
[ "https://Stackoverflow.com/questions/269795", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4766/" ]
269,805
<p>I have been trying to parse Java exceptions that appear in a log for some code I'm working with. My question is, do you parse the exception trace from the top down, or the bottom up? It looks something like this:</p> <pre><code>ERROR [main]&lt;/b&gt; Nov/04 11:03:19,440 [localhost].[/BookmarksPortlet].[] - Exceptio...
[ { "answer_id": 269816, "author": "SCdF", "author_id": 1666, "author_profile": "https://Stackoverflow.com/users/1666", "pm_score": 2, "selected": false, "text": "com.mycompany.myproject" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269805", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8092/" ]
269,812
<p>There are all sorts of advantages to using Emacs, but for someone comfortable with the usual Win32 applications it comes with a wall-like learning curve. With most other editors it’s possible to just start using them and then learn about their other features and enhancements as you go along. </p> <p>How to just get...
[ { "answer_id": 270481, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 1, "selected": false, "text": "(icomplete-mode t)\n" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269812", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25093/" ]
269,837
<p>I have a class derived from <code>CTreeCtrl</code>. In <code>OnCreate()</code> I replace the default <code>CToolTipCtrl</code> object with a custom one:</p> <pre><code>int CMyTreeCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CTreeCtrl::OnCreate(lpCreateStruct) == -1) return -1; // Replace tool...
[ { "answer_id": 269873, "author": "ravenspoint", "author_id": 16582, "author_profile": "https://Stackoverflow.com/users/16582", "pm_score": 2, "selected": false, "text": "EnableToolTips(TRUE);\n" }, { "answer_id": 274406, "author": "skst", "author_id": 4858, "author_pr...
2008/11/06
[ "https://Stackoverflow.com/questions/269837", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27596/" ]
269,839
<p>So odd situation that I ran into today with OrderBy:</p> <pre><code>Func&lt;SomeClass, int&gt; orderByNumber = currentClass =&gt; currentClass.SomeNumber; </code></pre> <p>Then:</p> <pre><code>someCollection.OrderBy(orderByNumber); </code></pre> <p>This is fine, but I was going to create a method instead ...
[ { "answer_id": 269873, "author": "ravenspoint", "author_id": 16582, "author_profile": "https://Stackoverflow.com/users/16582", "pm_score": 2, "selected": false, "text": "EnableToolTips(TRUE);\n" }, { "answer_id": 274406, "author": "skst", "author_id": 4858, "author_pr...
2008/11/06
[ "https://Stackoverflow.com/questions/269839", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21691/" ]
269,840
<p>I've uploaded a bunch of images to Amazon S3, and now want to add a Cache-Control header to them. </p> <p>Can the header be updated without downloading the entire image? If so, how?</p>
[ { "answer_id": 270066, "author": "stevemegson", "author_id": 25028, "author_profile": "https://Stackoverflow.com/users/25028", "pm_score": 6, "selected": true, "text": "PUT /myObject HTTP/1.1\nHost: mybucket.s3.amazonaws.com \nx-amz-copy-source: /mybucket/myObject \nx-amz-metadata-dire...
2008/11/06
[ "https://Stackoverflow.com/questions/269840", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7399/" ]
269,845
<p>According to the help file that comes with the Spring.NET framework, you can inject a dependancy defined in the local file by using an 'idref' tag along with a 'local' attribute. </p> <p>I have been trying to do this with no success and was hoping someone had the experience to help me out. </p> <p>Below I have a...
[ { "answer_id": 411132, "author": "Erich Eichinger", "author_id": 51264, "author_profile": "https://Stackoverflow.com/users/51264", "pm_score": 2, "selected": false, "text": "<object id=\"theTargetObject\" type=\"TestClassLibrary.TargetObject, TestClassLibrary\"/>\n<object id=\"theClientO...
2008/11/06
[ "https://Stackoverflow.com/questions/269845", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
269,864
<p>So I'm looking for a pattern like this:</p> <blockquote> <p>size='0x0'</p> </blockquote> <p>In a log file, but I'm only interested in large sizes (4 digits or more). The following regex works great in EditPadPro (nice tool BTW)</p> <pre><code>size='0x[0-9a-fA-F]{4,} </code></pre> <p>But the same RegEx does not...
[ { "answer_id": 269874, "author": "Adam Alexander", "author_id": 33164, "author_profile": "https://Stackoverflow.com/users/33164", "pm_score": 2, "selected": false, "text": "size='0x[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]+\n" }, { "answer_id": 270023, "author": "Keng", ...
2008/11/06
[ "https://Stackoverflow.com/questions/269864", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15797/" ]
269,876
<p>I've always done web apps and now I need to do a console app. I need to use both an odbc connection and a regular connection. </p> <p>In the past I would have used:</p> <pre><code>&lt;add name="LinkConnectionString" connectionString="Data Source=SERENITY\SQLEXPRESS;Initial Catalog=Link;Integrated Security=True" pr...
[ { "answer_id": 269940, "author": "Nathan Koop", "author_id": 18821, "author_profile": "https://Stackoverflow.com/users/18821", "pm_score": 0, "selected": false, "text": " SqlConnection conn = new SqlConnection(@\"Data Source=SERENITY\\SQLEXPRESS;Initial Catalog=Link;Integrated Security=...
2008/11/06
[ "https://Stackoverflow.com/questions/269876", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23695/" ]
269,882
<p>If I do this:</p> <pre><code>// In header class Foo { void foo(bar*); }; // In cpp void Foo::foo(bar* const pBar) { //Stuff } </code></pre> <p>The compiler does not complain that the signatures for Foo::foo do not match. However if I had:</p> <pre><code>void foo(const bar*); //In header void Foo::foo(bar*) {} /...
[ { "answer_id": 269889, "author": "Douglas Mayle", "author_id": 8458, "author_profile": "https://Stackoverflow.com/users/8458", "pm_score": 4, "selected": false, "text": "bar* const variable\n const bar* variable\n const bar* const variable\n class Foo {\n void func1 (int x);\n void...
2008/11/06
[ "https://Stackoverflow.com/questions/269882", "https://Stackoverflow.com", "https://Stackoverflow.com/users/35227/" ]
269,893
<p>I need to store log files and configuration files for my application. Where is the best place to store them?</p> <p>Right now, I'm just using the current directory, which ends up putting them in the Program Files directory where my program lives.</p> <p>The log files will probably be accessed by the user somewhat ...
[ { "answer_id": 269964, "author": "Sunny Milenov", "author_id": 8220, "author_profile": "https://Stackoverflow.com/users/8220", "pm_score": 3, "selected": false, "text": "System.Environment.SpecialFolder.ApplicationData System.Environment.SpecialFolder.LocalApplicationData" }, { "...
2008/11/06
[ "https://Stackoverflow.com/questions/269893", "https://Stackoverflow.com", "https://Stackoverflow.com/users/35229/" ]
269,906
<p>Hopefully this won't be taken as asking the same question twice...</p> <p>So I'm working on a Flash website (in AS2) which has an outer index swf which loads sub swf files using <code>loadMovie("subfoo1.swf", placeToShowSwf)</code>. These in turn load an xml file which tells it what content to load. Everything work...
[ { "answer_id": 269964, "author": "Sunny Milenov", "author_id": 8220, "author_profile": "https://Stackoverflow.com/users/8220", "pm_score": 3, "selected": false, "text": "System.Environment.SpecialFolder.ApplicationData System.Environment.SpecialFolder.LocalApplicationData" }, { "...
2008/11/06
[ "https://Stackoverflow.com/questions/269906", "https://Stackoverflow.com", "https://Stackoverflow.com/users/32139/" ]
269,913
<p>As already discussed in "<a href="https://stackoverflow.com/questions/250151/lua-as-a-general-purpose-scripting-language">Lua as a general-purpose scripting language?</a>" Lua currently probably isn't the best scripting language for the desktop environment.</p> <p>But what do you think about the future? Will Lua ge...
[ { "answer_id": 44992091, "author": "Pushpendre", "author_id": 538192, "author_profile": "https://Stackoverflow.com/users/538192", "pm_score": 2, "selected": false, "text": "Torch" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/269913", "https://Stackoverflow.com", "https://Stackoverflow.com/users/32756/" ]
269,918
<p>I'm trying to diff two strings to determine whether or not they solely vary in one numerical subset of the string structure; for example,</p> <pre><code>varies_in_single_number_field('foo7bar', 'foo123bar') # Returns True, because 7 != 123, and there's only one varying # number region between the two strings. </cod...
[ { "answer_id": 270143, "author": "Evan Teran", "author_id": 13430, "author_profile": "https://Stackoverflow.com/users/13430", "pm_score": 3, "selected": true, "text": "#include <iostream>\n#include <string>\n#include <vector>\n#include <algorithm>\n#include <cctype>\n\nbool starts_with(c...
2008/11/06
[ "https://Stackoverflow.com/questions/269918", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3594/" ]
269,931
<p>I have a script that generates data in csv format which is sent to the user along with a set of headers that tell the browser it is a .csv file. Everything works great when users (left)click on the link to the script, they are presented with a download dialog with the filename ending in .csv and it suggests using ex...
[ { "answer_id": 269955, "author": "Ross", "author_id": 2025, "author_profile": "https://Stackoverflow.com/users/2025", "pm_score": 2, "selected": false, "text": "personal_information_date.csv mod_rewrite personal_information_date.csv download.php RewriteRule ^personal_information_date.csv...
2008/11/06
[ "https://Stackoverflow.com/questions/269931", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
269,932
<p>I wrote a managed C++ class that has the following function:</p> <pre><code>void EndPointsMappingWrapper::GetLastError(char* strErrorMessage) { strErrorMessage = (char*) Marshal::StringToHGlobalAnsi(_managedObject-&gt;GetLastError()).ToPointer(); } </code></pre> <p>As you can see, this is a simple method to co...
[ { "answer_id": 269953, "author": "Rob Prouse", "author_id": 30827, "author_profile": "https://Stackoverflow.com/users/30827", "pm_score": 0, "selected": false, "text": "public ref class ManagedStringConverter\n{\npublic:\n ManagedStringConverter( System::String^ pString );\n ~ManagedS...
2008/11/06
[ "https://Stackoverflow.com/questions/269932", "https://Stackoverflow.com", "https://Stackoverflow.com/users/33030/" ]
269,944
<p>Is there a way to run a one-liner in sas, or do I have to create a file? I'm looking for something like the -e flag in perl.</p>
[ { "answer_id": 270262, "author": "davr", "author_id": 14569, "author_profile": "https://Stackoverflow.com/users/14569", "pm_score": 0, "selected": false, "text": "echo <insert sas code here> | sas --execute-file -\n" }, { "answer_id": 270302, "author": "Community", "autho...
2008/11/06
[ "https://Stackoverflow.com/questions/269944", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14167/" ]
269,946
<p>I'm constructing a simple form in ERB but the HTML produced by the text_field tag makes the <em>for</em> attribute in the label tag invalid.</p> <pre><code>&lt;div&gt; &lt;p&gt;&lt;%= label_tag "email[name]", "Name" %&gt;&lt;/p&gt; &lt;%= text_field :email, :name, :class =&gt; "text_field" %&gt; &lt;/div&gt; </...
[ { "answer_id": 270262, "author": "davr", "author_id": 14569, "author_profile": "https://Stackoverflow.com/users/14569", "pm_score": 0, "selected": false, "text": "echo <insert sas code here> | sas --execute-file -\n" }, { "answer_id": 270302, "author": "Community", "autho...
2008/11/06
[ "https://Stackoverflow.com/questions/269946", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9424/" ]
269,974
<p>Does anyone know how to stop jQuery fromparsing html you insert through before() and after()? Say I have an element:</p> <pre><code>&lt;div id='contentdiv'&gt;bla content bla&lt;/div&gt; </code></pre> <p>and I want to wrap it in the following way: </p> <pre><code>&lt;div id='wrapperDiv'&gt; &lt;div id='befor...
[ { "answer_id": 270022, "author": "Douglas Mayle", "author_id": 8458, "author_profile": "https://Stackoverflow.com/users/8458", "pm_score": 0, "selected": false, "text": "$('#contentDiv').each( function() {\n var beforeHTML = \"<div id='wrapperDiv'><div id='beforeDiv'></div>\";\n va...
2008/11/06
[ "https://Stackoverflow.com/questions/269974", "https://Stackoverflow.com", "https://Stackoverflow.com/users/35197/" ]
269,979
<p>I'm developing a web app using Java servlet to access Mysql db, how can I get the number of connections to my DB that is currently open ?</p> <p>Edit :</p> <p>I tried "show processlist", it showed me : 2695159, but that's not right, I'm just developing this new project, I'm the only user, couldn't have that many p...
[ { "answer_id": 270014, "author": "Alnitak", "author_id": 6782, "author_profile": "https://Stackoverflow.com/users/6782", "pm_score": 3, "selected": false, "text": "show processlist" }, { "answer_id": 7592487, "author": "Gerryjun", "author_id": 970360, "author_profile"...
2008/11/06
[ "https://Stackoverflow.com/questions/269979", "https://Stackoverflow.com", "https://Stackoverflow.com/users/32834/" ]
269,988
<p>I have a .NET class library containing a class with a method that performs some lengthy operation. When a client calls this method it should perform the lengthy operation on a new thread in order to avoid blocking the caller. But once the method finishes it should execute some code on the main thread. In a WinForms ...
[ { "answer_id": 270030, "author": "Darin Dimitrov", "author_id": 29407, "author_profile": "https://Stackoverflow.com/users/29407", "pm_score": 2, "selected": false, "text": "new ActiveXObject" }, { "answer_id": 270770, "author": "Charles Bretana", "author_id": 32632, "...
2008/11/06
[ "https://Stackoverflow.com/questions/269988", "https://Stackoverflow.com", "https://Stackoverflow.com/users/29407/" ]
269,989
<p><strong>EDIT:</strong> I also have access to <a href="http://www.exslt.org/" rel="nofollow noreferrer">ESXLT</a> functions.</p> <p>I have two node sets of string tokens. One set contains values like these:</p> <pre><code>/Geography/North America/California/San Francisco /Geography/Asia/Japan/Tokyo/Shinjuku </code>...
[ { "answer_id": 273285, "author": "Robert Rossney", "author_id": 19403, "author_profile": "https://Stackoverflow.com/users/19403", "pm_score": 3, "selected": true, "text": "<xsl:variable name=\"matches\" select=\"$set1[starts-with(., $set2)]\"/>\n $matches $set1 starts-with $set2 $set1 $s...
2008/11/06
[ "https://Stackoverflow.com/questions/269989", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18265/" ]
269,991
<p>In IIS Manager under Web Service Extensions, ASP.NET v2.0.50727 is set to "Prohibited" by default. I would like to set this to Allow during the install.</p> <p>I am currently using WiX Version 2.</p> <p>I have tried using:</p> <pre><code>&lt;Component Id="Allow_WebServiceExtension_ASP.NET_2.0" DiskId="1" Guid="0...
[ { "answer_id": 516893, "author": "Friend Of George", "author_id": 424, "author_profile": "https://Stackoverflow.com/users/424", "pm_score": 1, "selected": true, "text": "Dim WebSvcObj As Object\nDim LocatorObj As Object = CreateObject(\"WbemScripting.SWbemLocator\")\nDim ProviderObj As O...
2008/11/06
[ "https://Stackoverflow.com/questions/269991", "https://Stackoverflow.com", "https://Stackoverflow.com/users/424/" ]
269,999
<p>I want the log to roll over as long as the application is running, but I want the log to start fresh when the application is restarted.</p> <p><em>Updated:</em> Based on <a href="https://stackoverflow.com/questions/269999/how-do-i-make-log4j-clear-a-log-at-startup#270026">erickson's</a> feedback, my appender looks ...
[ { "answer_id": 270026, "author": "erickson", "author_id": 3474, "author_profile": "https://Stackoverflow.com/users/3474", "pm_score": 7, "selected": true, "text": "append false" }, { "answer_id": 496741, "author": "Eddie", "author_id": 57752, "author_profile": "https:...
2008/11/06
[ "https://Stackoverflow.com/questions/269999", "https://Stackoverflow.com", "https://Stackoverflow.com/users/28991/" ]
270,029
<p>I am implementing a class to compare directory trees (in C#). At first I implemented the actual comparison in the class's constructor. Like this:</p> <pre><code>DirectoryComparer c = new DirectoryComparer("C:\\Dir1", "C:\\Dir2"); </code></pre> <p>But it doesn't feel "right" to do a possible lengthy operation in th...
[ { "answer_id": 270040, "author": "Dana the Sane", "author_id": 2567, "author_profile": "https://Stackoverflow.com/users/2567", "pm_score": 3, "selected": false, "text": "D1 = new Directory(\"C:\\\");\n..\nD1.compare(D2);\n" }, { "answer_id": 270050, "author": "Peter Lillevold...
2008/11/06
[ "https://Stackoverflow.com/questions/270029", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4422/" ]
270,042
<p>I'm optimizing some frequently run Perl code (once per day per file). </p> <p>Do comments slow Perl scripts down? My experiments lean towards no:</p> <pre><code>use Benchmark; timethese(20000000, { 'comments' =&gt; '$b=1; # comment ... (100 times) ', 'nocomments' =&gt; '$b=1;'}); </code></pre> <p>Gives pre...
[ { "answer_id": 270225, "author": "Michael Carman", "author_id": 8233, "author_profile": "https://Stackoverflow.com/users/8233", "pm_score": 3, "selected": false, "text": "Benchmark INIT END" }, { "answer_id": 270554, "author": "Schwern", "author_id": 14660, "author_pr...
2008/11/06
[ "https://Stackoverflow.com/questions/270042", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9056/" ]
270,048
<p>I'm writing a small GUI app that contains some "editor" functionality, and something that I'd like to let users open a few sample text files to test things out quickly. The easiest way of doing this would be to package a separate zip with the appropriate sample files, and have them open them manually; I'd like to ma...
[ { "answer_id": 270071, "author": "Steve B.", "author_id": 19479, "author_profile": "https://Stackoverflow.com/users/19479", "pm_score": 0, "selected": false, "text": "myDialog.setFilenameFilter( new FilenameFilter() {\n\n public void accept (File dir, String name) {\n return ...
2008/11/06
[ "https://Stackoverflow.com/questions/270048", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23845/" ]
270,074
<p>An application that has been working well for months has stopped picking up the JPA <code>@Entity</code> annotations that have been a part of it for months. As my integration tests run I see dozens of "<code>org.hibernate.MappingException: Unknown entity: com.whatever.OrderSystem</code>" type errors.</p> <p>It isn...
[ { "answer_id": 270137, "author": "toolkit", "author_id": 3295, "author_profile": "https://Stackoverflow.com/users/3295", "pm_score": 3, "selected": true, "text": "<persistence ...>\n <persistence-unit ...>\n <provider>org.hibernate.ejb.HibernatePersistence</provider> <---- explici...
2008/11/06
[ "https://Stackoverflow.com/questions/270074", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7178/" ]
270,080
<p>What are the main differences between a Linked List and a BinarySearchTree? Is BST just a way of maintaining a LinkedList? My instructor talked about LinkedList and then BST but did't compare them or didn't say when to prefer one over another. This is probably a dumb question but I'm really confused. I would appreci...
[ { "answer_id": 270094, "author": "Toon Krijthe", "author_id": 18061, "author_profile": "https://Stackoverflow.com/users/18061", "pm_score": 7, "selected": true, "text": "Item(1) -> Item(2) -> Item(3) -> Item(4) -> Item(5) -> Item(6) -> Item(7)\n Node(1)\n ...
2008/11/06
[ "https://Stackoverflow.com/questions/270080", "https://Stackoverflow.com", "https://Stackoverflow.com/users/33203/" ]
270,091
<p>I cannot understand how this is possible. Please help!!</p> <p>I have an app with a trayicon. I want a form to be show when the user double clicks the trayicon. I have a problem where it is possible to get 2 or more forms showing by quickly triple or quadruple clicking the trayicon. The reason I don't want a singl...
[ { "answer_id": 270106, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 4, "selected": true, "text": "private Form1 m_form1;\nprivate bool m_underConstruction = false;\n\nprivate void ShowForm1()\n{\n if (m_underConstruc...
2008/11/06
[ "https://Stackoverflow.com/questions/270091", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1077232/" ]
270,093
<p>I came across this code and wanted others to provide their point of view... is it good or bad ? ;)</p> <pre><code>Class ReportClass { public string ReportName {get; set;} } </code></pre> <p>Then it was used as follows in code:</p> <pre><code>displayReport(ReportClass.ReportName = cmbReportName.SelectedValue.ToSt...
[ { "answer_id": 270118, "author": "chakrit", "author_id": 3055, "author_profile": "https://Stackoverflow.com/users/3055", "pm_score": 2, "selected": false, "text": "var a = 0;\nvar b = 0;\n\n// This makes a *and* b equals to 1\na = b = 1; \n\n// This line prints 3 and a is now equals to 3...
2008/11/06
[ "https://Stackoverflow.com/questions/270093", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
270,112
<p>I have an application where the user selects the dates of a first statement and a last statement. Example, first statement = 1/1/08, last statement = 12/1/08, should equal 12 statements.</p> <p>However, when using the following code, the result is 11:</p> <pre><code>numPayments = DateDiff(DateInterval.Month, CDate...
[ { "answer_id": 270128, "author": "Joel Coehoorn", "author_id": 3043, "author_profile": "https://Stackoverflow.com/users/3043", "pm_score": 2, "selected": false, "text": "numPayments = (Date.Parse(.FeeEndDate) - Date.Parse(.FeeStartDate)).TotalMonths + 1\n" }, { "answer_id": 13736...
2008/11/06
[ "https://Stackoverflow.com/questions/270112", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4770/" ]
270,113
<p>I have two Slackware Linux systems on which the POSIX semaphore <code>sem_open()</code> call fails with errno set to 38. Sample code to reproduce below (the code works fine on CentOS / RedHat).</p> <p>Are there any kernel or system configuration options that could cause this? Other suggestions?</p> <p>Systems with...
[ { "answer_id": 270377, "author": "Steve Baker", "author_id": 13566, "author_profile": "https://Stackoverflow.com/users/13566", "pm_score": 4, "selected": true, "text": "tmpfs /dev/shm tmpfs defaults 0 0\n LD_ASSUME_KERNEL" }, { "answer_id": 271901, "author": "Kieran Tul...
2008/11/06
[ "https://Stackoverflow.com/questions/270113", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18023/" ]
270,138
<p>I've read a bunch of tutorials involving XNA (and it's various versions) and I still am a little confused on drawing primitives. Everything seems to be really convoluted.</p> <p>Can someone show me, using code, the simplest XNA implementation of drawing one or two lines on to the screen? Perhaps with a brief expl...
[ { "answer_id": 3746172, "author": "No hay Problema", "author_id": 87602, "author_profile": "https://Stackoverflow.com/users/87602", "pm_score": 3, "selected": false, "text": "Texture2D SimpleTexture = new Texture2D(GraphicsDevice, 1, 1, false, SurfaceFormat.Color); this.spriteBatch.Draw(...
2008/11/06
[ "https://Stackoverflow.com/questions/270138", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2635/" ]
270,148
<p>I have these 3 tables + data:</p> <p><strong>items</strong>: itemId, itemName <br />data: 1, my item one</p> <p><strong>categories</strong>: catId, catName <br />data: 1, my cat one. 2, my cat two</p> <p><strong>map</strong>: mapId, itemId, catId</p> <p>When you include item "my item one" in category "my cat one...
[ { "answer_id": 270173, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 3, "selected": true, "text": "DELETE FROM MAP WHERE ItemID = @MyItem1Id\n AND CatID <> @MyCat2Id\n" }, { "answer_id": 270180, ...
2008/11/06
[ "https://Stackoverflow.com/questions/270148", "https://Stackoverflow.com", "https://Stackoverflow.com/users/356/" ]
270,177
<p>I have a bunch of images that need to rotate in and out one at a time every 2 seconds with fancy JQuery fadeIn and fadeOut. I have all the images in the HTML to pre-load them and a setInterval timer that fades the current image out, then fades the next image in. Problem is that sometimes when you are clicking or s...
[ { "answer_id": 270259, "author": "Jim Nelson", "author_id": 32168, "author_profile": "https://Stackoverflow.com/users/32168", "pm_score": 2, "selected": false, "text": "function changeImage()\n{\n $(\"#img\" + currentImage).fadeOut(\"slow\");\n currentImage = (currentImage >= numIm...
2008/11/06
[ "https://Stackoverflow.com/questions/270177", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1396/" ]
270,187
<p>Is it possible to create an attribute that can be initialized with a variable number of arguments?</p> <p>For example:</p> <pre><code>[MyCustomAttribute(new int[3,4,5])] // this doesn't work public MyClass ... </code></pre>
[ { "answer_id": 270223, "author": "Rob Prouse", "author_id": 30827, "author_profile": "https://Stackoverflow.com/users/30827", "pm_score": 3, "selected": false, "text": "[Row( new[] { \"-l\", \"/port:13102\", \"-lfsw\" } )]\npublic void MyTest( string[] args ) { //... }\n" }, { "a...
2008/11/06
[ "https://Stackoverflow.com/questions/270187", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
270,190
<p>I have 4 databases with similar schema's, and I'm trying to create a query to return just the table, column pairs that exist ONLY in database 1 and do not exist in database 2, 3, or 4.</p> <p>Currently I can return the symmetric difference between database 1 and 2 via the following query...</p> <pre><code>select t...
[ { "answer_id": 270223, "author": "Rob Prouse", "author_id": 30827, "author_profile": "https://Stackoverflow.com/users/30827", "pm_score": 3, "selected": false, "text": "[Row( new[] { \"-l\", \"/port:13102\", \"-lfsw\" } )]\npublic void MyTest( string[] args ) { //... }\n" }, { "a...
2008/11/06
[ "https://Stackoverflow.com/questions/270190", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7287/" ]
270,197
<p>I know the file needs to be where the getClass().getResource(filename) can find it, but I don't know where that is.</p> <p>I'm interested both in where to put the files on the filesystem itself, and how to go about using Eclipse's functionality to set up the resources.</p>
[ { "answer_id": 270210, "author": "jodonnell", "author_id": 4223, "author_profile": "https://Stackoverflow.com/users/4223", "pm_score": 3, "selected": false, "text": "getResource(\"/com/x/y/foo.png\")" }, { "answer_id": 270398, "author": "BCunningham", "author_id": 7689, ...
2008/11/06
[ "https://Stackoverflow.com/questions/270197", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16593/" ]
270,230
<p>What is the difference between having</p> <pre class="lang-java prettyprint-override"><code>&lt;%# Eval("State") %&gt; </code></pre> <p>in your <code>aspx</code> page, versus having</p> <pre class="lang-java prettyprint-override"><code>&lt;%# DataBinder.Eval(Container.DataItem, "State") %&gt; </code></pre> <p>...
[ { "answer_id": 270252, "author": "Jeromy Irvine", "author_id": 8223, "author_profile": "https://Stackoverflow.com/users/8223", "pm_score": 6, "selected": true, "text": "Eval(\"State\") DataBinder.Eval(Container.DataItem, \"State\")" }, { "answer_id": 13805517, "author": "GLP"...
2008/11/06
[ "https://Stackoverflow.com/questions/270230", "https://Stackoverflow.com", "https://Stackoverflow.com/users/33690/" ]
270,260
<p>Let's imagine I got this:</p> <p>index.php generates form with unpredictable number of inputs with certain IDs/Names and different values that can be edited by user and saved by script.php</p> <pre><code>&lt;form action="script.php" method="post"&gt; &lt;input id="1" name="1" type="text" value="1"/&gt; &lt;input i...
[ { "answer_id": 270279, "author": "Owen", "author_id": 4853, "author_profile": "https://Stackoverflow.com/users/4853", "pm_score": 3, "selected": true, "text": "$_POST print_r($_POST);\n\n// contains:\n\narray\n(\n [1] => 1\n [24] => 2233\n [55] => 231321\n)\n\n// example access:\n\nfo...
2008/11/06
[ "https://Stackoverflow.com/questions/270260", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21209/" ]
270,268
<p>I have a class which has a method that is receiving an object as a parameter. This method is invoked via RMI.</p> <pre><code>public RMIClass extends Serializable { public RMIMethod(MyFile file){ // do stuff } } </code></pre> <p>MyFile has a property called "body", which is a byte array. </p> <pre...
[ { "answer_id": 56170655, "author": "Judd", "author_id": 843116, "author_profile": "https://Stackoverflow.com/users/843116", "pm_score": 0, "selected": false, "text": "private static void uncompress(final byte[] input, final ByteBuffer output) throws IOException\n {\n final GZIP...
2008/11/06
[ "https://Stackoverflow.com/questions/270268", "https://Stackoverflow.com", "https://Stackoverflow.com/users/34380/" ]
270,282
<p>I'm looking to update our project's jaxb version from 1 to 2. Has anyone tried doing this on their projects and are there any tips that anyone wanting to do this? I understand that each project is unique, I'm just looking for general tips.</p>
[ { "answer_id": 2210180, "author": "Blaisorblade", "author_id": 53974, "author_profile": "https://Stackoverflow.com/users/53974", "pm_score": 1, "selected": false, "text": "<xs:element name=\"logging\">\n <xs:complexType>\n <xs:attribute name=\"debug\" type=\"xs:bool...
2008/11/06
[ "https://Stackoverflow.com/questions/270282", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1459442/" ]
270,284
<p>We've got a webserver running IIS. We'd like to run maybe a shared blog or something to keep track of information. Because of security issues, we'd like for that part to be only viewable from localhost so people have to remote in to use it.</p> <p>So, to repeat my question, can part of a website be made viewable fr...
[ { "answer_id": 270321, "author": "TravisO", "author_id": 35116, "author_profile": "https://Stackoverflow.com/users/35116", "pm_score": -1, "selected": false, "text": "string MyWebServerName = currentContext.Request.ServerVariables[\"SERVER_NAME\"];\n\nif ( MyWebServerName == \"127.0.0.1\...
2008/11/06
[ "https://Stackoverflow.com/questions/270284", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25680/" ]
270,287
<p>What is a good way to edit a Web.config file programmatically?</p> <p>I looked into System.Xml but couldn't find any obvious answers.</p>
[ { "answer_id": 270335, "author": "DOK", "author_id": 27637, "author_profile": "https://Stackoverflow.com/users/27637", "pm_score": 5, "selected": true, "text": "protected void EditConfigButton(object sender, EventArgs e)\n{\n Configuration objConfig = System.Web.Configuration.WebConfig...
2008/11/06
[ "https://Stackoverflow.com/questions/270287", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4886/" ]
270,288
<p>I'm currently optimizing the performance on my company's site; when it was taking 6-10 seconds to download 2MB+ of our homepage and assets (the site is mostly Flash with a lot of media, so it's not 2MB of HTML and viewstate). There are a lot of things that will need to be done to get this download size down; but one...
[ { "answer_id": 270335, "author": "DOK", "author_id": 27637, "author_profile": "https://Stackoverflow.com/users/27637", "pm_score": 5, "selected": true, "text": "protected void EditConfigButton(object sender, EventArgs e)\n{\n Configuration objConfig = System.Web.Configuration.WebConfig...
2008/11/06
[ "https://Stackoverflow.com/questions/270288", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10922/" ]
270,292
<p>For a windows script I am writing, I need to detect if the machine has Apache 2.2 installed, and to find the application path. </p> <p>One solution I came up with is to wget <a href="http://localhost:8080/server-info" rel="nofollow noreferrer">http://localhost:8080/server-info</a> and parse the root and the config...
[ { "answer_id": 270336, "author": "James Schek", "author_id": 17871, "author_profile": "https://Stackoverflow.com/users/17871", "pm_score": 3, "selected": true, "text": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Apache Software Foundation\\Apache\\2.2.2\\ServerRoot \nHKEY_CURRENT_USER\\SOFTWARE\\Apac...
2008/11/06
[ "https://Stackoverflow.com/questions/270292", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5661/" ]
270,309
<p>I want to do something like this:</p> <pre> <code> create table app_users ( app_user_id smallint(6) not null auto_increment primary key, api_key char(36) not null default uuid() ); </code> </pre> <p>However this results in a error, is there a way to call a function for a default value in mysql?</p> <p...
[ { "answer_id": 29752768, "author": "Pamput", "author_id": 1659888, "author_profile": "https://Stackoverflow.com/users/1659888", "pm_score": 5, "selected": false, "text": "CREATE TRIGGER before_insert_app_users\nBEFORE INSERT ON app_users\nFOR EACH ROW\n IF new.uuid IS NULL\n THEN\n ...
2008/11/06
[ "https://Stackoverflow.com/questions/270309", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1638/" ]
270,325
<p>We frequently have users that create multiple accounts and then end up storing the same lesson activity data more than once. Once they realize the error, then they contact us to merge the accounts into a single one that they can use. </p> <p>I've been beating myself to death trying to figure out how to write a quer...
[ { "answer_id": 270357, "author": "WW.", "author_id": 14663, "author_profile": "https://Stackoverflow.com/users/14663", "pm_score": 1, "selected": false, "text": "UPDATE lessonstatus_rtab\nSET user_id = 1\nWHERE user_id = 2\nAND NOT EXISTS\n(SELECT *\n FROM lessonstatus_rtab e\n WHERE e.l...
2008/11/06
[ "https://Stackoverflow.com/questions/270325", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20178/" ]
270,329
<p>I was just wondering how many experienced programers out there actually map out their process or algorithms in a program like MS Visio or Gnome Dia? </p> <p>I am trying to code some complex PHP for my website and just seem to be missing something. Is a diagram program going to help or should I be looking in anoth...
[ { "answer_id": 270498, "author": "siukurnin", "author_id": 35273, "author_profile": "https://Stackoverflow.com/users/35273", "pm_score": 0, "selected": false, "text": "Input -> Frobnicator -> Output\n" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/270329", "https://Stackoverflow.com", "https://Stackoverflow.com/users/33194/" ]
270,334
<p>I have a class that contains two methods like these:</p> <pre><code>public String getFoo(Int32 a) { return getBar(a, "b", null); } public String getBar(Int32 a, String b, Int32 c) { //do something return ""; } </code></pre> <p>However when I compile my class I get two errors:</p> <ol> <li>The best overload...
[ { "answer_id": 270345, "author": "Jacob Krall", "author_id": 3140, "author_profile": "https://Stackoverflow.com/users/3140", "pm_score": 1, "selected": false, "text": "Int32 null Int32 int?" }, { "answer_id": 270346, "author": "jerhinesmith", "author_id": 1108, "autho...
2008/11/06
[ "https://Stackoverflow.com/questions/270334", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9809/" ]
270,337
<p>I have a page with a GridView on it that launches a popup, using Javascript. The user then selects an item, that updates the data connected to the GridView and closes the popup.</p> <p>How do I refresh the first (ie the Calling page) so that I can refresh the data shown in my Gridview?</p>
[ { "answer_id": 270351, "author": "TonyB", "author_id": 3543, "author_profile": "https://Stackoverflow.com/users/3543", "pm_score": 1, "selected": false, "text": "<script>\nwindow.opener.location.reload()\n</script>\n" }, { "answer_id": 270465, "author": "stevemegson", "au...
2008/11/06
[ "https://Stackoverflow.com/questions/270337", "https://Stackoverflow.com", "https://Stackoverflow.com/users/29441/" ]
270,347
<p><code>std::auto_ptr</code> is broken in VC++ 8 (which is what we use at work). My main gripe with it is that it allows <code>auto_ptr&lt;T&gt; x = new T();</code>, which of course leads to horrible crashes, while being simple to do by mistake.</p> <p>From an <a href="https://stackoverflow.com/questions/106508/what-...
[ { "answer_id": 270365, "author": "Martin York", "author_id": 14065, "author_profile": "https://Stackoverflow.com/users/14065", "pm_score": 1, "selected": false, "text": "std::auto_ptr<T> x(new T); // Use the explicit constructor.\n" }, { "answer_id": 1237411, "author": "Ma...
2008/11/06
[ "https://Stackoverflow.com/questions/270347", "https://Stackoverflow.com", "https://Stackoverflow.com/users/35256/" ]
270,350
<p>I have been experimenting with Lambda expressions in Oxygene. Very simple recursive lambda expression to calculate a fibonacci number :</p> <pre><code>var fib : Func&lt;int32, int32&gt;; fib := n -&gt; iif(n &gt; 1, fib(n - 1) + fib(n - 2), n); fib(3); </code></pre> <p>When I run this code I get a nullreferenceexc...
[ { "answer_id": 270559, "author": "Barry Kelly", "author_id": 3712, "author_profile": "https://Stackoverflow.com/users/3712", "pm_score": 4, "selected": true, "text": "<html>\n<head>\n<script language='javascript'>\nfunction main()\n{\n var x = 1;\n var f = function() { return x; };...
2008/11/06
[ "https://Stackoverflow.com/questions/270350", "https://Stackoverflow.com", "https://Stackoverflow.com/users/22712/" ]
270,369
<p>A colleague recently asked me how to deep-clone a Map and I realized that I probably have never used the clone() method- which worries me.</p> <p>What are the most common scenarios you have found where you need to clone an object?</p>
[ { "answer_id": 270467, "author": "Julien Chastang", "author_id": 32174, "author_profile": "https://Stackoverflow.com/users/32174", "pm_score": 5, "selected": true, "text": "Object.clone() Object.clone() Object.clone()" }, { "answer_id": 271752, "author": "tetsuo", "author...
2008/11/06
[ "https://Stackoverflow.com/questions/270369", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26787/" ]
270,380
<p>This probably sounds really stupid but I have noo idea how to implement jquery's rounded corners (<a href="http://www.methvin.com/jquery/jq-corner-demo.html" rel="nofollow noreferrer">http://www.methvin.com/jquery/jq-corner-demo.html</a>). My javascript-fu is complete fail and I can't seem to get it to work on my pa...
[ { "answer_id": 270436, "author": "Josh", "author_id": 2204759, "author_profile": "https://Stackoverflow.com/users/2204759", "pm_score": 0, "selected": false, "text": "$(document).ready(function() {\n $(\"#idofdiv\").corners();\n});\n" }, { "answer_id": 270443, "author": "Tama...
2008/11/06
[ "https://Stackoverflow.com/questions/270380", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
270,391
<p>I'm using MessageFormat to format some addresses with a template like this:</p> <pre><code>"{0}\n{1}\n{2}\n{3}, {4} {5}" </code></pre> <p>where</p> <ul> <li>0 = street 1</li> <li>1 = street 2</li> <li>2 = street 3</li> <li>3 = city</li> <li>4 = state</li> <li>5 = zip</li> </ul> <p>Most of these fields are option...
[ { "answer_id": 270466, "author": "Adam Rosenfield", "author_id": 9530, "author_profile": "https://Stackoverflow.com/users/9530", "pm_score": 1, "selected": false, "text": "'\\n' '\\n' result = result.replaceAll(\"\\n+\", \"\\n\");\n" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/270391", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21176/" ]
270,408
<p>Is it better in C++ to pass by value or pass by reference-to-const?</p> <p>I am wondering which is better practice. I realize that pass by reference-to-const should provide for better performance in the program because you are not making a copy of the variable.</p>
[ { "answer_id": 270435, "author": "Konrad Rudolph", "author_id": 1968, "author_profile": "https://Stackoverflow.com/users/1968", "pm_score": 9, "selected": true, "text": "char int double std::*_function" }, { "answer_id": 271344, "author": "Johannes Schaub - litb", "author...
2008/11/06
[ "https://Stackoverflow.com/questions/270408", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20229/" ]
270,434
<p>In Reporting Services I would like to add a parameter that contains data from a custom code block. Ideally, I would be able to run the following code (this is a simple testing example):</p> <pre><code>Function GetPeriods() As String() Dim values As System.Collections.ArrayList = New System.Collections.ArrayL...
[ { "answer_id": 337378, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 1, "selected": false, "text": "String() Array Function GetPeriods() As Array" }, { "answer_id": 598512, "author": "Maksym Gontar", "author_id...
2008/11/06
[ "https://Stackoverflow.com/questions/270434", "https://Stackoverflow.com", "https://Stackoverflow.com/users/105/" ]
270,437
<p>Is there a way to download older versions of Visual C++ Express? I'm particularly interested in Visual C++ 2005 Express (PRIOR SP1) and Visual C++ Toolkit 2003. I tried googling for them, but all the sites linked to microsoft.com, from where microsoft (for some reason) has taken them down.</p>
[ { "answer_id": 271379, "author": "bk1e", "author_id": 8090, "author_profile": "https://Stackoverflow.com/users/8090", "pm_score": 2, "selected": false, "text": "_USE_RTM_VERSION" } ]
2008/11/06
[ "https://Stackoverflow.com/questions/270437", "https://Stackoverflow.com", "https://Stackoverflow.com/users/35268/" ]