text stringlengths 8 267k | meta dict |
|---|---|
Q: SSRS - Uninstall Trial Version of VS Business Intelligence I want to know how to fully uninstall MSSQL 2005.
I've been using the Trial version of SQL Server Reporting Services for a while now. My company finally purchased the software from an online distributor, and for support of Oracle, we needed to upgrade to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using Visual Studio to develop for C++ for Unix Does anyone have battle stories to share trying to use Visual Studio to develop applications for Unix? And I'm not talking using .NET with a Mono or Wine virtual platform running beneath.
Our company has about 20 developers all running Windows XP/Vista and developing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Can you really build a fast word processor with GoF Design Patterns? The Gang of Four's Design Patterns uses a word processor as an example for at least a few of their patterns, particularly Composite and Flyweight.
Other than by using C or C++, could you really use those patterns and the object-oriented overhead th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: SSRS - Process dies/goes to sleep after not being used Another SSRS question here:
We have a development, a QA, a Prod-Backup and a Production SSRS set of servers.
On our production and prod-backup, SSRS will go to sleep if not used for a period of time.
This does not occur on our development or QA server.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Subversion revision number across multiple projects When using Subversion (svn) for source control with multiple projects I've noticed that the revision number increases across all of my projects' directories. To illustrate my svn layout (using fictitious project names):
/NinjaProg/branches
/tag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Can I configure VisualStudio 2008 to always build the startup project? I have a solution with several projects, where the startup project has a post-build event that does all the copying of "plugin" projects and other organizing tasks. After upgrading the solution from VS 2005 to VS 2008, it appears as though the po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Developer Setup for Starting Out with Cocoa/Mac Programming I'd like to start experimenting with Cocoa and programming for Mac OSX. I'm not terribly concerned with Objective C syntax/constructs/bheaviors at this point, but more curious as to an efficient setup on in terms of an editor and/or IDE that will get me go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: How can I convert all line endings to CRLF, LF, or CR during SVN operations So, you are all ready to do a big SVN Commit and it bombs because you have inconsistent line endings in some of your files. Fun part is, you're looking at 1,000s of files spanning dozens of folders of different depths.
What do you do?
A: F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: How do you begin designing a large system? It's been mentioned to me that I'll be the sole developer behind a large new system. Among other things I'll be designing a UI and database schema.
I'm sure I'll receive some guidance, but I'd like to be able to knock their socks off. What can I do in the meantime to prep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Is the .NET Client Profile worth targeting? I've recently been looking into targeting the .NET Client Profile for a WPF application I am building. However, I was frustrated to notice that the Client Profile is only valid for the following OS configurations:
*
*Windows XP SP2+
*Windows Server 2003 Edit: Appears ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Good Stripes tutorials / examples? The company I just started working for is using Stripes for parts of its web page development these days, and while it seems to be a nice enough web framework it no one really uses it-- it is almost non existent on the 'net. It's not even first in it's google search and the result ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Runtime Configuration in .Net (specifically the EntLib) I'm looking for a way to configure a DB connection at runtime; specifically using the Enterprise Library. I see that there's a *.Data.Configuration (or something close to this ... don't recall off the top of my head) assembly but am finding not much on the int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I determine whether a specific file is open in Windows? One of my favourite tools for linux is lsof - a real swiss army knife!
Today I found myself wondering which programs on a WinXP system had a specific file open. Is there any equivalent utility to lsof? Additionally, the file in question was over a netwo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "98"
} |
Q: Is this valid YAML? So for my text parsing in C# question, I got directed at YAML. I'm hitting a wall with this library I was recommended, so this is a quickie.
heading:
name: A name
taco: Yes
age: 32
heading:
name: Another name
taco: No
age: 27
And so on. Is that valid?
A: Well, it appears YAML is gone out... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Design problems with .Net UserControl I have created a UserControl that has a ListView in it. The ListView is publicly accessible though a property. When I put the UserControl in a form and try to design the ListView though the property, the ListView stays that way until I compile again and it reverts back to the de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Programming Glossary As I browse through the site, I find a lot of terms that many developers just starting out (and even some advanced developers) may be unfamiliar with.
It would be great if people could post here with a term and definition that might be unknown to beginners or those from different programming bac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Looking for a specific FireFox extension / program for Form posting I am looking for either a FireFox extension, or a similar program, that allows you to craft GET and POST requests. The user would put in a form action, and as many form key/value pairs as desired. It would also send any cookie information (or send t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to validate an XML file against an XSD file? I'm generating some xml files that needs to conform to an xsd file that was given to me. How should I verify they conform?
A: Using Java 7 you can follow the documentation provided in package description.
// create a SchemaFactory capable of understanding WXS schem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "286"
} |
Q: Google Analytics Access with C# I know that there is no official API for Google Analytics but is there a way to access Google Analytics Reports with C#?
A: I wrote a small project that lets you generate pretty much any Analytics report. It's listed on Google's Analytics API page - http://code.google.com/apis/analyt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How do you use #define? I'm wondering about instances when it makes sent to use #define and #if statements. I've known about it for a while, but never incorporated it into my way of coding. How exactly does this affect the compilation?
Is #define the only thing that determines if the code is included when compiled?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How do I automate repetitive tasks post-build? I run an ASP.NET website solution with a few other projects in it. I've known that MSBuild projects are capable of this, but is it the best way? Are they easy to create? Is nAnt, CruiseControl.NET or any other solution better?
When I build the site (using Web Deployment... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Minimize javascript HTTP calls from AjaxControlToolkit controls? I love the ease that the ASP.NET Ajax control Toolkit provides to ASP.NET developers. However, I've not found it to be a scalable solution at all. I have a page with 2 date input fields. By putting a TextBox and an CalendarExtendar control attached to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I validate xml against a DTD file in Python I need to validate an XML string (and not a file)
against a DTD description file.
How can that be done in python?
A: from the examples directory in the libxml2 python bindings:
#!/usr/bin/python -u
import libxml2
import sys
# Memory debug specific
libxml2.debugMe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Why are my auto-run applications acting weird on Vista? The product we are working on allows the user to easily set it up to run automatically whenever the computer is started. This is helpful because the product is part of the basic work environment of most of our users.
This feature was implemented not so long ago... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: SSRS - Post Publishing Tasks As part of the publishing "best practices" I came up with my own, I tend to archive report groups and republish the "updated" reports. However, with this stratedgy, I lose users associated with each report or have to rehide reports.
Is there an automated process I can use to hide report... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing the resolution of a VNC session in linux I use VNC to connect to a Linux workstation at work. At work I have a 20" monitor that runs at 1600x1200, while at home I use my laptop with its resolution of 1440x900.
If I set the vncserver to run at 1440x900 I miss out on a lot of space on my monitor, whereas if ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "172"
} |
Q: Reading Excel files from C# Is there a free or open source library to read Excel files (.xls) directly from a C# program?
It does not need to be too fancy, just to select a worksheet and read the data as strings. So far, I've been using Export to Unicode text function of Excel, and parsing the resulting (tab-delimi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "232"
} |
Q: Optimizing a search algorithm in C Can the performance of this sequential search algorithm (taken from
The Practice of Programming) be improved using any of C's native utilities, e.g. if I set the i variable to be a register variable ?
int lookup(char *word, char*array[])
{
int i
for (i = 0; array[i] != NU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Refactoring away labeled loops After I was convinced that labeled breaks/continues are a total "nono" over here, I need help to remove the label out of my code.
I have a square matrix and a vector that has the same length. The vector has already some values in it an depending on the values in the matrix the vector i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: CSS Drop-Down Menus - "Best"? Most feature-rich? I'm in the unfortunate position of having to implement a drop-down cascading menu on a site I'm building. I'm looking for a Suckerfish-style solution that is primarily CSS-based and works on a simple set of nested ULs and LIs.
Son of Suckerfish seems like the way to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Getting developers to use a wiki I work on a complex application where different teams work on their own modules with a degree of overlap. A while back we got a Mediawiki instance set up, partly at my prompting. I have a hard job getting people to actually use it, let alone contribute.
I can see a lot of benefit in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Read from .msg files I need to read from Outlook .MSG file in .NET without using COM API for Outlook (cos it will not be installed on the machines that my app will run). Are there any free 3rd party libraries to do that? I want to extract From, To, CC and BCC fields. Sent/Receive date fields would be good if they ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How to insert/replace XML tag in XmlDocument? I have a XmlDocument in java, created with the Weblogic XmlDocument parser.
I want to replace the content of a tag in this XMLDocument with my own data, or insert the tag if it isn't there.
<customdata>
<tag1 />
<tag2>mfkdslmlfkm</tag2>
<location />
<tag3 />
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Entity diagrams in ASP.NET MVC What's the best way/tool to display nice diagrams with entity relationships in ASP MVC views?
i.e. servers and and applications, or servers with other servers.
Are there any third party tools out there that can do this?
I've been searching around things like Telerik, but it's reall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Data Auditing in NHibernate and SqlServer I'm using NHibernate on a project and I need to do data auditing. I found this article on codeproject which discusses the IInterceptor interface.
What is your preferred way of auditing data? Do you use database triggers? Do you use something similar to what's dicussed in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Java+Tomcat, Dying database connection? I have a tomcat instance setup but the database connection I have configured in context.xml keeps dying after periods of inactivity.
When I check the logs I get the following error:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
The last packet successfully received... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How would a sdbm hash function be implemented in C#? How can a sdbm hash function (such as this) be implemented in C# ?
A: You can take the C code almost without changes:
uint sdbm( string str )
{
uint hash = 0;
foreach( char ch in str )
{
hash = ch + (hash << 6) + (hash << 16) - hash;
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: WildcardQuery error in Solr I use solr to search for documents and when trying to search for documents using this query "id:*", I get this query parser exception telling that it cannot parse the query with * or ? as the first character.
HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Cannot parse 'i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Useful code which uses reduce()? Does anyone here have any useful code which uses reduce() function in python? Is there any code other than the usual + and * that we see in the examples?
Refer Fate of reduce() in Python 3000 by GvR
A: You could replace value = json_obj['a']['b']['c']['d']['e'] with:
value = reduce(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "124"
} |
Q: LocationProvider We need to replace the menu system in our main ASP.NET application. So naturally we're looking at the ASP.NET SiteMapProvider and Menu controls. However we also need enough security to prevent users from directly entering URLs that they shouldn't have access to. We can do this by putting <location> ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I convert a file path to a URL in ASP.NET Basically I have some code to check a specific directory to see if an image is there and if so I want to assign a URL to the image to an ImageControl.
if (System.IO.Directory.Exists(photosLocation))
{
string[] files = System.IO.Directory.GetFiles(photosLocation, "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: What IDE to use for developing in Ruby on Rails on Windows?
Possible Duplicate:
What Ruby IDE do you prefer?
I've generally been doing stuff on Microsoft .NET out of college almost 2 years ago. I just started looking at Ruby on Rails. So what editor should I use? I'm using Notepad++ right now but can I get debugg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Prototyping with Python code before compiling I have been mulling over writing a peak-fitting library for a while. I know Python fairly well and plan on implementing everything in Python to begin with but envisage that I may have to re-implement some core routines in a compiled language eventually.
IIRC, one of Pyth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Visual Studio open files question Is it possible to open a project in Visual Studio 2008 without opening all the files that were previously opened last time I had the project open. I have a habit of keeping many files open as I am working on them, so next time I open the project, it (very slowly) loads up a bunch o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How to apply multiple styles in WPF In WPF, how would I apply multiple styles to a FrameworkElement? For instance, I have a control which already has a style. I also have a separate style which I would like to add to it without blowing away the first one. The styles have different TargetTypes, so I can't just ext... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "168"
} |
Q: What is the best way to replicate a version control repository? Here is the scenario that I have. I have a cvs repository in one location (A) and I want to replicate it and keep it in sync with a repository in another location(B). This would be a single directional sync from A to B. What is the best way to do this? ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Convert a string to an enum in C# What's the best way to convert a string to an enumeration value in C#?
I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value (which will be in the form of a string) and convert it to the corresponding enumeration valu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1225"
} |
Q: C# Auto Clearing Winform Textbox I have a user that want to be able to select a textbox and have the current text selected so that he doesn't have to highlight it all in order to change the contents.
The contents need to be handle when enter is pushed. That part I think I have figured out but any suggestions woul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Software for Webserver Log Analysis? Can I get some recommendations (preferably with some reasons) for good log analysis software for Apache 2.2 access log files?
I have heard of Webalizer and AWStats, but have never really used any of them, and would like to know:
*
*What they can do
*Why they are useful
*Inte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: C# Include Derived Control in Toolbox This is in reference to my other question Auto Clearing Textbox.
If I choose to derive a new TextBox control from TextBox instead of implement a user control just containing my Textbox, how would I include that in the toolbox.
A:
Right-click the toolbox, click "Choose
Items"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What's the best way to get started with OSGI? What makes a module/service/bit of application functionality a particularly good candidate for an OSGi module?
I'm interested in using OSGi in my applications. We're a Java shop and we use Spring pretty extensively, so I'm leaning toward using Spring Dynamic Modules for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: What do "branch", "tag" and "trunk" mean in Subversion repositories? I've seen these words a lot around Subversion (and I guess general repository) discussions.
I have been using SVN for my projects for the last few years, but I've never grasped the complete concept of these directories.
What do they mean?
A: In ad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1210"
} |
Q: What's the best way to report errors from a SharePoint workflow? I have a custom action in a workflow and would like to report an error to the user when something goes wrong. What's the best way of doing that?
UPD: Ideally I would like to put the workflow in the error state and log a message to the workflow log. T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Making one interface overwrite a method it inherits from another interface in PHP Is there a way in PHP to overwrite a method declared by one interface in an interface extending that interface?
The Example:
I'm probably doing something wrong, but here is what I have:
interface iVendor{
public function __construc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: cvs checkin: Identifying the names of the files checked in The cvsnt manual provides a detailed list of parameters than can be passed to the postcommand module, but none of them specify the file name.
Is anybody aware of an option not listed here that would provide the name of the file being checked in?
ColinYounger... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RSS/Atom for professional use I wondered if anyone can give an example of a professional use of RSS/Atom feeds in a company product. Does anyone use feeds for other things than updating news?
For example, did you create a product that gives results as RSS/Atom feeds? Like price listings or current inventory, or mayb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Good refactoring support for C++ The Visual Studio refactoring support for C# is quite good nowadays (though not half as good as some Java IDE's I've seen already) but I'm really missing C++ support.
I have seen Refactor! and am currently trying it out, but maybe one of you guys know a better tool or plugin?
I've ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Best Way To Determine If .NET 3.5 Is Installed I need to programatically determine whether .NET 3.5 is installed. I thought it would be easy:
<% Response.Write(Environment.Version.ToString()); %>
Which returns "2.0.50727.1434" so no such luck...
In my research I have that there are some rather obscure registry keys... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Web App - Dashboard Type GUI - Interface I'm looking to create a dashboard type gui for a web application. I'm looking for the user to be able to drag and drop different elements (probably either image buttons, anchor tags, or maybe just divs) to different (defined) places and be able to save their setup (in a cook... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Displaying Version Information in a Web Service Can anyone suggest a way of getting version information into a Web Service? (VB.NET)
I would like to dynamically use the assembly version in the title or description, but the attributes require constants.
Is manually writing the version info as a string the only way o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Fonts on the Web The collection of fonts available to a web developer is depressingly limited. I remember reading long ago about TrueDoc, as a way of shipping fonts alongside a website - but it seems to have languished. Has anybody used this, or something similar? Is it supported by enough browsers? Am I missing a g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: Getting the subversion repository number into code I'd like to implement a way of recording the version of a project within code, so that it can be used when testing and to help track bugs.
It seems the best version number to use would just be the current revision number from Subversion. Is there an easy way to hoo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: LINQ to SQL Mapping From Money to Double I'm working with LINQ for the first time and wanted to get the Mapping to work when I have a money type in SQL, but my domain object property is of type double. How can I express this in the XML file, or in code so that the mapping does not throw the usual "invalid cast" exc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to redirect siteA to siteB with A or CNAME records I have 2 hosts and I would like to point a subdomain on host one to a subdomain on host two:
subdomain.hostone.com --> subdomain.hosttwo.com
I added a CNAME record to host one that points to subdomain.hosttwo.com but all I get is a '400 Bad Request' Error.
Can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: How to get only directory name from SaveFileDialog.FileName What would be the easiest way to separate the directory name from the file name when dealing with SaveFileDialog.FileName in C#?
A: You could construct a FileInfo object. It has a Name, FullName, and DirectoryName property.
var file = new FileInfo(saveFil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Creating test data in a database I'm aware of some of the test data generators out there, but most seem to just fill name and address style databases [feel free to correct me].
We have a large integrated and normalised application - e.g. invoices have part numbers linked to stocking tables, customer numbers linked t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Should DB layer members be static or instance? I've seen projects where the classes in the DB layer have just static functions in them and other projects where those classes need to be instantiated to get access to the member functions.
Which is "better" and why?
A: I like a single object to be correlated to a s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Learning about LINQ Overview
One of the things I've asked a lot about on this site is LINQ. The questions I've asked have been wide and varied and often don't have much context behind them. So in an attempt to consolidate the knowledge I've acquired on Linq I'm posting this question with a view to maintaining and up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "190"
} |
Q: How can in install VS 2008 without using ~6.5GB of space on my C drive? I am trying to run the VS 2008 SP1 installer, but it says that I need 6,366MB of available space, and my C drive currently only has 2,452MB available. Is there any good way to install that doesn't require so much free space?
I have also tried do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I handle page flow in MVC (particularly asp.net) If you had to provide a wizard like form entry experience in mvc how would you abstract the page flow?
A: Investigate the post-redirect-get pattern.
http://weblogs.asp.net/mhawley/archive/tags/MVC/default.aspx
http://devlicio.us/blogs/tim_barcz/archive/2008/08... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I generate a hashcode from a byte array in C#? Say I have an object that stores a byte array and I want to be able to efficiently generate a hashcode for it. I've used the cryptographic hash functions for this in the past because they are easy to implement, but they are doing a lot more work than they should ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: How do you configure VS2008 to only open one webserver in a solution with multiple projects? Starting with 2005, VS started this behavior of when starting debugging session it spawns up a webserver for every project in a solution. I have a solution with 15 projects so it takes a while and is a waste of resources. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Easy way for Crystal Reports to MS SQL Server Reporting Services conversion Is there a way to easily convert Crystal Reports reports to Reporting Services RDL format?
We have quite a few reports that will be needing conversion soon.
I know about the manual process (which is basically rebuilding all your reports fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Easy installation method for windows/ Batch Reference needed? I have a bunch of files that I need to be able to transport and install quickly. My current method for doing so is moving a flash drive with a readme file of where stuff goes whenever I need to move stuff, which is rather inelegant and cumbersome.
My idea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you handle white space in your HTML One of my biggest typographical frustrations about HTML is the way that it mangles conjoined whitespace. For example if I have:
<span>Following punctuation rules. With two spaces after the period. </span>
One of the two spaces following the period will be considered to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Best way to implement a dirty flag in EF You can easily use the PropertyChanges events to set the flag. But how do you easily reset it after a save to the ObjectContext?
A: what about the ObjectContext.SavingChanges event? See also http://www.thedatafarm.com/blog/2008/07/13/OverridingObjectContextSaveChanges.aspx.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Parse usable Street Address, City, State, Zip from a string Problem: I have an address field from an Access database which has been converted to SQL Server 2005. This field has everything all in one field. I need to parse out the address's individual sections into their appropriate fields in a normalized table. I ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "133"
} |
Q: String output: format or concat in C#? Let's say that you want to output or concat strings. Which of the following styles do you prefer?
*
*var p = new { FirstName = "Bill", LastName = "Gates" };
*Console.WriteLine("{0} {1}", p.FirstName, p.LastName);
*Console.WriteLine(p.FirstName + " " + p.LastName);
Do you r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "184"
} |
Q: How to test numerical analysis routines? Are there any good online resources for how to create, maintain and think about writing test routines for numerical analysis code?
One of the limitations I can see for something like testing matrix multiplication is that the obvious tests (like having one matrix being the ide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Create DB table from dataset table Is it possible (in Vb.Net 2005), without manually parsing the dataset table properties, to create the table and add it to the database?
We have old versions of our program on some machines, which obviously has our old database, and we are looking for a way to detect if there is a m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Select Query on 2 tables, on different database servers I am trying to generate a report by querying 2 databases (Sybase) in classic ASP.
I have created 2 connection strings:
connA for databaseA
connB for databaseB
Both databases are present on the same server (don't know if this matters)
Queries:
q1 = SELECT colu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Calling .NET Web Service (WSE 2/3, WS-Security) from Java I need to call a web service written in .NET from Java. The web service implements the WS-Security stack (either WSE 2 or WSE 3, it's not clear from the information I have).
The information that I received from the service provider included WSDL, a policyC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Dynamic Alphabetical Navigation I'm using ColdFusion to return a result set from a SQL database and turn it into a list.
I need some way to generate an alphabetical navigation bar for that list. I have ColdFusion and the jQuery library available.
I'm looking to generate something like this:
A | B | C | ...
- ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Removing N items from a list conditionally I was writing some ASP.NET control when I came to the scenario where I needed to remove items from a list, only when they matched a certain condition.
The RemoveAll method of the generic List class does a good job, but removes all items that match the condition, specified b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can using lambdas as event handlers cause a memory leak? Say we have the following method:
private MyObject foo = new MyObject();
// and later in the class
public void PotentialMemoryLeaker(){
int firedCount = 0;
foo.AnEvent += (o,e) => { firedCount++;Console.Write(firedCount);};
foo.MethodThatFiresAnEvent()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Convince Firefox to send an If-Modified-Since header over HTTPS How can I convince Firefox (3.0.1, if it matters) to send an If-Modified-Since header in an HTTPS request? It sends the header if the request uses plain HTTP and my server dutifully honors it. But when I request the same resource from the same server ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How can I deploy artifacts from a Maven build to the SourceForge File Release System? I am using SourceForge for some Open Source projects and I want to automate the deployment of releases to the SourceForge File Release System. I use Maven for my builds and the standard SFTP deployment mechanism doesn't seem to wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Restore database backup over the network How do you restore a database backup using SQL Server 2005 over the network? I recall doing this before but there was something odd about the way you had to do it.
A: You have few options to use a network file as a backup source
*
*Map network drive/path, hosting file, un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: What is a lambda (function)? For a person without a comp-sci background, what is a lambda in the world of Computer Science?
A: I like the explanation of Lambdas in this article: The Evolution Of LINQ And Its Impact On The Design Of C#. It made a lot of sense to me as it shows a real world for Lambdas and builds it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "840"
} |
Q: Image size for BannerBitmap property in Windows Installer I'm working on a quick setup program in Visual Studio and wanted to change the banner bitmap. Anyone know off-hand what the ideal (or the required) dimensions are for the new banner image? Thanks.
A: Found it on MSDN docs for BannerBitmap Property:
For best... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: Communication between Javascript and the server I've been developing a "Form Builder" in Javascript, and coming up to the part where I'll be sending the spec for the form back to the server to be stored. The builder maintains an internal data structure that represents the fields, label, options (for select/checkbox/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Best .NET build tool
Possible Duplicate:
NAnt or MSBuild, which one to choose and when?
What is the best build tool for .NET?
I currently use NAnt but only because I have experience with Ant. Is MSBuild preferred?
A: I use MSBuild completely for building. Here's my generic MSBuild script that searches the tree ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: VS.NET Application Diagrams Have you used VS.NET Architect Edition's Application and System diagrams to start designing a solution?
If so, did you find it useful?
Did the "automatic implementation" feature work ok?
A: I used to use it a lot. This designer worked good for stubbing out prototype projects, but ultima... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Overriding the equals method vs creating a new method I have always thought that the .equals() method in java should be overridden to be made specific to the class you have created. In other words to look for equivalence of two different instances rather than two references to the same instance. However I have encou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: How to write regex to return only certain parts of this string? So I'm working on a project that will allow users to enter poker hand histories from sites like PokerStars and then display the hand to them.
It seems that regex would be a great tool for this, however I rank my regex knowledge at "slim to none".
So I'm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to select the nth row in a SQL database table? I'm interested in learning some (ideally) database agnostic ways of selecting the nth row from a database table. It would also be interesting to see how this can be achieved using the native functionality of the following databases:
*
*SQL Server
*MySQL
*Postg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "480"
} |
Q: How do you deal with transport-level errors in SqlConnection? Every now and then in a high volume .NET application, you might see this exception when you try to execute a query:
System.Data.SqlClient.SqlException: A transport-level error has
occurred when sending the request to the server.
According to my resea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Validation Patterns for Custom XML Documents I have a web application that generates a medium sized XML dataset to be consumed by a third party.
I thought it would be a good idea to provide some form of schema document for the XML that I generate so I pasted the XML into Visual Studio and got it to generate an XSD.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is FindFirstChangeNotification the best API to use for file system change notification on windows? I'm new to windows programming and I'm trying to get notified of all changes to the file system (similar to the information that FileMon from SysInternals displays, but via an API). Is a FindFirstChangeNotification for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: ArgumentNullException for Integer In .NET, is it more appropriate to throw an argument null exception for an Integer if the value is Integer.MinValue or Integer = 0 (assuming that 0 is not a valid value)?
A: Throwing an ArgumentNullException isn't appropriate unless the argument is actually null. Throw an ArgumentO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16616",
"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.