text stringlengths 8 267k | meta dict |
|---|---|
Q: How to debug through .NET Framework source code? I've followed the steps outlined in http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx to enable source debugging of the .NET Framework, and I had it working in the past. Now that I'm using .NET 3.5 SP1, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Shell command to find lines common in two files I'm sure I once found a shell command which could print the common lines from two or more files. What is its name?
It was much simpler than diff.
A: To easily apply the comm command to unsorted files, use Bash's process substitution:
$ bash --version
GNU bash, versio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "227"
} |
Q: Rollback file to much earlier version using Git Is there a way in Git to rollback to a much earlier version of a file? I can roll back to the previous version with REVERT, but what if I want to go back to earlier versions?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/373812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "207"
} |
Q: Batch insert/update with entity framework
*
*I have a Tags table whose schema consists of only ID and Name (unique). Now, from the GUI user can enter tags for a BlogPost. When the data is saved, with tags stored in an array of string (names), I want to add tags whose names don't yet exist to the Tag table and ig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Has anybody used codeless software development system? I have found a software development system which is currently free to use and develop with.
This system is completely codeless and one can develop business oriented applications effortlessly using its GUI and a bit of MDA. The site is : http://www.codeless.com/
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is a lambda and what is an example implementation? I am fairly new to programming and while doing a lot of reading this concept of a lambda keeps coming up but I'm having a hard time putting my finger on what it actually is and how implementing it will make my programming life so much better. So first, what is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Best XML parser for Java I need to read smallish (few MB at the most, UTF-8 encoded) XML files, rummage around looking at various elements and attributes, perhaps modify a few and write the XML back out again to disk (preferably with nice, indented formatting).
What would be the best XML parser for my needs? There ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "396"
} |
Q: Alternate groovysh.profile script Is there a way to override the location of the groovysh.profile / groovysh.rc file on the command line? e.g.
GROOVYSH_RC=one_time_groovysh_rc groovysh
Thanks.
A: In looking at the source to Groovysh.groovy, it calls this method:
File getUserStateDirectory() {
def userHome = ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: LDAP Authentication using CGI+TCL How can I authenticate a user with LDAP using CGI/TCL stack?
Please provide a sample code-snippet if possible.
I am using an Apache Web Server on RHEL 5.0; AD exists on a remote Win2003 server.
A: Here's the ldap package. You first bind using some "bind user" who can see everyone.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Capturing first character on entering edit mode - custom editing control in DataGridView I'm hosting a custom editing control in a DataGridView, which for the record is a TextBox and Button together in a UserControl. I have inherited from DataGridViewColumn for the new column and DataGridViewTextBoxCell for the new ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: float un-ordered list items(ul) next to one another I wanna place two child un-ordered lists side by side.
They are having Class Names L and R
Heres the relevant part of the HTML markup.
<ul class="SearchResult">
<li class="Pagination">
<a id="lnkPageNumber_top_1" class="ACTIVE" onclick="ShowPage(this.id);" style="c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Whats the best way to model parent child relationships stored in a join table in LinqToSql? To simplify my current situation lets say I have 2 tables (legacy so can't touch the schema to play better with Linq)
node
Columns: key_field1, key_field2, [lots of other fields]
node_children
Columns: parent_key_field1, par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C#: How to read data from webbrowser in a windows application First of all i am doing a Windows application. Not a web application.
Now i am doing on application to send SMS (Short message) from System to Mobile.
Here, i am using a http URL to push the message having parameters To (number) and Msg (test message).
af... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Check if a drag&drop is in progress Is there any way to check if a drag and drop is in progress? Some method or win32 api which can be checked? I know I can set AllowDrop and use events but it doesn't work in this case. Basically i want to check, with code, if any drag&drop is in progress.
A: I had a similar questi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Installing RS2008 against SQL Server 2000 Is there any chance of installing Reporting Services 2008 against an instance of SQL Server 2000? The docs clearly state that only SQL Server 2005 or 2008 are supported, but I thought I should ask anyway, for ways to bypass this limitation.
I should mention that I am not tal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: To Disable The BackButton Of Browser Window Using Javascript
Possible Duplicate:
Disabling Back button on the browser
Hi Guys,
I need to disable the backbutton of browser window.When I click on backbutton,I need to show one message using alert or other means.Any one can help me
A: you can't make the user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to make subject field compulsory in Outlook 2007? I always forget to write subject in email, so I want make the subject field compulsory.
Can you help me please?
A: Private Sub Application_ItemSend(ByVal Item As Object, ByRef Cancel As Boolean)
If Item.Subject = "" Then
Item.Subject = InputBox("Please do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: handle event before Page_Load I have an asp.net web page with a ton of code that is handled in the Page-Load event of the page. I also have a dropdown box on the page that should reload the page with a new value, but I would like to get this new value before I process the entire Page-Load code.
I am trying to get m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: MSAccess: SELECT INTO NewTable cuts long texts When I use (in MS Access 2003 SP3):
SELECT * INTO NewTable FROM SomeQuery;
MEMO fields are converted to TEXT fields (which are limited to 255 characters), so longer texts are cut.
The output of the query itself is fine and not truncated; the text is cut only in the ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can't import simple class/package into a simple JSP page using Apache Tomcat Can someone please walk me through the process of loading a class or package in JSP with Tomcat?
I think it might just be a Tomcat setup issue :S my JSP file runs fine without importing or using dbpool or dbpooljar. I've tried many suggesti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does stdafx.h work the way it does? As usual, when my brain's messing with something I can't figure out myself, I come to you guys for help :)
This time I've been wondering why stdafx.h works the way it does? To my understanding it does 2 things:
*
*Includes standard headers which we
might (?) use and which a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Can a text editor be built from scratch in Javascript? I am aware that Javascript WYSIWYG editors use the inbuilt editor mode of the browser to function, but that comes up with various problems and issues.
Can an editor be built from scratch in JS, something like what Buzzword people have done with flash/flex? I cam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to check MS Access DB is Password protected or not before opening Can anyone help me to check, whether the MS Access DB is Password protected or not before opening the DB.
Like for Excel we have "ProtectContents"readonly Boolean property in vb.net
Thank you.
A: I cannot such a function. If you do not want to op... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting the parent of a usercontrol prevents it from being transparent I've created a simple user control which is manually created with something like
MyUserControl ctrl = new MyUserControl();
The control have been designed to have BackColor = Color.Transparent and that works fine, until I set the Parent of the co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What happens to an Oracle sequence after disaster recovery? Suppose an Oracle instance has to be recovered after a disaster. Do sequences get reset to the initial state, or the last saved state, or are cached values preserved?
Thank you very much. :-)
A: The sequnce values are stored in the SYSTEM.SEQ$ (I think) t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Are There any Open Source Real Time Operating Systems for x86? Are there any open source real time operating systems out there? I've heard of real-time Linux, but most implementations seem to really be a proprietary RTOS (that you have to pay for) that run Linux as a process -- much the same way Ardence's RTX real-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: c# (WinForms-App) export DataSet to Excel I need a solution to export a dataset to an excel file without any asp code (HttpResonpsne...) but i did not find a good example to do this...
Best thanks in advance
A: I've created a class that exports a DataGridView or DataTable to an Excel file. You can probably change i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: How can I use IEnumerable interface and at the same time, have XMLSerializer not use GetEnumerator()? I have a class that parses very large file (that can't fit in memory) and I'm currently utilizing the IEnumerable interface to use foreach so I can easily grab the parsed contents of the file line by line. Currentl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding an SSL certificate to IE without user interaction A while ago, I set up my company's local (non-internet) client database on my domain server, using Apache and PHP/MySQL.
I recently decided to set it up to use an SSL connection rather than a standard HTTP connection. (I know, I should have from the beginning,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best Practices - Design before coding I'm curious How do you people think ? (I mean a way of thinking) about design architecture of your Libraries, Systems, Frameworks, etc. before start coding it.
I recently find my self feeling pain in what I've done, and practically every time I want to start everything from scra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/373988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "44"
} |
Q: Headless Eclipse Build returns ERRORLEVEL 13 Everything was going well. Nightly builds ran for more than a month with no problems. However, suddenly when invoking the feature builder from Eclipse the execution ends right away with the message.
ERRORLEVEL 13
As far as I know I haven't changed anything, as this comp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Login dialog appear in IE7 when browsing SQL Reporting Services Setup is SQL2005 SP2 with Reporting Services installed local on Win2003 64bit.
When users browse report manager on http://server/reports they get login dialog for every request, but only if they use IE7. In FireFox all works.
The site is in "local intra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why do generics often use T? Is there any reason for the use of 'T' in generics? Is it some kind of abbreviation? As far as I know, everything works. For example
public G Say<G>(){ ... }
or even
public Hello Say<Hello>(){ ... }
A: T for Type,
as like you said everything works fine.But putting T in that place rem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Why IIS Development server recompiles all my web application every time I build my webapp in VS 2008? We have a web application project (not a web site), until the day we have added batch="false" to web.config web development server was compiling all the web application instead of the page that was requested.
<compi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Subversion : best way of moving changes from a branch to another I have two branches : X and Y. I want to replace a Y's subdirectory (y1) by its equivalent from X (x1).
For the time being, I do the following : copy x1 to Y, remove y1, rename (move) x1 to y1 :
a) svn copy https://path/to/branches/X/x1 https://path/to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Generate single-file HTML code documentation How can I use Doxygen to create the HTML documentation as a single, very long file? I want something like the RTF output, but as HTML.
The reason: I need my API published as a single, printable, document. Something that can be loaded into Word, converted to PDF, etc.
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to change font color of disabled input in Firefox When I disable input elements the text is taking the font color: #000000 in Firefox. This is not happening in IE. Please check the below page in IE and Firefox. Let me know how to give it a gray look as in IE.
test
A: Different browsers style disabled elements d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Insert a node in between text I am familiar with inserting text nodes after or before a given reference node. But, I would like to know how to insert a tag between text in a given node. For example,
Before insertion: <p>Lorem dolor</p>
After insertion: <p>Lorem <span>ipsum</span> dolor</p>
The span node must be in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: With multi-module Maven projects, is it possible to make my root (pom-packaged) project available in Eclipse? We have a fairly large group of Maven2 projects, with a root POM file listing 10+ modules and a lot of properties used by the modules (dependency version numbers, plugin configuration, common dependencies, e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Destructor not called when type-casted void pointer to object Sample
void func(void* data)
{
CResource* resource = (CResource*)data;
delete resource; // ~CResource never called.
resource = NULL;
}
Kindly help me to figure out this.
A: The only reason, why the destructor wouldn't be called, is if the data pointe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I align text inside a GnomeCanvas text item I would like to have a GnomeCanvas text item and according to its content (and the content language) decide whether to align the text to the right or to the left.
I found one way to do it by changing the anchor property, but using this method would require me to ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Should I use Membership for this unusual account system My asp.net mvc site needs some kind of authorization but it is rather different than the usual concept of users and thus membership.
It will be used more for preferences then for authentication actually. Accounts without any password should be possible (and wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Low throughput while using http remoting C# I am using http remoting in C# to talk between two applications.
Earlier when I was running both applications on a single machine/two machines, it was very slow.
We have a proxy server to connect to the internet. We set "Bypass proxy server for local addresses" in IE and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Complete AJAX feedback I build JQuery/JS/PHP/mySQL app with DB records management and need to provide reliable & complete feedback to the user on AJAX calls, modifying back end DB records. The problem IMHO is $.ajax success: and error: functions indicate just AJAX transport layer success and not the whole process. W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Group repeated rows in TSQL I have the following table and data in SQL Server 2005:
create table LogEntries (
ID int identity,
LogEntry varchar(100)
)
insert into LogEntries values ('beans')
insert into LogEntries values ('beans')
insert into LogEntries values ('beans')
insert into LogEntries values ('cabbage')... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is a solution folder in Visual Studio? I have a Visual Studio 2008 solution, and I would like to include a real folder in the solution, but not at the project level, instead at the solution level.
I noticed you can right click the solution and add a solution folder, but it comes up as some white folder, and I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "60"
} |
Q: Dynamically add a usercontrol in VB.net I have made a custom UserControl i Vb.net (windows application).
How can I add this dynamically to a form?
A: I think what you're looking for is written as: this.Controls.Add(myControl) in C#. I'm sure it's very similar in VB too?
A: Form.Controls.Add(Page.LoadControl("SomeU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: does Google analytics make a major effect on time to download a static web page? I understand that by simply adding a script to the end of the body tag of a html document one makes it processable by Google analytics. My question is, is this likely to have much effect on performance (download time and server load)? L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: jQuery - looking for a better selectors syntax I've got HTML code that roughly looks like this:
<li id="someid-11">
<img src="..." alt="alt" />
<h2><a href="somelink"> sometext </a>
<span><a class="editcontent" href="?action=editme">Edit</a></span>
</h2>
<div id="11" class="content">
<!-- // content goes here ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I generate comments from xs:documentation tags in a wsdl? Aloha
I received a nice wsdl with xs: documentation tags like:
<xs:complexType name="Supplier">
<xs:annotation>
<xs:documentation>
The supplier of the product
</xs:documentation>
</xs:annotation>
Is there any way to generate ///<sum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Struts2 parameters between actions I have to pass some parameter from an action to another action,for example to keep trace of an event.
What is the best way to do that?
I would not use session parameters. Thanks
A: Assuming you are serverside within one action and wishing to invoke another action with some param... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Any way to make break point symbols be on top in the vertical ruler in Eclipse? The problem is that search results overlap and make it hard to see whether I've set a break point or not. Any ideas how to remedy this? I can't seem to find a customizable order of which symbols are displayed on the vertical ruler.
alt t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where is IsSynchronizedWithCurrentItem property (or equivalent) for a TreeView? Tell me it ain't so.
I have a typical windows/file explorer like setup.
*
*Left Side I have a TreeView all data bound showing nodes in a hierachy
*Right Side I have a ListView showing Node.Properties
ListView has a IsSynchronizedWi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Question marks after images and js/css files in rails. Why? Does anyone know why there are question marks (with a number) after the images and css files (when looking at the html code)? And how can I turn them off?
A: From Rails API documentation:
By default, Rails will append all
asset paths with that asset‘s
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Regex detect linebreak inside a XML node I'm having troubles with a regexp. I'm looking through a set of XML files, and trying to detect some text inside specific nodes that contain a line break.
Here is some sample data:
<item name='GenMsgText'><text>The signature will be discarded.</text></item>
<item name='GenMs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a small alternative editing tool for Access tables? We have several legacy applications which use Access databases for storing data and/or configuration.
Sometimes we have to do small changes or corrections at our customers databases. (Adding an index, modifying a data row, ...) In many cases Access is ava... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: htmlspecialchars and json encode problem I am trying to format some bad html to output into a pop window. The html is stored in a field in a mysql database.
I have been performing json_encode and htmlspecialchars on the row in the php like so:
$html = htmlentities(json_encode($row2['ARTICLE_DESC']));
and calling my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Checking if the file is already in use before opening (network drive, C#) Does there exist any way in .Net to check before opening if a file (on a local network drive) is already in use?
A: You should try to access it and if it failed, you either don't have required permissions (which you can check with GetAccessCo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a way to optimize the query given below I have the following Query and i need the query to fetch data from SomeTable based on the filter criteria present in the Someothertable. If there is nothing present in SomeOtherTable Query should return me all the data present in SomeTable
SQL SERVER 2005
SomeOtherTa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using Windows DLL from Linux We need to interface to 3rd party app, but company behind the app doesn't disclose message protocol and provides only Windows DLL to interface to.
Our application is Linux-based so I cannot directly communicate with DLL. I couldn't find any existing solution so I'm considering writing so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Cocoa one row table view or a horizontal list view Is it posible to use table view to show just one row of a big amount of elements? What I'm looking for is for some kind of horizontal list, like we have in XCode preferences or Aperture image list.
It would behave just like a one columnt table view, but instead of s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Importing a huge csv data file and using the header to access columns using Ruby I need to import a huge csv data file (6880 columns) and I need to be able use the column headers to access it.
What's the best way?
Speed isn't important. Clarity is.
A: FasterCSV (also available as CSV in Ruby 1.9 standard library) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What web UI toolkit do you use within your Rails application? I'm looking for a Web UI toolkit for a Rails-based application. I have an experience with YUI but not in a Rails context. I have many questions I wish you could help me to answer.
*
*Do you use a web UI toolkit like YUI, ExtJS or JxLib within your Rail... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Slow file delete file from asp.net mvc project When I delete any file from an asp.net mvc project (project not in svn or any source control provider) it takes upto 60 seconds for the UI to become responsive again. CPU usage jumps to 80/90%.
Has anyone else experienced this and know of any fix or solution?
A: Do you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SVN Update problem in Eclipse I have been using SVN with Eclipse for ages without problems. But suddenly, one project is not working properly, even though others are fine.
When I try to update I get this:
In the Eclipse log I see:
U
nsupported working copy format svn:
This client is too old to work with
wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Finding available LPT (parallel) ports and addresses in Delphi I am doing direct I/O on a parallel port which is fine and necessary for speed. I would like to enumerate the available ports to offer the user a choice of ports at setup time rather than a tedious trawl through device manager to read the address manuall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is it better to do roll-your-own or ready-built forum software? As part of a wide ranging job for a cystic fibrosis support organization, they'd also like a web site set up and I've decided on Apache running on Linux (due to its security and low cost mostly). Other than (fairly) static content, they also want a foru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: GC contains lots of pinned objects after a while I have a strange phenomenon while continuously instantiating a com-wrapper and then letting the GC collect it (not forced).
I'm testing this on .net cf on WinCE x86. Monitoring the performance with .net Compact framework remote monitor. Native memory is tracked with W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Convert C++ Header Files To Python I have a C++ header that contains #define statements, Enums and Structures. I have tried using the h2py.py script that is included with Python to no avail (except giving me the #defines converted). Any help would be greatly appreciated.
A: Just found pycparser. May be useful.
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Crystal Reports Formula: Getting the decimal and non-decimal part For example I have a value of 103.33 I want to put 100 to one variable and 33 to another variable. How can I do this?
Thanks.
A: Create two formula fields, eg wholepart and decimalpart.
The formula for wholepart is trunc({yourfieldnamehere}) and the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Crystal Reports: append spaces to string I have a field in my report that needs to have a length of 40. If the string is not of that length I need to append some space.
Thanks.
A: try something along the lines of
if length({yourfieldname here}) < 40
then
{yourfieldnamehere} + space(40 - length({yourfieldnameher... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: getting unitpngfix to work I'm trying to get the unitpngfix to work but I can't seem to get the png to show up in IE6.
This this my code:
<html>
<head>
<style type="text/css">
#boxouter {
width: 12em;
height: 12em;
background: url(gradient.gif) #ffdf00 bottom repeat-x;
pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to retrieve the parent node using cElementTree? for the xml
<grandparent>
<parent1>
<child>data1</child>
</parent1>
<parent2>
<child>data2</child>
</parent2>
</grandparent>
I need the list containing tuples of parent,data for each parent in xml.
Is there a way to do it USING cElementTree? I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Extend WebService without impacting existing clients - returning derived types from query If I have a web service method, e.g.
[WebMethod]
[XmlInclude(typeof(SportsCar)), XmlInclude(typeof(FamilyCar))]
public Car[] GetCars()
{
Car[] cars = new Car[2];
cars[0] = new FamilyCar();
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a recommended number of lines of code per file? I have a class file that contains all the classes that are needed for a certain web application. Currently I'm at line 7269 and it contains numerous classes. I'm not particularly worried but I've started to notice that when working on this file Visual Studio r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Porting Application from Solaris to Linux I am to take up the task of porting a C++ networking application code base of quite a size from Solaris to Linux platform. The code also uses third party libraries like ACE. The application when written initially was not planned for a possible porting in future.
I would lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: 'Contains()' workaround using Linq to Entities? I'm trying to create a query which uses a list of ids in the where clause, using the Silverlight ADO.Net Data Services client api (and therefore Linq To Entities). Does anyone know of a workaround to Contains not being supported?
I want to do something like this:
List<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "86"
} |
Q: How to return a user's unread mail count from an Exchange inbox? I am involved in writing a little internal SharePoint portal for our company. I thought it would be a 'quick win' to get create a web part that would display the user's unread mail count, and possibly a list of today's calendar tasks. However, I have h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to map different Java-Bean structures onto one another In our project we have to map one nested structures of beans onto another. (These are actually JAXB mapped Java-Representations of XML documents that, say, represent an incoming order document.) This has to be mapped onto the quite different order document s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Getter and setter wrappers for TiXmlElement*'s I am rewriting a project so that it uses getters and setters to reference the TiXmlElement *'s
However, I quickly run into problems that seem to be related to debug mode:
Ecxerpt from my class's header:
TiXmlElement *_rootElement;
TiXmlElement *_dialogsElement;
TiXmlEle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I make Delphi 2009 open my application in the second monitor by default? When debugging I always want Delphi to open my application in the second monitor but it always open in the first one, I know I can save the application placement before closing but I want it to always open in the second monitor when in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: JavaScript/ CSS/ Image reference paths I was wondering if anyone has any preference for referencing images/ css or javascript files in their sites?
The reason I ask is if a client wants to host the site we've writen under a virtual directory, the site usually has to have it's file references changed - even down to u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Why is your particular choice of forum software the right one for you? As part of another question that did involve programming (I assure you), someone suggested I ask a community wiki question as to why your forum software of choice was the 'best' one for you.
I'm looking into providing forum software as part of an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What causes the SVN Error "Not a working copy"? Recently our Subversion (SVN) server was changed and we did a svn switch.
Since the working copy had a huge amount of unversioned resources, the working copy got locked and we started switching folder by folder for all folders under SVN, which works perfectly fine.
But... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "223"
} |
Q: Round a double to x significant figures If I have a double (234.004223), etc., I would like to round this to x significant digits in C#.
So far I can only find ways to round to x decimal places, but this simply removes the precision if there are any 0s in the number.
For example, 0.086 to one decimal place becomes 0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "78"
} |
Q: conversion of unicode string in python I need to convert unicode strings in Python to other types such as unsigned and signed int 8 bits,unsigned and signed int 16 bits,unsigned and signed int 32 bits,unsigned and signed int 64 bits,double,float,string,unsigned and signed 8 bit,unsigned and signed 16 bit, unsigned a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Being specialised and keeping up One of the things mentioned recently maybe in the SO podcast or Joel was that the best way to succeed at business when you start out is to start specialised and concentrate on one thing only.
If you say you're the jack of all trades; you're just another jack! If you say you're a spec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing Object reference in Visual Basic (VBA) How do I pass a form's TextBox object to the a method?
The following code is issuing an exception.
Private Sub DoSmthWithTextBox(ByRef txtBox as TextBox)
txtBox.BackColor = vbRed
End Sub
Private Sub TextBox1_Change()
DoSmthWithTextBox Me.TextBox1
End Sub
The p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to get filename without extension from file path in Ruby How can I get the filename from a file path in Ruby?
For example if I have a path of "C:\projects\blah.dll" and I just want the "blah".
Is there a LastIndexOf method in Ruby?
A: require 'pathname'
Pathname.new('/opt/local/bin/ruby').basename
# => #<Pathn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "240"
} |
Q: Set folder permissions with C# - convert CreateObject("Wscript.Shell") from vb to C# I'd like to know how to convert this vb script to C#
Dim strFolder As String
Dim objShell As Object
strFolder = "C:\zz"
Set objShell = CreateObject("Wscript.Shell")
objShell.Run "%COMSPEC% /c Echo Y| cacls " & _
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I implement a many-to-many association from an entity to itself in Entity Framework? I have an entity that exposes a collection of children of the same type. The entity can itself be a child of another instance - in effect a many-to-many relationship with itself. In the database I have a linker table with two... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a Java array/list which is statically typed AND variable length This would be very handy as typecasting gets boring fast.
A: If you use generics (java 5), you can avoid all casting with
List<String> myList = new ArrayList<String>();
myList.add(" a test");
String temp = myList.get(0);
Unless I am missin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WCF service never notified when post new message to private queue in Workgroup mode I'm using WCF (C#) to send/receive messages from a private MSMQ queue under Windows Server 2003 in Workgroup mode.
Client WCF/Service WCF and MSMQ are on the same computer.
There's one client that send message to the private queue, t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Editor templates for defensive programming Recently I worked on FindBugs warnings about exposing internal state, i.e. when a reference to an array was returned instead of returning a copy of the array. I created some templates to make converting that code easier.
Which one did you create to support defensive program... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Helper functions for marshalling arrays of structures (with pointers) This appears to be the most commonly asked C# interop question and yet seems to be difficult to find a working solution for.
I am in need of allocating an array of matrix datastructure in C# passing it to a C DLL which fills up the data and return... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Open-source zip library for .NET? Does anyone know of a good open-source zipping library for .NET?
A: Try checking out 7-zip. It's open source and my fav zip program. very kewl. takes advantage of multi cores also.
The .NET SDK is available here.
A: **** But guys .NET Already supports open source zip....****
http:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Are event subscribers called in order of subscription? Is it safe to assume that event subscribers are called in order of subscription?
Example:
void One(object sender, EventArgs e) {}
void Two(object sender, EventArgs e) {}
event EventHandler foo;
foo += One;
foo += Two;
Is One() always called before Two() whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Why do we actually need Private or Protected inheritance in C++? In C++, I can't think of a case in which I would like to inherit private/protected from a
base class:
class Base;
class Derived1 : private Base;
class Derived2 : protected Base;
Is it really useful?
A: It is useful when you want to have access to so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "69"
} |
Q: Is char* supported on Chinese / Japanese machines? I am trying to create a DLL for authentication using Java and JNI.
To create the DLL, I have created a Win32 application whose Character Set and Runtime Library information are Multi-Byte String and Multi-threaded (/MT) respectively.
I have tested the DLL on WinXP w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there an open-source alternative to Windows compound files? I'm trying to save a couple of files to a container file. The files can be modified later which means the container might have to be enlarged. The user should only see this container as a single file in the file system. The application is written in C++ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/374417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.