PostId int64 4 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 1 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -55 461k | OwnerUndeletedAnswerCountAtPostTime int64 0 21.5k | Title stringlengths 3 250 | BodyMarkdown stringlengths 5 30k ⌀ | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8,950 | 08/12/2008 15:17:47 | 509 | 08/06/2008 13:10:37 | 43 | 5 | SharePoint WSS 3.0 Integration with Mac OSX (either Safari or Firefox) | We have a SharePoint WSS site and some of our users on on the Mac OSX platform. Are there any tips or tricks to get a similar experience to Windows with document shares and calendars on the Mac? | osx | sharepoint | wss | null | null | null | open | SharePoint WSS 3.0 Integration with Mac OSX (either Safari or Firefox)
===
We have a SharePoint WSS site and some of our users on on the Mac OSX platform. Are there any tips or tricks to get a similar experience to Windows with document shares and calendars on the Mac? | 0 |
8,952 | 08/12/2008 15:20:25 | 565 | 08/06/2008 18:51:58 | 1 | 0 | Storing a file in a database as opposed to the file system? | Generally, how bad of a performance hit is storing a file in a database (specifically mssql) as opposed to the file system? I can't come up with a reason outside of application portability that I would want to store my files as varbinaries in SQL Server. | database | sqlserver2005 | filesystems | storage | null | null | open | Storing a file in a database as opposed to the file system?
===
Generally, how bad of a performance hit is storing a file in a database (specifically mssql) as opposed to the file system? I can't come up with a reason outside of application portability that I would want to store my files as varbinaries in SQL Server. | 0 |
8,966 | 08/12/2008 15:28:34 | 1,124 | 08/12/2008 15:13:50 | 1 | 0 | Using C#/WIA version 2.0 on Vista to Scan | I want to implement a paperless filing system and was looking to use WIA with C# for the image acquisition. There are quite a few sample projects on CodeProject, etc. However, after downloading every one of them that I can find, I have run into a problem.
In each and every one of them, the reference to WIALib is bro... | c# | .net | dotnet | wia | scanner | null | open | Using C#/WIA version 2.0 on Vista to Scan
===
I want to implement a paperless filing system and was looking to use WIA with C# for the image acquisition. There are quite a few sample projects on CodeProject, etc. However, after downloading every one of them that I can find, I have run into a problem.
In each and ev... | 0 |
8,968 | 08/12/2008 15:29:18 | 1,126 | 08/12/2008 15:24:01 | 1 | 0 | What OSS project should I look at if I need to do Spring friendly WorkFlow? | We need to add WorkFlow to our Spring managed application. Does anyone have any useful experience in using any of the myriad of OSS Work Flow solutions? Which one is best? Which one integrates with Spring best? Which ones should we avoid? | java | spring | workflow | null | null | null | open | What OSS project should I look at if I need to do Spring friendly WorkFlow?
===
We need to add WorkFlow to our Spring managed application. Does anyone have any useful experience in using any of the myriad of OSS Work Flow solutions? Which one is best? Which one integrates with Spring best? Which ones should we avoid? | 0 |
8,970 | 08/12/2008 15:31:40 | 85 | 08/01/2008 16:38:08 | 26 | 0 | Accessing iSight programatically? | Is it possible to access the iSight camera on a macbook programatically? By this I mean I would like to be able to just grab still frames from the iSight camera on command and then do something with them. If so, is it only accessible using objective c, or could other languages be used as well? | osx | objectivec | webcam | camera | isight | null | open | Accessing iSight programatically?
===
Is it possible to access the iSight camera on a macbook programatically? By this I mean I would like to be able to just grab still frames from the iSight camera on command and then do something with them. If so, is it only accessible using objective c, or could other languages be ... | 0 |
9,002 | 08/12/2008 15:58:30 | 162 | 08/02/2008 20:09:15 | 50 | 4 | How do I get dbmail to process items from the queue for SQL Server 2005? | When I use the sp_send_dbmail stored procedure, I get a message saying that my mail was queued. However, it never seems to get delivered. I can see them in the queue if I run this SQL:
SELECT * FROM msdb..sysmail_allitems WHERE sent_status = 'unsent'
This SQL returns a 1:
SELECT is_broker_enabled F... | sql-server | sqlserver2005 | null | null | null | null | open | How do I get dbmail to process items from the queue for SQL Server 2005?
===
When I use the sp_send_dbmail stored procedure, I get a message saying that my mail was queued. However, it never seems to get delivered. I can see them in the queue if I run this SQL:
SELECT * FROM msdb..sysmail_allitems WHERE sen... | 0 |
9,018 | 08/12/2008 16:20:58 | 636 | 08/07/2008 12:32:33 | 114 | 13 | Windows Mobile Device Emulator - how to save config permanently? | I am working at a client site where there is a proxy server (HTTP) in place. If I do a hard reset of the emulator it forgets network connection settings for the emulator and settings in the hosted Windows Mobile OS. If I 'save state and exit' it will lose all of these settings. I need to do hard resets regularly which ... | visual-studio | windows-mobile | device | emulator | null | null | open | Windows Mobile Device Emulator - how to save config permanently?
===
I am working at a client site where there is a proxy server (HTTP) in place. If I do a hard reset of the emulator it forgets network connection settings for the emulator and settings in the hosted Windows Mobile OS. If I 'save state and exit' it will... | 0 |
9,019 | 08/12/2008 16:22:14 | 1,030 | 08/11/2008 15:40:52 | 38 | 4 | Best method for varchar date validation in T-SQL? | I have a stored procedure which takes as its parameter a *varchar* which needs to be cast as a *datetime* for later use:
SET @the_date = CAST(@date_string AS DATETIME)
I'm expecting the date string to be supplied in the format "DD-MON-YYYY", but in an effort to code defensively, if for some reason it can't be... | datetime | varchar | cast | validation | t-sql | null | open | Best method for varchar date validation in T-SQL?
===
I have a stored procedure which takes as its parameter a *varchar* which needs to be cast as a *datetime* for later use:
SET @the_date = CAST(@date_string AS DATETIME)
I'm expecting the date string to be supplied in the format "DD-MON-YYYY", but in an eff... | 0 |
9,022 | 08/12/2008 16:25:18 | 296 | 08/04/2008 13:26:48 | 76 | 12 | Html entities inside asp.net page | Inside an asp.net page, shoul I use
<html><title>My page's title from México</title></html>
Or
<html><title>My page's title from México</title></html>
Both examples have same output. Since asp.net encodes all my pages to utf-8 there is no need to use html entities, is that right?
Thanks a... | encoding | null | null | null | null | null | open | Html entities inside asp.net page
===
Inside an asp.net page, shoul I use
<html><title>My page's title from México</title></html>
Or
<html><title>My page's title from México</title></html>
Both examples have same output. Since asp.net encodes all my pages to utf-8 there is no need to use ht... | 0 |
9,024 | 08/12/2008 16:27:39 | 614 | 08/07/2008 10:47:20 | 71 | 7 | HTTPS in IIS 5.1 | I'm using IIS 5.1 in Windows XP on my development computer. I'm going to set up HTTPS on my company's web server, but I want to try doing it locally before doing it on a production system.
But when I go into the Directory Security tab of my web site's configuration section, the "Secure communication" groupbox is dis... | iis | ssl | website | null | null | null | open | HTTPS in IIS 5.1
===
I'm using IIS 5.1 in Windows XP on my development computer. I'm going to set up HTTPS on my company's web server, but I want to try doing it locally before doing it on a production system.
But when I go into the Directory Security tab of my web site's configuration section, the "Secure communic... | 0 |
9,033 | 08/12/2008 16:32:24 | 31,505 | 2008-09-01 | 8 | 2 | Hidden Features of C# | This came to my mind after i learned the following from [this question][1]:
where T : struct
We, c# developers, all know the basics of c#. I mean declerations, conditionals, loops, operators, etc.
Some of us even mastered the stuff like [Generics][2], [anonymous types][3], [lambdas][4], [linq][5], ...
B... | c# | null | null | null | null | 02/29/2012 16:52:14 | not constructive | Hidden Features of C#
===
This came to my mind after i learned the following from [this question][1]:
where T : struct
We, c# developers, all know the basics of c#. I mean declerations, conditionals, loops, operators, etc.
Some of us even mastered the stuff like [Generics][2], [anonymous types][3], [lambd... | 4 |
9,044 | 08/12/2008 16:52:08 | 122 | 08/02/2008 07:56:07 | 2,100 | 109 | Can I specify a class wide group on a TestNG test case? | I have a base class that represents a database test in TestNG, and I want to specify that all classes extending from this class are of a group "db-test", however I have found that this doesn't seem possible. I have tried the @Test annotation:
@Test(groups = { "db-test" })
public class DBTestBase {
}
... | java | testng | null | null | null | null | open | Can I specify a class wide group on a TestNG test case?
===
I have a base class that represents a database test in TestNG, and I want to specify that all classes extending from this class are of a group "db-test", however I have found that this doesn't seem possible. I have tried the @Test annotation:
@Test(gr... | 0 |
9,051 | 08/12/2008 17:02:24 | 25 | 08/01/2008 12:15:23 | 331 | 36 | What is best blogging host for programmers/code formatting? | I was just reading [how can you tell whether you're ready to start your own blog.][1] The answers are so good and inspiring that I made rush to start my own blog using [blogger][2] and stopped right in my tracks. I looked on the menu bar as I was creating my first post, and duh, there's no nice "code sample" formatti... | blog | formatting | programmer | self-improvement | null | 11/25/2011 13:59:55 | not constructive | What is best blogging host for programmers/code formatting?
===
I was just reading [how can you tell whether you're ready to start your own blog.][1] The answers are so good and inspiring that I made rush to start my own blog using [blogger][2] and stopped right in my tracks. I looked on the menu bar as I was crea... | 4 |
9,052 | 08/12/2008 17:03:28 | 428,190 | 08/09/2008 23:23:13 | 37 | 5 | Is there a way for MS Access to grab the current Active Directory user? | I'm working on a spec for a piece of software for my company and as part of the auditing system I think it would be neat if there was a way to grab the current Active Directory user.
Hopefully something like:
Dim strUser as String
strUser = ActiveDirectory.User()
MsgBox "Welcome back, " & strUser
| activedirectory | access | directory | microsoftaccess | ms-access | null | open | Is there a way for MS Access to grab the current Active Directory user?
===
I'm working on a spec for a piece of software for my company and as part of the auditing system I think it would be neat if there was a way to grab the current Active Directory user.
Hopefully something like:
Dim strUser as String
... | 0 |
9,072 | 08/12/2008 17:47:26 | 67 | 08/01/2008 14:49:18 | 80 | 6 | YUI drag&drop proxy drag | Question for YUI experts...
I have a table and I've made each cell of the first row draggable by [proxy][1]. In IE, when the drag proxy is released, the original table cell actually jumps to wherever the release point was. How can I prevent this from happening? Essentially, I want to know where the proxy was dropped... | yui | dragdrop | null | null | null | null | open | YUI drag&drop proxy drag
===
Question for YUI experts...
I have a table and I've made each cell of the first row draggable by [proxy][1]. In IE, when the drag proxy is released, the original table cell actually jumps to wherever the release point was. How can I prevent this from happening? Essentially, I want to kn... | 0 |
9,081 | 08/12/2008 17:55:32 | 116 | 08/02/2008 05:51:57 | 1,725 | 105 | grep a file, but show several surrounding lines? | I would like to grep for a string, but show the preceding 5 lines and following 5 lines as well as the matched line. I'm scanning for errors in a logfile, and want to see the context.
Any clues for the clueless? | linux | search | logging | grep | null | null | open | grep a file, but show several surrounding lines?
===
I would like to grep for a string, but show the preceding 5 lines and following 5 lines as well as the matched line. I'm scanning for errors in a logfile, and want to see the context.
Any clues for the clueless? | 0 |
9,091 | 08/12/2008 18:01:27 | 571 | 08/06/2008 20:19:59 | 452 | 37 | Accessing audio/video metadata with .NET | What is the best way to get and set the meta data for mp3, mp4, avi files etc. with .NET? | .net | video | audio | mp3 | null | null | open | Accessing audio/video metadata with .NET
===
What is the best way to get and set the meta data for mp3, mp4, avi files etc. with .NET? | 0 |
9,104 | 08/12/2008 18:27:35 | 232 | 08/03/2008 20:02:07 | 43 | 10 | Add a bookmark that is only javascript, not a URL | I'm thinking that the reason I can't do this is because it might be a huge security hole, but here goes...
I want to have a bookmark on my browser (FF3, preferably) that is only a snippet of javascript code. It would merely construct a URL based on the current date and then do a window.location = on that URL.
I ... | javascrip | bookmark | null | null | null | null | open | Add a bookmark that is only javascript, not a URL
===
I'm thinking that the reason I can't do this is because it might be a huge security hole, but here goes...
I want to have a bookmark on my browser (FF3, preferably) that is only a snippet of javascript code. It would merely construct a URL based on the current ... | 0 |
9,122 | 08/12/2008 18:45:55 | 44 | 08/01/2008 13:03:39 | 102 | 4 | Select all columns except one in MySQL? | I'm trying to use a select statement to get all of the columns from a certain MySQL table except one. Is there a simple way to do this? | mysql | select | columns | null | null | null | open | Select all columns except one in MySQL?
===
I'm trying to use a select statement to get all of the columns from a certain MySQL table except one. Is there a simple way to do this? | 0 |
9,136 | 08/12/2008 19:01:17 | 767 | 08/08/2008 17:04:18 | 1 | 0 | Enterprise Library CacheFactory.GetCacheManager Throws Null Ref | I'm trying to convert an application using the 1.1 version of the Enterprise Library Caching block over to the 2.0 version. I think where I'm really having a problem is that the configuration for the different EntLib pieces was split out over several files. Apparently, this used to be handled by the **ConfigurationMa... | c# | configuration | enterpriselibrary | null | null | null | open | Enterprise Library CacheFactory.GetCacheManager Throws Null Ref
===
I'm trying to convert an application using the 1.1 version of the Enterprise Library Caching block over to the 2.0 version. I think where I'm really having a problem is that the configuration for the different EntLib pieces was split out over several... | 0 |
9,143 | 08/12/2008 19:10:25 | 205 | 08/03/2008 13:31:27 | 116 | 9 | FogBugz compared to OnTime | Has anyone used both FogBugz and Axosoft's OnTime and care to offer an opinion? AxoSoft has a big [feature comparison chart][1] but I'm also interested in more subjective thoughts on things like ease of use and stability.
[1]: http://www.axosoft.com/products/ontime_competition.aspx | fogbugz | issue-tracking | ontime | null | null | null | open | FogBugz compared to OnTime
===
Has anyone used both FogBugz and Axosoft's OnTime and care to offer an opinion? AxoSoft has a big [feature comparison chart][1] but I'm also interested in more subjective thoughts on things like ease of use and stability.
[1]: http://www.axosoft.com/products/ontime_competition.as... | 0 |
9,161 | 08/12/2008 19:27:35 | 71 | 08/01/2008 15:05:56 | 419 | 53 | Opening a file in my application from File Explorer | I've created my own application in VB.NET that saves its documents into a file with it's own custom extension (.eds).
Assuming that I've properly associated the file extension with my application, how do I actually handle the processing of the selected file within my application when I double click on the file in Fi... | vb.net | file-extension | null | null | null | null | open | Opening a file in my application from File Explorer
===
I've created my own application in VB.NET that saves its documents into a file with it's own custom extension (.eds).
Assuming that I've properly associated the file extension with my application, how do I actually handle the processing of the selected file wi... | 0 |
9,173 | 08/12/2008 19:35:44 | 1,135 | 08/12/2008 18:03:12 | 51 | 1 | Lingering assembly dependency in C# .NET | My C# project - we'll call it the SuperUI - used to make use of a class from an external assembly. Now it doesn't, but the compiler won't let me build the project without the assembly reference in place. Let me elaborate.
This project used to throw and catch a custom exception class - the *SuperException* - which wa... | c# | .net | dependencies | null | null | null | open | Lingering assembly dependency in C# .NET
===
My C# project - we'll call it the SuperUI - used to make use of a class from an external assembly. Now it doesn't, but the compiler won't let me build the project without the assembly reference in place. Let me elaborate.
This project used to throw and catch a custom exc... | 0 |
10,702,287 | 05/22/2012 12:45:07 | 1,410,209 | 05/22/2012 12:30:45 | 1 | 0 | Set a only some rows invisible in a automaicly createt list | I want to work dynamicly with listviews.
They become createt automaticly but for hiding features i want set the visiblety of single entrys to "gone" so the entry is createt but the space isn´t used.
Now i create the lists by stringarrays and every clickevent of an entry gets the ID of the clicked entry for openi... | java | android | null | null | null | null | open | Set a only some rows invisible in a automaicly createt list
===
I want to work dynamicly with listviews.
They become createt automaticly but for hiding features i want set the visiblety of single entrys to "gone" so the entry is createt but the space isn´t used.
Now i create the lists by stringarrays and every ... | 0 |
10,711,446 | 05/22/2012 23:19:35 | 751,204 | 05/12/2011 19:30:39 | 53 | 5 | JDBC Call to Oracle Stored Procedure with parameters of type PL SQL table | I need to make JDBC call to a procedure with parameters of type PL/SQL table.
I am trying with struct object. But I am not doing some thing correct.
I get the error:
ORA-04043: object "scott"."objListStruct" does not exist.
Here is the code snippet:
conn = Application.getDBConnection();
CallableS... | java | oracle | jdbc | plsql | cursor | null | open | JDBC Call to Oracle Stored Procedure with parameters of type PL SQL table
===
I need to make JDBC call to a procedure with parameters of type PL/SQL table.
I am trying with struct object. But I am not doing some thing correct.
I get the error:
ORA-04043: object "scott"."objListStruct" does not exist.
Here is th... | 0 |
10,708,950 | 05/22/2012 19:39:42 | 728,790 | 04/28/2011 07:35:32 | 412 | 4 | Scala abstract type bounds cross referencing | I have two abstract classes which will hold references to each other:
abstract class Hex
{
type SideT <: Side
}
abstract class Side //In separate file
{
type HexT <: Hex
}
How / can I type bound the type members so as the types of HexT in the SideT members of the der... | scala | type-bounds | null | null | null | null | open | Scala abstract type bounds cross referencing
===
I have two abstract classes which will hold references to each other:
abstract class Hex
{
type SideT <: Side
}
abstract class Side //In separate file
{
type HexT <: Hex
}
How / can I type bound the type members so as... | 0 |
10,708,953 | 05/22/2012 19:39:49 | 1,411,071 | 05/22/2012 19:31:26 | 1 | 0 | unexpected result when using Floating-point literals in javascrip | look at this code
var x=2E-7
console.log(x);
when i run it result will be 2E-7 instead of 20000000
why?is it a bug or sth else? | javascript | null | null | null | null | null | open | unexpected result when using Floating-point literals in javascrip
===
look at this code
var x=2E-7
console.log(x);
when i run it result will be 2E-7 instead of 20000000
why?is it a bug or sth else? | 0 |
10,711,461 | 05/22/2012 23:21:07 | 1,128,524 | 01/03/2012 19:07:52 | 66 | 3 | codeigniter select as | how doHow do we do
`select table.value as table_value from table ` in codeigniter?
The `AS` part doesnt work because when i try to access the value,
this doesnt work:
$qry_inp = 'select table.value as table_value from table '
$query = $this->db->query($qry_inp);
echo $qu... | php | codeigniter | select | null | null | null | open | codeigniter select as
===
how doHow do we do
`select table.value as table_value from table ` in codeigniter?
The `AS` part doesnt work because when i try to access the value,
this doesnt work:
$qry_inp = 'select table.value as table_value from table '
$query = $this->db->query($qry... | 0 |
9,185 | 08/12/2008 19:46:43 | 999 | 08/11/2008 12:32:21 | 117 | 19 | What is the best MySQL Client Application for Windows | Are there any MySQL Client applications for Windows that get even close to what the Enterprise Manager / Server Management Studio is for Microsoft SQL?
I have two requirements and one "nice to have" feature:
1. Editing table structure should not be a pain in the a** -> I don't want to click an "add another column... | mysql | frontend | client | windows | null | 02/10/2012 03:59:36 | not constructive | What is the best MySQL Client Application for Windows
===
Are there any MySQL Client applications for Windows that get even close to what the Enterprise Manager / Server Management Studio is for Microsoft SQL?
I have two requirements and one "nice to have" feature:
1. Editing table structure should not be a pain... | 4 |
9,191 | 08/12/2008 19:50:13 | 755 | 08/08/2008 15:28:16 | 72 | 6 | How to obtain good concurrent read performance from disk. | I'd like to ask a question then follow it up with my own answer, but also see what answers other people have.
We have two large files which we'd like to read from two separate threads concurrently. One thread will sequentially read fileA while the other thread will sequentially read fileB. There is no locking or c... | windows | multithreading | file-io | null | null | null | open | How to obtain good concurrent read performance from disk.
===
I'd like to ask a question then follow it up with my own answer, but also see what answers other people have.
We have two large files which we'd like to read from two separate threads concurrently. One thread will sequentially read fileA while the other... | 0 |
9,204 | 08/12/2008 20:06:13 | 578 | 08/06/2008 22:07:45 | 26 | 3 | IL level code debugger | Is there any IL level debugger in form of a VS plugin or standalone application?
Visual studio’s debugger is great, but it allows you to debug on either HLL code level or asselbly language, you can’t debug IL.
It seems that in some situations it would be useful to have an opportunity to debug at IL level.
In pa... | .net | debugging | il | null | null | null | open | IL level code debugger
===
Is there any IL level debugger in form of a VS plugin or standalone application?
Visual studio’s debugger is great, but it allows you to debug on either HLL code level or asselbly language, you can’t debug IL.
It seems that in some situations it would be useful to have an opportunity to ... | 0 |
9,228 | 08/12/2008 20:48:30 | 357 | 08/05/2008 01:29:23 | 535 | 29 | ADO.NET Connection Pooling & MS SQL | <ul>
<li>What is it?</li>
<li>How do I implement connection pooling with MS SQL?</li>
<li>What are the performance ramifications when</li>
<ul>
<li>Executing many queries one-after-the other (i.e. using a loop with 30K+ iterations calling a stored procedure)?</li>
<li>Executing a few queries... | mssql | performance | ado.net | null | null | null | open | ADO.NET Connection Pooling & MS SQL
===
<ul>
<li>What is it?</li>
<li>How do I implement connection pooling with MS SQL?</li>
<li>What are the performance ramifications when</li>
<ul>
<li>Executing many queries one-after-the other (i.e. using a loop with 30K+ iterations calling a stored procedure)... | 0 |
9,231 | 08/12/2008 20:49:54 | 538 | 08/06/2008 15:35:43 | 1 | 2 | Offsite backups | I was recently tasked with coming up with an offsite backup strategy. We have about 2TB of data that would need to be backed up so our needs are a little out of the norm.
I looked into Iron Mountain and they wanted $12,000 a month!
Does anyone have any suggestions on how best to handle backing up this much data... | backup | offsite | null | null | null | null | open | Offsite backups
===
I was recently tasked with coming up with an offsite backup strategy. We have about 2TB of data that would need to be backed up so our needs are a little out of the norm.
I looked into Iron Mountain and they wanted $12,000 a month!
Does anyone have any suggestions on how best to handle back... | 0 |
9,240 | 08/12/2008 21:06:38 | 1,144 | 08/12/2008 19:00:54 | 1 | 0 | Interfaces on different logic layers | Say you have an application divided into 3-tiers. GUI, business logic and data access. In your business logic layer you have described your business objects. Getters, accessors and so on... you get the idea. The interface to the business logic layer guarantees safe usage of the business logic, so all the methods and ac... | architecture | null | null | null | null | null | open | Interfaces on different logic layers
===
Say you have an application divided into 3-tiers. GUI, business logic and data access. In your business logic layer you have described your business objects. Getters, accessors and so on... you get the idea. The interface to the business logic layer guarantees safe usage of the... | 0 |
9,256 | 08/12/2008 21:27:40 | 905 | 08/10/2008 09:37:14 | 346 | 29 | Printing Flex components in FireFox 3 | Thanks to FireFox's buggy implementation of ActiveX components (it really should take an image of them when printing) Flex components (in our case charts) don't print in FX.
They print fine in IE7, even IE6.
We need these charts to print, but they also have dynamic content. I don't really want to draw them again... | flex | actionscript-3 | firefox | null | null | null | open | Printing Flex components in FireFox 3
===
Thanks to FireFox's buggy implementation of ActiveX components (it really should take an image of them when printing) Flex components (in our case charts) don't print in FX.
They print fine in IE7, even IE6.
We need these charts to print, but they also have dynamic conte... | 0 |
9,272 | 08/12/2008 21:44:32 | 1,146 | 08/12/2008 19:16:00 | 11 | 3 | Finding untracked files in a Perforce tree | Anybody have a script or alias to find untracked (really: unadded) files in a Perforce tree? | version-control | perforce | null | null | null | null | open | Finding untracked files in a Perforce tree
===
Anybody have a script or alias to find untracked (really: unadded) files in a Perforce tree? | 0 |
9,275 | 08/12/2008 21:47:45 | 1,104 | 08/12/2008 12:02:17 | 11 | 5 | Using Parameters in MS Reporting Services (SQL 2008) against an ODBC data source | I writing a report in Visual Studio that takes a user input parameter and runs against an ODBC datasource. I would like to write the query manually and have reporting services replace part of the where clause with the parameter value before sending it to the database. What seems to be happening is that the @parmName I ... | visual-studio | reporting-services | sqlserver2008 | odbc | null | null | open | Using Parameters in MS Reporting Services (SQL 2008) against an ODBC data source
===
I writing a report in Visual Studio that takes a user input parameter and runs against an ODBC datasource. I would like to write the query manually and have reporting services replace part of the where clause with the parameter value ... | 0 |
9,279 | 08/12/2008 21:56:10 | 302 | 08/04/2008 13:39:41 | 183 | 9 | Keep Remote Directory Up-to-date | I absolutely love the [Keep Remote Directory Up-to-date][1] feature in [Winscp][2]. Unfortunately, I can't find anything as simple to use in OS X or Linux. I know the same thing can *theoretically* be accomplished using [changedfiles][3] or [rsync][4], but I've always found the tutorials for both tools to be lacking an... | linux | osx | rsync | ssh | sftp | null | open | Keep Remote Directory Up-to-date
===
I absolutely love the [Keep Remote Directory Up-to-date][1] feature in [Winscp][2]. Unfortunately, I can't find anything as simple to use in OS X or Linux. I know the same thing can *theoretically* be accomplished using [changedfiles][3] or [rsync][4], but I've always found the tut... | 0 |
9,289 | 08/12/2008 22:21:30 | 268 | 08/04/2008 10:11:11 | 256 | 17 | Removing elements with Array.map in JavaScript | I would like to filter an array of items by using the map() function. Here is a code snippet:
var filteredItems = items.map(function(item)
{
if( ...some condition... )
{
return item;
}
});
The problem is that filtered out items still uses space in the array an... | js | javascript | functional | map | remove | null | open | Removing elements with Array.map in JavaScript
===
I would like to filter an array of items by using the map() function. Here is a code snippet:
var filteredItems = items.map(function(item)
{
if( ...some condition... )
{
return item;
}
});
The problem is that... | 0 |
9,301 | 08/12/2008 23:01:10 | 1,100 | 08/12/2008 11:58:29 | 1 | 1 | Weird event behavior in IE7 | I'm having trouble with events in **Internet Explorer 7**
When I have a **form** with **TWO+ input[type=text]** and I press **Enter key** the events occurs in this order:
1. submit button, onClick
1. form, onSubmit
Sample code:
<FORM onSubmit="{alert('form::onSubmit'); return false;}">
<INPUT TYPE="t... | javascript | events | internet-explorer | null | null | null | open | Weird event behavior in IE7
===
I'm having trouble with events in **Internet Explorer 7**
When I have a **form** with **TWO+ input[type=text]** and I press **Enter key** the events occurs in this order:
1. submit button, onClick
1. form, onSubmit
Sample code:
<FORM onSubmit="{alert('form::onSubmit'); r... | 0 |
9,303 | 08/12/2008 23:04:10 | 889 | 08/10/2008 08:04:03 | 79 | 6 | How do you retrieve selected text using Regex in C#? | How do you retrieve selected text using Regex in C#?
I am looking for c# code that is equivalent to this perl code:
$indexVal = 0;
if($string =~ /Index: (\d*)/){$indexVal = $1;} | c# | regex | perl | null | null | null | open | How do you retrieve selected text using Regex in C#?
===
How do you retrieve selected text using Regex in C#?
I am looking for c# code that is equivalent to this perl code:
$indexVal = 0;
if($string =~ /Index: (\d*)/){$indexVal = $1;} | 0 |
9,304 | 08/12/2008 23:06:58 | 91 | 08/01/2008 17:55:22 | 3,555 | 232 | .net 3.0 Auto-Properties - useful or not? | I am used to create my Properties in C# using a private and a public field:
private string title;
public string Title
{
get { return title; }
set { title = value; }
}
Now, with .net 3.0, we got auto-properties:
public string Title { get; set; }
I know this is more ... | c# | .net | null | null | null | null | open | .net 3.0 Auto-Properties - useful or not?
===
I am used to create my Properties in C# using a private and a public field:
private string title;
public string Title
{
get { return title; }
set { title = value; }
}
Now, with .net 3.0, we got auto-properties:
public str... | 0 |
9,314 | 08/12/2008 23:17:00 | 234 | 08/03/2008 20:25:38 | 801 | 72 | "Could not find type" error loading a form in the Designer | I have a .NET 2.0 windows forms app, which makes heavy use of the `ListView` control.
I've subclassed the `ListView` class into a templated `SortableListView<T>` class, so it can be a bit smarter about how it displays things, and sort itself.
Unfortunately this seems to break the Visual Studio Forms Designer, in ... | c# | .net | winforms | vs2008 | .net2.0 | null | open | "Could not find type" error loading a form in the Designer
===
I have a .NET 2.0 windows forms app, which makes heavy use of the `ListView` control.
I've subclassed the `ListView` class into a templated `SortableListView<T>` class, so it can be a bit smarter about how it displays things, and sort itself.
Unfortu... | 0 |
9,321 | 08/12/2008 23:35:00 | 432 | 08/05/2008 17:18:46 | 613 | 33 | How do you create a static class in C++? | How do you create a static class in C++? I should be able to do something like:
cout << "bit 5 is " << BitParser::getBitAt(buffer, 5) << endl;
Assuming I created the BitParser class. What would the BitParser class definition look like? | c++ | oop | syntax | static | class | null | open | How do you create a static class in C++?
===
How do you create a static class in C++? I should be able to do something like:
cout << "bit 5 is " << BitParser::getBitAt(buffer, 5) << endl;
Assuming I created the BitParser class. What would the BitParser class definition look like? | 0 |
9,331 | 08/12/2008 23:45:51 | 72 | 08/01/2008 15:09:58 | 666 | 31 | Integrating QuickBooks with your e-commerce site | I've recently been tasked with integrating QuickBooks with a custom built e-commerce site. What is the most painless way to go about integrating QuickBooks with my code? Are there any F/OSS or commercial software packages available that will simplify this process? Are there any F/OSS shopping cart solutions out ther... | php | e-commerce | accounting | quickbooks | null | null | open | Integrating QuickBooks with your e-commerce site
===
I've recently been tasked with integrating QuickBooks with a custom built e-commerce site. What is the most painless way to go about integrating QuickBooks with my code? Are there any F/OSS or commercial software packages available that will simplify this process?... | 0 |
9,336 | 08/13/2008 00:01:11 | 296 | 08/04/2008 13:26:48 | 86 | 13 | Generate sitemap on the fly | I'm trying to generate a sitemap.xml on the fly for a particular asp.net website.
I found a couple solutions:<br />
1. [chinookwebs][1]
2. [cervoproject][2]
3. [newtonking][3]
Chinookwebs is working great but seems a bit inactive right now and it's impossible to personalize the "priority" and the "change... | sitemap | null | null | null | null | null | open | Generate sitemap on the fly
===
I'm trying to generate a sitemap.xml on the fly for a particular asp.net website.
I found a couple solutions:<br />
1. [chinookwebs][1]
2. [cervoproject][2]
3. [newtonking][3]
Chinookwebs is working great but seems a bit inactive right now and it's impossible to personali... | 0 |
9,338 | 08/13/2008 00:01:56 | 1,063 | 08/12/2008 05:40:42 | 33 | 13 | Quality Control / Log Monitoring | One of the articles I really enjoyed reading recently was [Quality Control by Last.FM][1]. In the spirit of this article, I was wondering if anyone else had favorite monitoring setups for web type applications. Or maybe if you don't believe in Log Monitoring, why? I'm looking for a mix of opinion slash experience here ... | monitoring | application | logging | null | null | null | open | Quality Control / Log Monitoring
===
One of the articles I really enjoyed reading recently was [Quality Control by Last.FM][1]. In the spirit of this article, I was wondering if anyone else had favorite monitoring setups for web type applications. Or maybe if you don't believe in Log Monitoring, why? I'm looking for a... | 0 |
9,341 | 08/13/2008 00:11:03 | 233 | 08/03/2008 20:19:32 | 192 | 18 | Running Javascript after control's selected value has been set | Simple asp.net application.
I have two drop down controls, on the first drop down I have a javascript onChange event. The javascript enables the second drop down and removes a value from it (the value selected in the first drop down). If they click the blank first value of the dropdown, then the second drop down wil... | asp.net | javascript | null | null | null | null | open | Running Javascript after control's selected value has been set
===
Simple asp.net application.
I have two drop down controls, on the first drop down I have a javascript onChange event. The javascript enables the second drop down and removes a value from it (the value selected in the first drop down). If they click ... | 0 |
9,355 | 08/13/2008 00:35:50 | 234 | 08/03/2008 20:25:38 | 826 | 75 | Programatically select multiple files in windows explorer | I can display and select a single file in windows explorer like this:
explorer.exe /select, "c:\path\to\file.txt"
However, I can't work out how to select more than one file. None of the permutations of select I've tried work. Help!
Note: I looked at these pages for docs, neither helped.
<http://support.... | windows | shell | explorer | null | null | null | open | Programatically select multiple files in windows explorer
===
I can display and select a single file in windows explorer like this:
explorer.exe /select, "c:\path\to\file.txt"
However, I can't work out how to select more than one file. None of the permutations of select I've tried work. Help!
Note: I look... | 0 |
9,361 | 08/13/2008 00:49:17 | 318 | 08/04/2008 15:47:15 | 56 | 13 | ICE Faces fileInput file path and file name properties | I'd like to utilize an ICE Faces fileInput control to fill in the file path & file name for the input to an input field on a web page based on file that the user selects. How can I capture these properties without actually performing any file transfer operations? | java | ajax | jsf | icefaces | null | null | open | ICE Faces fileInput file path and file name properties
===
I'd like to utilize an ICE Faces fileInput control to fill in the file path & file name for the input to an input field on a web page based on file that the user selects. How can I capture these properties without actually performing any file transfer operatio... | 0 |
9,372 | 08/13/2008 01:02:27 | 1,157 | 08/13/2008 01:02:27 | 1 | 0 | How do I stop IIS7 dropping my cookies? | I'm using Windows Vista x64 with SP1, and developing an ASP.NET app with IIS7 as the web server. I've got a problem where my cookies aren't "sticking" to the session, so I had a google and found that there was a known issue with duplicate response headers overwriting instead of being added to the session. This problem ... | iis | http | windows-vista | iis7 | cookies | null | open | How do I stop IIS7 dropping my cookies?
===
I'm using Windows Vista x64 with SP1, and developing an ASP.NET app with IIS7 as the web server. I've got a problem where my cookies aren't "sticking" to the session, so I had a google and found that there was a known issue with duplicate response headers overwriting instead... | 0 |
9,376 | 08/13/2008 01:05:47 | 1,083 | 08/12/2008 11:00:58 | 21 | 1 | ILMerge Best Practices | Do you use ILMerge?
Do you use ILMerge to merge multiple assemblies to ease deployment of dll's?
Have you found problems with deployment/versioning in production after ILMerging assemblies together?
I'm looking for some advice in regards to using ILMerge to reduce deployment friction, if that is even possible.
... | c# | deployment | ilmerge | null | null | null | open | ILMerge Best Practices
===
Do you use ILMerge?
Do you use ILMerge to merge multiple assemblies to ease deployment of dll's?
Have you found problems with deployment/versioning in production after ILMerging assemblies together?
I'm looking for some advice in regards to using ILMerge to reduce deployment friction, i... | 0 |
9,383 | 08/13/2008 01:14:16 | 1,154 | 08/12/2008 23:39:07 | 1 | 0 | Access a SqlServer 2005 Express Edition from a Network Computer | How do you access a **SqlServer 2005 Express Edition** from a application in a Network Computer? | sqlserver2005 | null | null | null | null | null | open | Access a SqlServer 2005 Express Edition from a Network Computer
===
How do you access a **SqlServer 2005 Express Edition** from a application in a Network Computer? | 0 |
9,388 | 08/13/2008 01:24:18 | 361 | 08/05/2008 04:20:27 | 11 | 3 | Actual Productivity Gains from Multiple Monitors | I see a lot of posts from people talking about how they cannot possibly live without two, three or 13 1/2 monitors but does anybody have an actual metrics or statistics which I could use as ammunition? Same question for comfortable chairs. The company for which I work right now is looking at buying chairs but will bu... | environment | null | null | null | null | 04/18/2012 18:23:53 | off topic | Actual Productivity Gains from Multiple Monitors
===
I see a lot of posts from people talking about how they cannot possibly live without two, three or 13 1/2 monitors but does anybody have an actual metrics or statistics which I could use as ammunition? Same question for comfortable chairs. The company for which I ... | 2 |
9,399 | 08/13/2008 01:50:16 | 1,036 | 08/11/2008 17:26:19 | 28 | 6 | Can a developer truely be Language Agnostic | Apologies this question could be interpreted as a [question not to ask](http://stackoverflow.com/faq) but an impending project has lead me to this.
* When you ( as in a developers / designer ) first encounter a task / project do you not find yourselves mini solving it as it unravels ( either read or spoken )?(1) If... | web2.0 | perl | java | pascal | bbc | null | open | Can a developer truely be Language Agnostic
===
Apologies this question could be interpreted as a [question not to ask](http://stackoverflow.com/faq) but an impending project has lead me to this.
* When you ( as in a developers / designer ) first encounter a task / project do you not find yourselves mini solving i... | 0 |
9,409 | 08/13/2008 02:15:17 | 952 | 08/11/2008 00:37:15 | 36 | 2 | ASP.Net Datagrid: in Footer calculate Avg or Sum for column | I have a datagrid getting bound to a dataset, and I want to display the average result in the footer for a column populated with integers.
The way I figure, there's 2 ways I can think of:
1."Use the **Source**, Luke"
In the code where I'm calling DataGrid.DataBind(), use the DataTable.Compute() method (*or in ... | asp.net | vb.net | datagrid | null | null | null | open | ASP.Net Datagrid: in Footer calculate Avg or Sum for column
===
I have a datagrid getting bound to a dataset, and I want to display the average result in the footer for a column populated with integers.
The way I figure, there's 2 ways I can think of:
1."Use the **Source**, Luke"
In the code where I'm calling... | 0 |
9,410 | 08/13/2008 02:16:32 | 432 | 08/05/2008 17:18:46 | 616 | 34 | How do you pass a function as a parameter in C? | I want to create a function that performs a function passed by parameter on a set of data. How do you pass a function as a parameter in C? | c | syntax | pointer | function | null | null | open | How do you pass a function as a parameter in C?
===
I want to create a function that performs a function passed by parameter on a set of data. How do you pass a function as a parameter in C? | 0 |
9,433 | 08/13/2008 03:17:52 | 327 | 08/04/2008 17:08:49 | 158 | 9 | Do you name controls on forms using the same convention as a private variable? | For some reason I never see this done. Is there a reason why not? For instance I like _blah for private variables, and at least in Windows Forms controls are by default private member variables, but I can't remember ever seeing them named that way. In the case that I am creating/storing control objects in local vari... | gui | oop | codingstyle | null | null | null | open | Do you name controls on forms using the same convention as a private variable?
===
For some reason I never see this done. Is there a reason why not? For instance I like _blah for private variables, and at least in Windows Forms controls are by default private member variables, but I can't remember ever seeing them n... | 0 |
9,434 | 08/13/2008 03:18:32 | 233 | 08/03/2008 20:19:32 | 219 | 20 | How do I add an additional window.onload event in Javascript | In my asp.net User Control I'm adding some script to the window.onload event like so:
if (!Page.ClientScript.IsStartupScriptRegistered(this.GetType(), onloadScriptName))
Page.ClientScript.RegisterStartupScript(this.GetType(), onloadScriptName,
String.Format("window.onload = function(){{ {0}(); }... | javascript | asp.net | c# | null | null | null | open | How do I add an additional window.onload event in Javascript
===
In my asp.net User Control I'm adding some script to the window.onload event like so:
if (!Page.ClientScript.IsStartupScriptRegistered(this.GetType(), onloadScriptName))
Page.ClientScript.RegisterStartupScript(this.GetType(), onloadScriptNa... | 0 |
9,435 | 08/13/2008 03:23:55 | 648 | 08/07/2008 13:22:00 | 49 | 7 | Planning and Building a mobile enabled site for your main site. | We are in the initial planning stages of building out a mobile site for one of our clients. This mobile site will be in addition to the main site that we have already built for them. We've determined that the content is going to be a small subsection of the main site and will target the main audience that is expected... | html | web | development | mobile | wap | null | open | Planning and Building a mobile enabled site for your main site.
===
We are in the initial planning stages of building out a mobile site for one of our clients. This mobile site will be in addition to the main site that we have already built for them. We've determined that the content is going to be a small subsectio... | 0 |
9,467 | 08/13/2008 04:04:05 | 699 | 08/07/2008 23:47:19 | 46 | 21 | Best way to write a RESTful service "client" in .Net? | What techniques to people use to "consume" services in the REST stile on .Net ? Plain http client? Related to this: many rest services are now using JSON (its tighter and faster) - so what JSON lib is used? | .net | webservices | rest | null | null | 04/11/2012 21:00:03 | not constructive | Best way to write a RESTful service "client" in .Net?
===
What techniques to people use to "consume" services in the REST stile on .Net ? Plain http client? Related to this: many rest services are now using JSON (its tighter and faster) - so what JSON lib is used? | 4 |
9,472 | 08/13/2008 04:27:31 | 493 | 08/06/2008 10:25:05 | 1,136 | 90 | Another WCF Backward Compatibility Issue | I have a WCF service that I have to reference from a .net 2.0 project.
I have tried to reference it using the "add web reference" method but it messes up the params. For example, I have a method in the service that expects a char[] to be passed in, but when I add the web reference, the method expects an int[].
So... | c# | .net | wcf | null | null | null | open | Another WCF Backward Compatibility Issue
===
I have a WCF service that I have to reference from a .net 2.0 project.
I have tried to reference it using the "add web reference" method but it messes up the params. For example, I have a method in the service that expects a char[] to be passed in, but when I add the web... | 0 |
9,473 | 08/13/2008 04:30:30 | 67 | 08/01/2008 14:49:18 | 80 | 7 | RaisePostBackEvent not firing | I have a custom control that implements IPostBackEventHandler. Some client-side events invoke __doPostBack(controlID, eventArgs).
The control is implemented in two different user controls. In one control, RaisePostBackEvent is fired on the server-side when __doPostBack is invoked. In the other control, RaisePostBack... | asp.net | postback | null | null | null | null | open | RaisePostBackEvent not firing
===
I have a custom control that implements IPostBackEventHandler. Some client-side events invoke __doPostBack(controlID, eventArgs).
The control is implemented in two different user controls. In one control, RaisePostBackEvent is fired on the server-side when __doPostBack is invoked. ... | 0 |
9,486 | 08/13/2008 05:09:33 | 327 | 08/04/2008 17:08:49 | 193 | 10 | How do I make Visual Studio auto generate braces for a function block? | I could swear I've seen people typing function headers and then hitting some key combination to auto-create function braces and insert the cursor between them like so:
void foo()_
to
void foo()
{
_
}
Is this a built-in feature? | c# | visual-studio | null | null | null | null | open | How do I make Visual Studio auto generate braces for a function block?
===
I could swear I've seen people typing function headers and then hitting some key combination to auto-create function braces and insert the cursor between them like so:
void foo()_
to
void foo()
{
_
}
Is th... | 0 |
9,508 | 08/13/2008 06:17:00 | 419 | 08/05/2008 14:48:22 | 882 | 63 | C# 2.0 code consuming assemblies compiled with C# 3.0 | This should be fine seeing as the CLR hasn't actually changed?
The boxes running the C# 2.0 code **have** had .NET 3.5 rolled out.
The background is that we have a windows service (.NET 2.0 exe) that dynamically loads assemblies (almost like plug-ins) to complete various work items asked of it. Whenever we roll o... | csharp | .net | null | null | null | null | open | C# 2.0 code consuming assemblies compiled with C# 3.0
===
This should be fine seeing as the CLR hasn't actually changed?
The boxes running the C# 2.0 code **have** had .NET 3.5 rolled out.
The background is that we have a windows service (.NET 2.0 exe) that dynamically loads assemblies (almost like plug-ins) to ... | 0 |
9,543 | 08/13/2008 07:33:45 | 960 | 08/11/2008 07:00:32 | 345 | 34 | How do you deploy your SharePoint solutions? | I am now in the process of planning the deployment of a SharePoint solution into a production environment.
I have read about some tools that promise an easy way to automate this process, but nothing that seems to fit my scenario.
In the testing phase I have used SharePoint Designer to copy site content between th... | sharepoint | deployment | production | null | null | null | open | How do you deploy your SharePoint solutions?
===
I am now in the process of planning the deployment of a SharePoint solution into a production environment.
I have read about some tools that promise an easy way to automate this process, but nothing that seems to fit my scenario.
In the testing phase I have used S... | 0 |
9,570 | 08/13/2008 08:05:00 | 1,163 | 08/13/2008 07:44:23 | 1 | 0 | What libraries do I need to link my mixed-mode application to? | I'm integrating .NET support into our C++ application.
It's an old-school MFC application, with 1 extra file compiled with the "/clr" option that references a CWinFormsControl.
I'm not allowed to remove the linker flag "/NODEFAULTLIB".
(We have our own build management system, not Visual Studio's.)
This means I h... | linker | c++cli | mixed-mode | null | null | null | open | What libraries do I need to link my mixed-mode application to?
===
I'm integrating .NET support into our C++ application.
It's an old-school MFC application, with 1 extra file compiled with the "/clr" option that references a CWinFormsControl.
I'm not allowed to remove the linker flag "/NODEFAULTLIB".
(We have ou... | 0 |
9,589 | 08/13/2008 08:47:36 | 1,007 | 08/11/2008 12:50:43 | 58 | 2 | any good tool for makefile generation? | I'm looking for a tool which can generate makefile for a C/C++ project for different compilers (gcc, microsoft vc++, borland etc) and different platforms (Win, Linux, Mac). | c++ | c | crossplatform | null | null | null | open | any good tool for makefile generation?
===
I'm looking for a tool which can generate makefile for a C/C++ project for different compilers (gcc, microsoft vc++, borland etc) and different platforms (Win, Linux, Mac). | 0 |
9,591 | 08/13/2008 08:59:42 | 1,094 | 08/12/2008 11:29:18 | 11 | 2 | What WPF books would you recommend? | Well, i've got a nice WPF book its called Sams Windows Presentation Foundation Unleashed.
I really like to read and learn with it. Are there any other WPF books you could recommend? | wpf | books | null | null | null | 10/05/2011 05:23:11 | not constructive | What WPF books would you recommend?
===
Well, i've got a nice WPF book its called Sams Windows Presentation Foundation Unleashed.
I really like to read and learn with it. Are there any other WPF books you could recommend? | 4 |
9,601 | 08/13/2008 09:24:10 | 376 | 08/05/2008 09:58:37 | 11 | 1 | Visual Studio 2008 Window layout annoyance | I'm having a weird issue with Visual Studio 2008. Every time I fire it up, the solution explorer is about an inch wide. It's like it can't remember it's layout settings.
Every un-docked window is in the position I place it. But if I dock a window, it's position is saved, but it's sized will be screwed when I load.
... | visual-studio | annoyance | null | null | null | null | open | Visual Studio 2008 Window layout annoyance
===
I'm having a weird issue with Visual Studio 2008. Every time I fire it up, the solution explorer is about an inch wide. It's like it can't remember it's layout settings.
Every un-docked window is in the position I place it. But if I dock a window, it's position is save... | 0 |
9,603 | 08/13/2008 09:27:38 | 718 | 08/08/2008 07:07:38 | 132 | 4 | What are some great source code to read? | Following the advice of Scott Hanselman, I'm looking for good source code to read. Here's what is currently on my list:
1. [Scott's posts][1]
2. [CodeProject][2]
How about you? What source code do you read?
[1]: http://www.hanselman.com/blog/CategoryView.aspx?category=Source+Code
[2]: http://www.cod... | code-reading | language-agnostic | null | null | null | null | open | What are some great source code to read?
===
Following the advice of Scott Hanselman, I'm looking for good source code to read. Here's what is currently on my list:
1. [Scott's posts][1]
2. [CodeProject][2]
How about you? What source code do you read?
[1]: http://www.hanselman.com/blog/CategoryView.as... | 0 |
9,612 | 08/13/2008 09:40:12 | 982 | 08/11/2008 12:08:33 | 3 | 3 | Setting Group Type for new Active Directory Entry in VB.NET | I'm trying to set the group type for a new Active Directory Entry via VB.NET and DirectoryServices to create a distribution list.
How do I access the ADS_GROUP_TYPE enumerations?
Specifically I'm after ADS_GROUP_TYPE_GLOBAL_GROUP.
Thanks | vb.net | activedirectory | directoryservices | distributionlist | null | null | open | Setting Group Type for new Active Directory Entry in VB.NET
===
I'm trying to set the group type for a new Active Directory Entry via VB.NET and DirectoryServices to create a distribution list.
How do I access the ADS_GROUP_TYPE enumerations?
Specifically I'm after ADS_GROUP_TYPE_GLOBAL_GROUP.
Thanks | 0 |
9,614 | 08/13/2008 09:41:43 | 844 | 08/09/2008 11:39:10 | 1 | 0 | Bidirectional outer join | Suppose we have a table A:
itemid mark
1 5
2 3
and table B:
itemid mark
1 3
3 5
I want to join A*B on A.itemid=B.itemid both right and left ways. i.e. result:
itemid A.mark B.mark
1 5 3
2 3 NULL
3 NULL 5
Is t... | sql | mysql | null | null | null | null | open | Bidirectional outer join
===
Suppose we have a table A:
itemid mark
1 5
2 3
and table B:
itemid mark
1 3
3 5
I want to join A*B on A.itemid=B.itemid both right and left ways. i.e. result:
itemid A.mark B.mark
1 5 3
2 3 NUL... | 0 |
9,615 | 08/13/2008 09:43:53 | 837 | 08/09/2008 08:06:26 | 68 | 6 | Displaying vector graphics in a browser | I need to display some interactive (attaching with DOM listeners etc. and event handling) vector graphics in web site I am working on. There is a W3C recommendation for SVG though this format is still not recognized by Internet Explorer support of which is a must (for a public website). IE handles VML though and there ... | crossbrowser | vml | vectorgraphics | svg | null | null | open | Displaying vector graphics in a browser
===
I need to display some interactive (attaching with DOM listeners etc. and event handling) vector graphics in web site I am working on. There is a W3C recommendation for SVG though this format is still not recognized by Internet Explorer support of which is a must (for a publ... | 0 |
9,629 | 08/13/2008 10:04:40 | 222 | 08/03/2008 16:45:02 | 25 | 3 | Playing wave file ends immediatly (C++, Windows) | I've got a following situation. On a machine there is a Fritz ISDN card. There is a process that is responsible for playing a certain wave file on this device's wave out (ISDN connection is made at startup and made persistent). The scenario is easy, whenever needed the process calls waveOutWrite() on the previously ope... | c++ | windows | waveout | null | null | null | open | Playing wave file ends immediatly (C++, Windows)
===
I've got a following situation. On a machine there is a Fritz ISDN card. There is a process that is responsible for playing a certain wave file on this device's wave out (ISDN connection is made at startup and made persistent). The scenario is easy, whenever needed ... | 0 |
9,632 | 08/13/2008 10:05:41 | 900 | 08/10/2008 09:14:03 | 66 | 16 | WPF: How to style or disable the default ContextMenu of a TextBox | Apparantly when users right-click in our WPF application, and they use the Windows Classic theme, the default ContextMenu of the TextBox (which contains Copy, Cut and Paste) has a black background.
I know this works well:
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
... | wpf | .net-3.5 | xaml | null | null | null | open | WPF: How to style or disable the default ContextMenu of a TextBox
===
Apparantly when users right-click in our WPF application, and they use the Windows Classic theme, the default ContextMenu of the TextBox (which contains Copy, Cut and Paste) has a black background.
I know this works well:
<Page xmlns="http... | 0 |
9,650 | 08/13/2008 11:06:12 | 1,084 | 08/12/2008 11:01:49 | 1 | 1 | Lisp interptreter without EMACS | I've been wanting to teach myself Lisp for a while. However, all the interpreters I've heard involve some flavor of emacs.
Are there any command line interpreters, such that I could type this into the command line:
>lispinterpret sourcefile.lisp
just like I can run perl or python.
While I'd also like to beco... | lisp | null | null | null | null | null | open | Lisp interptreter without EMACS
===
I've been wanting to teach myself Lisp for a while. However, all the interpreters I've heard involve some flavor of emacs.
Are there any command line interpreters, such that I could type this into the command line:
>lispinterpret sourcefile.lisp
just like I can run perl or p... | 0 |
9,666 | 08/13/2008 11:41:29 | 1,016 | 08/11/2008 13:29:11 | 1 | 0 | Is accessing a variable in C# an atomic operation? | I've been raised to believe that if multiple threads can access a variable, then all reads from and writes to that variable must be protected by synchronization code, such as a "lock" statement, because the processor might switch to another thread halfway through a write.
However, I was looking through System.Web.Se... | c# | multithreading | null | null | null | null | open | Is accessing a variable in C# an atomic operation?
===
I've been raised to believe that if multiple threads can access a variable, then all reads from and writes to that variable must be protected by synchronization code, such as a "lock" statement, because the processor might switch to another thread halfway through ... | 0 |
9,667 | 08/13/2008 11:42:13 | 887 | 08/10/2008 07:50:30 | 1 | 0 | Validating a Win32 Window Handle | Given a handle of type HWND is it possible to confirm that the handle represents a real window? | c++ | windows | winapi | null | null | null | open | Validating a Win32 Window Handle
===
Given a handle of type HWND is it possible to confirm that the handle represents a real window? | 0 |
9,673 | 08/13/2008 11:48:44 | 493 | 08/06/2008 10:25:05 | 1,185 | 96 | Remove duplicates from array | I have been working with a string[] array in c# that gets returned from a function call. I was wondering what the best way to remove duplicates from this array would be? I could possibly cast to a Generic collection, but I was wondering if there was a better way to do it, possibly by using a temp array? | c# | arrays | null | null | null | null | open | Remove duplicates from array
===
I have been working with a string[] array in c# that gets returned from a function call. I was wondering what the best way to remove duplicates from this array would be? I could possibly cast to a Generic collection, but I was wondering if there was a better way to do it, possibly by u... | 0 |
9,675 | 08/13/2008 11:49:14 | 1,182 | 08/13/2008 11:49:14 | 1 | 0 | Document Server: Handling Concurrent Saves | I'm implementing a document server. Currently, if two users open the same document, modify it and save the changes, document's state will be undefined (either the first user's changes are saved permanently, or the second's). This is entirely unsatisfactory. I considered two possibilities to solve this problem.
The f... | versioning | document-server | locking | concurrent | null | null | open | Document Server: Handling Concurrent Saves
===
I'm implementing a document server. Currently, if two users open the same document, modify it and save the changes, document's state will be undefined (either the first user's changes are saved permanently, or the second's). This is entirely unsatisfactory. I considered t... | 0 |
9,687 | 08/13/2008 12:06:07 | 1,097 | 08/12/2008 11:40:09 | 1 | 1 | Need Pattern for dynamic search of mulitple sql tables | I'm looking for a pattern for performing a dynamic search on multiple tables.
I have no control over the legacy (and poorly designed) database table structure.
Consider a scenario similar to a resume search where a user may want to perform a search against any of the data in the resume and get back a list of resu... | sql | search | dynamicsql | pattern | null | null | open | Need Pattern for dynamic search of mulitple sql tables
===
I'm looking for a pattern for performing a dynamic search on multiple tables.
I have no control over the legacy (and poorly designed) database table structure.
Consider a scenario similar to a resume search where a user may want to perform a search again... | 0 |
9,693 | 08/13/2008 12:11:07 | 1,185 | 08/13/2008 12:02:03 | 1 | 0 | Visual Studio 2005 Macros stop working when Visual Studio 2008 is installed | I have a number of macros written for Visual Studio 2005, but they have since stopped working once I installed Visual Studio 2008 on my computer. No error is returned by the macro when I try and run it, and the environment merely shows the hourglass for a second and then returns to the normal cursor. Currently uninstal... | ide | vs2005 | vs2008 | macros | null | null | open | Visual Studio 2005 Macros stop working when Visual Studio 2008 is installed
===
I have a number of macros written for Visual Studio 2005, but they have since stopped working once I installed Visual Studio 2008 on my computer. No error is returned by the macro when I try and run it, and the environment merely shows the... | 0 |
9,702 | 08/13/2008 12:23:37 | 1,193 | 08/13/2008 12:23:37 | 1 | 0 | Default database IDs; system and user values | As part of our current database work, we are looking at a dealing with the process of updating databases.
A point which has been brought up recurrently, is that of dealing with system vs. user values; in our project user and system vals are stored together. For example...
We have a list of templates.
1, <s... | database | null | null | null | null | null | open | Default database IDs; system and user values
===
As part of our current database work, we are looking at a dealing with the process of updating databases.
A point which has been brought up recurrently, is that of dealing with system vs. user values; in our project user and system vals are stored together. For examp... | 0 |
9,704 | 08/13/2008 12:28:57 | 1,042 | 08/11/2008 18:02:48 | 11 | 2 | How to prevent the mouse cursor from being hidden after calling CComboBox::ShowDropDown? | In my MFC application, when I call CComboBox::ShowDropDown(), the mouse cursor is hidden until interaction with the combo box completes (when the combo box loses focus.) It doesn't reappear when the mouse is moved, like it does with edit boxes.
How can I keep the mouse cursor from being hidden? | mfc | cursor | mouse | ccombobox | hidden | null | open | How to prevent the mouse cursor from being hidden after calling CComboBox::ShowDropDown?
===
In my MFC application, when I call CComboBox::ShowDropDown(), the mouse cursor is hidden until interaction with the combo box completes (when the combo box loses focus.) It doesn't reappear when the mouse is moved, like it do... | 0 |
9,705 | 08/13/2008 12:29:57 | 1,190 | 08/13/2008 12:15:38 | 1 | 0 | Employment IP Policy | I've just started a new job, and the company's policy is that they own all intellectual property I create - whether I create it on their time or on my own. That means I can't contribute to open source software, since I can't give away their property. Has anyone experienced this? Does anyone have suggestions on how t... | jobs | legal | intellectual-property | null | null | null | open | Employment IP Policy
===
I've just started a new job, and the company's policy is that they own all intellectual property I create - whether I create it on their time or on my own. That means I can't contribute to open source software, since I can't give away their property. Has anyone experienced this? Does anyone... | 0 |
9,729 | 08/13/2008 12:50:10 | 1,196 | 08/13/2008 12:33:04 | 1 | 0 | How to extend project properties page? | Is it possible to add a custom tab to a project properties page in the Visual Studio 2008?
What I want to do is to be able to add a custom tab to properties page for the projects created from default project templates (WPF Application, WPF custom controls library, etc).
| visualstudioextensibility | null | null | null | null | null | open | How to extend project properties page?
===
Is it possible to add a custom tab to a project properties page in the Visual Studio 2008?
What I want to do is to be able to add a custom tab to properties page for the projects created from default project templates (WPF Application, WPF custom controls library, etc).
| 0 |
9,734 | 08/13/2008 12:53:20 | 383 | 08/05/2008 10:46:37 | 1,544 | 181 | C#.Net case-insensitive string | A quick and simple question...
Why does C#.Net allow the declaration of the string object to be case-insensitive?
String sHello = "Hello";
string sHello = "Hello";
Both the lower-case and upper-case S of the word String are acceptable and this seems to be the only object that allows this.
Can anyon... | c# | .net | null | null | null | null | open | C#.Net case-insensitive string
===
A quick and simple question...
Why does C#.Net allow the declaration of the string object to be case-insensitive?
String sHello = "Hello";
string sHello = "Hello";
Both the lower-case and upper-case S of the word String are acceptable and this seems to be the only o... | 0 |
9,745 | 08/13/2008 12:57:25 | 194 | 08/03/2008 10:56:49 | 564 | 44 | Open Source Windows Mobile OCR Library | Does anyone know of an OCR library that will run on Windows Mobile (5 or 6, but PPC2003SE would be great). I would imagine that OCR would be native (C/C++) code, but if it was in .NET or at least had a .NET wrapper API, that would be great. | opensource | windows-mobile | ocr | null | null | null | open | Open Source Windows Mobile OCR Library
===
Does anyone know of an OCR library that will run on Windows Mobile (5 or 6, but PPC2003SE would be great). I would imagine that OCR would be native (C/C++) code, but if it was in .NET or at least had a .NET wrapper API, that would be great. | 0 |
9,749 | 08/13/2008 13:00:23 | 834 | 08/09/2008 07:29:24 | 57 | 6 | What kind of servers did you virtualize lately? | I wonder what type of servers for internal usage you virtualize in the last -say- 6 months. Here's what we got virtual so far:
- mediawiki
- bugtracker (mantis)
- subversion
We didn't virtualize spezialized desktop PCs which are running a certain software product, that is only used once in a while. Do you... | virtualization | null | null | null | null | null | open | What kind of servers did you virtualize lately?
===
I wonder what type of servers for internal usage you virtualize in the last -say- 6 months. Here's what we got virtual so far:
- mediawiki
- bugtracker (mantis)
- subversion
We didn't virtualize spezialized desktop PCs which are running a certain softwa... | 0 |
9,750 | 08/13/2008 13:00:48 | 123 | 08/02/2008 08:01:26 | 471 | 22 | Reverse "ON" bits in a byte.. | I was reading Joel's book where he was suggesting as interview question:
Write a program to reverse the "ON" bits in a given byte.
I only can think of a solution using C.
Asking here so you can show me how to do in a Non C way (if possible)
| c | interview-questions | null | null | null | null | open | Reverse "ON" bits in a byte..
===
I was reading Joel's book where he was suggesting as interview question:
Write a program to reverse the "ON" bits in a given byte.
I only can think of a solution using C.
Asking here so you can show me how to do in a Non C way (if possible)
| 0 |
9,761 | 08/13/2008 13:06:49 | 834 | 08/09/2008 07:29:24 | 57 | 6 | Is there a minimum age/years of experience to be a "senior"? | I wondered if there is a common sense of a "minimum age" or at least a certain period of time before a developer is thought of as a "senior".
Do you think, you can't be a senior developer before an age of 35? Or with less than 10y of professional experience on the market? | education | interview-questions | null | null | null | 01/26/2012 13:10:09 | off topic | Is there a minimum age/years of experience to be a "senior"?
===
I wondered if there is a common sense of a "minimum age" or at least a certain period of time before a developer is thought of as a "senior".
Do you think, you can't be a senior developer before an age of 35? Or with less than 10y of professional expe... | 2 |
9,769 | 08/13/2008 13:09:58 | 1,109 | 08/12/2008 12:16:58 | 46 | 4 | Can I script FlexBuilder without writing an extension? | I'd like to script FlexBuilder so that I can run debug or profile without having to switch to FlexBuilder and manually clicking the button (or using the key combo). Is this possible without writing an extension?
To be more specific, this is exactly what I want to do: I want to create a TextMate command that talks to... | flexbuilder | textmate | null | null | null | null | open | Can I script FlexBuilder without writing an extension?
===
I'd like to script FlexBuilder so that I can run debug or profile without having to switch to FlexBuilder and manually clicking the button (or using the key combo). Is this possible without writing an extension?
To be more specific, this is exactly what I w... | 0 |
9,783 | 08/13/2008 13:18:30 | 1,213 | 08/13/2008 13:18:30 | 1 | 0 | Oracle XE or SQL Server Express | I'm starting a new project here (Windows Forms) and was wondering what's the best option today for a small (free as in beer) dbms.
I've used SQL Server Express on the past projects, but time and time again I hear people saying that the product from Oracle is faster and more powerful.
It will be used in a small co... | c# | sql | server | oracle | dbms | null | open | Oracle XE or SQL Server Express
===
I'm starting a new project here (Windows Forms) and was wondering what's the best option today for a small (free as in beer) dbms.
I've used SQL Server Express on the past projects, but time and time again I hear people saying that the product from Oracle is faster and more power... | 0 |
9,805 | 08/13/2008 13:38:56 | 383 | 08/05/2008 10:46:37 | 1,561 | 182 | Calculate DateTime Weeks into Rows | I am currently writing a small calendar in ASP.Net C#. Currently to produce the rows of the weeks I do the following for loop:
var iWeeks = 6;
for (int w = 0; w < iWeeks; w++) {
This works fine, however, some month will only have 5 weeks and in some rare cases, 4.
How can I calculate the number of row... | c# | asp.net | null | null | null | null | open | Calculate DateTime Weeks into Rows
===
I am currently writing a small calendar in ASP.Net C#. Currently to produce the rows of the weeks I do the following for loop:
var iWeeks = 6;
for (int w = 0; w < iWeeks; w++) {
This works fine, however, some month will only have 5 weeks and in some rare cases, 4.
... | 0 |
9,820 | 08/13/2008 13:46:14 | 1,212 | 08/13/2008 13:17:40 | 1 | 0 | Environment tiers, from development to deployment - what works best? | So I do development for in-house web apps, C#. We've always had a problem with developers tripping over each other since we typically don't set up more than a *shared* "development" environment and a "production" environment. I want to end that, 'course, but would like some feedback on how to do it. **What's the best w... | development | null | null | null | null | 06/08/2011 13:30:01 | off topic | Environment tiers, from development to deployment - what works best?
===
So I do development for in-house web apps, C#. We've always had a problem with developers tripping over each other since we typically don't set up more than a *shared* "development" environment and a "production" environment. I want to end that, ... | 2 |
9,831 | 08/13/2008 13:49:51 | 1,491,425 | 08/13/2008 13:49:51 | 1 | 0 | Mootools: Drag and Drop problem | I've asked this question to the forums on the Mootools website and one person said that my class selection was corrupted before an admin came along and changed my post status to invalid. Needless to say this did not help much. I then posted to a google group for mootools with no response. My question is why doesn't ... | mootools | javascript | drag | dragdrop | drop | null | open | Mootools: Drag and Drop problem
===
I've asked this question to the forums on the Mootools website and one person said that my class selection was corrupted before an admin came along and changed my post status to invalid. Needless to say this did not help much. I then posted to a google group for mootools with no r... | 0 |
9,836 | 08/13/2008 13:51:48 | 1,218 | 08/13/2008 13:43:14 | 1 | 0 | Developer Friendly ERP | My company is currently using Sage MAS as their ERP system. While integrating our shopping cart is not going to be impossible, it uses COM and has it's own challenges.
I was wondering if there was a more developer friendly ERP out there. I have looked into Microsoft Dynamics but getting information on ERP systems th... | c# | erp | null | null | null | null | open | Developer Friendly ERP
===
My company is currently using Sage MAS as their ERP system. While integrating our shopping cart is not going to be impossible, it uses COM and has it's own challenges.
I was wondering if there was a more developer friendly ERP out there. I have looked into Microsoft Dynamics but getting i... | 0 |
9,846 | 08/13/2008 14:00:55 | 750 | 08/08/2008 14:24:17 | 147 | 5 | Performance critical GUI application (windows,linux) | All,
I've been tasked with updating a series of applications which are performance critical VB.NET apps that essentially just monitor and return networking statistics. I've only got three requirements: *convert it to C#, make it fast, and make it stable*
One caveat is that we *"may"* migrate from a .NET platform ... | .net | windows | linux | gui | mfc | null | open | Performance critical GUI application (windows,linux)
===
All,
I've been tasked with updating a series of applications which are performance critical VB.NET apps that essentially just monitor and return networking statistics. I've only got three requirements: *convert it to C#, make it fast, and make it stable*
O... | 0 |
9,856 | 08/13/2008 14:06:24 | 1,223 | 08/13/2008 13:53:10 | 1 | 0 | Using VM to get around VPN restrictions | One major problem I have is corporate IT policy (Oh, I'm not alone then? :) )
Specifically that if I'm off-site using a VPN connection, I cannot link to anything outside that VPN connection.
So my local printer at home is off-limits unless I disconnect - a simplistic example of the hampering. I've been ponderin... | security | networking | vpn | null | null | null | open | Using VM to get around VPN restrictions
===
One major problem I have is corporate IT policy (Oh, I'm not alone then? :) )
Specifically that if I'm off-site using a VPN connection, I cannot link to anything outside that VPN connection.
So my local printer at home is off-limits unless I disconnect - a simplistic... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.