text stringlengths 8 267k | meta dict |
|---|---|
Q: How to discover USB storage devices and writable CD/DVD drives (C#) How can I discover any USB storage devices and/or CD/DVD writers available at a given time (using C# .Net2.0).
I would like to present users with a choice of devices onto which a file can be stored for physically removal - i.e. not the hard drive.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How does off-the-shelf software fit in with agile development? Maybe my understanding of agile development isn't as good as it should be, but I'm curious how an agile developer would potentially use off-the-shelf (OTS) software when the requirements and knowledge of what the final system should be are changing as ra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What to do with queries which don´t have a representation in a domain model? This is not specific to any language, it´s just about best practices. I am using JPA/Hibernate (but it could be any other ORM solution) and I would like to know how do you guys deal with this situation:
Let´s suppose that you have a query r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: (N)Hibernate - is it possible to dynamically map multiple tables to the one class I have the situation where i use GIS software which stores the information about GIS objects into separate database table for each type/class of GIS object (road, river, building, sea, ...) and keeps the metadata table in which it stor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cross-platform space remaining on volume using python I need a way to determine the space remaining on a disk volume using python on linux, Windows and OS X. I'm currently parsing the output of the various system calls (df, dir) to accomplish this - is there a better way?
A: import ctypes
import os
import platform
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: Metamodelling tools What tools are available for metamodelling?
Especially for developing diagram editors, at the moment trying out Eclipse GMF
Wondering what other options are out there?
Any comparison available?
A: Your question is simply too broad for a single answer - due to many aspects.
First, meta-modellin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Best Tips for documenting code using doxygen? My team is starting to document our C code using doxygen, paying particular attention to our public API headers. There appears to be a lot of flexibility and different special commands in doxygen, which is great, but it's not clear what's a good thing and what's a bad t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "308"
} |
Q: What is the easiest way to copy a database from one Informix IDS 11 Server to another The source database is quite large. The target database doesn't grow automatically. They are on different machines.
I'm coming from a MS SQL Server, MySQL background and IDS11 seems overly complex (I am sure, with good reason).
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Graph (Chart) Algorithm Does anyone have a decent algorithm for calculating axis minima and maxima?
When creating a chart for a given set of data items, I'd like to be able to give the algorithm:
*
*the maximum (y) value in the set
*the minimum (y) value in the set
*the number of tick marks to appear on the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Name of the process with highest cpu usage I have a Samurize config that shows a CPU usage graph similar to Task manager.
How do I also display the name of the process with the current highest CPU usage percentage?
I would like this to be updated, at most, once per second. Samurize can call a command line tool ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is it possible to deploy a native Delphi application with ClickOnce Is it possible to deploy a native Delphi application with ClickOnce without a stub C# exe that would be used to launch the Delphi application?
The same question applies to VB6, C++ and other native Windows applications.
A: Personally, I build my ow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Lightbox style dialogs in MFC App Has anyone implemented Lightbox style background dimming on a modal dialog box in a MFC/non .net app.
I think the procedure would have to be something like:
steps:
*
*Get dialog parent HWND or CWnd*
*Get the rect of the parent window and draw an overlay with a translucency ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Vista BEX error Recently I got IE7 crashed on Vista on jar loading (presumably) with the following error:
Problem signature:
Problem Event Name: BEX
Application Name: iexplore.exe
Application Version: 7.0.6001.18000
Application Timestamp: 47918f11
Fault Module Name: ntdll.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Property default values using Properties.Settings.Default I am using .Net 2 and the normal way to store my settings. I store my custom object serialized to xml. I am trying to retrieve the default value of the property (but without reseting other properties). I use:
ValuationInput valuationInput = (ValuationInput) S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mail Message Link Handling I have written an AppleScript which when supplied with a Windows network link, will convert it to the correct smb:// equivalent for the server in our office, mount the network drive, and open the requested folder in Finder.
I have this built in an application which just takes a pasted netw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Issue reading XML file into C# DataSet I was given an .xml file that I needed to read into my code as a DataSet (as background, the file was created by creating a DataSet in C# and calling dataSet.WriteXml(file, XmlWriteMode.IgnoreSchema), but this was done by someone else).
The .xml file was shaped like this:
<?x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: HTTP Errors with .Net 3.5 SP1 I have a ASP.Net website that is failing on AJAX postbacks (both with ASP.Net AJAX and a 3rd part control) in IE. FireFox works fine. If I install the website on another machine without .Net 3.5 SP1, it works as expected.
When it fails, Fiddler shows that I'm getting a 405 "Method N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SpecialCells in VSTO I'm trying to use the SpecialCells method in a VSTO project using c# against the 3.5 framework and Excel2007.
Here's my code:
Excel.Worksheet myWs = (Excel.Worksheet)ModelWb.Worksheets[1];
Range myRange = myWs.get_Range("A7", "A800");
//Range rAccounts = myRange.SpecialCells(XlCellType.xlCellT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Print stack trace information from C# As part of some error handling in our product, we'd like to dump some stack trace information. However, we experience that many users will simply take a screenshot of the error message dialog instead of sending us a copy of the full report available from the program, and thus I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: The best way to validate XML in a unit test? I have a class with a ToString method that produces XML. I want to unit test it to ensure it is producing valid xml. I have a DTD to validate the XML against.
Should I include the DTD as a string within the unit test to avoid a dependency on it, or is there a smarter way... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Haxe iteration on Dynamic I have a variable of type Dynamic and I know for sure one of its fields, lets call it a, actually is an array. But when I'm writing
var d : Dynamic = getDynamic();
for (t in d.a) {
}
I get a compilation error on line two:
You can't iterate on a Dynamic value, please specify Iterator or I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I export the code documentation in C# / VisualStudio 2008? I have always made a point of writing nice code comments for classes and methods with the C# xml syntax. I always expected to easily be able to export them later on.
Today I actually have to do so, but am having trouble finding out how. Is there somet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: How to serialize a graph structure? Flat files and relational databases give us a mechanism to serialize structured data. XML is superb for serializing un-structured tree-like data.
But many problems are best represented by graphs. A thermal simulation program will, for instance, work with temperature nodes connecte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: How to generate UML diagrams (especially sequence diagrams) from Java code? How can I generate UML diagrams (especially sequence diagrams) from existing Java code?
A: How about PlantUML?
It's not for reverse engineering!!! It's for engineering before you code.
A: I developed a maven plugin that can both, be run fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "447"
} |
Q: How can you set the SMTP envelope MAIL FROM using System.Net.Mail? When you send an email using C# and the System.Net.Mail namespace, you can set the "From" and "Sender" properties on the MailMessage object, but neither of these allows you to make the MAIL FROM and the from address that goes into the DATA section di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Edit control on stack overflow Is the edit control I'm typing in now, with all its buttons and rules freely available for use?
My web project is also .Net based.
A: It's the WMD Markdown editor which is free and seems to be pretty easy to use. Just include the javascript for it and (in the easiest case), it just ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there a standard approach to generating sql dynamically? I want to ask how other programmers are producing Dynamic SQL strings for execution as the CommandText of a SQLCommand object.
I am producing parameterized queries containing user-generated WHERE clauses and SELECT fields. Sometimes the queries are complex ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Open one of a series of files using a batch file I have up to 4 files based on this structure (note the prefixes are dates)
*
*0830filename.txt
*0907filename.txt
*0914filename.txt
*0921filename.txt
I want to open the the most recent one (0921filename.txt). how can i do this in a batch file?
Thanks.
A: This... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Can MS Visual Studio compile projects using 2 or 4 cores on CPU? Is it any compilator option of flag?
A: You can if you setup an external tool pointing to MsBuild to build the solution with the multiple process flag /m.
Scott Hanselman wrote a nice post on how to accomplish this, so I won't repeat what he has alrea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Using Makefile instead of Solution/Project files under Visual Studio (2005) Does anyone have experience using makefiles for Visual Studio C++ builds (under VS 2005) as opposed to using the project/solution setup. For us, the way that the project/solutions work is not intuitive and leads to configuruation explosion ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: VC++ and MapPoint OCX control dialog issue I am writing a VC++ MFC dialog based app which requires Microsoft MapPoint embedding in it. To do this I'm using MS VC++ .NET 2003 and MapPoint Europe 2006 to do this but am having problems as when I select "Insert ActiveX Control" no MapPoint control appears in the list of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to force my ASP.net 2.0 app to recompile I have a ASP.net 2.0 app and I have made some changes the the source file ( cs files ). I uploaded the changes with the belief that it would auto-recompile. I also have the compiled dll in MY_APP/bin. I checked it and noticed that it did not recompile. Please understand I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What is the best Visual Studio Plugin for Printing Code Some of the features I think it must include are:
*
*Print Entire Solution
*Ability to print line numbers
*Proper choice of coding font and size to improve readability
*Nice Header Information
*Ability to print regions collapsed
Couple feature addition... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Use cases for regular expression find/replace I recently discussed editors with a co-worker. He uses one of the less popular editors and I use another (I won't say which ones since it's not relevant and I want to avoid an editor flame war). I was saying that I didn't like his editor as much because it doesn't let ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Operating System Overheads while profiling? I am doing profiling of a C code in Microsoft VS 2005 on a Intel Core-2Duo platform.
I measure the time(secs:millisecs) counsumed by my function. But i have some doubts about the accuracy of this measurement as the operating system will not continuously run my application... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Activating the main form of a single instance application In a C# Windows Forms application I want to detect if another instance of the application is already running.
If so, activate the main form of the running instance and exit this instance.
What is the best way to achieve this?
A: Scott Hanselman answers on yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Recommendations regarding Continuous Integration systems We are currently evaluating different applications that interface with Visual Studio 2008 (C#) and Subversion to do automated builds of our core libraries. We are hoping to have nightly builds performed and either email the list of changes made to each develo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to check if element in groovy array/hash/collection/list? How do I figure out if an array contains an element?
I thought there might be something like [1, 2, 3].includes(1) which would evaluate as true.
A: If you really want your includes method on an ArrayList, just add it:
ArrayList.metaClass.includes = { i ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "153"
} |
Q: TypeLoadException on System.Xml.Linq.XDocument when running T4 template on build server I'm having a problem running a T4 template using TextTransform.exe on my build server. On my dev machine the template works perfectly. The error message is as follows.
error : Running transformation: System.TypeLoadException: Co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I create a status dialog box in Excel I have created a database report generator in Excel. I am trying to create a dialog box that displays status information as the program runs.
When I generate the report, although the dialog box appears, I cannot refresh/update the information it displays. Most of the time... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Do you know of a good program for editing/translating resource (.rc) files? I'm building a C++/MFC program in a multilingual environment. I have one main (national) language and three international languages. Every time I add a feature to the program I have to keep the international languages up-to-date with the nat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to get file extension from string in C++ Given a string "filename.conf", how to I verify the extension part?
I need a cross platform solution.
A: Actually, the easiest way is
char* ext;
ext = strrchr(filename,'.')
One thing to remember: if '.' doesn't exist in filename, ext will be NULL.
A: I've stumbled on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "94"
} |
Q: How do I allow assembly (unit testing one) to access internal properties of another assembly? I would like my Core assembly to not expose a certain class and I would still like to be able to test it. How can I do that ?
A: I put my unit tests in the same assembly as the code that it's testing. This makes sense to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "82"
} |
Q: How do I remove items from the query string for redirection? In my base page I need to remove an item from the query string and redirect. I can't use
Request.QueryString.Remove("foo")
because the collection is read-only. Is there any way to get the query string (except for that one item) without iterating through t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to detect READ_COMMITTED_SNAPSHOT is enabled? In Microsoft SQL Server, is there a way to detect whether a database has had its isolation level set via the T-SQL command ALTER DATABASE <database> SET READ_COMMITTED_SNAPSHOT ON;?
I cannot find a simple way to detect this in either T-SQL or via the Management Studi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "142"
} |
Q: What work has been done on cross-platform mobile development? Have any well-documented or open source projects targeted iPhone, Blackberry, and Android ? Are there other platforms which are better-suited to such an endeavor ?
Note that I am particularly asking about client-side software, not web apps, though any in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "89"
} |
Q: How to check if the given string is palindrome? Definition:
A palindrome is a word, phrase, number or other sequence of units that has the property of reading the same in either direction
How to check if the given string is a palindrome?
This was one of the FAIQ [Frequently Asked Interview Question] a while ago but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: Options for PivotTables in Excel I need to design a small project for generating excel reports in .NET, which will be sent to users to use.
The excel reports will contain PivotTables.
I don't have much experience with them, but I can think of three implementation alternatives:
*
*Set a query for it, populate it, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting a list of assemblies needed by application Is there a way of getting all required assemblies (excluding the .net framework) for a .net project into a folder ready to be packaged into an nsis as setup file?
I've tried writing a small console app that uses reflection to get a list of dlls but have got stuck wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Accessing a web service in a Flash CS3 AS3 project Since CS3 doesn't have a web service component, as previous versions had, is there a good, feature-complete, AS3-only (no Flex dependencies) library for accessing web services with AS3?
A: You may want to check out
http://alducente.wordpress.com/2007/10/27/web-ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the best source for information on COM error codes? I'm at a loss for where to get the best information about the meaning, likely causes, and possible solutions to resolve COM errors when all you have is the HRESULT.
Searching Google for terms like '80004027' is just about useless as it sends you to random d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Dynamic regex for date-time formats Is there an existing solution to create a regular expressions dynamically out of a given date-time format pattern? The supported date-time format pattern does not matter (Joda DateTimeFormat, java.text.SimpleDateTimeFormat or others).
As a specific example, for a given date-time f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: .NET path manipulation library Does anyone know of any good library that abstracts the problem of path manipulation in a nice way? I'd like to be able to combine and parse paths with arbitrary separators ('/' or ':' for example) without reinventing the wheel.
It's a shame that System.IO.Path isn't more reusable.
Tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Inversion of Control Container for PHP? I am trying to code TDD style in PHP and one of my biggest stumbling blocks (other than lack of a decent IDE) is that I have to make my own hacked together IoC container just to inject all my mock objects properly.
Has anyone used an Ioc container in PHP? All I've been able t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: How do I build a loop in JavaScript? How can I build a loop in JavaScript?
A: For loops
for (i = startValue; i <= endValue; i++) {
// Before the loop: i is set to startValue
// After each iteration of the loop: i++ is executed
// The loop continues as long as i <= endValue is true
}
For...in loops
for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Querying XML columns in SQLServer 2005 There is a field in my company's "Contacts" table. In that table, there is an XML type column. The column holds misc data about a particular contact. EG.
<contact>
<refno>123456</refno>
<special>a piece of custom data</special>
</contact>
The tags below contact can be differe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why the claim that C# people don't get object-oriented programming? (vs class-oriented) This caught my attention last night.
On the latest ALT.NET Podcast Scott Bellware discusses how as opposed to Ruby, languages like C#, Java et al. are not truly object oriented rather opting for the phrase "class-oriented". They... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How do you navigate out of a ComboBox on a Windows Mobile Device without a TAB key? I'm developing an application for Windows Mobile Devices using Visual Studio .NET 2008 whose UI requires the use of a ComboBox control. Unfortunately, for devices with neither a hardware fullsize keyboard nor a touchscreen interface,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I use SQL Server Management Studio 2005 for 2008 DB? I am looking to manage a SQL Server 2008 DB using Management Studio 2005. The reason for this is because our server is a 64-bit machine and we only have the 64-bit version of the software.
Is this possible?
How about managing a SQL Server 2005 DB using Ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: What is the shortcut to open a file within your solution in Visual Studio 2008? What is the shortcut to open a file within your solution in Visual Studio 2008 (+ Resharper)?
A: Depending on your keymap, Ctrl + Shift + N will open any file in the solution, or Ctrl + N will open any type.
A: If the standard toolbar ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Extracting SVN data with Java Does anyone know a good Java lib that will hook into SVN so I can extract the data? I want the SVN comments, author, path, etc... Hopefully with this data I can build a better time management tracking system.
A: You want SVNKit. It's dual-licensed, so you have to pay only if you're ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Determining if an assembly is part of the .NET framework How can I tell from the assembly name, or assembly class (or others like it), whether an assembly is part of the .NET framework (that is, System.windows.Forms)?
So far I've considered the PublicKeyToken, and CodeBase properties, but these are not always the sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: What are the (technical) pros and cons of Flash vs AJAX/JS? We provide a web application with a frontend completely developed in Adobe Flash. When we chose Flash 6 years ago, we did so for its large number of features for user interaction, like dragging stuff, opening and closing menus, tree navigation elements, pop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: VB6 Runtime Type Retrieval How can you obtain the Type (the name as a string is sufficient) of an Object in VB6 at runtime?
i.e. something like:
If Typeof(foobar) = "CommandButton" Then ...
/EDIT: to clarify, I need to check on Dynamically Typed objects. An example:
Dim y As Object
Set y = CreateObject("SomeType"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: BNF grammar test case generation Does anyone have any experience with a tool that generates test strings from a BNF grammar that could then be fed into a unit test?
A: I don't have an answer to the tool question, but I will say it is fairly easy in any text processing language (perl/python/etc) to randomly generate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: SQL Server2005 memory locking I've noticed that SQL Server 2005 x64 does not seem to lock pages into memory the same way SQL Server 2000 did. In 2000 I could easily see from task manager that SQL had locked 8GB of ram with AWE. I'm fairly certain I've got 2005 setup in an equivalent way.
Is this a normal x64 diffe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Unmovable Files on Windows XP When I defragment my XP machine I notice that there is a block of "Unmovable Files". Is there a file attribute I can use to make my own files unmovable?
Just to clarify, I want a way to programmatically tell Windows that a file that I create should be unmovable. Is this possible, and if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What are the core mathematical concepts a good developer should know? Since Graduating from a very small school in 2006 with a badly shaped & outdated program (I'm a foreigner & didn't know any better school at the time) I've come to realize that I missed a lot of basic concepts from a mathematical & software perspe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "62"
} |
Q: Virtual Serial Port for Linux I need to test a serial port application on Linux, however, my test machine only has one serial port.
Is there a way to add a virtual serial port to Linux and test my application by emulating a device through a shell or script?
Note: I cannot remap the port, it hard coded on ttys2 and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "178"
} |
Q: Browser refresh behaviour When a user hits Refresh on their browser, it reloads the page but keeps the contents of form fields. While I can see this being a useful default, it can be annoying on some dynamic pages, leading to a broken user experience.
Is there a way, in HTTP headers or equivalents, to change this be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Creating a Patch with TFS Creating a patch is very easy in SubVersion, With Tortoise, you right-click and select Create Patch. But for the life of me, I can't find this functionality in TFS. Is this possible?
If not, what's the standard way to submit patches in open source TFS hosted projects (a la CodePlex)?
A: tf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "62"
} |
Q: How can I highlight a table row using Prototype? How can I use the Prototype library and create unobtrusive javascript to inject the onmouseover and onmouseout events to each row, rather than putting the javascript in each table row tag?
An answer utilizing the Prototype library (instead of mootools, jQuery, etc) wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to recover or change Oracle sysdba password We are working with an oracle database in which the person that set it up is "long gone" and thus do not know the sysdba password, but need it. We have root access to the box (its on linux). Is there any way to recover or change the sys passwords?
A: Have you tried lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How to check if a given user is a member of the built-in Administrators group? I need to check programmatically (in .NET) whether a given user (domain account) is a member of the built-in Administrators group on a current computer (the one where the application gets executed).
Is it possible?
A: I don't know about ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iTunes warning message on quit due to scripting Wrote the following in PowersHell as a quick iTunes demonstration:
$iTunes = New-Object -ComObject iTunes.Application
$LibrarySource = $iTunes.LibrarySource
foreach ($PList in $LibrarySource.Playlists)
{
write-host $PList.name
}
This works well and pulls back a list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Templates of Technical and Functional Specs So basically I am looking for good templates for writing both technical and functional specs on a project or work request.
What do you use? How deep do you get while writing the specs? Any additional general tips you could provide would be appreciated.
My company needs the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "62"
} |
Q: Determine size of page via HttpModule Here's an easy one for you:
I'm currently logging request duration via an HttpModule and I'd like to find out the number of bytes each page is as well.
HttpContext.Current.Response.OutputStream.Length throws a NotSupportedException.
What's an easy way to do this?
A: I have an H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is the real overhead of try/catch in C#? So, I know that try/catch does add some overhead and therefore isn't a good way of controlling process flow, but where does this overhead come from and what is its actual impact?
A: Contrary to theories commonly accepted, try/catch can have significant performance impli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "102"
} |
Q: C# switch: case not falling through to other cases limitation This question is kind of an add-on to this question
In C#, a switch case cannot fall through to other cases, this causes a compilation error. In this case I am just adding some number to the month total for the selected month and each subsequent month th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: T-SQL trim   (and other non-alphanumeric characters) We have some input data that sometimes appears with   characters on the end.
The data comes in from the source system as varchar() and our attempts to cast as decimal fail b/c of these characters.
Ltrim and Rtrim don't remove the characters, so we're force... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Tablet PC SDK (1.7) Merge Module + VS2008 + Windows Vista? I have a VS2005 deployment & setup project, that makes use of the Tablet PC SDK 1.7 Merge Module, so users of Windows XP can make use of the managed Microsoft.Ink.DLL library. Now that we've moved over to Vista/VS2008, do I still need to install the TPC SDK ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Updating Legacy Code from System.Web.Mail to System.Net.Mail in Visual Studio 2005: Problems sending E-Mail Using the obsolete System.Web.Mail sending email works fine, here's the code snippet:
Public Shared Sub send(ByVal recipent As String, ByVal from As String, ByVal subject As String, ByVal body As String)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to validate an XML file against a schema using Visual Studio 2005 Is it possible to validate an xml file against its associated schema using Visual Studio 2005 IDE?
I could only see options to create a schema based on the current file, or show the XSLT output
A: It's done automatically, errors appear as warni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is causing a JVMTI_ERROR_NULL_POINTER? I'm getting an error when my application starts. It appears to be after it's initialized its connection to the database. It also may be when it starts to spawn threads, but I haven't been able to cause it to happen on purpose.
The entire error message is:
FATAL ERROR in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to detect (using .ASPX) if Javascript is enabled on browser I'm thinking this might be a quick and easy way to lower the form spam on our site just a little bit. The idea being that (I have read) spammers aren't running with javascript enabled. (Or at least they are accessing your website without running javascr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to determine the size of an object in Java I have an application that reads a CSV file with piles of data rows. I give the user a summary of the number of rows based on types of data, but I want to make sure that I don't read in too many rows of data and cause OutOfMemoryErrors. Each row translates into an objec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "670"
} |
Q: SQL 2005 copy single column between databases I'm still fairly new to T-SQL and SQL 2005. I need to import a column of integers from a table in database1 to a identical table (only missing the column I need) in database2. Both are sql 2005 databases. I've tried the built in import command in Server Management Studio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the point of clog? I've been wondering, what is the point of clog? As near as I can tell, clog is the same as cerr but with buffering so it is more efficient. Usually stderr is the same as stdout, so clog is the same as cout. This seems pretty lame to me, so I figure I must be misunderstanding it. If I have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "68"
} |
Q: Simple & basic form spam reduction: checking for Javascript? I'm trying to reduce the form spam on our website. (It's actually pretty recent).
I seem to remember reading somewhere that the spammers aren't executing the Javascript on the site.
Is that true?
And if so, then could you simply check for javascript being ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can you determine what version(s) of .NET are running on a system? What are the different ways (programmatically and otherwise) to determine what versions of .NET are running on a system?
A: Directly from the source:
How to determine which versions and service pack levels of the Microsoft .NET Framework are ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Ignore SVN ignore... possible? So I have some files I want to ignore in a subversion repository, but I don't want my ignore patterns for this to be propagated to the repository.
In other words, I added some private files in my checkout that I want to keep, but they only exist for me and wouldn't make sense to be ign... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Patterns for the overlap of two objects I'm sure this has already been asked and answered so I apologize in advance for that but I'm not figuring out the correct keywords to search for. Searching for "Pattern" hits way too many Q & A's to be useful.
I'm working on a regression testing app. I'm displaying a form on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL Server best way to calculate datediff between current row and next row? I've got the following rough structure:
Object -> Object Revisions -> Data
The Data can be shared between several Objects.
What I'm trying to do is clean out old Object Revisions. I want to keep the first, active, and a spread of revisions ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I draw text using OpenGL, SDL and C++? I heard about SDL_TFF which I read about here but I don't understand how am I supposed to connect the TrueType2 library.
Maybe there is something better out there?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/52431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Literal hashes in c#? I've been doing c# for a long time, and have never come across an easy way to just new up a hash.
I've recently become acquainted with the ruby syntax of hashes and wonder, does anyone know of a simple way to declare a hash as a literal, without doing all the add calls.
{ "whatever" => {i => 1}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Are there C library resources similar to C++'s Boost library? I don't ever recall coming across anything for C that's as extensive as C++'s Boost library.
A: I've never seen anything. Really, C++ templates are the enabling technology for STL and much of boost, and C doesn't have them. I've seen many C-interface lib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Switching form Visual SourceSafe to CVS: what features are lost in Visual Studio? My company is using Visual SourceSafe (VSS) and Visual Studio 2005 (soon 2008). They want to switch to CVS, but the developers don't want to lose the integration we get with VSS and Visual Studio.
I know there are CVS plugins, but wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: IQuery NHibernate - does it HAVE to be a list? Can I return it as an object if I am doing a
Select OneItem from Table Where OtherItem = "blah"?
Is there a better way to do this?
I am building a constructor to return an object based on its name rather than its ID.
A: query.UniqueResult<T>() returns just one T
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I find and decouple entities from a certificate when upgrading MS-SQLServer editions? While in the final throws of upgrading MS-SQL Server 2005 Express Edition to MS-SQL Server 2005 Enterprise Edition, I came across this error:
The certificate cannot be dropped because one or more entities are either signed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Visual Web Developer Express and .NET, et al I'm coming from the open source world, and interested in giving ASP.NET a spin. But I'm having a little trouble separating the tools from the platform itself in regards to the licensing. I've downloaded Visual Web Developer 2008 Express, but not sure how different this is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.