text string | meta dict |
|---|---|
Q: What you do as developer with non-bugs client requests, f.e small fix in UI? I am only one person working on project - so I am developer without PM above me. I finished portal, hovewer client from time to time attacks me with request such as "make font bigger" or change margin in css or make button which makes "xxx ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I make one Netbeans project depend on another without hacking a Makefile? In Netbeans 6.5, I've got two different C++ application projects - my application and the unit tests. I want to set it up so that if my main application is rebuilt, the unit tests are rebuilt as well (and vice versa).
Netbeans is good at ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting ClassFormatError with EMMA? I'm trying to generate code coverage reports with EMMA using tests of which some use JMockit as a mocking framework. For the most part, it works, but a few of my tests crash with a ClassFormatError, like so:
java.lang.ClassFormatError
at sun.instrument.InstrumentationImpl.rede... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What happens when DB engine runs out of numbers to use for primary keys? Since DBs do not reuse numbers of deleted records it is possible to run out of numbers, especially if you pick not really a big integer type for this column.
What would happen and how to prevent it if it's bad?
// SQL Server, MySQL //
A: I thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Refactor traceListener code so it can be unit tested I have the following code:
private static void WriteStartupInfo()
{
Settings settings = Settings.Default;
TimeSpan interval = settings.CleanupInterval;
TimeSpan span = settings.ExpiryTimeSpan;
string url = settings.TeamFoundatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OpenSource tools/services for server monitoring I'm looking for an OpenSource server monitoring tool that allows the following:
*
*Monitor a variety of services on TCP, UDP.
*Supports custom port numbers.
*Supports some basic response checking (beyond initial connection checking).
*Basic dashboard overview of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Defining Web Services - What is the requirement to make namespace definitions accessible? I am sitting down to define my first web service and have what is probably a basic question about the accessibility requirements of namespace definitions?
When a consumer of these web services identifies message elements as b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can you recommend alternative FileUpload control for asp.net-mvc? Currently using System.Web.UI.WebControls.FileUpload wrapped in our own control.
We have licenses for Telerik. I wanted to know if anyone had experience with that or could suggest a better one?
Some criteria to be measured by
*
*validation
*pefor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What is the best way to sort nodes in an XmlDocument? (.Net) I was using an XSL style sheet to do the sorting but it seems to be very slow. Is there a more efficient way?
It is a flat list of nodes, if I convert the nodes to an object and sort in a GenericList would it help?
EDIT I don't need the end result to be XM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Obfuscate a SQL Server Db schema When posting example code or filing bug reports based on a real production app, it would be helpful to have some way to change the table and column names to not potentially give away information about the internals of the app. Doing it by hand without breaking things is time consumi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do Character User Interfaces have a future? We've got products built both with GUI and CHUI. Going forward, we're looking at redesigning a lot of our software and mainly taking the route of going all GUI. My question to the group is, do we need to account for keeping a CHUI around? What are the advantages of CHUI ov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Explanation of Oslo error "M0197: 'Text' cannot be used in a Type context"? In Microsoft Oslo SDK CTP 2008 (using Intellipad) the following code compiles fine:
module M {
type T {
Text : Text;
}
}
while compiling the below code leads to the error "M0197: 'Text' cannot be used in a Type context"
modu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recommended hash for passwords in ASP Classic What is the slowest (therefore best) hash algorithm for passwords in ASP Classic?
EDIT: For those unaware, when hashing passwords, slower hashes are preferred to faster to help slow rainbow table style attacks.
EDIT2: And yes, of course speed isn't the only valid concer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Switching a DIV background image with jQuery I am making an expand/collapse call rates table for the company I work for. I currently have a table with a button under it to expand it, the button says "Expand". It is functional except I need the button to change to "Collapse" when it is clicked and then of course back... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "211"
} |
Q: Creating a derived control I have an abstract base class which inherits from UserControl and which is then used to derive a number of classes.
The problem I have is how to elegantly ensure that the generated function InitializeComponent() is called for each layer of class.
So the (abstract) base class has a number... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WebLogic plugin within Eclipse I am trying to start WebLogic within Eclipse
When it starts it complains like this.
Unable to load performance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'C:\bea81\jdk142_04\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\bea81\jdk142_04\jre\bin;C:\Program Files\Java\jr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: how to Change the asp response Content-Type at run time i have java web service, returns an Object contains couple of variables data, this web service being called in ASP code, but asp code always getting the Mime Type is "text/plain". even though I did setup the below
Response.ContentType = "application/xml"
and no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Workaround for UpdateSourceTrigger LostFocus on Silverlight Datagrid? I have a Silverlight 2 application that validates data OnTabSelectionChanged. Immediately I began wishing that UpdateSourceTrigger allowed more than just LostFocus because if you click the tab without tabbing off of a control the LINQ object is no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Best way to store previous search criteria in ASP.NET I have a web application that allows a user to search on some criteria, select an object, edit it and then return to the previous search. All the editing takes place on a separate page linked to the datagrid of returned results. I was wondering what is the best... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In SQL 2005/2008 management studio, how to I get the 'summary' tab to be visible? In SQL 2005/2008 management studio, how to I get the 'summary' tab to be visible?
I close it by mistake and want to open it again...any way without restarting it?
A: In SQL Server 2005 Management Studio:
View Menu -> Summary (or F7) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Persist data client-side to look up against dropdowns in ASP.NEt I have a dropdown list that stores name/value pairs. The dropdown appears in each row of a gridview.
The values in the dropdown correspond to a third attribute (data type) not persisted in the dropdown list. I'd like to create a client-side "lookup" ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Weird #include problem I have a problem with a simple included file.
The file being included is in two MFC programs - one of which is a dll, and it also compiles itself into a non-mfc dll.
Recently I was using the larger dll which wraps around the source of the smaller dll when I wanted access to some of the feature... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Supplying an argument at Rails runtime I'm looking for a way to supply an argument to a ruby on rails project at runtime. Essentially, our project uses public key cryptography to encrypt some sensitive client data and we want the ability to supply the password to the private key file at runtime.
A: Any Ruby script... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: vc80.pdb - How do I make it go away and never bother me again? When building static libraries with VS2005 I keep getting linker warnings that VC80.pdb cant be found with my library.lib. Apparently, as a result, the edit and continue feature of the IDE fails to work any project that incorporates library.lib
What magi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How do I remove fields from a web form using ASP? I have a web page that has a web form for signing up. I want to remove fields. I've tried removing the field code from the .asp file but obviously there are other things that I need to remove along those lines. I have full access to all the code but I need help knowi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Display .RDLC report embedded in a DLL file I have a report that is used by a windows service and a form application. So, I want to put embed the report in a DLL file that can be used by both.
The problem is that if I try to set the ReportEmbeddedResource property of a ReportViewer control in my windows form app, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Explanation of Oslo error "M2037: SQL Generation Internal Error: Missing generator for variable"? In Microsoft Oslo SDK CTP 2008 (using Intellipad) the following code compiles fine:
module T {
type A {
Id : Integer32 = AutoNumber();
} where identity Id;
As : A*;
type B {
Id : Integ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Managing Data Prefetching and Dependencies with .NET Typed Datasets I'm using .NET typed datasets on a project, and I often get into situations where I prefetch data from several tables into a dataset and then pass that dataset to several methods for processing. It seems cleaner to let each method decide exactly whi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the fastest track to learning to build enterprise ASP.NET v3.5 apps? Having not done ASP.NET since v1.1, and now blitzing through the Wrox Pro ASP.NET v3.5 book, what other resources are available to get me developing enterprise ASP.NET apps the fastest?
I've been developing in DotNet since Beta and have been... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why events can't be used in the same way in derived classes as in the base class in C#? In following code, I want to extend the behaviour of a class by deriving/subclassing it, and make use of an event of the base class:
public class A
{
public event EventHandler SomeEvent;
public void someMethod()
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Have you used the Perl 5.10 backtracking control verbs in your regexes yet? Have you used the Perl 5.10 backtracking control verbs in your regexes yet? And what problems did they help you accomplish?
Just as background: I have done some fiddling, but I can't get any really useful results.
As a comparison, when I s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Looking a generic Python script to add a field and populate the field with conditions I am looking for a script to allow users to add a text field to a .dbf table(e.g. landuse categories) and allow them to input/update the rows basing on what values in the GRIDCODE (numeric categories) field they think should be ass... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: KDTree Implementation in Java I'm looking for a KDTree implementation in Java.
I've done a google search and the results seem pretty haphazard. There are actually lots of results, but they're mostly just little one-off implementations, and I'd rather find something with a little more "production value". Something li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Porting C++ code from Windows to the Mac I'm a long time Windows developer, and it looks like I'm going to be involved in porting a Windows app to the Mac.
We've decided to use Flex/Air for the gui for both sides, which looks really slick BTW.
My Windows application has a C++ DLL that controls network adapters (wire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I return a joined table as an enumerable on an anonymous return type in linq to sql? I'd like to return an object with the following signature
class AnonClass{
string Name {get;}
IEnumerable<Group> Groups {get;}
}
I have tried the following query, but g only returns a single entity, not all the join... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Debugging crash and memory leak We are developing a plugin for outlook in visual basic 6.0.We have been facing issues like outlook crash ( due to some objects not getting destroyed or some other reason). One way we have been solving this issue is reading code,commenting code( to observe the affect), logging etc. Are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Agile Vs Spiral Model for SDLC I believe that Agile is nothing but another implementation of Spiral Model. I am a big supporter of Spiral (The spiral model is a software development process combining elements of both design and prototyping-in-stages, in an effort to combine advantages of top-down and bottom-up conce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: How would you maintain legacy applications How would you maintain the legacy applications that:
*
*Has no unit tests have big methods
*with a lot of duplicated logic have
*have No separation of concern
*have a lot of quick hacks and hard coded
strings
*have Outdated and wrong
documentation
*Requirements are ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is there any way to get Documentum to use Character based Storage for Unicode Anyone out there with sufficient knowledge of EMC Documentum and Oracle to know whether it is possible to set up a documentum repository on top of oracle so that it uses Character based field lengths rather than byte based.
By Default Docu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When evaluating a design, how do you evaluate complexity? We all know to keep it simple, right?
I've seen complexity being measured as the number of interactions between systems, and I guess that's a very good place to start. Aside from gut feel though, what other (preferably more objective) methods can be used to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: MSI Bootstrapping: External URLs Much searching has lead me to find several descriptions of how to create a bootstrapping msi, but these solutions all assume the msi is local or a standard Windows component. Is there a way to make an msi that downloads an installer (which is also an msi) with normal MSI or Wix code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Colemak keyboards with Emacs or VIM I've been crossing things out on my TODO list. I've recently picked up Colemak. Next I wanted to learn Vim or Emacs. I was leaning towards Vim, however one of its benefits are sticking to the home row. With Colemak, the home row has been changed. I realize that I could remap ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: How do I overcome poor SSIS debugging performance? I’m using SSIS to synchronize data between two databases. I’ve used SSIS and DTS in the past, but I generally write an application for things of this nature (I’m coder and it just comes easier to me).
In my package I use a SQL Task that returns about 15,000 rows. I’... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's a 'pervasive database'? I'm sorry, but this keyword doesn't mean anything to me... Can someone give me a definition?
Thanks in advance...
A: It's a brand. http://pervasive.com/ And here is a link to their DB products http://www.pervasivedb.com/Pages/PDBProducts.aspx including Pervasive PSQL
A: Do you mean ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Help With Basic SQL Query I have a table with columns
ID, DateStamp
and the ID need not be unique.
How do I write a query that will give me a list of IDs with the minimum DateStamp and the maximum DateStamp?
So, for example, for a given ID, the output may look like:
938423, 1/1/2000, 12/13/2003
[I am running SQL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convert .doc to html in php Has anyone found a good class, or other file that will convert a .doc file into html or something that I can read and turn into html?
I have been looking around for a couple hours now and have only found ones that require msword on the server in order to convert the file. I am pretty sur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Refresh DataGridView when updating data source What is the best way to refresh a DataGridView when you update an underlying data source?
I'm updating the datasource frequently and wanted to display the outcome to the user as it happens.
I've got something like this (and it works), but setting the DataGridView.DataSo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "67"
} |
Q: Cannot truncate table because it is being referenced by a FOREIGN KEY constraint? Using MSSQL2005, can I truncate a table with a foreign key constraint if I first truncate the child table (the table with the primary key of the FK relationship)?
I know that I can either
*
*Use a DELETE without a where clause and t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "570"
} |
Q: In a WPF app, is there a object I can assign to FileSystemWatcher.SynchronizingObject? In a WPF app, is there a object I can assign to FileSystemWatcher.SynchronizingObject?
I can make my own, but if there is one available, I would like to use it.
A: Reflector shows that the only class that implements ISynchronizeI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: CSS shadows on 3 sides I'm looking at all the CSS Drop shadow tutorials, which are great. Unfortunately, I need to put a shadow on three sides of a block element (left, bottom, right). All the tutorials talk about shifting your block element up and to the left. Anyone have insights into putting a shadow on three ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Layer Backed Views and Flickering Controls I have a window which contains an NSBox control. In that NSBox are several other controls, (popups, text fields, etc...)
I have two other NSBox's in the same NIB file that are filled with controls that I would like to swap out with the first under certain conditions. I woul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: ORA-01775: looping chain of synonyms but there are no synonyms Can't figure out why I'm getting 'SQL Statement ignored' and 'ORA-01775: looping chain of synonyms' on line 52 of this stored procedure. Got any ideas?
CREATE OR REPLACE PACKAGE PURGE_LOG_BY_EVENT_DAYS AS
TYPE dual_cursorType IS REF CURSOR RETURN dua... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I create a Kindle and iPod-compatible audiobook file with section markers? I've looked for references on the Audible format, and it appears that people are only interested in cracking/converting out of it. I've got a collection of MP3 files that I want to convert into Audible format for use on my Kindle and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: ListView - Can you set DataKeyNames when binding to a simple scalar array? I have a case that keeps coming up where I'm using a ListView or similar control with a simple array such as string[].
Is there a way to use the DataKeyNames property when you are binding to simple collections?
A: You could do this with Linq... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Access 2007 VBA Query Shows Data in Query Analyzer But Not in VBA Coded Recordset I have a function I've written that was initially supposed to take a string field and populate an excel spreadsheet with the values. Those values continually came up null. I started tracking it back to the recordset and found that de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Compare memory footprint of .Net and VB6 applications I've been trying to compare the memory footprint between a VB6 application and .Net application. Trying to determine what's the average difference between the two.
The .Net code is for the most part a direct translation of the VB6 and for the most part has the sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to edit columns in-place with CListCtrl? I want to have CListCtrl.EditLabel() for any column of the list. How can I implement such a feature?
A: Don't attempt with CListCtrl.
Use the MFC Grid Control. We deploy it in an off-the-shelf app with success. It offers in-place edit, checkbox, spin, etc for all cells, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is a good free online poll/survey app? I need to conduct a survey of 3 questions:
*
*The first question will be Yes/No.
*The second will have multiple answers, in which you can select multiple answers for just that question, as well as an "other" box that you can use to fill in an answer.
*The last questio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is the correct way to deal with procedures that take a "long time" to complete? I have a Winforms application created in Visual Studio 2005 Pro, it connects to an SQL Server 2005 database using the SqlConnection / SqlCommand / SqlDataAdapter classes to extract data. I have stored procedures in my database to re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can the built in VPN client "Connect to Workplace" in Vista home connect to a Cisco router? Can the built in VPN client "Connect to Workplace" in Vista home connect to a Cisco router?
Are there any other Cisco compatible clients? I love vpnc, but it only runs under Linux or Cygrin on Windows.
A: As others have ment... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recursive control search with LINQ If I wanted to find checked check boxes on an ASP.NET page I could use the following LINQ query.
var checkBoxes = this.Controls
.OfType<CheckBox>()
.TakeWhile<CheckBox>(cb => cb.Checked);
That works fine if the checkboxes are nested in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: Can I get the rowcount before executing a stored procedure? I have some complex stored procedures that may return many thousands of rows, and take a long time to complete.
Is there any way to find out how many rows are going to be returned before the query executes and fetches the data?
This is with Visual Studio 20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can't find setup project properties in Visual Studio 2005 All of the various postings, when speaking of Setup projects in vs2005, simply say "the properties are there" and/or "In Studio, I just click on the project name in the Explorer and I get the property window typical to other projects, and it's right there." ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where is the .asmx after I added a localhost webservice? When I added service -> web service. The VS2008 added a App_WebReferences folder without a .asmx file. I see a .discomap file.
When I use the cascading drop down ajax control, it is looking for .asmx in the service path. Am I doing it wrong? I remember the ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Char(1) change to Char(3) when copying over an Oracle DBLINK? I have 2 databases, and I want to transport an existing table containing a CHAR column from database A to database B.
Database A is Oracle 9i, has encoding WE8ISO8859P1, and contains a table "foo" with at least 1 column of type CHAR(1 char). I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Identifying files for a hot fix/patch We (occasionally!) have to issue hot fixes for our product and do this by reissuing the affected files directly rather than with a new installer. The product has a large number of pieces, some managed code, some unmanaged.
Currently development flags which build artifacts (exes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ruby and linux, preferred setup? Mac's have TextMate as there preferred application for ruby development, but what would be the preferred application for linux? I need something where it's easy to work with multiple files, project structure and setup commands to run my ruby app or if it is one my merb app.Syntax hig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: SQL Searching by MAX() select max(DELIVERY_TIMESTAMP) from DOCUMENTS; will return the time that the latest document was delivered. How do I return the other columns for the latest document? For example I want DOC_NAME for the document that was most recently delivered?
I'm not sure how to form the WHERE clause.
A: Y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Reflection optimizations with attributes . Is there a way in C# to:
*
*Get all the properties of a class that have attributes on them (versus having to loop through all properties and then check if attribute exists.
*If i want all Public, Internal, and Protected properties but NOT private properties, i can't fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/253993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I ignore everything under a folder in Mercurial I am looking for an expression for the .hgignore file, to ignore all files beneath a specified folder.
eg: I would like to ignore all files and folders beneath bin
Actually any advice on how the expressions are formed would be great
A: I did some experiments a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "154"
} |
Q: EMMA coverage tool not displaying line-by-line coverage I am using the EMMA tool for code coverage yet despite my best efforts, EMMA is refusing to see the original .java files and generate coverage on a line-by-line basis.
We are using ANT to build the code and debug is set to true. I know that EMMA is measuring co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: In C#: Add Quotes around string in a comma delimited list of strings This probably has a simple answer, but I must not have had enough coffee to figure it out on my own:
If I had a comma delimited string such as:
string list = "Fred,Sam,Mike,Sarah";
How would get each element and add quotes around it and stick it b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "72"
} |
Q: Do IDbCommand, IDataReader, or DataTable leak resources if Dispose is not called? When using IDbCommand, IDataReader, or DataTable, can you depend on the destructor to dispose resources, or will these objects leak resources if dispose is not called directly?
A: They don't leak, but they will consume resources until... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do you invoke the Visual Studio Preprocessor from the command line? I want to implement the solution using the pre-processor described here:
Reuse define statement from .h file in C# code
Bonus points if you can point me to the docs at MSDN. I'm having trouble finding them...
A: Use the /P option to cl.exe ...... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Will setting the only reference to null mean it and its child threads are garbage collected? I have an application which has to live as a service, I create an object which then spawns off a buch of threads.
If I set the only reference to that object to null will all the child threads get cleaned up? or will I suffer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create HTTP 301 redirect from Stellent (Oracle UCM) script Is it possible to send a HTTP response with a permanent redirect from a Stellent (now called Oracle UCM) website? We're using version 7.5.2 with iDoc script.
We can use the iDoc function setHttpHeader() to send the Location HTTP header, but how to sen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to run an ASP.NET application with verbose debug messages of the ASP.NET runtime How do I configure an ASP.NET application to write verbose log messages of what ASP.NET engine itself is doing? What I get with
<trace enabled="true"
pageOutput="false"
requestLimit="10000"
writeToDiagnosticsTr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best approach to writing a generic installer for a Linux application? We have a Linux server application that is comprised of a number of open-source tools as well as programs we've written ourselves. Ideally we would like to be able to install this application on any common Linux distribution.
In the past, we've wr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What are the porting issues going from VC8 (VS2005) to VC9 (VS2008)? I have inherited a very large and complex project (actually, a 'solution' consisting of 119 'projects', most of which are DLLs) that was built and tested under VC8 (VS2005), and I have the task of porting it to VC9 (VS2008).
The porting process I u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I change the display name of a c++ windows service? Where can I set the display name in the Service Control Manager of a c++ app?
A: Use ChangeServiceConfig to change the display name; you can use ChangeServiceConfig2 to change the description.
A: It's in the registry, under HKEY_LOCAL_MACHINE/SYSTEM/Curren... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Design Pattern to apply conversion to multiple properties in multiple classes I am using the WMD markdown editor in a project for a large number of fields that correspond to a large number of properties in a large number of Entity classes. Some classes may have multiple properties that require the markdown.
I am sto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: IDE for HP Calculator Programming? Typing in programs longer than 50 characters got old really fast on my HP49g+.
What IDEs are designed for programming HP calculators? Are there any plugins to Visual Studio, Eclipse, xCode, etc. for this purpose?
A: There's a C cross compiler called hpgcc.
A: Right now I'm using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Turn off power saving options via command line On Windows XP, the following command in a script will prevent any power saving options from being enabled on the PC (monitor sleep, HD sleep, etc.). This is useful for kiosk applications.
powercfg.exe /setactive presentation
What is the equivalent on Vista?
A: powerc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Can I use recursion in a Sql Server 2005 View? I tried to use OPTION (MAXRECURSION 0) in a view to generate a list of dates.
This seems to be unsupported. Is there a workaround for this issue?
EDIT to Explain what I actually want to do:
I have 2 tables.
table1: int weekday, bool available
table2: datetime date, bool... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Error: The Side-by-Side configuration information in "BLAH.EXE" contains errors This is the error Dependency Walker gives me on an executable that I am building with VC++ 2005 Express Edition. When trying to run the .exe, I get:
This application has failed to start because the application configuration
is incorrect.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Converting audio to CAF format for playback on iPhone using OpenAL I am using the SoundEngine sample code from Apple in the CrashLanding sample to play back multiple audio files. Using the sample caf files included with CrashLanding everything works fine but when I try and use my own samplesconverted to CAF using af... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "73"
} |
Q: .Net Converting a number from one culture to another In .Net (VB more specifically, but that doesn't really matter), is there a way to change the format of a number from one culture to another strictly through the that number's type?
The issue is this: In English, the number is say, 123.45. Whereas in Sweden, the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can take be used in a query expression in c# linq instead of using .Take(x)? I'm trying to write some LINQ To SQL code that would generate SQL like
SELECT t.Name, g.Name
FROM Theme t
INNER JOIN (
SELECT TOP 5 * FROM [Group] ORDER BY TotalMembers
) as g ON t.K = g.ThemeK
So far I have
var q = from t in dc.Themes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Flash steals browser focus I have a flash app in my page, and when a user interacts with the flash app, the browser/html/javascript stops receiving keyboard input.
For example, in Firefox control-t no longer opens a new tab.
However, if I click on part of the page that isn't flash, the browser starts receiving the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How to create an SQL Compact 2008 application How can I make a SQL Compact 2008 application for the desktop? I know how to connect to a .SDF file with SQL Management Studio 2008, but I can't figure out how to connect to it with my app. I have seen tutorials about this and I can see in the C# code they are referenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: detecting JSON loaded by browser I have an application in which most requests are submitted via AJAX, though some are submitted via "regular" HTTP requests. If a request is submitted and the user's session has timed out, the following JSON is returned:
{"authentication":"required"}
The JavaScript function which sub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: One man bugtracker? Recently I've been doing lots of weekend coding, and have began to really need a bugtracker as things are gaining speed. This is probably the worst case scenario because I basically have to let things cool down over the week,so I simply can't remember the bugs in my head. So far I've been using a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: Change the coordinate system of a Canvas in WPF I'm writing a mapping app that uses a Canvas for positioning elements. For each element I have to programatically convert element's Lat/Long to the canvas' coordinate, then set the Canvas.Top and Canvas.Left properties.
If I had a 360x180 Canvas, can I convert the coo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How to I display a sort arrow in the header of a list view column using C#? How can I display a sort arrow in the header of the sorted column in a list view which follows the native look of the operating system?
A: Great answer by Andrew. If Anyone is looking for the VB.net equivalent here it is:
Public Module Lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "43"
} |
Q: Automake : what are the valid values for *_la_LDFLAGS in Makefile.am? I am wondering what are the possible value for *_la_LDFLAGS in Makefile.am ?
If I ask this question, it is because I would like the following :
Actual shared library : libA.so (or with the version number I don't care)
Symbolic links : libA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Resources to develop an operating system I'm planning to write an operating system and I don't know very much about operating systems. Are there any good resources or books to read in order for me to learn? What are your recommendations?
A: Os dev website is rich in information if you want to start coding your own ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "66"
} |
Q: How are NULLs stored in a database? I'm curious to know how NULLs are stored into a database ?
It surely depends on the database server but I would like to have an general idea about it.
First try:
Suppose that the server put a undefined value (could be anything) into the field for a NULL value.
Could you be very l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Help with sql join I have two tables:
Table 1:
ID, PersonCode, Name,
Table 2:
ID, Table1ID, Location, ServiceDate
I've got a query joining table 1 to table 2 on table1.ID = table2.Table1ID where PersonCode = 'XYZ'
What I want to do is return Table1.PersonCode,Table1.Name, Table2.Location, Table2.ServiceDate, I don'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's a good tool/method to find which files on disk have been changed after a program has been run? I'm experiencing a strange issue where my Visual Studio 2005 C++ program crashes the first time it runs after a new build. I'm having a difficult time debugging this intermittent issue and I suspect it's somehow re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a C# auto formatter that I can use to define custom rules for formatting? My group has a source analysis tool that enforces certain styles that we have to comply with. I can't change it, and some of the rules are just a pain. One example is that all properties have to come before methods, and all construc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/254175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |