instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'd like my .NET Compact Framework app to delete itself after it finishes executing. What's the best way to do this?
On a Windows machine it's possible to do this using a .bat file, but that's not an option on mobile devices.
| stackexchange/codereview |
When including a header file in C++, what's the difference between...
including the .h part versus not including .h part when wrapping it in <> signs?
#include <iostream> vs. #include <iostream.h>
wrapping the header name in double quotes versus wrapping it in < > signs?
#include <iostream.h> vs. #include "iostream.h... | stackexchange/codereview |
Recent conversations with colleagues have produced varying points of view on this matter. What say you, SO members?
I know, even the concept of scalability can be taken in so many different ways and contexts, but that was part of the discussion when this came up. Everyone seemed to have a different take on what scalabi... | stackexchange/codereview |
How do I get the path to the machine.config from a .Net application? It should automatically get the correct path based on the .Net version of the app.
| stackexchange/codereview |
I got a very similar error to the one below:
How can I fix this delphi 7 compile error - "Duplicate resource(s)"
However, the error I got is this:
[Error] WARNING. Duplicate resource(s):
[Error] Type 10 (RCDATA), ID TFMMAINTQUOTE:
[Error] File P:\[PATH SNIPPED]\Manufacturing.RES resource kept; file FMaintQu... | stackexchange/codereview |
I'm fairly new to MVC coming from a php background where I designed by view and created pages when I needed something like say a login form. I'd have a file called login. This only sucked when I needed a new login form to login a different type of user. Say an admin. I'd then have to create a new page called login-... | stackexchange/codereview |
I have an XSL stylesheet with content in an xsl:text node like this:
<xsl:text>
foo
bar
baz
</xsl:text>
The stylesheet itself is a text file with "unix-style" newline line terminators. I invoke this stylesheet on Windows as well as unix-like platforms. It would be nice to have the output conform to the conventions of ... | stackexchange/codereview |
I'm looking for a way to selectively apply a CSS class to individual rows in a GridView based upon a property of the data bound item.
e.g.:
GridView's data source is a generic list of SummaryItems and SummaryItem has a property ShouldHighlight. When ShouldHighlight == true the CSS for the associated row should be set t... | stackexchange/codereview |
I have a C++ assembly with both managed and umanaged code compiled to
a DLL. It is correctly imported into the project references as I can
see all my classes and their members with the Object Browser.
The problem is with the XAML Design view. In my XAML code I want to
make a data bind with my C++ assembly so I have th... | stackexchange/codereview |
How do you invoke a tkinter event from a separate object?
I'm looking for something like wxWidgets wx.CallAfter. For example, If I create an object, and pass to it my Tk root instance, and then try to call a method of that root window from my object, my app locks up.
The best I can come up with is to use the the aft... | stackexchange/codereview |
I recently found a log statement in my projects codebase that says
"here i am with search parameter==>===========11/30/2008===1====00:00 AM"
what guidelines do you adhere to for writing good log messages in an application?
| stackexchange/codereview |
I have ASP.Net code similar to the following (this is inside a FIELDSET):
<ol>
<li>
<label>Some label</label>
<one or more form controls, ASP.Net controls, labels, etc.>
</li>
<li>
<label>Another label</label>
<... more of the same...>
</li>
...
</ol>
I'm trying to k... | stackexchange/codereview |
i know this should be db 101, but its just not as clear as it can be for me. I am using SQL2005 express and i want to copy data from databaseA to databaseB. DatabaseB already contains existing data - it may even contain data with pk's that have changed or dont exist - for example:
DataBase A
pk1 = peaches
pk2 = apple... | stackexchange/codereview |
I thought I understood Java generics pretty well, but then I came across the following in java.lang.Enum:
class Enum<E extends Enum<E>>
Could someone explain how to interpret this type parameter? Bonus points for providing other examples of where a similar type parameter could be used.
| stackexchange/codereview |
I'm using Installshield 2008 express to create an installation package. My application relies on Sql Server 2005 express edition. I know I am able to check the "microsoft sql server 2005 express" prerequisite under the redistributables tab. However, this leaves the installation entirely in the hands of the end user, an... | stackexchange/codereview |
The published code for Palm OS applications doesn't include standard headers, but instead uses Palm OS APIs for things like StrCopy and MemMove. Can I use standard headers and functions or do I need to convert my code to use the Palm OS versions?
| stackexchange/codereview |
I am instantiating a class A (which I am importing from somebody
else, so I can't modify it) into my class X.
Is there a way I can intercept or wrap calls to methods in A?
I.e., in the code below can I call
x.a.p1()
and get the output
X.pre
A.p1
X.post
Many TIA!
class A:
# in my real application, this is an impor... | stackexchange/codereview |
Is the memory space consumed by one object with 100 attributes the same as that of 100 objects, with one attribute each?
How much memory is allocated for an object?
How much additional space is used when adding an attribute?
| stackexchange/codereview |
I'm using Strawberry Perl which includes MinGW's GCC, I'm also making use of the GNU debugger GDB and Subversion. How can I have a single development environment that would suit this (other than just UltraEdit, the command shell and IE), and how can I further enhance its features?
| stackexchange/codereview |
Maybe I should further qualify this - Is there a way to specify which direction a ComboBox will open without copying and pasting the entire ComboBox class and ripping out the code where it determines which direction it will open in...
I'm my specific case - I need it to open upwards - always.
UPDATE: You can't fix thi... | stackexchange/codereview |
I'm in the process of designing a small website and was curious when an XML file can/should be substituted for a database table. There are some cases where I think using a database table may be overkill and was just wondering if anyone else has come across making this decision.
Thanks!
| stackexchange/codereview |
Can anbyody tell me how to include a certain folder when running unit tests in visual studio. In the folder are xml-files needed by the tests. I can't seem to find anymore where I need to add this folder.
Thx, Lieven Cardoen aka Johlero
| stackexchange/codereview |
I can't for the life of me find a way to make this work.
If I have 3 divs (a left sidebar, a main body, and a footer), how can I have the sidebar and main body sit next to each other without setting their positions as "absolute" or floating them? Doing either of these options result in the footer div not being pushed d... | stackexchange/codereview |
Is it acceptable to submit from an http form through https? It seems like it should be secure, but it allows for a man in the middle attack (here is a good discussion). There are sites like mint.com that allow you to sign-in from an http page but does an https post. In my site, the request is to have an http landing... | stackexchange/codereview |
I'm looking at building basic CMS functionality into our web product and am researching tips and design ideas for versioning content. I'm specifically looking for database schemas in use today.
What are you using for content versioning? What patterns apply if you have different types of content that need versions store... | stackexchange/codereview |
I have a few questions about whether or not it would be best to not use indexing.
BACKGROUND:
My records have a timestamp attribute, and the records will be inserted in order of their timestamps (i.e., inserted chronologically).
QUESTIONS:
If I DON'T use indexing is it typical for the database to insert the records in... | stackexchange/codereview |
$fp_src=fopen('file','r');
$filter = stream_filter_prepend($fp_src, 'convert.iconv.ISO-8859-1/UTF-8');
while(fread($fp_src,4096)){
++$count;
if($count%1000==0) print ftell($fp_src)."\n";
}
When I run this the script ends up consuming ~ 200 MB of RAM after going through just 35MB of the file.
Running it wi... | stackexchange/codereview |
if(!eregi("^([0-9a-z_\[\]\*\- ])+$", $subuser))
$form->setError($field, "* Username not alphanumeric");
Can anybody tell me why it is not allowing characters such as - and *?
if(!eregi("^([0-9a-z])+$", $subuser))
$form->setError($field, "* Username not alphanumeric");
That is the original piece of code. A fri... | stackexchange/codereview |
I posted a similar question on how scalable linq is. There were so many different views on what scalability actually meant in some recent conversations, so it has sparked me to ask this question as well. What does scalability mean to you?
| stackexchange/codereview |
I have the following snippet of code, changeTextArea is a TextArea object.
changeTextArea.addKeyboardListener(new KeyboardListenerAdapter()
public void onKeyPress( Widget sender, char keyCode, int modifier){
//do something
//I WISH TO STOP THE EVENT THAT MAPS TO THIS KEYPRESS FROM BUBBLING ANY FURTHER
}
}
... | stackexchange/codereview |
I have two methods that I need to call in my WCF application from the client.
Authenticate(username, password)
GetUser(username)
Is it possible to combine these calls to avoid so many calls being sent back/forth?
| stackexchange/codereview |
I have a repeater control on an ASP.NET 2.0 web form.
As I understanding it, all of the page's data-bound controls fire their binding events somewhere in between the Page_Load and the Page_PreRender events.
However, my repeater's ItemDataBound event appears to be happening AFTER the PreRender event.
How is this so a... | stackexchange/codereview |
Possible Duplicate:
History of changes to a particular line of code in Subversion?
Using SVN and/or Tortoise SVN (or any other SVN tool, really), is it possible to view the history for a specific line of a file?
Recently I've had several occurrences of coming across a line in a file and wanting to find the log entry... | stackexchange/codereview |
I'm working with a client that needs to generate millions of the alphanumeric codes used in magazine scratch-off cards, bottlecap prizes, and so on. They have to be short enough to print on a cap, they want to make sure that ambiguous characters like 1 and I, 0 and O, etc. are not included, and they have to be explicit... | stackexchange/codereview |
I'd like to allow users to record videos directly from their webcam.
I haven't done much work with PHP but am stuck with it for this project.
We currently have a system in place for video uploading and encoding, but nothing to actually access a user's webcam.
How would you recommend I proceed?
| stackexchange/codereview |
I've recently taken over development on a SQL Server 2000 database that needs some help. We're planning on upgrading it to SQL Server 2005 soon. This database has no audit fields on the tables (CreatedBy, CreatedDate, etc.), no foreign keys, and terrible overall design. There are half a dozen programs that directly ... | stackexchange/codereview |
If anyone has experience using Oracle text (CTXSYS.CONTEXT), I'm wondering how to handle user input when the user wants to search for names that may contain an apostrophe.
Escaping the ' seems to work in some cases, but not for 's at the end of the word - s is in the list of stop words, and so seems to get removed.
We ... | stackexchange/codereview |
For the purposes of this question, the code base is an ASP.NET website that has multiple pages written in both C# and Visual Basic .NET. The primary language is C# and the Visual Basic .NET webpages where forked into the project as the same functionality is needed.
Should the time be taken to actually rewrite these pa... | stackexchange/codereview |
Can you please let me know the SQL to split date ranges when they overlap?
Data (sample data with a date range and possibly other columns):
Col1 FromDate ToDate
1. 1 1/1/2008 31/12/2010
2. 1 1/1/2009 31/12/2012
3. 1 1/1/2009 31/12/2014
Output:
Col1 From Date ToDate
1. 1 1/1/2008 31/12/2008 (fro... | stackexchange/codereview |
I have a bit of html like so:
<a href="#somthing" id="a1"><img src="something" /></a>
<a href="#somthing" id="a2"><img src="something" /></a>
I need to strip off the links so I'm just left with a couple of image tags. What would be the most efficient way to do this with jQuery?
| stackexchange/codereview |
I have a module in the parent directory of my script and I would like to 'use' it.
If I do
use '../Foo.pm';
I get syntax errors.
I tried to do:
push @INC, '..';
use EPMS;
and .. apparently doesn't show up in @INC
I'm going crazy! What's wrong here?
| stackexchange/codereview |
I'm trying to drop a SQL Server database using the following code:
SqlCommand command = new SqlCommand("USE MASTER; ALTER DATABASE @database SET SINGLE_USER WITH ROLLBACK IMMEDIATE; DROP DATABASE @Database", connection);
command.Parameters.AddWithValue("@database", TestingEnvironment.DatabaseName);
command.ExecuteNonQu... | stackexchange/codereview |
I have a piece of code looking like this :
TAxis *axis = 0;
if (dynamic_cast<MonitorObjectH1C*>(obj))
axis = (dynamic_cast<MonitorObjectH1C*>(obj))->GetXaxis();
Sometimes it crashes :
Thread 1 (Thread -1208658240 (LWP 11400)):
#0 0x0019e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x048c67fb in __wait... | stackexchange/codereview |
I am trying to run the wsdl2java command on a WSDL file that was given to me from another group in my company. I know wsdl2java works because I can run the examples but when I try it on the wsdl given to me it fails. The one big difference is that the WSDL given to me uses SSL.
I’m using Java 1.4 (checked it a few ti... | stackexchange/codereview |
When I do a ReadLinesFromFile on a file in MSBUILD and go to output that file again, I get all the text on one line. All the Carriage returns and LineFeeds are stripped out.
<Project DefaultTargets = "Deploy"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003" >
<Import Project="$(MSBuildExtensionsPath)\MSBuil... | stackexchange/codereview |
Anyone using MozyPro to backup SQL Server databases?
I'm concerned about the way it does the backup. It just copies data files the way they are. Not using the backup database command.
Is it safe?
| stackexchange/codereview |
I am using winsock and C++ to set up a server application. The problem I'm having is that the call to listen results in a first chance exception. I guess normally these can be ignored (?) but I've found others having the same issue I am where it causes the application to hang every once in a while. Any help would be... | stackexchange/codereview |
Does anyone know if you can programmatically open a .webarchive on the iPhone? A .webarchive is Safari's way of packaging up a webpage and it's associated resources into a single file.
I tried creating one and browsing to a link to one in mobile safari, but it didn't work....
Note: I was kind of hoping this could be d... | stackexchange/codereview |
I am developing a website and for the main navigation, I was thinking it would be a good idea to include the title attribute.
<a href="/results/" title="Results">Results</a>
Is this a good thing to do? Also, is it good for SEO and accessibility?
| stackexchange/codereview |
In .NET, the GetHashCode method is used in a lot of places throughout the .NET base class libraries. Implementing it properly is especially important to find items quickly in a collection or when determining equality.
Is there a standard algorithm or best practice on how to implement GetHashCode for my custom classes s... | stackexchange/codereview |
Imagine the following REBOL code:
foo: context [bar: 3]
I now have a context foo in which 'bar is defined. How can I dynamically inject a new word into this context? Is it possible?
I've tried:
set/any in foo 'baz 3
But that doesn't work because the expression in foo 'baz fails because there is no word 'baz defined in ... | stackexchange/codereview |
Is it possible to do Web form without using server control or set runat attribute on html control? How do you call the code behind function?
| stackexchange/codereview |
Is there anyway to use unicode strings (most probably in UTF-8, but could be any encoding) in PostScript?
So far, i've been using this function to transforms fonts to Latin1 encoding:
/latinize {
findfont
dup length dict begin
{ 1 index /FID ne {def}{pop pop} ifelse }forall
/Encoding ISOLatin1Encoding def
cur... | stackexchange/codereview |
I've generated a pdf using iTextSharp and I can preview it very well in ASP.NET but I need to send it directly to printer without a preview. I want the user to click the print button and automatically the document prints.
I know that a page can be sent directly to printer using the javascript window.print() but I don't... | stackexchange/codereview |
How do I access specific sections of man pages?
| stackexchange/codereview |
How do I get the inverse of a matrix in python? I've implemented it myself, but it's pure python, and I suspect there are faster modules out there to do it.
| stackexchange/codereview |
if A is extension use case (not base use case), can A be directly referenced by the actor?
| stackexchange/codereview |
Can someone post a simple example of starting two (Object Oriented) threads in C++.
I'm looking for actual C++ thread objects that I can extend run methods on (or something similar) as opposed to calling a C-style thread library.
I left out any OS specific requests in the hopes that whoever replied would reply with cr... | stackexchange/codereview |
I'm implementing an SOA at a large company, and I'm not sure which web service specifications (WS-*) actually make sense to implement. At a minimum, I'm looking at WS-Addressing, WS-Security, WS-Eventing, and WS-ReliableMessaging. However, there are several other standards that look interesting, but I don't know which ... | stackexchange/codereview |
I have a MySQL database of keywords that are presently mixed-case. However, I want to convert them all to lowercase. Is there an easy command to do this, either using MySQL or MySQL and PHP?
| stackexchange/codereview |
We are migrating a web applicatin from vs05 to vs08. This application is using Telerik web controls. After I converted the project, and run, I get the exception: "A control is already associated with the element". I traced it down to a use control that has Telerik RadCombo box on it. However, I don't see anything out o... | stackexchange/codereview |
I am trying to programatically set the dpi metadata of an jpeg image in Java. The source of the image is a scanner, so I get the horizontal/vertical resolution from TWAIN, along with the image raw data. I'd like to save this info for better print results.
Here's the code I have so far. It saves the raw image (byteArray... | stackexchange/codereview |
Is it possible to log out user from a web site if he is using basic authentication?
Killing session is not enough, since, once user is authenticated, each request contains login info, so user is automatically logged in next time he/she access the site using the same credentials.
The only solution so far is to close bro... | stackexchange/codereview |
In previous versions of VS, if you right-clicked a breakpoint's red dot and selected Disable Breakpoint, the dot would become 'hollow', and clicking it again would re-enable it. But in VS2008, disabling the breakpoint removes the red dot entirely and you need to go to the Breakpoints window to re-enable.
Anyone know ho... | stackexchange/codereview |
Can anyone explain to me how to get the visual state manager to work with a WPF application? It's just been added to the new wpftoolkit. I installed it as told, but even the sample doesn't show the VSM. In silverlight it work, but not in WPF. If installed the latest Blend 2 and updated with the SP1.
| stackexchange/codereview |
This came up when answering another user's question (TheSoftwareJedi)...
Given the following table:
ROW_PRIORITY COL1 COL2 COL3
0 0.1 100 <NULL>
12 <NULL> <NULL> 3
24 0.2 <NULL> <NULL>
and the following query:
select 'B' METRIC, ROW_PRIORITY,
las... | stackexchange/codereview |
Model Driven Software Development.
As I understand it it raises the abstraction level of the design to better reflect the domain the software will attempt to run in. That's alot to say in just one sentence.
The communication between the domain experts (customer) and the developers is crucial to make this methodology w... | stackexchange/codereview |
When I get a reference to a System.Diagnostics.Process, how can I know if a process is currently running?
| stackexchange/codereview |
Do you know of software which is capable of emulating networking conditions such as constrained bandwidth, latency, closed ports, congestion, collision?
Platform-specific is fine, but I'd like to be able to emulate hundreds or thousands of nodes under varying network conditions.
| stackexchange/codereview |
Are there any good source-code analyses tools for OSX. I am particularly interested in tools that are capable of diagramming function-call hierarchies for C and C++ source files.
| stackexchange/codereview |
I am doing a hidden http post in one page of my application which will login to another application via iframe.
In that iframe i am able to access certain functions of that application but however i encounter javascript Permission denied to get property HTMLDocument.body in that application when i try to save and updat... | stackexchange/codereview |
I have a table that saves some account limits like users. For most rows this value will be an integer. However I will also need to support storing unlimited (infinite) as a value. This might seem silly but is there a common integer value that represents unlimited (infinite)? I'd like to keep storing the values as integ... | stackexchange/codereview |
Being really new to wx, I'm wondering if there is an IDE (especially for Linux) which would help me lay out a frame or dialog or whatever just to help me see what I'm doing. That means also creating the code for those changes.
I remember way back when using resource compilers for OS/2 and Windows that produced binarie... | stackexchange/codereview |
Any ideas how to stop the system bell from sounding when CTRL-A is used to select text in a Winforms application?
Here's the problem. Create a Winforms project. Place a text box on the form and add the following event handler on the form to allow CTRL-A to select all the text in the textbox (no matter which control has... | stackexchange/codereview |
Is there any way to make Visual Studio word-wrap at 80 characters? I'm using VS2008.
This post is loosely related.
| stackexchange/codereview |
I have to tables that have a many to many relationship. I have created the correct table codesecure_project_tst_definition and it works. I can join rows together by calling the codesecure_projects << method on a TstDefinition object. The problem is that for some reason active record wants to use Codesecure_project_i... | stackexchange/codereview |
I have signed numbers (2s complement) stored in 32-bit integers, and I want to extract 16-bit fields from them. Is it true that if I extract the low 16 bits from a 32-bit signed number, the result will be correct as long as the original (32-bit) number fits into 16 bits ?
For positive numbers it is trivially true, and ... | stackexchange/codereview |
Saving data to Postscript in my app results in a Postscript file which I can view without issues in GhostView, but when I try to print it, the printer isn't able to print it because it seems to be invalid.
Is there a way to validate / find errors in Postscript files without actually sending it to a printer? Preferred w... | stackexchange/codereview |
How can I parse the query string (GET / POST parameters) sent to an application's manifest in .NET ?
From one application, I am calling MyApp.application which needs to install my .NET application (if not installed) and in any case it should call the application which should parse the GET parameters.
Later edit:
I hav... | stackexchange/codereview |
I'm doing some FK analysis of our tables by making a directed
graph representing FK dependencies and then traversing the
graph. In my code, I name everything using directed graph
terminology, but I'd like to have something a bit more
"user friendly" in the report.
In this scenario:
create table t1(a varchar2(20));
alt... | stackexchange/codereview |
I am investigating a production system where there are several Windows services communicating with each other through TCP/IP sockets. I'm trying to figure out which executable is listening to which IP address and which port on a given machine.
Other than rummaging through each windows service's obscure configuration fi... | stackexchange/codereview |
Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB. Is there a way to have an insert statement return a value? I have a sequence set up to number entries as they go into the database, but I need that value to come back after the insert so I can do some manipulation to the set I just e... | stackexchange/codereview |
If I have an object in a layout in Flex what is a good way to 'break it out' of that layout to be able to animate it.
For instance I have an image and a caption arranged at an angle. I want to make the image 'zoom out' slightly when the mouse rolls over it. Since its in a layout container is active if I were to resize ... | stackexchange/codereview |
In Perl, I can type:
$|++;
and anything printed to STDOUT will be automatically fflush()ed.
Is there an equivalent in C? In other words, is there some way I can tell stdio to automatically fflush stdout after every printf(), the way it automatically flushes stderr?
| stackexchange/codereview |
I downloaded the Aptana_Studio_Setup_Linux.zip package, unpacked it and run ./AptanaStudio. It starts fine, but reports one problem:
The embedded browser widget for this editor cannot be created. It is either not available for your operating system or the system needs to be configured in order to support embedded brows... | stackexchange/codereview |
I'm trying to be responsible with my "DOM" references in this little Flash 8/AS2 project.
What has become increasingly frustrating is obtaining references to other movie clips and objects. For example, currently my code to access the submit button of a form looks something like this
var b:Button = _level0.instance4.su... | stackexchange/codereview |
I want to user Role based security through the authorization section in the web.config file.
Using Membership, my application will allow for new Roles to be created, and thus, the pages they can access need to be set dynamically.
Can I programatically alter this section in the web.config to manage this? If so, how?
| stackexchange/codereview |
I'm looking at having certain users access one database and other users accessing another database based on the company they belong to. What would be the best way to handle the connection strings and make sure the user connects to the right db when they login?
Thanks for any ideas.
| stackexchange/codereview |
I'm trying to do a very simple button that changes color based on mouseover, mouseout and
click, I'm doing this in prototype and the weird thing is if I used mouseover and mouseout,
after I clicked on the button, the button wouldn't change to white, seems like it is because of the mouseout, here's my code
$("izzy").obs... | stackexchange/codereview |
In SQL Server 2005, I want a user, called LimitedUser, to only be able to run one proc:
GRANT EXEC ON [usp_RunETL] TO [LimitedUser]
However, that proc needs to be able to do everything -- UPDATE, DELETE, INSERT, EXEC.. everything. How do I do that without having to give all those permissions to LimitedUser?
| stackexchange/codereview |
I'm pretty new to regular expressions. I have a requirement to replace spaces in a piece of multi-line text. The replacement rules are these:
Replace all spaces at start-of-line with a non-breaking space ( ).
Replace any instance of repeated spaces (more than one space together) with the same number of non-breaki... | stackexchange/codereview |
I'm uisng the WPF Web Browser control and when it fires the Navigating event, the event args always contain NavigationMode.New. It should be set to NavigationMode.Back if the user chooses to 'Go Back' from the web control.
So its off to the COM ActiveX control underneath to determine the direction of navigation. I've... | stackexchange/codereview |
Our company is looking to integrate invoices into a new system we are developing.
We require a solution to create a layout of the invoice and then convert to pdf.
We have considered just laying out the invoice in html/css then converting to pdf.
We have also considered using SVG->PDf conversion.
Both of these solution... | stackexchange/codereview |
I have a char array buffer that I am using to store characters that the user will input one by one. My code below works but has a few glitches that I can't figure out:
when I execute a printf to see what's in Buffer, it does fill up but I get garbage characters at the end
it won't stop at 8 characters despite being d... | stackexchange/codereview |
I'm checking out the Delphi 2009 Trial, but run into problems with the generics stuff right away.
The following code does not compile, and I haven't the slightest idea why it's giving me E2015 for the Equals() method:
type
TPrimaryKey<T> = class(TObject)
strict private
fValue: T;
public
constructor Create... | stackexchange/codereview |
We are trying to make big decisions about our support for classic asp. Does anyone see a reason why Microsoft can't drop support for IIS.
Any examples of Microsoft technologies like this that have had their support dropped would help. ASP is a tricky one because dropping support in IIS would eventually kill it, unlike ... | stackexchange/codereview |
Does a comparison sort have to compare the A[i] largest and A[i+1] largest values? I think any comparison sort must, but I'm not sure. I've checked out mergesort, insertion sort, and quicksort and in each of them the A[i] largest and A[i+1] largest values have to be compared.
| stackexchange/codereview |
What would be the best scheme for loading icons for an application?
A little bit of a background... I’m creating an FTP-like application that has 4 panes (local folder pane, local file pane, cloud folder pane, cloud file pane). In both file panes, one of the columns is filename, which I want to display the icon next ... | stackexchange/codereview |
Some of my MS SQL stored procedures produce messages using the 'print' command. In my Delphi 2007 application, which connects to MS SQL using TADOConnection, how can I view the output of those 'print' commands?
Key requirements:
1) I can't run the query more than once; it might be updating things.
2) I need to see the... | stackexchange/codereview |
I installed SQL server 2000 personal edition in my pc. I am now accessing it using windows authentication account. I can use the enterprise manager but when I try to access the sql query analyzer, there aint no window appearing for the query analyzer. Can someone help me on this? Thank you.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.