Newest Questions
24,234,689 questions
75
votes
1
answer
3k
views
How to get Indexing Service and MODI to produce Full-text over OCR?
I have configured Indexing Service to index my files, which also include scanned images saved as hi-res TIFF files. I also installed MS Office 2003+ and configured MS Office Document Imaging (MODI) ...
314
votes
14
answers
241k
views
Create a directly-executable cross-platform GUI app using Python
Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux.
The problem ...
25
votes
1
answer
2k
views
Getting started with a custom JXTA PeerGroup
I have been working with JXTA 2.3 for the last year or so for a peer-to-peer computing platform I am developing. I am migrating to JXTA 2.5 and in the process I am trying to clean up a lot of my use ...
174
votes
11
answers
153k
views
How can I detect if a browser is blocking a popup?
Occasionally, I've come across a webpage that tries to pop open a new window (for user input, or something important), but the popup blocker prevents this from happening.
What methods can the calling ...
17
votes
10
answers
2k
views
How to Test Web Code?
Does anyone have some good hints for writing test code for database-backend development where there is a heavy dependency on state?
Specifically, I want to write tests for code that retrieve records ...
29
votes
11
answers
10k
views
MySQL/Apache Error in PHP MySQL query
I am getting the following error:
Access denied for user 'apache'@'localhost' (using password: NO)
When using the following code:
<?php
include("../includes/connect.php");
$query = "SELECT * ...
36
votes
3
answers
6k
views
How to render a control to look like ComboBox with Visual Styles enabled?
I have a control that is modelled on a ComboBox. I want to render the control so that the control border looks like that of a standard Windows ComboBox. Specifically, I have followed the MSDN ...
68
votes
15
answers
60k
views
Choosing a static code analysis tool [closed]
I'm working on a project where I'm coding in C in a UNIX environment. I've been using the lint tool to check my source code. Lint has been around a long time (since 1979), can anyone suggest a more ...
26
votes
3
answers
1k
views
Possible to "spin off" several GUI threads? (Not halting the system at Application.Run)
My Goal
I would like to have a main processing thread (non GUI), and be able to spin off GUIs in their own background threads as needed, and having my main non GUI thread keep working. Put another ...
95
votes
5
answers
63k
views
Reading a C/C++ data structure in C# from a byte array
What would be the best way to fill a C# struct from a byte[] array where the data was from a C/C++ struct? The C struct would look something like this (my C is very rusty):
typedef OldStuff {
...
478
votes
14
answers
1.1m
views
How do you format an unsigned long long int using printf?
#include <stdio.h>
int main() {
unsigned long long int num = 285212672; //FYI: fits in 29 bits
int normalInt = 5;
printf("My number is %d bytes wide and its value is %ul. A normal ...
42
votes
6
answers
7k
views
Paging SQL Server 2005 Results
How do I page results in SQL Server 2005?
I tried it in SQL Server 2000, but there was no reliable way to do this. I'm now wondering if SQL Server 2005 has any built in method?
What I mean by paging ...
19
votes
5
answers
9k
views
How to curl or wget a web page?
I would like to make a nightly cron job that fetches my stackoverflow page and diffs it from the previous day's page, so I can see a change summary of my questions, answers, ranking, etc.
...
13
votes
5
answers
5k
views
SQL Server 2005 For XML Explicit - Need help formatting
I have a table with a structure like the following:
LocationID
AccountNumber
long-guid-here
12345
long-guid-here
54321
To pass into another stored procedure, I need the XML to look like this:
<root&...
11
votes
5
answers
3k
views
SQL Server 2000: Is there a way to tell when a record was last modified?
The table doesn't have a last updated field and I need to know when existing data was updated. So adding a last updated field won't help (as far as I know).