Id
int64
4
8.51M
PostTypeId
int64
1
7
AcceptedAnswerId
int64
7
75.5M
ParentId
int64
4
41.8M
Score
int64
-208
27.7k
ViewCount
int64
11
12.4M
Body
stringlengths
0
45k
Title
stringlengths
2
150
ContentLicense
stringclasses
3 values
FavoriteCount
int64
0
225
CreationDate
stringdate
2008-07-31 21:42:52
2011-12-14 18:48:47
LastActivityDate
stringdate
2008-08-01 12:19:17
2023-03-05 04:40:26
LastEditDate
stringdate
2008-08-01 13:54:25
2023-03-05 03:12:45
LastEditorUserId
int64
-1
21.3M
OwnerUserId
int64
-1
21.1M
Tags
listlengths
1
6
29,703
2
null
29,699
-3
null
Found in under 30s on Google... [Oracle SQL FAQ](http://www.orafaq.com/wiki/SQL_FAQ#How_does_one_escape_special_characters_when_writing_SQL_queries.3F)
null
CC BY-SA 2.5
null
2008-08-27T08:03:07.967
2008-08-27T08:03:07.967
null
null
832
null
29,701
2
null
29,700
1
null
I would buy a book - the Adam Nathan WPF book is good. [http://www.amazon.com/Windows-Presentation-Foundation-Unleashed-WPF/dp/0672328917](https://rads.stackoverflow.com/amzn/click/com/0672328917)
null
CC BY-SA 2.5
null
2008-08-27T08:02:42.850
2008-08-27T08:02:42.850
null
null
987
null
29,678
1
29,784
null
3
895
I have about 150 000 rows of data written to a database everyday. These row represent outgoing articles for example. Now I need to [SSRS](http://www.microsoft.com/technet/prodtechnol/sql/2005/2005ssrs.mspx). . The idea is to have a aggregated view on all our transactions and have something that can indicate that somet...
How to aggregate data from SQL Server 2005
CC BY-SA 2.5
0
2008-08-27T07:38:29.367
2012-05-02T15:11:29.363
2008-08-27T07:55:43.757
298
298
[ "sql-server", "reporting-services", "ssas" ]
29,707
2
null
29,699
0
null
Input filtering is usually done on the language level rather than database layers. php and .NET both have their respective libraries for escaping sql statements. Check your language, see waht's available. If your data are trustable, then you can just do a string replace to add another ' infront of the ' to escape it. U...
null
CC BY-SA 2.5
null
2008-08-27T08:05:05.903
2008-08-27T08:05:05.903
null
null
2,976
null
29,696
1
29,720
null
39
12,892
How do you stop the designer from auto generating code that sets the value for public properties on a user control?
How do you stop the Designer generating code for public properties on a User Control?
CC BY-SA 2.5
0
2008-08-27T07:59:21.020
2013-11-19T10:28:15.340
null
null
2,253
[ "c#", "winforms" ]
29,705
2
null
29,678
0
null
SSAS is an [ETL](http://en.wikipedia.org/wiki/Extract,_transform,_load) tool. Basically you get data from somewhere (your outgoing articles), do something to it (aggregate), and put it somewhere else (your aggregates table, data warehouse, etc). Check the link for details. You probably won't be keeping all of the row...
null
CC BY-SA 2.5
null
2008-08-27T08:03:20.323
2008-08-27T08:03:20.323
null
null
2,087
null
29,708
2
null
29,699
0
null
I suppose a good question is what language are you using? In PHP you would do: SELECT * FROM PEOPLE WHERE SURNAME='mysql_escape_string(O'Keefe)' But since you didn't specify the language I will suggest that you look into a escape string function mysql or otherwise in your language.
null
CC BY-SA 2.5
null
2008-08-27T08:05:29.490
2008-08-27T08:05:29.490
null
null
115
null
29,699
1
29,727
null
11
23,057
I have a database with names in it such as John Doe etc. Unfortunately some of these names contain quotes like Keiran O'Keefe. Now when I try and search for such names as follows: ``` SELECT * FROM PEOPLE WHERE SURNAME='O'Keefe' ``` I (understandably) get an error. How do I prevent this error from occurring. I am ...
How do I deal with quotes ' in SQL
CC BY-SA 3.0
0
2008-08-27T08:01:04.417
2013-05-10T18:26:20.290
2013-05-10T18:26:20.290
901,200
445
[ "sql", "oracle" ]
29,710
2
null
29,689
2
null
If you right-click in the source of a file in Eclipse, it has a Javadoc generation option under the source menu.
null
CC BY-SA 2.5
null
2008-08-27T08:05:52.250
2008-08-27T08:05:52.250
null
null
2,933
null
29,713
2
null
29,668
1
null
I seem to remember that I have sometimes found it useful to use RunAs when you run msvcmon (or whatever it's called this week - the remote debugging stub anyway), to force it to start as the user which you have set up to be the same on both machines. I would guess that on the machine you're running VS on, you will al...
null
CC BY-SA 2.5
null
2008-08-27T08:09:29.420
2008-08-27T08:09:29.420
null
null
987
null
29,715
2
null
29,700
1
null
Here are a few "How Do I" videos to get you started: [http://windowsclient.net/learn/videos_wpf.aspx](http://windowsclient.net/learn/videos_wpf.aspx)
null
CC BY-SA 2.5
null
2008-08-27T08:10:11.150
2008-08-27T08:10:11.150
null
null
373
null
29,716
2
null
29,700
6
null
Scott Hanselmann has blogged extensively about his experience in learning WPF by creating his 'BabySmash' windows application. All the source code is on codeplex and he has many blog articles describing his progress. [Initial BabySmash article](http://www.hanselman.com/blog/IntroducingBabySmashAWPFExperiment.aspx) [C...
null
CC BY-SA 2.5
null
2008-08-27T08:10:30.743
2008-08-27T08:10:30.743
null
null
1,762
null
29,717
2
null
29,696
5
null
Add the following attributes to the property in your control: ``` [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] ```
null
CC BY-SA 3.0
null
2008-08-27T08:12:38.303
2013-05-18T01:29:16.673
2013-05-18T01:29:16.673
1,012,641
987
null
29,719
2
null
29,630
2
null
You can modify the user's personal.xls file, stored in the excel startup directory (varies between Office versions). If you have lots of users though, that can be fiddly. An alternative way to get over your problem is to store the macro in a template (.xlt) file. Then when the users opens it they can't save it back ov...
null
CC BY-SA 2.5
null
2008-08-27T08:13:04.667
2008-08-27T08:13:04.667
null
null
2,983
null
29,720
2
null
29,696
66
null
Use the DesignerSerializationVisibilityAttribute on the properties that you want to hide from the designer serialization and set the parameter to Hidden. ``` [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string Name { get; set; } ```
null
CC BY-SA 2.5
null
2008-08-27T08:13:13.420
2008-08-27T08:13:13.420
null
null
2,795
null
29,706
2
null
29,700
4
null
Ok, in terms of reading material, this is the pick of the books out there: [Windows Presentation Foundation Unleashed](https://rads.stackoverflow.com/amzn/click/com/0672328917). For blogs, there are a lot of blogs and articles on [WindowsClient.net](http://windowsclient.net/), and there's an excellent blog all about d...
null
CC BY-SA 2.5
null
2008-08-27T08:03:48.450
2008-08-27T08:03:48.450
null
null
615
null
29,723
2
null
4,911
2
null
I would use an auto incrementing number usually an int. You want to keep the size of the key as small as possible. This keeps your index small and benefits any foreign keys as well. Additonally you are not tightly coupling the data design to external user data (this holds true for the aspnet GUID as well). Genera...
null
CC BY-SA 2.5
null
2008-08-27T08:16:04.503
2008-08-27T08:16:04.503
null
null
2,253
null
29,732
2
null
29,558
3
null
Ignoring ORM (not because I'm either for or against it) I would keep them in the same class. They are both facets of a single responsibility and separating them just makes you look in two places where I can't really think of a good reason you would want to do that.
null
CC BY-SA 2.5
null
2008-08-27T08:23:12.663
2008-08-27T08:23:12.663
null
null
2,995
null
29,731
1
29,740
null
5
12,271
I have done a bit of research into this and it seems that the only way to sort a data bound combo box is to sort the data source itself (a DataTable in a DataSet in this case). If that is the case then the question becomes what is the best way to sort a DataTable? The combo box bindings are set in the designer init...
What is the best way to sort a data bound combo box?
CC BY-SA 2.5
0
2008-08-27T08:22:55.643
2009-08-13T14:09:33.593
2008-08-27T11:19:19.323
2,253
2,253
[ "c#", "data-binding" ]
29,735
2
null
29,731
0
null
Does the data need to be in a DataTable? Using a SortedList and binding that to a combo box would be a simpler way. If you need to use a DataTable you can use the Select method to retrieve a DataView and pass in a sort parameter. ``` DataView dv = myDataTable.Select("filter expression", "sort"); ```
null
CC BY-SA 2.5
null
2008-08-27T08:25:07.587
2008-08-27T08:25:07.587
null
null
1,762
null
29,734
1
29,739
null
6
2,740
As per my understanding stateless session beans are used to code the business logic. They can not store data in their instance variables because their instance is shared by multiple requests. So they seem to be more like Singleton classes. However the difference is contain creates (or reuses from pool) the separate ins...
Why stateless session beans are single threaded?
CC BY-SA 3.0
0
2008-08-27T08:25:05.450
2013-05-02T06:59:33.647
2013-05-02T06:59:33.647
472,792
959
[ "java", "ejb" ]
29,738
2
null
29,731
2
null
You can actually sort the [default view](http://msdn.microsoft.com/en-us/library/system.data.datatable.defaultview.aspx) on a DataTable: ``` myDataTable.DefaultView.Sort = "Field1, Field2 DESC"; ``` That'll sort any rows you retrieve directly from the DataTable.
null
CC BY-SA 2.5
null
2008-08-27T08:28:40.153
2008-08-27T08:28:40.153
null
null
615
null
29,743
1
29,750
null
1
666
We're living in a golden age of databases, with numerous high quality commercial and free databases. This is great, but the downside is there's not a simple obvious choice for someone who needs a database for his next project. - - - - etc...
How to select an SQL database?
CC BY-SA 3.0
0
2008-08-27T08:33:18.287
2015-04-29T16:47:36.543
2015-04-29T16:47:36.543
64,046
116
[ "sql", "database" ]
29,680
1
165,867
null
8
4,140
In a recent sharepoint project, I implemented an authentication webpart which should replace the NTLM authentication dialog box. It works fine as long as the user provides valid credentials. Whenever the user provides invalid credentials, the NTLM dialog box pops up in Internet Explorer. My Javascript code which does ...
Suppress NTLM dialog box after unauthorized request
CC BY-SA 3.0
0
2008-08-27T07:40:01.597
2013-06-11T16:50:34.213
2011-11-23T00:27:16.537
15,168
830
[ "asp.net", "javascript", "sharepoint" ]
29,744
1
29,801
null
33
5,526
This seems to be an overlooked area that could really use some insight. What are your best practices for: - - - - - etc...
How do you manage schema upgrades to a production database?
CC BY-SA 2.5
0
2008-08-27T08:36:37.013
2019-04-12T21:36:04.253
2009-11-11T23:21:47.513
116
116
[ "oracle", "database-administration" ]
29,740
2
null
29,731
7
null
If you're using a DataTable, you can use the (DataTable.DefaultView) [DataView.Sort](http://msdn.microsoft.com/en-us/library/system.data.dataview.sort.aspx) property. For greater flexibility you can use the [BindingSource](http://msdn.microsoft.com/en-us/library/system.windows.forms.bindingsource.aspx) component. Bindi...
null
CC BY-SA 2.5
null
2008-08-27T08:30:13.223
2008-08-27T09:01:27.343
2008-08-27T09:01:27.343
718
718
null
29,747
2
null
29,626
2
null
> we do check the IsDisposed property on the schedule component before using it in the Timer Tick event but it doesn't help. If I understand that stack trace, it's not your timer which is the problem, it's one in the control itself - it might be them who are not cleaning-up properly. Are you explicitly calling ...
null
CC BY-SA 2.5
null
2008-08-27T08:41:42.493
2008-08-27T08:41:42.493
null
null
987
null
29,698
2
null
4,689
0
null
Consolas for Visual Studio. It is the first thing I change when getting a new install setup. The second is inverting the main colors, white text on black background is much easier to stare at for hours in my opinion. [Black text on white background http://college-code.com/stackoverflow/black_on_white.PNG](http://col...
null
CC BY-SA 2.5
null
2008-08-27T08:00:46.320
2008-08-27T08:00:46.320
null
null
3,176
null
29,750
2
null
29,743
8
null
I would think first on what the system requirements are for data access, data security, scalability, performance, disconnected scenarios, data transformation, data sizing. On the other side, consider also the experience and background of developers, operators, platform administrators. You should also think on what c...
null
CC BY-SA 2.5
null
2008-08-27T08:43:45.577
2008-08-27T08:43:45.577
null
null
2,954
null
29,748
2
null
26,025
27
null
Since I was looking for some more in-depth answers, I decided to research the issue myself in depth. Please let me know if I've misunderstood anything. Some general recommendation are to use a separate webserver for handling media. By separate, I mean a webserver which is not running Django. This server can be for ins...
null
CC BY-SA 3.0
null
2008-08-27T08:41:53.070
2014-08-12T15:33:44.737
2014-08-12T15:33:44.737
625,050
2,639
null
29,709
1
22,446,703
null
37
16,236
I am using jQuery and trying to find a cross browser way to get the pixel coordinates of the caret in `<textarea>`s and `input` boxes such that I can place an absolutely positioned div around this location. Is there some jQuery plugin? Or JavaScript snippet to do just that?
How do I get the (x, y) pixel coordinates of the caret in text boxes?
CC BY-SA 3.0
0
2008-08-27T08:05:37.167
2016-05-19T20:25:15.847
2014-03-17T02:27:57.610
1,269,037
238
[ "javascript", "jquery", "cross-browser" ]
29,752
2
null
29,731
0
null
The simplest way to sort a ComboBox is to use the [ComboBox.Sorted](http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.sorted.aspx) property. However, that won't work if you're using data binding. In that case you'll have to sort the data source itself. You can use either a [SortedList](http://msdn....
null
CC BY-SA 2.5
null
2008-08-27T08:45:19.067
2008-08-27T08:45:19.067
null
null
373
null
29,746
1
29,755
null
2
1,591
I'm looking for something that will show me the size of each folder within my main folder recursively. This is a [LAMP](http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29) server with a CGI-Bin so most any PHP script should work or anything that will work in the CGI-Bin. My hosting company does not provide an in...
Get the Directory sizes on a Remote Host with a PHP script
CC BY-SA 4.0
null
2008-08-27T08:40:50.530
2019-01-18T11:14:39.627
2019-01-18T11:14:39.627
567,854
115
[ "php", "hosting", "cgi" ]
29,727
2
null
29,699
30
null
The escape character is ', so you would need to replace the quote with two quotes. For example, `SELECT * FROM PEOPLE WHERE SURNAME='O'Keefe'` becomes `SELECT * FROM PEOPLE WHERE SURNAME='O''Keefe'` That said, it's probably incorrect to do this yourself. Your language may have a function to escape strings for use ...
null
CC BY-SA 2.5
null
2008-08-27T08:17:56.293
2008-08-27T08:25:23.140
2017-02-08T14:07:40.143
-1
797
null
29,756
2
null
29,751
13
null
have you tried adding the following before the call : ``` $.ajaxSetup({ scriptCharset: "utf-8" , contentType: "application/json; charset=utf-8" }); ``` The options are explained [here](http://docs.jquery.com/Ajax/jQuery.ajax#toptions). contentType : When sending data to the server, use this content-type. ...
null
CC BY-SA 2.5
null
2008-08-27T08:49:48.917
2008-08-27T08:49:48.917
null
null
238
null
29,757
2
null
29,284
4
null
> Unable to load DLL 'HardwareID.dll': Invalid access to memory location. (Exception from HRESULT: 0x800703E6) The name of DllNotFoundException is confusing you - this isn't a problem with finding or loading the DLL file, the problem is that when the DLL is loaded, it does an illegal memory access which causes the...
null
CC BY-SA 2.5
null
2008-08-27T08:51:42.953
2008-08-27T08:51:42.953
null
null
987
null
29,758
2
null
29,743
2
null
Surely the most compelling factor is the expertise of you or your team...or the pool of resource you are likely to hire in the future. I would tend to go with the grain most of the time, using MySQL in a LAMP team and SQL Server in a MS team, since either of these products is capable of doing everything necessary even ...
null
CC BY-SA 2.5
null
2008-08-27T08:52:05.043
2008-08-27T08:52:05.043
null
null
137
null
29,761
1
30,768
null
16
15,597
Can anyone recommend a good repository viewer for Git, similar to gitk, that works on Mac OS X Leopard? (I'm not saying gitk doesn't work) Of course I would like a native Mac application, but as I haven't found any, what are the best options to gitk? I know about gitview, but I'm looking forward to evaluate as many a...
Good Git repository viewer for Mac
CC BY-SA 2.5
0
2008-08-27T08:54:50.293
2016-01-30T02:45:06.417
2008-08-31T13:48:51.990
1,037
2,954
[ "git", "macos", "version-control" ]
29,760
1
29,772
null
3
2,124
I've got a problem here with an MSI deployment that I'm working on (using [InstallShield](http://en.wikipedia.org/wiki/InstallShield)). We have a program running in the background that needs to run per-user, and it needs to start automatically without user intervention. The problem is with [Group Policy Object](http:/...
Stopping MSI from launching an EXE in the SYSTEM context
CC BY-SA 3.0
0
2008-08-27T08:52:35.087
2014-07-18T18:50:13.393
2013-06-21T11:43:52.620
63,550
592
[ "installation", "windows-installer", "installshield" ]
29,755
2
null
29,746
6
null
Strange, I came up on Google with [many relevant results](http://www.google.com.au/search?hl=en&q=php+directory+size&btnG=Google+Search&meta=) and [this one](http://www.go4expert.com/forums/showthread.php?t=290) is probably the most complete. > The function "getDirectorySize" will ignore link/shorcuts to files/dir...
null
CC BY-SA 2.5
null
2008-08-27T08:49:05.547
2008-08-27T08:55:47.637
2008-08-27T08:55:47.637
275
275
null
29,763
2
null
29,525
0
null
In todays world: It's neglectible. I think memory consumption was about 50 MB bigger with eAccelerator then it was without when I did my [benchmarks](http://blogs.interdose.com/dominik/2008/04/11/benchmarking-php-eaccelerator-und-andere-opcode-caches/). If you really need the speed but do have headaches that your RAM ...
null
CC BY-SA 2.5
null
2008-08-27T09:03:40.473
2008-08-27T09:03:40.473
null
null
999
null
29,739
2
null
29,734
5
null
The SLSBs are single threaded because of the TX Context, Principal is associated with a bean instance when it is called. These beans are pooled and unless the max pool size is reached are processed in separate threads ( Vendor dependent). If SLSBs were designed thread safe every call would have looked like a servlet d...
null
CC BY-SA 2.5
null
2008-08-27T08:29:56.780
2008-08-27T08:38:34.840
2008-08-27T08:38:34.840
2,450
2,450
null
29,754
2
null
29,686
16
null
If you want to increase the execution timeout for this one request you can set ``` HttpContext.Current.Server.ScriptTimeout ``` But you still may have the problem of the client timing out which you can't reliably solve directly from the server. To get around that you could implement a "processing" page (like Rob su...
null
CC BY-SA 3.0
null
2008-08-27T08:45:58.973
2015-10-08T08:21:38.083
2015-10-08T08:21:38.083
67,579
2,253
null
29,764
2
null
27,910
14
null
@Silas The sanity checking is a good idea. However, the regex doesn't cover all DOIs. The first element must (currently) be 10, and the second element must (currently) be numeric, but the third element is barely restricted at all: > "Legal characters are the legal graphic characters of Unicode. This specifically exclu...
null
CC BY-SA 2.5
null
2008-08-27T09:04:36.743
2008-08-27T09:04:36.743
null
null
2,963
null
29,762
2
null
29,761
6
null
There are a couple under development. - [GitNub](http://github.com/Caged/gitnub/tree/master)- [Gitty](http://github.com/Machx/gitty/tree/master) I don't know if there are any that have hit 1.0.
null
CC BY-SA 3.0
null
2008-08-27T09:01:56.920
2012-02-21T23:07:16.337
2012-02-21T23:07:16.337
11,343
714
null
29,765
2
null
29,744
4
null
In general my rule is: "The application should manage it's own schema." This means schema upgrade scripts are part of any upgrade package for the application and run automatically when the application starts. In case of errors the application fails to start and the upgrade script transaction is not committed. The d...
null
CC BY-SA 2.5
null
2008-08-27T09:05:17.927
2009-06-16T16:59:52.890
2009-06-16T16:59:52.890
1,113
1,113
null
29,652
2
null
29,643
2
null
I second the other answers here, . We have two scenarios here: 1. The majority of the logging is to a DB since admin users for the products we build need to be able to view them in their nice little app with all the bells and whistles. 2. We log all of our diagnostics and debug info to file. We have no need for real...
null
CC BY-SA 2.5
null
2008-08-27T07:10:02.527
2008-08-27T07:10:02.527
null
null
832
null
29,771
2
null
29,624
-1
null
Looks like you're using jQuery? It has a method to clone an element with events: [http://docs.jquery.com/Manipulation/clone#true](http://docs.jquery.com/Manipulation/clone#true) EDIT: Oops I see you're using Prototype.
null
CC BY-SA 2.5
null
2008-08-27T09:18:06.040
2008-08-27T09:25:12.530
2008-08-27T09:25:12.530
1,710
1,710
null
29,769
2
null
29,678
1
null
Are you sure you aren't mixing up SSAS (Analysis Services) and SSIS (integration services)? SSAS is not an ETL, it is an OLAP tool. SSIS is an ETL tool. I agree with everything that Rowan said. I'm just confused by the terms.
null
CC BY-SA 2.5
null
2008-08-27T09:13:23.773
2008-08-27T09:13:23.773
null
null
2,954
null
29,772
2
null
29,760
6
null
You can use the [LogonUser](http://msdn.microsoft.com/en-us/library/aa369780(VS.85).aspx) property of Windows Installer as a condition to the action launching the EXE.
null
CC BY-SA 2.5
null
2008-08-27T09:18:24.917
2008-08-27T09:18:24.917
null
null
2,150
null
29,767
2
null
10,499
4
null
For Windows: [Filemon](http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx) from SysInternals will show you what files are being accessed. Remember to set your filters so you are not overwhelmed by the chatty file system traffic. ![Filter Dialog](https://i.stack.imgur.com/tY0Ov.jpg) Filemon does not work ...
null
CC BY-SA 3.0
null
2008-08-27T09:08:55.297
2012-03-30T09:17:57.440
2012-03-30T09:17:57.440
227
227
null
29,777
1
29,780
null
0
247
I have a solution in Visual Studio 2005(professional Edition) which in turn has 8 projects.I am facing a problem that even after i set the Command Arguments in the Project settings of the relevant project, it doesnt accept those command line arguments and it shows argc = 1, inspite of me giving more than 1 command argu...
Visual Studio 2005 Project options
CC BY-SA 2.5
null
2008-08-27T09:21:34.613
2009-03-23T09:32:15.427
2009-03-23T09:32:15.427
14,444
2,759,376
[ "visual-studio-2005", "projects" ]
29,773
2
null
29,744
4
null
I am a big fan of [Red Gate](http://www.red-gate.com/) products that help creating SQL packages to update database schemas. The database scripts can be added to source control to help with versioning and rollback.
null
CC BY-SA 2.5
null
2008-08-27T09:18:36.833
2008-08-27T09:18:36.833
null
null
2,253
null
29,779
2
null
29,775
2
null
You should take a look at [thinstall](http://www.thinstall.com/)(It has been bought by vmware and is called thinapp now), its an application virtualizer.
null
CC BY-SA 2.5
null
2008-08-27T09:22:47.900
2008-08-27T09:22:47.900
null
null
2,450
null
29,775
1
null
null
4
671
I'm looking for a way to give out preview or demo versions of our software to our customers as easy as possible. The software we are currently developing is a pretty big project. It consists of a client environment, an application server, various databases, web services host etc. The project is developed incrementally...
Software Deployment in a Virtual Environment
CC BY-SA 2.5
null
2008-08-27T09:20:22.837
2009-01-04T04:27:25.113
2009-01-04T02:57:10.583
592
2,374
[ "deployment", "configuration", "virtualization" ]
29,781
2
null
29,777
0
null
Are you sure you are setting the command arguments on the same configuration (Debug|Release) you are debugging? As far as I remember command arguments are per configuration.
null
CC BY-SA 2.5
null
2008-08-27T09:24:46.040
2008-08-27T09:24:46.040
null
null
2,954
null
29,780
2
null
29,777
1
null
Hmm.. Are you sure the specified project is set as the start project (right click > set as startup project) ?? Oh, and obviously you need to be in the correct configuration mode ^_^ (Notice it can be changed to )
null
CC BY-SA 2.5
null
2008-08-27T09:23:21.067
2008-08-27T09:23:21.067
null
null
832
null
29,778
2
null
29,630
10
null
Simply move your code into an Excel Addin (XLA) - this gets loaded at startup (assuming it's in the %AppData%\Microsoft\Excel\XLSTART folder) but if it's a addin, not a workbook, then only your macros and defined startup functions will be loaded. If the functions depend on a spreadsheet itself, then you might want to ...
null
CC BY-SA 2.5
null
2008-08-27T09:22:20.197
2008-08-27T09:22:20.197
null
null
592
null
29,782
1
29,815
null
0
414
I use my mobile phone for connection to the internet on my laptop, I also have a wired connection to a LAN which doesn't have internet conectivity, it just has our TFS server on it. The problem is that I can't use the internet (from the phone) with the LAN cable plugged in. Is there a way to set the default route to m...
Windows XP Default Routes
CC BY-SA 3.0
null
2008-08-27T09:25:45.257
2012-11-22T14:03:08.323
2012-11-22T14:03:08.323
667,301
2,758
[ "windows", "networking", "tcp" ]
29,788
2
null
29,555
0
null
I use [wxWidgets](http://www.wxwidgets.org/) myself. It makes good use of the C++ language features and uses smart pointers, so object and memory management is not that hard. In fact, it feels like writing in a scripting language. Coupled with a dialog editor/code generator like [wxFormBuilder](http://wxformbuilder.or...
null
CC BY-SA 2.5
null
2008-08-27T09:30:16.293
2008-08-27T09:30:16.293
null
null
1,088
null
29,784
2
null
29,678
2
null
The neat thing with SSAS is that you can get those indicators that you talk about quite easily either by creating calculated measures or by using KPIs. I started with [Delivering Business Intelligence with Microsoft SQL Server 2005](https://rads.stackoverflow.com/amzn/click/com/0072260904). It had some good introducti...
null
CC BY-SA 2.5
null
2008-08-27T09:26:46.177
2008-08-27T09:26:46.177
null
null
2,973
null
29,798
2
null
29,383
95
null
We're talking about C++ right? Why on earth are we still using macros!? C++ inline functions give you the same speed as a macro, with the added benefit of type-safety and parameter evaluation (which avoids the issue that Rodney and dwj mentioned. ``` inline const char * const BoolToString(bool b) { return b ? "true...
null
CC BY-SA 3.0
null
2008-08-27T09:34:23.287
2016-04-13T13:12:23.330
2016-04-13T13:12:23.330
6,998,684
611
null
29,774
2
null
29,743
3
null
My selection criteria (mainly programming centric): - - - - - -
null
CC BY-SA 2.5
null
2008-08-27T09:19:53.040
2008-08-27T09:19:53.040
null
null
1,069
null
29,789
2
null
29,284
2
null
@[Martín](https://stackoverflow.com/questions/29284/windows-vista-unable-to-load-dll-xdll-invalid-access-to-memory-location-dllnotf#29400) The reason you were not getting the UAC prompt is because UAC can only change how a process is , once the process is running it must stay at the same elevation level. The UAC will ...
null
CC BY-SA 2.5
null
2008-08-27T09:30:32.920
2008-08-27T09:30:32.920
2017-05-23T10:30:38.347
-1
1,367
null
29,794
2
null
9,589
1
null
Automatic generation of (M|m)akefiles makes me worry about what you're trying to do here. Do you understand what goes on under the covers when you type make? Or gmake? I'm only asking because if you don't when things break, such as new code changes not being incorporated into the build, you'll have difficulties trying...
null
CC BY-SA 2.5
null
2008-08-27T09:33:11.153
2011-02-07T17:08:14.517
2011-02-07T17:08:14.517
19,750
2,974
null
29,803
2
null
29,760
1
null
AHA! I knew there had to be a cleaner solution... the code I was working on was starting to look something like this: ``` On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcessList = objWMIService.Exe...
null
CC BY-SA 3.0
null
2008-08-27T09:39:07.660
2014-07-18T18:50:13.393
2014-07-18T18:50:13.393
129,130
592
null
29,804
2
null
29,694
1
null
When is the problem likely to become a real issue? Given current growth rates, how soon do you expect signed integer overflow to happen in the MS SQL version? Be pessimistic. How long do you expect the application to live? Do you still think the factor of 2 difference is something you should worry about? (I have n...
null
CC BY-SA 2.5
null
2008-08-27T09:39:12.323
2008-08-27T09:39:12.323
null
null
1,060
null
29,770
2
null
28,796
58
null
In the meantime, I've tried it two tools that have some sort of integration with vim. The first is [Rope](https://github.com/python-rope/rope), a python refactoring library that comes with a Vim (and emacs) plug-in. I tried it for a few renames, and that definitely worked as expected. It allowed me to preview the re...
null
CC BY-SA 3.0
null
2008-08-27T09:15:42.863
2017-07-08T08:26:29.467
2017-07-08T08:26:29.467
1,442,517
2,900
null
29,792
2
null
29,743
3
null
For most people in a corporate environment the choice comes down to "the one we have". Since you seem to be fortunate enough to have a choice, I'll take a quick run through the questions and maybe pose a few more at the end. The biggest criterion may be cost. Do you want/are you prepared to pay for your DBMS platform...
null
CC BY-SA 2.5
null
2008-08-27T09:32:39.000
2008-08-27T09:32:39.000
null
null
1,060
null
29,806
1
29,813
null
0
1,726
I know the colours are changed in Environment > Fonts and Colors but I haven't found out which Display Item the object is. Can someone please tell how I can colour the following code: > lblMessage.Text = "You have successfully answered my question!" I have the string coloured pink, I would like the lblMessage purple...
How to change Instantiated Objects Font Colour in Visual Studio
CC BY-SA 2.5
null
2008-08-27T09:40:00.107
2009-05-11T06:18:09.660
2009-03-23T09:32:01.153
14,444
982
[ "visual-studio-2005", "colors", "environment" ]
29,802
1
null
null
12
10,480
What are the strategies for versioning of a web application/ website? I notice that here in the Beta there is an svn revision number in the footer and that's ideal for an application that uses svn over one repository. But what if you use externals or a different source control application that versions separate file...
How do you handle versioning on a Web Application?
CC BY-SA 3.0
0
2008-08-27T09:38:37.833
2017-04-04T00:42:13.693
2017-04-04T00:42:13.693
2,349,082
1,116
[ "asp.net", "versioning", "version-control" ]
29,807
2
null
10,499
87
null
Oracle provides a utility called `tnsping`: ``` R:\>tnsping someconnection TNS Ping Utility for 32-bit Windows: Version 9.0.1.3.1 - Production on 27-AUG-20 08 10:38:07 Copyright (c) 1997 Oracle Corporation. All rights reserved. Used parameter files: C:\Oracle92\network\ADMIN\sqlnet.ora C:\Oracle92\network\ADMIN\tn...
null
CC BY-SA 3.0
null
2008-08-27T09:41:36.483
2012-07-12T17:55:00.977
2012-07-12T17:55:00.977
63,550
2,985
null
29,813
2
null
29,806
1
null
Go to s and change - - > I was hoping that their is I can be more specific with the colours - if their isn't then that's an acceptable answer - just disappointing for me. Yeah, I don't think you can do that. :)
null
CC BY-SA 2.5
null
2008-08-27T09:43:49.550
2008-08-27T09:55:27.510
2008-08-27T09:55:27.510
718
718
null
29,801
2
null
29,744
3
null
That's a great question. ( There is a high chance this is going to end up a normalised versus denormalised database debate..which I am not going to start... okay now for some input.) some off the top of my head things I have done (will add more when I have some more time or need a break) client design - this is where...
null
CC BY-SA 2.5
null
2008-08-27T09:37:14.123
2008-08-27T14:51:42.010
2008-08-27T14:51:42.010
3,027
3,027
null
29,814
1
29,906
null
5
846
What's needed to succesfully make a crossdomain call from Silverlight?
How to do crossdomain calls from Silverlight?
CC BY-SA 2.5
0
2008-08-27T09:44:06.023
2010-02-15T22:37:35.820
2008-09-01T07:38:18.643
1,893
1,893
[ "silverlight", "web-services" ]
29,818
2
null
29,810
0
null
You could do that, but if that files are binary you should always put a lock on it before editing. You won't get a conflict (which would be unresolvable).
null
CC BY-SA 2.5
null
2008-08-27T09:46:06.643
2008-08-27T09:46:06.643
null
null
3,182
null
29,805
2
null
16,556
0
null
I agree with Stu, and I don't consider myself an Architect luddite :-). Kind of like a lot of MS frameworks over the years, you are tied to their particular way of thinking, which doesn't always gel with the ideas that come out of the rest of the architecture community at large. Generating stubs, in my opinion, doesn...
null
CC BY-SA 2.5
null
2008-08-27T09:39:48.127
2008-08-27T09:39:48.127
null
null
2,995
null
29,817
2
null
5,880
2
null
Because you want the of being able to distribute the layers onto different physical tiers (I always use "tier" for physical, and "layer" for logical), you should think twice before just putting everything into one class because you've got major refactorings to do if or when you do need to start distributing.
null
CC BY-SA 2.5
null
2008-08-27T09:45:20.890
2008-08-27T09:45:20.890
null
null
2,995
null
29,820
1
29,826
null
5
1,064
In Java, say you have a class that wraps an `ArrayList` (or any collection) of objects. How would you return one of those objects such that the caller will not see any future changes to the object made in the ArrayList? i.e. you want to return a deep copy of the object, but you don't know if it is cloneable.
Java return copy to hide future changes
CC BY-SA 3.0
null
2008-08-27T09:48:00.960
2014-01-30T07:15:38.813
2014-01-30T07:15:38.813
1,737,819
142
[ "java", "deep-copy", "cloning" ]
29,751
1
null
null
20
36,683
I am having problems submitting forms which contain UTF-8 strings with Ajax. I am developing a [Struts](http://en.wikipedia.org/wiki/Apache_Struts) web application which runs in a [Tomcat](http://en.wikipedia.org/wiki/Apache_Tomcat) server. This is the environment I set up to work with UTF-8: - I have added the attrib...
How can I make this code to submit a UTF-8 form textarea with jQuery/Ajax work?
CC BY-SA 3.0
0
2008-08-27T08:44:24.623
2012-08-31T23:52:43.143
2012-08-31T23:50:01.850
63,550
2,138
[ "java", "jquery", "ajax", "jsp", "encoding" ]
29,811
2
null
29,802
2
null
For my big apps I just use a incrementing version number id (1.0, 1.1, ...) that i store in a comment of the main file (usually index.php). For just websites I usually just have a revision number (1,2,3,...).
null
CC BY-SA 2.5
null
2008-08-27T09:43:04.077
2008-08-27T09:43:04.077
null
null
115
null
29,825
2
null
29,820
2
null
One option is to use serialization. Here's a blog post explaining it: [http://weblogs.java.net/blog/emcmanus/archive/2007/04/cloning_java_ob.html](http://weblogs.java.net/blog/emcmanus/archive/2007/04/cloning_java_ob.html)
null
CC BY-SA 2.5
null
2008-08-27T09:52:10.343
2008-08-27T09:52:10.343
null
null
373
null
29,815
2
null
29,782
2
null
There's many OS specific ways to force routing over specific interfaces. What OS are you using? XP? Vista? *nix? The simplest way is to configure your network card with a static IP and NO GATEWAY, the only gateway (ie. internet access) your laptop will find is then via the mobile. The disadvantage of this method is t...
null
CC BY-SA 2.5
null
2008-08-27T09:44:18.287
2008-08-27T10:06:18.233
2008-08-27T10:06:18.233
592
592
null
29,823
2
null
29,810
1
null
Not necessarily. It depends on how often the new files are committed to the repo. If the files are edited several times before a commit, then you're precisely where you are now. The biggest benefit is if the file becomes corrupted. You can version any file; this is how Time Machine in Mac OS X Leopard works, for examp...
null
CC BY-SA 2.5
null
2008-08-27T09:51:00.050
2008-08-27T09:51:00.050
null
null
137
null
29,824
2
null
29,525
0
null
You can set a `limit` to memory consumption for `APC`, but that potentially limits its effectiveness. If you're just using it for silent , then it should be fine. Once the memory allotment is full, no new files will be cached, but everything will work as expected. However, the user-space cache functions like `apc_stor...
null
CC BY-SA 3.0
null
2008-08-27T09:51:30.797
2016-11-08T16:07:15.117
2016-11-08T16:07:15.117
4,311,889
1,103
null
29,828
2
null
29,820
1
null
I suppose it is an ovbious answer: Make a requisite for the classes stored in the collection to be cloneable. You could check that at insertion time or at retrieval time, whatever makes more sense, and throw an exception. Or if the item is not cloneable, just fail back to the return by reference option.
null
CC BY-SA 2.5
null
2008-08-27T09:53:26.843
2008-08-27T09:53:26.843
null
null
2,954
null
29,826
2
null
29,820
4
null
Turn that into a spec: -that objects need to implement an interface in order to be allowed into the collection Something like `ArrayList<ICloneable>()` Then you can be assured that you always do a deep copy - the interface should have a method that is guaranteed to return a deep copy. I think that's the best you ca...
null
CC BY-SA 2.5
null
2008-08-27T09:52:49.997
2008-08-27T09:52:49.997
null
null
1,695
null
29,819
2
null
29,810
1
null
You can, but you will allways compare the document versions with Word itself. I haven't heard a version control database which can track changes in Word documents. However there are some tools which can compare Word documents, so if you set up your version control client to use these tools for comparison, you can hav...
null
CC BY-SA 2.5
null
2008-08-27T09:46:18.657
2008-08-27T09:46:18.657
null
null
968
null
29,835
2
null
7,364
20
null
If you need really simple PDFs, then Zend or [FPDF](http://www.fpdf.org/) is fine. However I find them difficult and frustrating to work with. Also, because of the way the API works, there's no good way to separate content from presentation from business logic. For that reason, I use [dompdf](https://github.com/dompdf...
null
CC BY-SA 3.0
null
2008-08-27T09:59:34.070
2012-12-07T22:51:30.430
2012-12-07T22:51:30.430
92,315
1,103
null
29,836
2
null
1,171
6
null
As already mentioned, NetworkX is very good, with another option being [igraph](http://cneurocvs.rmki.kfki.hu/igraph/). Both modules will have most (if not all) the analysis tools you're likely to need, and both libraries are routinely used with large networks.
null
CC BY-SA 2.5
null
2008-08-27T10:01:21.803
2008-08-27T10:01:21.803
null
null
2,963
null
29,830
2
null
29,775
6
null
Since you're looking at an entire application stack, you'll need to virtualize the entire server to provide your customers with a realistic demo experience. Thinstall is great for single apps, but not an entire stack.... Microsoft have licensing schemes for this type of situation, since it's only been used for demonst...
null
CC BY-SA 2.5
null
2008-08-27T09:54:38.620
2008-08-27T09:54:38.620
null
null
592
null
29,840
2
null
29,782
1
null
You can actually configure what you want to be the default gateway globally using the "routes" command as described here: [Default Internet connection on Dual LAN Workstation](https://stackoverflow.com/questions/17785/default-internet-connection-on-dual-lan-workstation) I admit though, on windows it'd finicky at best ...
null
CC BY-SA 2.5
null
2008-08-27T10:04:31.997
2008-08-27T10:04:31.997
2017-05-23T12:08:53.373
-1
194
null
29,810
1
29,837
null
75
45,596
I am in charge of about 100+ documents (word document, not source code) that needs revision by different people in my department. Currently all the documents are in a shared folder where they will retrieve, revise and save back into the folder. What I am doing now is looking up the "date modified" in the shared folde...
Is version control (ie. Subversion) applicable in document tracking?
CC BY-SA 2.5
0
2008-08-27T09:42:59.710
2019-01-03T21:47:12.767
2008-08-27T18:08:30.290
1,261
1,261
[ "version-control", "tracking" ]
29,839
2
null
29,562
2
null
Most Python programs will use distutils. [Django](http://www.djangoproject.com) is a one - see [http://code.djangoproject.com/svn/django/trunk/setup.py](http://code.djangoproject.com/svn/django/trunk/setup.py) You should also read [the documentation](http://docs.python.org/dist/dist.html), as it's very comprehensive a...
null
CC BY-SA 2.5
null
2008-08-27T10:04:25.493
2008-08-27T10:04:25.493
null
null
2,990
null
29,837
2
null
29,810
19
null
I guess one thing that nobody seems to have asked is if you have a legal requirement to store history of changes to the doc's? Whether you do or don't is going to have an impact on what solutions you can consider. Also a notification mechanism for out of date copies is also a bundle of fun. If engineer A has a copy o...
null
CC BY-SA 3.0
null
2008-08-27T10:01:47.277
2014-12-30T02:05:18.427
2014-12-30T02:05:18.427
62,662
2,974
null
29,842
2
null
29,810
1
null
Subversion, CVS and all other source control systems are not good for Word documents and other office files (such as Excel spread sheets), since the files themselves are stored in a binary format. That means that you can never go back and annotate (or blame, or whatever you want to call it), or do diffs between documen...
null
CC BY-SA 2.5
null
2008-08-27T10:07:28.167
2008-08-27T10:07:28.167
null
null
2,973
null
29,838
1
29,854
null
16
11,477
Around here we have been working with a bunch of Visual Source Safe repositories for about 10 years or so. Now I want to get rid of sourcesafe and move on to Team Foundation Server. Do you have any tips or tricks for me before I embark on this migration? What are the things I have to be careful about? I am sure th...
Visual Source Safe --> TFS Migration
CC BY-SA 2.5
0
2008-08-27T10:02:57.103
2015-07-29T12:11:15.013
2014-02-25T02:45:44.283
522,735
1,178
[ "version-control", "tfs", "visual-sourcesafe", "vssconverter" ]
29,831
2
null
29,383
21
null
C++ has proper strings so you might as well use them. They're in the standard header string. #include <string> to use them. No more strcat/strcpy buffer overruns; no more missing null terminators; no more messy manual memory management; proper counted strings with proper value semantics. C++ has the ability to conve...
null
CC BY-SA 3.0
null
2008-08-27T09:56:03.157
2018-03-23T16:54:08.460
2018-03-23T16:54:08.460
1,159,604
2,131
null
29,841
1
29,920
null
5
4,865
We have a Windows Service written in C#. The service spawns a thread that does this: ``` private void ThreadWorkerFunction() { while(false == _stop) // stop flag set by other thread { try { openConnection(); doStuff(); closeConnection(); } catch (Exception ex) { log.E...
Thread not waking up from Thread.Sleep()
CC BY-SA 2.5
null
2008-08-27T10:05:02.963
2010-07-05T09:59:50.310
2008-08-27T10:56:54.587
1,039
1,039
[ ".net", "multithreading" ]
29,848
2
null
29,847
10
null
Assuming you have an identity column in the table... ``` select top 1 <fields> from HistoryTable where BatchRef = @BatchRef order by <IdentityColumn> DESC ```
null
CC BY-SA 2.5
null
2008-08-27T10:15:55.543
2008-08-27T10:15:55.543
null
null
377
null