qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
295,287 | <p>Is there any way to 'hide' the name of a class, whose sole purpose is to provide extension methods, from Intellisense? </p>
<p>I would like to remove the class name from the Intellisense list but need the extension methods of the class to be available to external assemblies via Intellisense in the usual way.</p>
| [
{
"answer_id": 295311,
"author": "Hallgrim",
"author_id": 15454,
"author_profile": "https://Stackoverflow.com/users/15454",
"pm_score": 2,
"selected": false,
"text": "[EditorBrowsable(EditorBrowsableState.Never)]\nstatic class MyExtensions { }\n"
},
{
"answer_id": 295427,
"au... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295287",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27805/"
] |
295,291 | <p>I'm currently doing the following to use typed datasets in vs2008: </p>
<p>Right click on "app_code" add new dataset, name it tableDS.</p>
<p>Open tableDS, right click, add "table adapter"</p>
<p>In the wizard, choose a pre defined connection string, "use SQL statements"</p>
<p>select * from tablename and next +... | [
{
"answer_id": 295324,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 2,
"selected": true,
"text": "int id = ... // the primary key we want to look for\nusing(var ctx = new MydataContext()) {\n SomeType record = ctx.... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295291",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37083/"
] |
295,314 | <p>When I launch an ant script from Eclipse 3.4.x it prints the output to console until certain stage. After that it often hangs (wait forever). Last lines that I see at the screen (console) - partial output from my obfuscator.</p>
<p>Under Eclipse 3.3.2 everything works fine (the same project, workspace, settings, JV... | [
{
"answer_id": 295352,
"author": "VonC",
"author_id": 6309,
"author_profile": "https://Stackoverflow.com/users/6309",
"pm_score": 0,
"selected": false,
"text": "-diagnostics"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295314",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19347/"
] |
295,315 | <p>I have this java code:</p>
<pre><code><script src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.2.6");
$("a#more").click(function() {
$("#info_box").show("blind", { direction: "vertical" }, 800);
});
</script>
</code></pre>
<p>And this l... | [
{
"answer_id": 295331,
"author": "DisgruntledGoat",
"author_id": 37947,
"author_profile": "https://Stackoverflow.com/users/37947",
"pm_score": 1,
"selected": false,
"text": "\"blind\" { direction: \"vertical\" }"
},
{
"answer_id": 295351,
"author": "Eduardo Molteni",
"aut... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295315",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26823/"
] |
295,321 | <p>When using gdb and Vim, often I want to stop on a particular line. Normally in Vim I copy-paste the line number showing on the rule area to the gdb session. It'd save me a lot of hassle if I could use something like <code>"+<magic-incantation></code> to copy the line number of the current cursor position into ... | [
{
"answer_id": 295356,
"author": "Gowri",
"author_id": 3253,
"author_profile": "https://Stackoverflow.com/users/3253",
"pm_score": 5,
"selected": true,
"text": "map ,n <Esc>:let @*=line(\".\")<CR>\n"
},
{
"answer_id": 295366,
"author": "PierreBdR",
"author_id": 7136,
... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295321",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4596/"
] |
295,333 | <p>If you put up an <code>NSAlert</code> while your app is in the background your dock icon starts bouncing and keeps on bouncing until you switch back. </p>
<p>I find this annoying. </p>
<p>Does anyone know how disable that for a single app? </p>
| [
{
"answer_id": 295372,
"author": "Matthew Schinckel",
"author_id": 188,
"author_profile": "https://Stackoverflow.com/users/188",
"pm_score": 0,
"selected": false,
"text": "- (void)cancelUserAttentionRequest:(int)request\n"
},
{
"answer_id": 295453,
"author": "Dirk Stoop",
... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295333",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22147/"
] |
295,336 | <p>I'm still working on groking the F# thing - trying to work out how to 'think' in F# rather than just translating from other languages I know.</p>
<p>I've recently been thinking about the cases where you don't have a 1:1 map between before and after. Cases where List.map falls down.</p>
<p>One example of this is mo... | [
{
"answer_id": 295537,
"author": "xtofl",
"author_id": 6610,
"author_profile": "https://Stackoverflow.com/users/6610",
"pm_score": -1,
"selected": false,
"text": "let -- the limited average of a list\nlimitedaverage 0 _ = 0\nlimited verage n (x:xs) = (x/n) + ( limited average (n-1) xs )\... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295336",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11410/"
] |
295,337 | <p>i'm currently experimenting using PixelShaders introduced with .net 3.5 sp1 to improve image processing performance. everything is much faster , but til yet i just had effects applied to some elements in my wpf forms, that i actually want to avoid.</p>
<p>we have a bunch of image processing functionality and i'd li... | [
{
"answer_id": 18466797,
"author": "H B",
"author_id": 521443,
"author_profile": "https://Stackoverflow.com/users/521443",
"pm_score": 3,
"selected": true,
"text": "//prepare images\nimg = new Image();\nimg.Stretch = Stretch.None;\nviewbox = new Viewbox();\nviewbox.Stretch = Stretch.None... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295337",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20227/"
] |
295,345 | <p>I need to encrypt a small block of data (16 bytes) using 512 bit RSA public key -- quite an easy task for most cryptography libraries known to me, except for MS CSP API, as it seems.
Documentation for <a href="http://msdn.microsoft.com/en-us/library/aa379924(VS.85).aspx" rel="nofollow noreferrer">CryptEncrypt</a> fu... | [
{
"answer_id": 18466797,
"author": "H B",
"author_id": 521443,
"author_profile": "https://Stackoverflow.com/users/521443",
"pm_score": 3,
"selected": true,
"text": "//prepare images\nimg = new Image();\nimg.Stretch = Stretch.None;\nviewbox = new Viewbox();\nviewbox.Stretch = Stretch.None... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295345",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2231145/"
] |
295,348 | <p>I'm looking for a way to <strong>monitor certain Windows services</strong> (on Windows Server 2003) and <strong>restart if necessar</strong>y. The services are on different servers and include mainly SQL Server services (e.g. SQL Server Agent), but also some proprietary services.</p>
<p>Email alerts sent out if a s... | [
{
"answer_id": 295362,
"author": "VonC",
"author_id": 6309,
"author_profile": "https://Stackoverflow.com/users/6309",
"pm_score": 3,
"selected": false,
"text": "wmic /node:[hostname] service list\n WMIC SERVICE where caption='TELNET' CALL STARTSERVICE\n"
},
{
"answer_id": 295363,... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295348",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16279/"
] |
295,358 | <p>I want to save a set of email addresses collected from a text field (separated by commas) into a single field in a table. I am trying to use serialize but I'm getting SerializationTypeMismatch error. How can I do this?</p>
<p>This is my model:</p>
<p>class Crew < ActiveRecord::Base</p>
<p>class Recipients <... | [
{
"answer_id": 295393,
"author": "Stein G. Strindhaug",
"author_id": 26115,
"author_profile": "https://Stackoverflow.com/users/26115",
"pm_score": 2,
"selected": false,
"text": "has_many :emails"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295358",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
295,383 | <p>When I delete a visual component in a base form, and forget any references in inherited forms, my application only breaks in runtime.</p>
<p>What I normally do is to use a search tool to find references in .DFM, but I'm not completely satisfied with this method.</p>
<p>Do you have any better recommendations?</p>
| [
{
"answer_id": 295431,
"author": "Toon Krijthe",
"author_id": 18061,
"author_profile": "https://Stackoverflow.com/users/18061",
"pm_score": 1,
"selected": false,
"text": "inherited Form1: TForm1\n Caption = 'Form1'\n PixelsPerInch = 96\n TextHeight = 13\nend\n"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295383",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2089/"
] |
295,384 | <p>How can I see which file extensions are related to which kind of syntax highlighting? Unfortunately, <code>Tools -> Options -> Text Editor -> File Extensions</code> lists only those entered manually, no default ones. And I didn't manage to find it on my own via Google or other means. </p>
<p>My particular ... | [
{
"answer_id": 295431,
"author": "Toon Krijthe",
"author_id": 18061,
"author_profile": "https://Stackoverflow.com/users/18061",
"pm_score": 1,
"selected": false,
"text": "inherited Form1: TForm1\n Caption = 'Form1'\n PixelsPerInch = 96\n TextHeight = 13\nend\n"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295384",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25413/"
] |
295,386 | <p>How can I create a scheduled task to run a PHP file?<br />
Yes, I filled out everything in the scheduled task, but it still doesn't work.</p>
<blockquote>
<p>Run: "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\WEB\4w_website\save.php"</p>
<p>Start in: "C:\Program Files\Apache Software F... | [
{
"answer_id": 9122112,
"author": "matobago",
"author_id": 1186446,
"author_profile": "https://Stackoverflow.com/users/1186446",
"pm_score": 4,
"selected": false,
"text": ".bat @ECHO OFF\nphp.exe -f \"C:\\code\\cust.php\"\n C:\\code\\file.bat C:\\code\\"
},
{
"answer_id": 1130485... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295386",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38172/"
] |
295,387 | <p>I am writing a windows service. This service runs another process I've developed through Process class methods, but I want to run this process on debug mode also, using breakpoints, for instance.</p>
<p>How can I do this?</p>
| [
{
"answer_id": 295424,
"author": "Ulf Lindback",
"author_id": 30354,
"author_profile": "https://Stackoverflow.com/users/30354",
"pm_score": 3,
"selected": true,
"text": "#if DEBUG\n System.Diagnostics.Debugger.Break();\n#endif\n #if DEBUG\n System.Diagnostics.Debugger.Break();\n#endif\... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295387",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21668/"
] |
295,402 | <p>In our organization, we have the following problem. We want to have our web tree revision-controlled, but many of us want to be able to alter (and check in) any file of that tree. We would also like there to be only a single check-out for all this because the tree is rather huge. For parts of that tree, we are curre... | [
{
"answer_id": 295807,
"author": "Ken Gentle",
"author_id": 8709,
"author_profile": "https://Stackoverflow.com/users/8709",
"pm_score": 1,
"selected": false,
"text": "svn svn commit post-commit cron"
},
{
"answer_id": 296382,
"author": "Greg Hewgill",
"author_id": 893,
... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295402",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
295,403 | <p>Many times I use 'mqsc' for create MQ queue manager from script files but I don't know how to generate script files.</p>
<p>Thanks</p>
| [
{
"answer_id": 2718735,
"author": "T.Rob",
"author_id": 214668,
"author_profile": "https://Stackoverflow.com/users/214668",
"pm_score": 1,
"selected": false,
"text": "DIS CHL(*) ALL\n"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295403",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24550/"
] |
295,415 | <p>I have a .net winforms app which has a few animation effects, fade ins and scroll animations etc. These work fine however if I'm in a Remote Desktop Protocol session the animations start to grate.</p>
<p>Can someone suggest a way of determining whether or not an app is running across an RDP session so I can turn t... | [
{
"answer_id": 295437,
"author": "George Stocker",
"author_id": 16587,
"author_profile": "https://Stackoverflow.com/users/16587",
"pm_score": 2,
"selected": false,
"text": " BOOL IsRemoteSession(void){\n return GetSystemMetrics( SM_REMOTESESSION );\n }\n [DllImport(\"User32.dll\")... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295415",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29411/"
] |
295,417 | <p>I need to have a string, based on an integer, which should always have 5 digits.</p>
<p>Example:</p>
<pre><code>myInteger = 999
formatedInteger = "00999"
</code></pre>
<p>What is the best way of doing this in classic ASP?</p>
| [
{
"answer_id": 295440,
"author": "Jonathan Lonowski",
"author_id": 15031,
"author_profile": "https://Stackoverflow.com/users/15031",
"pm_score": 2,
"selected": false,
"text": "function PadNumber(number, width)\n dim padded : padded = cStr(number)\n\n while (len(padded) < width)\n ... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295417",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2019426/"
] |
295,419 | <p>What is the best free way to get your maintenance plan-generated backups compressed?</p>
<p>I know there are non-free tools that will compress the backups, but I'm not interested in them.</p>
<p>Options:</p>
<ol>
<li>Have a T-SQL task after the backups that will run a script through xp_cmdshell that compresses ev... | [
{
"answer_id": 1784533,
"author": "Clay Lenhart",
"author_id": 113088,
"author_profile": "https://Stackoverflow.com/users/113088",
"pm_score": 3,
"selected": true,
"text": "msbp.exe backup \"db(database=model)\" \"zip64\" \"local(path=c:\\model.full.bak.zip)\"\n"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295419",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5190/"
] |
295,421 | <p>I'm trying to find an editor (or some simple JavaScript - preferably jQuery) that will allow me to edit the contents of a textarea.</p>
<p>I don't want it to be rich text or WYSIWYG; I just want to be able to select a bit of text, click a button/link and have some simple HTML tags that I define put either side of t... | [
{
"answer_id": 295429,
"author": "Phil Jenkins",
"author_id": 35496,
"author_profile": "https://Stackoverflow.com/users/35496",
"pm_score": 2,
"selected": true,
"text": "document.selection"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295421",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21709/"
] |
295,438 | <p>I need to test a function that needs to query a page on an external server using urllib.urlopen (it also uses urllib.urlencode). The server could be down, the page could change; I can't rely on it for a test.</p>
<p>What is the best way to control what urllib.urlopen returns?</p>
| [
{
"answer_id": 295465,
"author": "Douglas Leeder",
"author_id": 3978,
"author_profile": "https://Stackoverflow.com/users/3978",
"pm_score": 3,
"selected": false,
"text": "class Processor(oject):\n def __init__(self, fetcher):\n self.m_fetcher = fetcher\n\n def doProcessing(s... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295438",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1771/"
] |
295,448 | <p>A number of business areas I work with use a folder structure to organise their Sharepoint housed documents (not ideal I know, but we're stuck with it). </p>
<p>I would like to use a web part page to present a number of views of their document libraries based on the subfolders that the documents appear in, but thi... | [
{
"answer_id": 6751423,
"author": "schletti2000",
"author_id": 852531,
"author_profile": "https://Stackoverflow.com/users/852531",
"pm_score": 4,
"selected": false,
"text": "<Where>\n <Contains>\n <FieldRef Name='FileDirRef' />\n <Value Type='Lookup'>MyFolder</Value>\n </Co... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295448",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
295,455 | <p>In Oracle we can print output by <code>dbms_output.put_line()</code> but I don't know to do the same thing in DB2.</p>
<p>I currently use <code>signal</code> for printing some messages when I debug.</p>
| [
{
"answer_id": 6751423,
"author": "schletti2000",
"author_id": 852531,
"author_profile": "https://Stackoverflow.com/users/852531",
"pm_score": 4,
"selected": false,
"text": "<Where>\n <Contains>\n <FieldRef Name='FileDirRef' />\n <Value Type='Lookup'>MyFolder</Value>\n </Co... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295455",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24550/"
] |
295,459 | <p>How do I execute the following shell command using the Python <a href="https://docs.python.org/library/subprocess.html" rel="noreferrer"><code>subprocess</code></a> module?</p>
<pre><code>echo "input data" | awk -f script.awk | sort > outfile.txt
</code></pre>
<p>The input data will come from a string, so I don... | [
{
"answer_id": 295471,
"author": "geocar",
"author_id": 37507,
"author_profile": "https://Stackoverflow.com/users/37507",
"pm_score": 2,
"selected": false,
"text": "Popen .communicate()"
},
{
"answer_id": 295564,
"author": "S.Lott",
"author_id": 10661,
"author_profile... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295459",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3715/"
] |
295,472 | <p>I am using xsl to control the output of my xml file, but the BOM character is being added.</p>
| [
{
"answer_id": 300474,
"author": "Benedikt Waldvogel",
"author_id": 4308,
"author_profile": "https://Stackoverflow.com/users/4308",
"pm_score": 7,
"selected": false,
"text": "# vim file.xml\n:set nobomb\n:wq\n"
},
{
"answer_id": 7664724,
"author": "ken",
"author_id": 9077... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295472",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
295,511 | <p>MS Access allows the numeric type GUID (in German it's called 'Replikations-ID', so I guess in English that would be 'replication id') which is stored as a 16 byte binary field in the database.</p>
<p>I found how to access these fields in Delphi with <a href="http://docwiki.embarcadero.com/Libraries/Tokyo/en/Data.W... | [
{
"answer_id": 295571,
"author": "Steve",
"author_id": 22712,
"author_profile": "https://Stackoverflow.com/users/22712",
"pm_score": -1,
"selected": false,
"text": "TGuidField(TheQuery.ParamByName('AGuid')).AsGuid\n"
},
{
"answer_id": 1192730,
"author": "Community",
"auth... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295511",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21506/"
] |
295,515 | <p>Inside my code I'm generating hashes of URLs, (which are practically of unbounded length). I'm currently using sha1(), which I know has a tiny chance of a collision, but I have up to 255 bytes to store the hash in so feel that I might as well use that available space to lower the chance of collision even further.</... | [
{
"answer_id": 295667,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 0,
"selected": false,
"text": "found = false\nhv = hash(urlValue)\nif table[hash,url] contains pair (hv,urlValue)\n found = true\nendif\n\nif (not f... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295515",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34024/"
] |
295,523 | <p>I need to increase the max_allowed_packet param, to fit some theoretically very large items. If I set this param to say 10M, what price if any am I paying compared to setting it to 1M or 4M.
Thanks for any input!
Tomas</p>
| [
{
"answer_id": 296241,
"author": "Bill Karwin",
"author_id": 20860,
"author_profile": "https://Stackoverflow.com/users/20860",
"pm_score": 3,
"selected": true,
"text": "http://www.astahost.com/info.php/max_allowed_packet-mysql_t2725.html"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295523",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38231/"
] |
295,524 | <p>I'm looking for a web based upload manager, with good support for images. It should be as easy as possible for novice users to "add images to a website". I could use such a thing for two use cases:</p>
<ul>
<li>A CMS for external use, needs proper image support (1-file upload doesn't quite cut it).</li>
<li>A Wiki ... | [
{
"answer_id": 296241,
"author": "Bill Karwin",
"author_id": 20860,
"author_profile": "https://Stackoverflow.com/users/20860",
"pm_score": 3,
"selected": true,
"text": "http://www.astahost.com/info.php/max_allowed_packet-mysql_t2725.html"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295524",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2474/"
] |
295,533 | <p>say I have an asynchronous library, written in native C++, with an interface similar to this:</p>
<pre><code>class connection {
public:
boost::signal< void() > sig_connection_made;
boost::signal< void(const std::string&) > sig_error;
void connect(const std::string& host, const std::... | [
{
"answer_id": 296241,
"author": "Bill Karwin",
"author_id": 20860,
"author_profile": "https://Stackoverflow.com/users/20860",
"pm_score": 3,
"selected": true,
"text": "http://www.astahost.com/info.php/max_allowed_packet-mysql_t2725.html"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295533",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/35656/"
] |
295,538 | <p>When connecting to a network share for which the current user (in my case, a network enabled service user) has no rights, name and password have to be provided.</p>
<p>I know how to do this with Win32 functions (the <code>WNet*</code> family from <code>mpr.dll</code>), but would like to do it with .Net (2.0) functi... | [
{
"answer_id": 295545,
"author": "GEOCHET",
"author_id": 5640,
"author_profile": "https://Stackoverflow.com/users/5640",
"pm_score": 1,
"selected": false,
"text": "<identity impersonate=\"true\" userName=\"domain\\user\" password=\"****\" />\n"
},
{
"answer_id": 295553,
"auth... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295538",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23772/"
] |
295,557 | <p>What's the best way to do it in .NET?
I always forget what I need to <code>Dispose()</code> (or wrap with <code>using</code>).</p>
<p>EDIT: after a long time using <code>WebRequest</code>, I found out about customizing <code>WebClient</code>. Much better.</p>
| [
{
"answer_id": 295558,
"author": "orip",
"author_id": 37020,
"author_profile": "https://Stackoverflow.com/users/37020",
"pm_score": 3,
"selected": false,
"text": "public string GetRequest(Uri uri, int timeoutMilliseconds)\n{\n var request = System.Net.WebRequest.Create(uri);\n requ... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295557",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37020/"
] |
295,563 | <p>I need to disable windows-update service from my installation. I already use vbscript to do some stuff so I would like to do it in vbscript.</p>
<p>My knowledge of vbscript (or any other script language) is very limited so...can anybody help me out with that? I'll really appreciate it!</p>
<p>Thanks.</p>
| [
{
"answer_id": 295586,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 1,
"selected": false,
"text": "strComputer = \".\" 'could be any computer, not just the local one '\nSet objWMIService = GetObject(\"winmgmts:\\\\\" & s... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295563",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14053/"
] |
295,566 | <p>I need to display external resources loaded via cross domain requests and make sure to only display "<em>safe</em>" content. </p>
<p>Could use Prototype's <a href="http://www.prototypejs.org/api/string/stripScripts" rel="noreferrer">String#stripScripts</a> to remove script blocks. But handlers such as <code>onclick... | [
{
"answer_id": 430240,
"author": "Mike Samuel",
"author_id": 20394,
"author_profile": "https://Stackoverflow.com/users/20394",
"pm_score": 7,
"selected": false,
"text": "var tagBody = '(?:[^\"\\'>]|\"[^\"]*\"|\\'[^\\']*\\')*';\n\nvar tagOrComment = new RegExp(\n '<(?:'\n // Comment... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295566",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28150/"
] |
295,569 | <p>What I am looking for is a way to programmatically verify a target object has been deallocated. Currently I have an NSLog statement in the dealloc methods of the objects I wish to observe.
The unit testing framework is from the Google Toolbox for the mac, and it working nicely. I am just not certain how to frame th... | [
{
"answer_id": 297815,
"author": "Peter Hosey",
"author_id": 30461,
"author_profile": "https://Stackoverflow.com/users/30461",
"pm_score": 2,
"selected": false,
"text": "dealloc method_exchangeImplementations dealloc NO"
},
{
"answer_id": 4156216,
"author": "zoul",
"autho... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295569",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24707/"
] |
295,576 | <p>I have a LinqDataSource that I use to calculate the number of rows in a table. I would like to update the value of literal with the number, with the following code, taken from MSDN (<a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.linqdatasourcestatuseventargs.totalrowcount.aspx" rel="nofol... | [
{
"answer_id": 297621,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 2,
"selected": false,
"text": "public void Page_Load( object sender, EventArgs e )\n{\n linqDataSource1.Selected += LinqDataSource1_Selected;\n}\n... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295576",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37147/"
] |
295,579 | <p>I'm looking for the fastest way to determine if a <code>long</code> value is a perfect square (i.e. its square root is another integer): </p>
<ol>
<li>I've done it the easy way, by using the built-in <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#sqrt(double)" rel="norefer... | [
{
"answer_id": 295590,
"author": "chakrit",
"author_id": 3055,
"author_profile": "https://Stackoverflow.com/users/3055",
"pm_score": 6,
"selected": false,
"text": "float Q_rsqrt( float number )\n{\n long i;\n float x2, y;\n const float threehalfs = 1.5F;\n\n x2 = number * 0.5F;\n y ... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295579",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18511/"
] |
295,584 | <p>I've found a few pages (some that even link to a number of other pages) on the Microsoft website that I bookmarked last night for reading today, but I'm curious as to other good non-Microsoft resources for discussing ASP.NET web applications, both Forms and MVC (including comparisons/contrasts between the two).</p>
| [
{
"answer_id": 295792,
"author": "Ben Scheirman",
"author_id": 3381,
"author_profile": "https://Stackoverflow.com/users/3381",
"pm_score": 3,
"selected": true,
"text": "</shamelessPlug>\n"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295584",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/572/"
] |
295,593 | <p>I have a List containing several keywords.
I foreach through them building my linq query with them like so (boiled down to remove the code noise):</p>
<pre><code>List<string> keys = FillKeys()
foreach (string key in keys){
q = q.Where(c => c.Company.Name.Contains(key));
}
</code></pre>
<p>When I now m... | [
{
"answer_id": 295597,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 6,
"selected": true,
"text": "key List<string> keys = FillKeys()\nforeach (string key in keys){\n string copy = key;\n q = q.Where(c => c.Company... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11333/"
] |
295,600 | <p>Assume that you have a running SQL Server Express instance named (local)\SQLEXPRESS. Its database folder is c:\program files\Microsoft SQL Server\MSSQL.1\MSSQL\Data. </p>
<p>How can VBScript be used to retrieve that folder? </p>
<p>Maybe by using SMO? And if so, how? <- Forget that. SMO uses .NET. Only possible... | [
{
"answer_id": 295738,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 3,
"selected": true,
"text": "root\\Microsoft\\SqlServer"
},
{
"answer_id": 45663755,
"author": "Codename K",
"author_id": 2267382,
"... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295600",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23369/"
] |
295,611 | <p>I have some questions about basic CSS that I was unable to understand or find an answer for.</p>
<p>First, I tried placing 3 div tags within another div tag. The first main div tag containing the 3 other tags had nothing set for it except a size, which was <code>400px</code> by <code>400px</code>. Of the other 3 di... | [
{
"answer_id": 295633,
"author": "Graeme Perrow",
"author_id": 1821,
"author_profile": "https://Stackoverflow.com/users/1821",
"pm_score": 0,
"selected": false,
"text": "...\n<div class=\"right\">2</div>\n<div class=\"right\">3</div>\n...\n #right .right"
},
{
"answer_id": 295634... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295611",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1246613/"
] |
295,615 | <p>I Have a problem where I occasionally (i.e. not always) see the below error popup from the Debug Flash Player after launching my app:</p>
<pre><code>Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://example.com/myApp.swf cannot load data from localhost:4499.
at org.mydo... | [
{
"answer_id": 298805,
"author": "geraldalewis",
"author_id": 7501,
"author_profile": "https://Stackoverflow.com/users/7501",
"pm_score": -1,
"selected": false,
"text": "\n\n try\n {\n _out_socket = new Socket();\n\n // note: the event handlers... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295615",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4111/"
] |
295,620 | <p>Given the following Delphil DLL declaration</p>
<pre><code>function csd_HandleData(aBuf: PChar; aLen: integer): integer; stdcall;
</code></pre>
<p>what would be the VB6 declaration to use it?</p>
<p>I've tried a variety of declarations, e.g.</p>
<pre><code>Declare Function csd_HandleData Lib "chsdet.dll" (ByVal ... | [
{
"answer_id": 295638,
"author": "Steve",
"author_id": 22712,
"author_profile": "https://Stackoverflow.com/users/22712",
"pm_score": 3,
"selected": true,
"text": "Declare Function csd_HandleData Lib \"chsdet.dll\" (ByVal aBuf As String, \nByVal aLen As Integer) As Integer\n"
},
{
... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295620",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/426/"
] |
295,621 | <p>I have an iframe inside my main page. There is a modalpopup inside the iframe page. So when the modalpopup is shown, the parent of the modalpopup is the iframe body and the main page parent body. Thus the overlay only covers the iframe and not the entire page.</p>
<p>I tried moving the modalpopup from the iframe to... | [
{
"answer_id": 23271920,
"author": "Adeel Rizvi",
"author_id": 3569277,
"author_profile": "https://Stackoverflow.com/users/3569277",
"pm_score": 0,
"selected": false,
"text": "<button type=\"button\" id=\"popup\">Show Popup</button>\n<br />\n<br />\n<iframe src=\"your url\" style=\"width... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295621",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25138/"
] |
295,626 | <p>I have a .net 3.5 WinForms application that runs fine on my machine, but on another machine it immediately crashes with a system.io.fileloadexception. Unfortunately, there are absolutely no details on which file failed to load, so I do not know where the problem actually is.</p>
<p>I believe I know which one it cou... | [
{
"answer_id": 295654,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 3,
"selected": false,
"text": "Main() Main() Main() Main() MainCore() Main() MainCore()"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295626",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/91/"
] |
295,628 | <p>Our team is using a SecureRandom to generate a list of key pairs (the SecureRandom is passed to a KeyPairGenerator). We cannot agree on which of the following two options to use:</p>
<ol>
<li><p>Create a new instance every time we need to generate a key pair</p></li>
<li><p>Initialize a static instance and use it ... | [
{
"answer_id": 295652,
"author": "Gowri",
"author_id": 3253,
"author_profile": "https://Stackoverflow.com/users/3253",
"pm_score": 5,
"selected": true,
"text": "java.util.Random java.security.SecureRandom java.util.Random SecureRandom"
},
{
"answer_id": 1304948,
"author": "Co... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295628",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23109/"
] |
295,629 | <p>I'm writing an application which has to be configurable to connect to Oracle, SQL Server and MySQL depending on client whim.</p>
<p>Up till now I'd been planning on using the JDBC-ODBC bridge and just connecting to the databases using different connection strings.</p>
<p><strong>I'm told this is not very efficient... | [
{
"answer_id": 295656,
"author": "Vincent Ramdhanie",
"author_id": 27439,
"author_profile": "https://Stackoverflow.com/users/27439",
"pm_score": 4,
"selected": true,
"text": " if(DB.equals(\"MySQL\")){\n DAO = new MySQLDAO();\n}\nreturn DAO;\n"
},
{
"answer_id": 295712,
"a... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295629",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20400/"
] |
295,645 | <p>I'm developing an invisible Java Applet, that will be controlled entirely from JavaScript.</p>
<p>I can call the applet's Java methods easily, and I can call JavaScript methods from within the applet by using <code>netscape.javascript.JSObject.getWindow(this).call()</code>.</p>
<p>But in order to register a JavaSc... | [
{
"answer_id": 296452,
"author": "PhiLho",
"author_id": 15459,
"author_profile": "https://Stackoverflow.com/users/15459",
"pm_score": 3,
"selected": true,
"text": "function CallJava()\n{\n document.Applet.Call(\"Does it work?\");\n document.Applet.Call(function () { alert(\"It works!\"... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295645",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30700/"
] |
295,647 | <p>I'm attempting to register an anonymous function when a user clicks a cell in an HTML table. Here's some of the raw, unadulterated code:</p>
<pre><code>document.getElementById(
"course"+displayed_year_index+occurrences_indices[displayed_year_index]).onclick =
eval("function() {PrintReceipt("+result.yea... | [
{
"answer_id": 295666,
"author": "Tom",
"author_id": 26155,
"author_profile": "https://Stackoverflow.com/users/26155",
"pm_score": 3,
"selected": false,
"text": "document.getElementById('course' + displayed_year_index + occurences_indices[displayed_year_index]) =\n function (nr)\n ... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295647",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/441661/"
] |
295,649 | <p>We have a simple project where we read data from a socket and we want to populate a table with the coming data, but we can't find a way to add rows to a yet created <code>JTable</code> object, we can only find how to add rows at creation time of the table.</p>
<p>Is it possible to add rows dynamically to a <code>JT... | [
{
"answer_id": 295674,
"author": "Guillaume",
"author_id": 23704,
"author_profile": "https://Stackoverflow.com/users/23704",
"pm_score": 5,
"selected": true,
"text": "TableModel JTable TableModel AbstractTableModel fireTableRowsInserted()"
},
{
"answer_id": 295695,
"author": ... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295649",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38238/"
] |
295,660 | <p>I am trying to have one one layer, and center images within. I.E., if I have 3 images and want 3 links beneath them, is there a way to do this without using a separate div tag for each link and image? To automatically make the links be centered under the images, and the images to be spaced evenly within a layer? </p... | [
{
"answer_id": 295669,
"author": "nickf",
"author_id": 9021,
"author_profile": "https://Stackoverflow.com/users/9021",
"pm_score": 3,
"selected": true,
"text": "<div class=\"pictureBox\">\n <div>\n <img />\n caption caption\n </div>\n <div>\n <img />\n ... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295660",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1246613/"
] |
295,662 | <p>This is one is for any of you Doctrine users out there. I have a PHP CLI daemon process that checks a table every n seconds to find entries that haven't been processed. It's basically a FIFO. Anyways, I always exceed the memory allocated to PHP becuase Doctrine does not free it's resources. To combat this proble... | [
{
"answer_id": 295954,
"author": "PhiLho",
"author_id": 15459,
"author_profile": "https://Stackoverflow.com/users/15459",
"pm_score": 0,
"selected": false,
"text": "$query = Doctrine_Query::create()\n ->from('SubmissionQueue s')\n ->where('s.time_acted_on IS NULL')\... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295662",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28714/"
] |
295,670 | <p>What is and how can it be used in C#.<br/>
Can you use the same concept in Python/Perl?</p>
| [
{
"answer_id": 295713,
"author": "gnud",
"author_id": 27204,
"author_profile": "https://Stackoverflow.com/users/27204",
"pm_score": 2,
"selected": false,
"text": "class A(object):\n pass\n\nobj = A()\n\ndef _some_method(self):\n print self.__class__\nA.identify = _some_method\n\nob... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295670",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31179/"
] |
295,686 | <p>The following error is being thrown:</p>
<pre><code>com.sun.jdi.InternalException: Got error code in reply:35 occurred while retrieving value. for all expressions
</code></pre>
<p>I am getting this error for all expressions and cant find anything on it. My guess is that the debugger isn't correctly connecting to ... | [
{
"answer_id": 678516,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "com.sun.jdi.internalexception"
},
{
"answer_id": 8151260,
"author": "Shri",
"author_id": 1049589,
"author_... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295686",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
295,687 | <p>I would like to get the path to the execution directory of a Windows Forms application. (That is, the directory in which the executable is located.)</p>
<p>Does anyone know of a built-in method in .NET to do this?</p>
| [
{
"answer_id": 295694,
"author": "Tomas Pajonk",
"author_id": 4694,
"author_profile": "https://Stackoverflow.com/users/4694",
"pm_score": 6,
"selected": false,
"text": "Dim directory as String = My.Application.Info.DirectoryPath\n string directory = AppDomain.CurrentDomain.BaseDirectory;... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/51/"
] |
295,688 | <p>I have 2 tables event + event_artist</p>
<h2>event</h2>
<pre><code>eventId | eventName
-------------------
1 , gig1
2, gig2
</code></pre>
<h2>event_artist</h2>
<pre><code>eventId, artistName
-------------------
1, Led Zip
1, The Beatles
</code></pre>
<p>ie Led Zep and the Beatles are both playing ... | [
{
"answer_id": 295819,
"author": "ScottK",
"author_id": 37757,
"author_profile": "https://Stackoverflow.com/users/37757",
"pm_score": 3,
"selected": true,
"text": "drop table event\ngo\n\ndrop table event_artist\ngo\n\ncreate table event (eventid int, eventname varchar(255))\ngo\n\ncreat... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295688",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/461880/"
] |
295,690 | <p>I've got a section of code on a b2evo PHP site that does the following: </p>
<pre><code>$content = preg_replace_callback(
'/[\x80-\xff]/',
create_function( '$j', 'return "&#".ord($j[0]).";";' ),
$content);
</code></pre>
<p>What does this section of code do? My guess is that it strips out ascii char... | [
{
"answer_id": 295697,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://Stackoverflow.com/users/24181",
"pm_score": 2,
"selected": false,
"text": "create_function &#xxx;"
},
{
"answer_id": 295698,
"author": "PhiLho",
"author_id": 15459,
"author_profile... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295690",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1726/"
] |
295,708 | <p>Before I ask my question, here's the offending code:</p>
<pre><code>var coords = dojo.coords(g);
g.style.left = coords.x + "px";
g.style.top = coords.y + "px";
g.style.position = "absolute";
</code></pre>
<p>Now imagine that <code>g</code> is a relatively positioned element with an <code>x</code> position of 70 an... | [
{
"answer_id": 295720,
"author": "José Leal",
"author_id": 37190,
"author_profile": "https://Stackoverflow.com/users/37190",
"pm_score": -1,
"selected": false,
"text": "g.style.left = parseInt(coords.x) + \"px\";\ng.style.top = parseInt(coords.y) + \"px\";\n g.offsetTop\n g.offsetLeft \n... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295708",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12549/"
] |
295,710 | <p>There is a need from a customer to log every data change to a logging table with the actual user who made the modification. The application is using one SQL user to access the database, but we need to log the "real" user id.</p>
<p>We can do this in t-sql by writing triggers for every table insert and update, and u... | [
{
"answer_id": 304709,
"author": "Biri",
"author_id": 968,
"author_profile": "https://Stackoverflow.com/users/968",
"pm_score": 3,
"selected": false,
"text": "-- This is for the data\ncreate table datastuff (\n id int not null identity(1, 1),\n userid nvarchar(64) not null default(... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295710",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/968/"
] |
295,719 | <p>We have a custom REST handler on ASP.NET that is configured like this to handle all incoming requests:</p>
<pre><code><add path="*" verb="*" type="REST.RESTProtocolHandler"/>
</code></pre>
<p>However, passing it a pipe character, properly encoded or not at all, triggers a validation error that seems to come ... | [
{
"answer_id": 302093,
"author": "Sunny Milenov",
"author_id": 8220,
"author_profile": "https://Stackoverflow.com/users/8220",
"pm_score": 1,
"selected": false,
"text": "protected void Application_Error(Object sender, EventArgs e)\n{\n Exception ex = Server.GetLastError();\n //do w... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295719",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28917/"
] |
295,731 | <p>I have a website built in C#.NET that tends to produce a fairly steady stream of SQL timeouts from various user controls and I want to easily pop some code in to catch all unhandled exceptions and send them to something that can log them and display a friendly message to the user.</p>
<p>How do I, through minimal e... | [
{
"answer_id": 295739,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 2,
"selected": false,
"text": "Exception"
},
{
"answer_id": 295803,
"author": "P Daddy",
"author_id": 36388,
"author_profile": "htt... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295731",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2462/"
] |
295,736 | <p>I need to spawn a process in Java (under Linux exclusively) that will continue to run after the JVM has exited. How can I do this? </p>
<p>Basically the Java app should spawn an updater which stops the Java app, updates files and then starts it again.</p>
<p>I'm interested in a hack & slash method to just get... | [
{
"answer_id": 295748,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 5,
"selected": true,
"text": "java.lang.Process"
},
{
"answer_id": 39486055,
"author": "cowls",
"author_id": 992151,
"author_profil... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295736",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
295,752 | <p>I am trying to write an installer (by creating a .vdproj) that will work on both Windows Vista and XP. The only thing I am finding is that when I try to run it on Vista, the files that I include in the installer are installed with Read-only permissions for the Users groups. This is a problem because the applicatio... | [
{
"answer_id": 295787,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 4,
"selected": true,
"text": "Environment.GetFolderPath()"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295752",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14101/"
] |
295,766 | <p>The XML file I want to parse starts with :</p>
<pre><code><!DOCTYPE plist PUBLIC "-//...//DTD PLIST 1.0//EN" "http://www.....dtd">
</code></pre>
<p>So when I start the SAX praser, it tries to access this DTD online, and I get a java.net.UnknownHostException.</p>
<ol>
<li>I cannot modify the XML file before... | [
{
"answer_id": 295840,
"author": "Gowri",
"author_id": 3253,
"author_profile": "https://Stackoverflow.com/users/3253",
"pm_score": 0,
"selected": false,
"text": "EntityResolver org.xml.sax.EntityResolver customEntityResolver = new DummyEntityResolver();\njavax.xml.parsers.SAXParser parse... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295766",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/155796/"
] |
295,771 | <p>I have a SQL SELECT query which has a LIKE clause containing an underscore, which should specifically look for an underscore, not treat it as a wildcard: </p>
<pre><code>SELECT * FROM my_table WHERE name LIKE '_H9%';
</code></pre>
<p>I understand that I can change the actual clause to '[_]H9%' for this to work as ... | [
{
"answer_id": 423054,
"author": "Cowan",
"author_id": 17041,
"author_profile": "https://Stackoverflow.com/users/17041",
"pm_score": 4,
"selected": true,
"text": "public class EscapingLikeExpression extends LikeExpression {\n public EscapingLikeExpression(String propertyName, String val... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295771",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1174/"
] |
295,772 | <p>I have a *.MDB database file, and I am wondering if it is possible or recommended to work against it using LINQ in C#. I am also wondering what some simple examples would look like.</p>
<p>I don't know a lot about LINQ, but my requirements for this task are pretty simple (I believe). The user will be passing me a f... | [
{
"answer_id": 2332263,
"author": "Quinten Miller",
"author_id": 264147,
"author_profile": "https://Stackoverflow.com/users/264147",
"pm_score": 1,
"selected": false,
"text": "eICATDataSet.ICSWSbuDataTable tbl = new eICATDataSet.ICSWSbuDataTable();\n\nICSWSbuTableAdapter ta = new ICSWSbu... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295772",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/506/"
] |
295,773 | <p>I have a basic ajax application, which will not work, instead the php code is displayed in the browser. The javascript and html seem fine. I have copied the code verbatim from here:</p>
<p><a href="http://arief.aeroven.com/2008/07/30/first-ajax-script-tutorial-connecting-ajax-contain-pure-htmlphpand-javascript-to-m... | [
{
"answer_id": 295784,
"author": "DreamWerx",
"author_id": 15487,
"author_profile": "https://Stackoverflow.com/users/15487",
"pm_score": 2,
"selected": false,
"text": "\"<?php\""
},
{
"answer_id": 295909,
"author": "Tom",
"author_id": 26155,
"author_profile": "https:/... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295773",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1246613/"
] |
295,781 | <p>I'm sure there is a quick and easy way to calculate the sum of a column of values on Unix systems (using something like <code>awk</code> or <code>xargs</code> perhaps), but writing a shell script to parse the rows line by line is the only thing that comes to mind at the moment.</p>
<p>For example, what's the simple... | [
{
"answer_id": 295812,
"author": "warren",
"author_id": 4418,
"author_profile": "https://Stackoverflow.com/users/4418",
"pm_score": 1,
"selected": false,
"text": "cut grep bc tr \\n cat <whatever> | cut -d'\\t` -f7 | grep -v <appropriate-character-class> | tr '\\n' ' ' | xargs script-th... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295781",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17035/"
] |
295,798 | <p>I'm looking for a module or some way to obtain the information about the content of a file. </p>
<p>The same sort of thing that the Linux "file" command does, but in Perl language.</p>
| [
{
"answer_id": 296070,
"author": "David Ameller",
"author_id": 19689,
"author_profile": "https://Stackoverflow.com/users/19689",
"pm_score": -1,
"selected": false,
"text": "$res = `file a.txt`;\n"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295798",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19689/"
] |
295,811 | <p>I have a .jar file that i've placed in my D:\Coldfusion8\wwwroot\web-inf\lib\ directory. The file is abcdef.jar</p>
<p>This is my first time doing this, not sure what the path should be in my createObject().</p>
<pre><code><cfset abcObj = createObject("java","com.abcdef") />
<cfset result = acbObj.doStuf... | [
{
"answer_id": 295918,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 3,
"selected": true,
"text": "CreateObject()"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295811",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26121/"
] |
295,827 | <p><strong>Background</strong></p>
<p>We have a web application in which several developers have written several .js files that manipulate the DOM and the problem of duplicate function names has crept into our application.</p>
<p><strong>Question</strong></p>
<p>Can anyone recommend a tool that will warn us when we ... | [
{
"answer_id": 296393,
"author": "picardo",
"author_id": 32816,
"author_profile": "https://Stackoverflow.com/users/32816",
"pm_score": 4,
"selected": true,
"text": "var myNamespace = function (){\n var myPrivateProperty;\n var myPrivateFunction = function(){};\n return{\n\n my... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295827",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1181/"
] |
295,832 | <p>Consider the following code in VB9:</p>
<pre><code>Dim text = "Line1<br/>Line2"
Dim markup = <span><%= text %></span>.ToString
</code></pre>
<p>While I was hoping markup would end up being <code><span>Line1<br/>Line2</span></code>, it actually evaluates to <code><span&g... | [
{
"answer_id": 295891,
"author": "JaredPar",
"author_id": 23283,
"author_profile": "https://Stackoverflow.com/users/23283",
"pm_score": 3,
"selected": true,
"text": "<br/> Dim text2 = <a>Line<br/>Line</a>\nDim markup2 = <span><%= text2 %></span>.ToString\n <a> Dim text = \"Line1<br/>Line... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295832",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23935/"
] |
295,833 | <p>Could someone explain why this works in C#.NET 2.0:</p>
<pre><code> Nullable<DateTime> foo;
if (true)
foo = null;
else
foo = new DateTime(0);
</code></pre>
<p>...but this doesn't:</p>
<pre><code> Nullable<DateTime> foo;
foo = true ? null : new DateTime(0);
</code></pr... | [
{
"answer_id": 295842,
"author": "Stewart Johnson",
"author_id": 6408,
"author_profile": "https://Stackoverflow.com/users/6408",
"pm_score": 9,
"selected": true,
"text": "null DateTime DateTime? foo;\nfoo = true ? (DateTime?)null : new DateTime(0);\n Nullable<DateTime> DateTime?"
},
... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38258/"
] |
295,836 | <p>When using CDT I would like to have std::string show up in the 'variable' debug window with the string it contains. For instance if it is currently holding the word <em>"history"</em> I would like to see <strong>history</strong> in the debugger window labeled "variables". </p>
<p>I think that there is a general way... | [
{
"answer_id": 444448,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "up print std::string"
},
{
"answer_id": 7463960,
"author": "Chris Seddon",
"author_id": 951592,
"author_pr... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295836",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1265473/"
] |
295,839 | <p>I am using following code to embed files, video with <code>.wmv</code> extension, that is not working in Firefox. It's working fine in IE.</p>
<pre><code>document.getElementById("QuestionMedia").innerHTML +=
'<OBJECT ID="MediaPlayer" WIDTH="350" HEIGHT="280" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95... | [
{
"answer_id": 405517,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<!-- begin embedded WindowsMedia file... -->\n<table border='0' cellpadding='0' align=\"center\">\n <tr><td>\n <OBJECT id=... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295839",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38260/"
] |
295,849 | <p>In Perl</p>
<pre><code>print "a" x 3; # aaa
</code></pre>
<p>In C# </p>
<pre><code>Console.WriteLine( ??? )
</code></pre>
| [
{
"answer_id": 295856,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 5,
"selected": true,
"text": "new string('a',3) Enumerable.Repeat(\"a\",3) static void Main()\n {\n string foo = \"foo\";\n str... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295849",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4200/"
] |
295,860 | <p>As a primarily Windows developer, perhaps I'm missing something cultural in the Linux community, but it has always confused me.</p>
<p>When downloading something that the files are first put into a <code>.tar</code> archive then <em>zipped</em>. Why the two-step process? Doesn't <em>zipping</em> achieve the file gr... | [
{
"answer_id": 295865,
"author": "Stewart Johnson",
"author_id": 6408,
"author_profile": "https://Stackoverflow.com/users/6408",
"pm_score": 8,
"selected": true,
"text": "bzip gzip zip pkzip bzip gzip"
},
{
"answer_id": 295913,
"author": "Jonathan Leffler",
"author_id": 1... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295860",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/767/"
] |
295,861 | <p>Being a Windows developer I'm currently working on my own project using LAMP. I understand what I need to know of PHP and MySQL, but Linux looks huge and it's not clear where to start and what is enough given my goals.
And my goals are to grasp general concepts, being able to deploy the project to a hosting provider... | [
{
"answer_id": 296057,
"author": "Astra",
"author_id": 5862,
"author_profile": "https://Stackoverflow.com/users/5862",
"pm_score": 1,
"selected": false,
"text": "sudo /etc/init.d/apache stop sudo /etc/init.d/apache start ps -aux sudo kill -s TERM <process_id> sudo apt-get install php5-cl... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295861",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28098/"
] |
295,877 |
<p>I'd like to group the digits in a double by thousands, but also output however number of decimals are actually in the number. I cannot figure out the format string. </p>
<pre class="lang-cs prettyprint-override"><code> 1000 => 1,000
100000 => 100,000
123.456 => 123.456
100000.21 => 100,000.21
10... | [
{
"answer_id": 295902,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 0,
"selected": false,
"text": "Dim vals() As Double = {1000, 100000, 123.456, 100000.21, 100200.123456}\nFor Each val As Double in vals\n Console.W... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295877",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8435/"
] |
295,897 | <p>We have 50+ Java batch processes that run at different times of the day. They run on a Solaris box, and are started via cron. Currently, the only way we only know if they succeed or fail is by an email generated at the end of each batch process. We have a support team that monitors these emails. Recently, we've ... | [
{
"answer_id": 295941,
"author": "Ken Gentle",
"author_id": 8709,
"author_profile": "https://Stackoverflow.com/users/8709",
"pm_score": 3,
"selected": true,
"text": "Schedule Tasks cron"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295897",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29962/"
] |
295,900 | <p>I am using a System.Random object which is instantiated with a fixed seed all thoughout the application. I am calling the NextDouble method and after some time passed I am getting 0.0 as result.</p>
<p>Is there any remedy to this, has anyone else encountered this ?</p>
<p>EDIT: I have one seed for the whole run wh... | [
{
"answer_id": 295955,
"author": "e.James",
"author_id": 33686,
"author_profile": "https://Stackoverflow.com/users/33686",
"pm_score": 5,
"selected": true,
"text": "class ThreadSafeRandom\n{\n private static Random random = new Random();\n\n public static int Next()\n {\n ... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295900",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4694/"
] |
295,919 | <p>I can't seem to figure out what I am doing wrong here. I publish my website to my server and when I try to run it I get the following exception:</p>
<blockquote>
<p>Could not load the assembly 'App_Web_kh7-x3ka'. Make sure that it is compiled before accessing the page.</p>
</blockquote>
<p>Has anyone else ever e... | [
{
"answer_id": 296289,
"author": "ChrisAnnODell",
"author_id": 1758,
"author_profile": "https://Stackoverflow.com/users/1758",
"pm_score": 6,
"selected": true,
"text": "<%@Page /> inherits=\"yourPageClass, App_Web_kh7-x3ka\" App_Web_XXXX CodeFile=\"yourPageFile.aspx.cs\" <%@Page /> App_W... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295919",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20748/"
] |
295,920 | <p>Is there a way to prematurely abort a transaction? Say, I have sent a command to the database which runs five minutes and after four, I want to abort it.</p>
<p>Does JDBC define a way to send a "stop whatever you are doing on this connection" signal to the DB?</p>
| [
{
"answer_id": 295950,
"author": "Gowri",
"author_id": 3253,
"author_profile": "https://Stackoverflow.com/users/3253",
"pm_score": 4,
"selected": false,
"text": "java.sql.Statement.setQueryTimeout(seconds)\n SQLException execute()"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/295920",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34088/"
] |
295,925 | <pre><code>/* I start with this: */
<Report>
<prop1>4</prop1>
<prop2>2255</prop2>
<prop3>true</prop3>
<prop4>false</prop4>
<prop5>true</prop5>
</Report>
/* I want this result (change the value of node "prop5"): */
<Re... | [
{
"answer_id": 295932,
"author": "Christophe Herreman",
"author_id": 17255,
"author_profile": "https://Stackoverflow.com/users/17255",
"pm_score": -1,
"selected": false,
"text": "report.prop5[0] = false;\n"
},
{
"answer_id": 296859,
"author": "defmeta",
"author_id": 10875... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295925",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31298/"
] |
295,936 | <p>How could I setup a nice indice on <code>cap:deploy</code>?</p>
<p>I want the remote server to nice the <code>cp</code> commands like so: </p>
<pre><code>nice -n 19 cp ...
</code></pre>
| [
{
"answer_id": 295932,
"author": "Christophe Herreman",
"author_id": 17255,
"author_profile": "https://Stackoverflow.com/users/17255",
"pm_score": -1,
"selected": false,
"text": "report.prop5[0] = false;\n"
},
{
"answer_id": 296859,
"author": "defmeta",
"author_id": 10875... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295936",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
295,938 | <p>I have an issue with EMMA where it is correctly covering all my various Java projects except one.
I am puzzled as to why this occurs as the ANT script appears to be correct. The following expected output is given:</p>
<pre><code> [echo] c:\cc_local_home\emmadata\ProjectName
[instr] processing instrumentation path .... | [
{
"answer_id": 295966,
"author": "Ken Gentle",
"author_id": 8709,
"author_profile": "https://Stackoverflow.com/users/8709",
"pm_score": 1,
"selected": false,
"text": "<emma.report> Ant -verbose"
},
{
"answer_id": 296355,
"author": "Community",
"author_id": -1,
"author... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295938",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
295,939 | <p>Is there a way to print out the diffs like they show when you open them with "gvim -d", with all the common code folded away and only the diffs showing in context? I tried the print menu option, but it printed the entire file that I was currently "in", rather than printing the folded diffs.</p>
| [
{
"answer_id": 298775,
"author": "Gowri",
"author_id": 3253,
"author_profile": "https://Stackoverflow.com/users/3253",
"pm_score": 3,
"selected": true,
"text": ":he convert-to-HTML\n"
},
{
"answer_id": 9908506,
"author": "codeape",
"author_id": 3571,
"author_profile":... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295939",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3333/"
] |
295,948 | <p>Sometimes when running selenium, it displays a message similar to:</p>
<blockquote>
<p>WARN - Invalid length: Content-Length=798242 written=8192</p>
</blockquote>
<p>And then Selenium stops responding. The website under automation runs on ASP.NET, and served up via IIS.</p>
<p>How do I prevent Selenium from sto... | [
{
"answer_id": 5122222,
"author": "Wesley Wiser",
"author_id": 124538,
"author_profile": "https://Stackoverflow.com/users/124538",
"pm_score": 0,
"selected": false,
"text": "Response.ClearContent();\nstring data = GetSomeData();\nResponse.Write(data);\nResponse.Flush();\nResponse.Close()... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295948",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13172/"
] |
295,952 | <p>Suppose I want to create a set of observers based on type. That is to say, when they are notified of an event, they are told the type of one of the arguments and then decides whether or not to act based on if it can operate on that type.</p>
<p>Are there any simple ways to do this? I figured this would be fairly ... | [
{
"answer_id": 296004,
"author": "Skizz",
"author_id": 1898,
"author_profile": "https://Stackoverflow.com/users/1898",
"pm_score": 3,
"selected": true,
"text": "interface IObserver\n{\n}\n\nclass Subject\n{\n public Subject ()\n {\n m_observers = new List<IObserver> ();\n }\n\n pu... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295952",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2147/"
] |
295,956 | <p>I have a JEdit (BeanShell) macro which opens a specific file then immediately saves the file to my c:\temp folder (so that I don't accidentally update the real file).</p>
<p>Here is the bean shell code:</p>
<pre><code>logFilePath = "c:\\temp\\aj.txt";
jEdit.openFile( view , logFilePath );
_buffer = jEdit.g... | [
{
"answer_id": 296361,
"author": "Serxipc",
"author_id": 34009,
"author_profile": "https://Stackoverflow.com/users/34009",
"pm_score": 3,
"selected": true,
"text": "VFSManager.waitForRequests();"
},
{
"answer_id": 298291,
"author": "AJ.",
"author_id": 7211,
"author_pr... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7211/"
] |
295,990 | <p>I'm trying to implement a stateful web service in PHP using the SOAP extension. (Yes I know that web services are supposed to be stateless; all I really care to persist is some form of a session ID so I don't need to authenticate with every call to the service). PHP.net's API documentation is somewhat lacking on th... | [
{
"answer_id": 297525,
"author": "Steve Kalemkiewicz",
"author_id": 38151,
"author_profile": "https://Stackoverflow.com/users/38151",
"pm_score": 2,
"selected": true,
"text": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing System... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295990",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38151/"
] |
295,992 | <pre><code>var i : integer;
i := 1234567;
</code></pre>
<p>Given the above, I want the string "1,234,567" as output (assuming UK locale). IntToStr just gives me "1234567". I'm sure there's a one-liner for this, but I can't find it...</p>
| [
{
"answer_id": 296047,
"author": "Bruce McGee",
"author_id": 19183,
"author_profile": "https://Stackoverflow.com/users/19183",
"pm_score": 5,
"selected": true,
"text": "Label1.Caption := Format('%.0n', [i + 0.0]);\n"
},
{
"answer_id": 296093,
"author": "Mark",
"author_id"... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295992",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1737/"
] |
295,993 | <p>I'm actual looking for a way to get notified about any changes on a SharePoint group. First I though I would be able to this by attaching a event handler to some kind of group list. But unfortunately there are no such list representing SharePoint groups. </p>
<p>My second attempt was to bind a event handler to the ... | [
{
"answer_id": 2804746,
"author": "Dave Cornall",
"author_id": 337495,
"author_profile": "https://Stackoverflow.com/users/337495",
"pm_score": 2,
"selected": false,
"text": " wssQuery = new SPAuditQuery(site);\n wssQuery.AddEventRestriction(SPAuditEventType.SecGroup... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295993",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19601/"
] |
295,994 | <p>We had a discussion here at work regarding why <em>fread()</em> and <em>fwrite()</em> take a size per member and count and return the number of members read/written rather than just taking a buffer and size. The only use for it we could come up with is if you want to read/write an array of structures which aren't ev... | [
{
"answer_id": 296018,
"author": "Peter Miehle",
"author_id": 27800,
"author_profile": "https://Stackoverflow.com/users/27800",
"pm_score": 6,
"selected": false,
"text": "fread(buf, 1000, 1, stream) fread(buf, 1, 1000, stream)"
},
{
"answer_id": 296305,
"author": "Michael Bur... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295994",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22247/"
] |
295,996 | <p>From a couple of preliminary tests it seems that <a href="http://msdn.microsoft.com/en-us/library/ms633497.aspx" rel="noreferrer"><code>EnumWindows</code></a> always returns windows in reverse instantiation order, i.e. most recently instantiated window first. Is that a valid observation? If so, is it true across all... | [
{
"answer_id": 296014,
"author": "P Daddy",
"author_id": 36388,
"author_profile": "https://Stackoverflow.com/users/36388",
"pm_score": 6,
"selected": true,
"text": "WS_EX_TOPMOST WS_EX_TOPMOST set WS_EX_TOPMOST WS_EX_TOPMOST EnumWindows EnumWindows GetWindowThreadProcessID SetWindowsHook... | 2008/11/17 | [
"https://Stackoverflow.com/questions/295996",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9784/"
] |
296,001 | <p>Since I'm sure many people have different standard, I've made this post a community wiki.</p>
<p>My question is, what's a good naming scheme for table aliases? I've been using the first letter of every word from the table name, but it's been getting quite unreadable. Here's a quick example.</p>
<pre><code>FROM inc... | [
{
"answer_id": 296022,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 2,
"selected": false,
"text": "'RelObjectProperty' 'rop' SELECT\n p.Name PropertyName,\n o.Name ObjectName,\n rop.Value PropertyValue\nFROM\n P... | 2008/11/17 | [
"https://Stackoverflow.com/questions/296001",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25371/"
] |
296,003 | <p>Does any one know the best way to deploy a resource file to the App_GlobalResource folder of the web application when a feature is activated?</p>
| [
{
"answer_id": 296488,
"author": "Lars Fastrup",
"author_id": 27393,
"author_profile": "https://Stackoverflow.com/users/27393",
"pm_score": 2,
"selected": false,
"text": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Solution SolutionId=\"{185E973C-3A10-4e2a-9E0F-DC14414551F9}\" \n ... | 2008/11/17 | [
"https://Stackoverflow.com/questions/296003",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13135/"
] |
296,015 | <p>Please consider the following example. Note that in the real-word, the binding source will likely be a data object. I'm using a <code>TextBlock</code> for simplicity.</p>
<pre><code><Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microso... | [
{
"answer_id": 296092,
"author": "Sam Meldrum",
"author_id": 16005,
"author_profile": "https://Stackoverflow.com/users/16005",
"pm_score": 2,
"selected": false,
"text": "txt_Name.GetBindingExpression(TextBox.TextProperty).UpdateTarget();\n"
}
] | 2008/11/17 | [
"https://Stackoverflow.com/questions/296015",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/132931/"
] |
296,020 | <p>How can I create a table that has its first row and first column both locked, as in Excel, when you activate 'freeze panes'? I need the table to both scroll horizontally and vertically (a lot of solutions for this exist, but only allow vertical scrolling).</p>
<p>So, when you scroll down in the table, the first ro... | [
{
"answer_id": 296030,
"author": "matt b",
"author_id": 4249,
"author_profile": "https://Stackoverflow.com/users/4249",
"pm_score": 0,
"selected": false,
"text": "overflow: scroll; <div>"
},
{
"answer_id": 296063,
"author": "VonC",
"author_id": 6309,
"author_profile":... | 2008/11/17 | [
"https://Stackoverflow.com/questions/296020",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4257/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.