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
8,809
2
null
8,742
1
null
What is the C++ application using? You can always use the same thing or wrap the timer code from C++ into a C++/CLI class.
null
CC BY-SA 2.5
null
2008-08-12T13:17:49.410
2008-08-12T13:17:49.410
null
null
42
null
8,806
2
null
8,651
2
null
I found the answer :) I needed to add the following to my web.config: ``` <assemblies> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assem...
null
CC BY-SA 2.5
null
2008-08-12T13:15:14.297
2008-08-12T13:15:14.297
null
null
383
null
8,814
2
null
8,800
5
null
There is a KeyValuePair built-in type. As a matter of fact, this is what the IDictionary is giving you access to when you iterate in it. Also, this structure is hardly a tree, finding a more representative name might be a good exercise.
null
CC BY-SA 2.5
null
2008-08-12T13:23:27.777
2008-08-12T13:23:27.777
null
null
42
null
8,811
2
null
8,800
141
null
There is an actual Data Type called KeyValuePair, use like this ``` KeyValuePair<string, string> myKeyValuePair = new KeyValuePair<string,string>("defaultkey", "defaultvalue"); ```
null
CC BY-SA 3.0
null
2008-08-12T13:20:55.127
2013-09-18T21:12:17.663
2013-09-18T21:12:17.663
1,286,013
194
null
8,810
2
null
8,790
6
null
Try using the ["ant" task](http://ant.apache.org/manual/Tasks/ant.html) instead of the "antcall" task, which runs the imported build directly instead of importing it into the current build file. It has a "dir" parameter: > the directory to use as a basedir for the new Ant project. Defaults to the current project's...
null
CC BY-SA 2.5
null
2008-08-12T13:20:39.387
2011-01-16T23:37:50.807
2011-01-16T23:37:50.807
183,172
207
null
8,816
2
null
8,800
14
null
One possible thing you could do is use the Dictionary object straight out of the box and then just extend it with your own modifications: ``` public class TokenTree : Dictionary<string, string> { public IDictionary<string, string> SubPairs; } ``` This gives you the advantage of not having to enforce the rules of...
null
CC BY-SA 2.5
null
2008-08-12T13:25:12.903
2008-08-12T13:25:12.903
null
null
372
null
8,815
2
null
2,898
9
null
I like the versatility of jEdit ([http://www.jedit.org](http://www.jedit.org)), its got a lot of plugins, crossplatform and has also stuff like block selection which I use all the time. The downside is, because it is written in java, it is not the fastest one.
null
CC BY-SA 2.5
null
2008-08-12T13:24:38.677
2008-08-12T13:24:38.677
null
null
917
null
8,820
2
null
8,795
0
null
Not sure if these will work specifically in a SP, but there are ENUM and SET datatypes in MySQL 5 which may do what you need. [http://dev.mysql.com/doc/refman/5.0/en/enum.html](http://dev.mysql.com/doc/refman/5.0/en/enum.html) [http://dev.mysql.com/doc/refman/5.0/en/set.html](http://dev.mysql.com/doc/refman/5.0/en/set....
null
CC BY-SA 3.0
null
2008-08-12T13:33:06.837
2013-01-24T10:19:05.903
2013-01-24T10:19:05.903
1,410,342
1,115
null
8,819
2
null
4,347
0
null
For a simple starting point to get your head around the "event-driven" nature basically all frameworks are created around look at [FLTK](http://www.fltk.org). Here are some quick starting videos [Link](http://seriss.com/people/erco/fltk-videos/) For professional use I'd recommend Qt, expensive but often worth it in c...
null
CC BY-SA 2.5
null
2008-08-12T13:26:07.160
2008-08-12T13:26:07.160
null
null
842
null
8,825
2
null
8,761
0
null
I guess you could use your favourite image editor and pick the colors from a screen grab.
null
CC BY-SA 2.5
null
2008-08-12T13:38:06.513
2008-08-12T13:38:06.513
null
null
383
null
8,813
2
null
8,800
1
null
[Dictionary Class](http://msdn.microsoft.com/en-us/library/xfhwa508.aspx) is exactly what you want, correct. You can declare the field directly as Dictionary, instead of IDictionary, but that's up to you.
null
CC BY-SA 2.5
null
2008-08-12T13:22:01.287
2008-08-12T13:22:01.287
null
null
267
null
8,824
2
null
7,174
2
null
One thing that would really help is if the SharePoint team provided interfaces for the SP-specific workflow services needed to run SP workflows. This would allow you to mock those interfaces and run the workflows outside of SP proper. AFAIK, you can't do that today. I've personally found SharePoint extremely painful t...
null
CC BY-SA 2.5
null
2008-08-12T13:37:32.693
2008-08-12T13:37:32.693
null
null
630
null
8,826
2
null
8,800
1
null
Use something like this: ``` class Tree < T > : Dictionary < T, IList< Tree < T > > > { } ``` It's ugly, but I think it will give you what you want. Too bad KeyValuePair is sealed.
null
CC BY-SA 2.5
null
2008-08-12T13:38:47.243
2008-08-12T13:41:59.047
2008-08-12T13:41:59.047
1,065
1,065
null
8,823
2
null
8,795
0
null
In my programming language of Choice, C#, I actually do this in the application itself because split() functions and loops are easier to program in C# then SQL, However! Perhaps you should look at [SubString_Index()](http://www.java2s.com/Tutorial/MySQL/0460__String-Functions/SUBSTRINGINDEXstrdelimcountReturnsthesubst...
null
CC BY-SA 2.5
null
2008-08-12T13:36:40.307
2008-08-12T13:36:40.307
null
null
383
null
8,833
2
null
8,800
3
null
Just one thing to add to this (although I do think you have already had your question answered by others). In the interests of extensibility (since we all know it will happen at some point) you may want to check out the [Composite Pattern](http://www.dofactory.com/Patterns/PatternComposite.aspx) This is ideal for worki...
null
CC BY-SA 2.5
null
2008-08-12T13:45:50.210
2008-08-12T13:45:50.210
null
null
832
null
8,807
1
8,899
null
2
1,291
I installed ActiveReports from their site. The version was labeled as `.NET 2.0 build 5.2.1013.2 (for Visual Studio 2005 and 2008)`. I have an ASP.NET project in VS 2008 which has 2.0 as target framework. I added all the tools in the `DataDynamics` namespace to the toolbox, created a new project, added a new report. W...
Cannot add WebViewer of ActiveReports to an ASP.NET page
CC BY-SA 3.0
null
2008-08-12T13:15:46.543
2012-08-11T15:32:05.283
2012-08-11T15:32:05.283
1,477,076
31,505
[ "activereports" ]
8,832
1
12,062
null
3
1,581
I hope I can explain this clearly enough, but if not let me know and I'll try to clarify. I'm currently developing a site using ColdFusion and have a mod_rewrite rule in place to make it look like the site is using PHP. Any requests for index.php get processed by index.cfm (the rule maps *.php to *.cfm). This works g...
mod_rewrite to alias one file suffix type to another
CC BY-SA 3.0
null
2008-08-12T13:44:06.580
2012-08-11T16:04:47.937
2012-08-11T16:04:47.937
1,477,076
1,025
[ "apache", "mod-rewrite", "seo" ]
8,818
2
null
8,800
2
null
@[Jay Mooney](https://stackoverflow.com/users/733/jay-mooney): A generic Dictionary class in .NET is actually a hash table, just with fixed types. The code you've shown shouldn't convince anyone to use Hashtable instead of Dictionary, since both code pieces can be used for both types. For hashtable: ``` foreach(obje...
null
CC BY-SA 2.5
null
2008-08-12T13:25:56.710
2008-08-12T13:25:56.710
2017-05-23T12:24:56.423
-1
267
null
8,844
2
null
8,715
0
null
I would have thought that the important thing to ask here is "what database platform are you using?" For example, in Sybase, installing [MDA tables](http://www.sypron.nl/mda.html) might solve your problem, they provide a whole bunch of statistics from procedure call usage to average logical I/O, CPU time and index cov...
null
CC BY-SA 2.5
null
2008-08-12T13:54:22.410
2008-08-12T13:54:22.410
null
null
1,030
null
8,834
2
null
8,800
7
null
I think what you might be after (as a literal implementation of your question), is: ``` public class TokenTree { public TokenTree() { tree = new Dictionary<string, IDictionary<string,string>>(); } IDictionary<string, IDictionary<string, string>> tree; } ``` You did actually say a "list" of ...
null
CC BY-SA 3.0
null
2008-08-12T13:45:53.470
2018-04-12T13:45:21.823
2018-04-12T13:45:21.823
4,854,110
1,120
null
8,837
2
null
8,795
1
null
Depending on how complicated you want to get, you can use a generic linking table. For one of my applications there are several reports where the user might pick, for instance a list of customers to run the report on rather than just a single customer from a combo box. I have a separate table with 2 fields: - - Th...
null
CC BY-SA 2.5
null
2008-08-12T13:48:24.917
2008-08-12T13:48:24.917
null
null
945
null
8,835
2
null
8,508
0
null
Monitoring web and DB access logs should alert you to things like this, but if you want a more fully featured alert system I would suggest some kind of IDS/IPS. You'll need a spare machine though, and a switch that can do port mirroring. If you have those then an IDS is a cheap way of monitoring your traffic for many ...
null
CC BY-SA 2.5
null
2008-08-12T13:46:30.193
2008-08-12T13:46:30.193
null
null
1,115
null
8,852
2
null
8,728
0
null
Thanks onnodb Unfortunately the client insists on MDI and the smaller title bar. I have worked out one way of doing it which is to hide the title bar by overriding the windows CreateParams and then create my own title bar (simple panel with some Mouse handling for moving). Works well enough so I think I might run it ...
null
CC BY-SA 2.5
null
2008-08-12T13:58:52.853
2008-08-12T13:58:52.853
null
null
1,008
null
8,830
1
null
null
1
731
When opening Adobe Acrobat Pro, whether it be through or finder, the introductory dialog is shown. Is there a way to not show this dialog without already having checked the "Don't Show Again" option when opening a document using ? Photoshop and Illustrator libraries have ways of setting interaction levels and not...
Not showing Dialog when opening file in Acrobat Pro using Applescript
CC BY-SA 3.0
null
2008-08-12T13:43:30.667
2015-04-17T18:09:47.133
2015-04-17T18:09:47.133
1,215,724
738
[ "macos", "adobe", "applescript", "acrobat" ]
8,861
2
null
8,832
0
null
Post the rules you already have as a starting point so people don't have to recreate it to help you. I would suggest testing [L] on the rule that maps .php to .cfm files as the first thing to try.
null
CC BY-SA 2.5
null
2008-08-12T14:06:42.900
2008-08-12T14:06:42.900
null
null
430
null
8,854
2
null
4,347
0
null
Since you are already familiar with C and C++ I would recommend learning how to write a simple Windows GUI app using Charles Petzold's book. It will give you the fundamental understanding of how Windows works. It's good to understand that most everything that you see is a window (a button is a window for example) and...
null
CC BY-SA 2.5
null
2008-08-12T13:59:12.820
2008-08-12T13:59:12.820
null
null
791
null
8,849
1
9,730
null
2
2,268
Does anyone know if it is possible to display a prompt to a user/administrator when activating or installing a sharepoint feature? I am writing a custom webpart and it is connecting to a separate database, I would like to allow the administrator to select or type in a connection string when installing the .wsp file ...
SharePoint - Connection String dialog box during FeatureActivated event
CC BY-SA 3.0
0
2008-08-12T13:57:04.353
2017-12-18T12:24:12.403
2015-06-30T13:59:46.710
2,442,804
1,048
[ "sharepoint", "connection-string" ]
8,859
2
null
8,795
9
null
[This](http://forums.mysql.com/read.php?98,50521,50521#msg-50521) article has some good discussion on the problem of parsing an array to a stored procedure since stored procedures only allow valid table column data-types as parameters. There are some neat things you can do with the [csv](http://dev.mysql.com/tech-reso...
null
CC BY-SA 2.5
null
2008-08-12T14:02:46.697
2008-08-12T14:02:46.697
null
null
716
null
8,865
2
null
8,742
0
null
Timer classes can start behaving strangely when the timer 'tick' event code is not finished executing by the time the next 'tick' occurs. One way to combat this is to disable the timer at the beginning of the tick event, then re-enable it at the end. However, this approach is not suitable in cases where the execution ...
null
CC BY-SA 2.5
null
2008-08-12T14:09:28.523
2008-08-12T14:09:28.523
null
null
12,081
null
8,864
1
8,869
null
99
37,022
Is there a difference between `NULL` and `null` in PHP? Sometimes they seem to be interchangeable and sometimes not. edit: for some reason when I read the documentation linked to in the answer (before posting this question) I read it as "case sensitive" instead of "case insensitive" which was the whole reason I posted...
Difference between NULL and null in PHP
CC BY-SA 3.0
0
2008-08-12T14:08:23.363
2021-12-30T16:38:43.233
2013-05-18T22:25:02.330
41,956
58
[ "php", "null" ]
8,866
2
null
1,644
0
null
In addition to many of the other great ones listed, here are a couple of others for specific technologies that I regularly listen to: - [This Week in Django](http://blog.michaeltrier.com/tags/twid)- [VMware Communities Roundtable](http://blogs.vmware.com/vmtn/podcasts/index.html)
null
CC BY-SA 2.5
null
2008-08-12T14:10:02.017
2008-08-12T14:10:02.017
null
null
732
null
8,869
2
null
8,864
133
null
Null is case insensitive. From the [documentation](http://ca3.php.net/manual/en/language.types.null.php): > There is only one value of type null, and that is the keyword NULL.
null
CC BY-SA 2.5
null
2008-08-12T14:11:11.393
2008-12-11T14:23:56.963
2008-12-11T14:23:56.963
810
810
null
8,876
1
8,882
null
30
3,139
Are there any free tools that implement evidence-based scheduling like [Joel talks about](http://www.joelonsoftware.com/items/2007/10/26.html)? There is FogBugz, of course, but I am looking for a simple and free tool that can apply EBS on some tasks that I give estimates (and actual times which are complete) for.
Evidence Based Scheduling Tool
CC BY-SA 3.0
0
2008-08-12T14:16:41.757
2013-09-27T20:20:26.243
2013-09-27T20:20:26.243
277,932
31,505
[ "fogbugz" ]
8,880
1
8,888
null
1
3,188
Using the Windows API, how can I get a list of domains on my network?
Get list of domains on the network
CC BY-SA 2.5
0
2008-08-12T14:20:31.153
2016-06-16T21:32:08.017
null
null
672
[ "winapi" ]
8,868
2
null
8,728
2
null
The way MDI works doesn't gel with what you're trying to do. If you need the "MDI" format, you should consider using either the built-in or a [commercial](http://www.automatedqa.com/products/aqdocking/index.asp) docking package, and use the docking setup to mimic the MDI feel. In my Delphi apps, I frequently use TFr...
null
CC BY-SA 2.5
null
2008-08-12T14:10:18.430
2008-08-12T14:10:18.430
null
null
722
null
8,879
2
null
8,876
7
null
[According to Wikipedia](http://en.wikipedia.org/wiki/Evidence_Based_Scheduling), Fogbugz is the only product currently offering EBS.
null
CC BY-SA 2.5
null
2008-08-12T14:19:36.057
2008-08-12T14:19:36.057
null
null
722
null
8,884
2
null
4,434
7
null
Check your Visual Studio options for the following check box: Projects and Solutions - Build and Run - For new solutions use the currently selected project as the startup project. Uncheck that and see if the behavior changes.
null
CC BY-SA 2.5
null
2008-08-12T14:30:11.337
2008-08-12T14:30:11.337
null
null
1,065
null
8,889
2
null
2,348
1
null
I've always used For Each loop.
null
CC BY-SA 4.0
null
2008-08-12T14:34:32.560
2020-07-11T14:00:48.867
2020-07-11T14:00:48.867
10,325,630
1,025
null
8,882
2
null
8,876
14
null
FogBugz is free for up to 2 users by the way. As far I know this is the only tool that does EBS. See here [http://www.workhappy.net/2008/06/get-fogbugz-for.html](http://www.workhappy.net/2008/06/get-fogbugz-for.html)
null
CC BY-SA 2.5
null
2008-08-12T14:28:52.497
2008-08-13T08:25:19.967
2008-08-13T08:25:19.967
922
922
null
8,893
1
8,906
null
11
1,039
I wrote an application that currently runs against a local instance of MySql. I would like to centralize the DB somewhere on the Net, and share my application. But, I'm cheap, and don't want to pay for it. Does anyone know of a free on-line relational DB service that I could connect to via C#?
Anyone know of an on-line free database?
CC BY-SA 2.5
0
2008-08-12T14:35:39.643
2012-07-26T01:56:21.773
null
null
733
[ "c#", "database" ]
8,886
2
null
7,212
3
null
Yes, such a thing is possible. In fact, your example is very close to the solution. Try ``` foo["method"](); ``` instead of ``` foo.method(); ```
null
CC BY-SA 2.5
null
2008-08-12T14:31:44.300
2008-08-12T14:31:44.300
null
null
1,088
null
8,881
2
null
8,880
3
null
Answered my own question: Use the [NetServerEnum](http://msdn.microsoft.com/en-us/library/aa370623(VS.85).aspx) function, passing in the `SV_TYPE_DOMAIN_ENUM` constant for the "servertype" argument. In Delphi, the code looks like this: ``` <snip> type NET_API_STATUS = DWORD; PSERVER_INFO_100 = ^SERVER_INFO_100; ...
null
CC BY-SA 3.0
null
2008-08-12T14:27:10.360
2016-06-16T21:32:08.017
2016-06-16T21:32:08.017
672
672
null
8,888
2
null
8,880
1
null
You will need to use some LDAP queries ## Here is some code I have used in a previous script (it was taken off the net somewhere, and I've left in the copyright notices) ``` ' This VBScript code gets the list of the domains contained in the ' forest that the user running the script is logged into ' -------------...
null
CC BY-SA 2.5
null
2008-08-12T14:33:20.303
2008-08-12T14:33:20.303
null
null
1,115
null
8,894
1
10,140
null
7
1,872
[Phppgadmin](http://phppgadmin.sourceforge.net/doku.php?id=start) comes with instructions for creating a reports database on the system for use with phppgadmin. The instructions describe how to set it up, but do not really give any indication of what its purpose is, and the phppgadmin site was not very helpful either. ...
Use for the phppgadmin Reports Database?
CC BY-SA 3.0
0
2008-08-12T14:35:46.803
2011-11-13T13:56:29.220
2011-11-13T13:56:29.220
367,456
277
[ "php", "database", "postgresql", "phppgadmin" ]
8,899
2
null
8,807
2
null
I think I found the reason. While trying to get this work, I think I installed another version of the package that removed or deactivated my current version. The control I was dropping on the form belonged to the older version that had no assemblies referenced. I removed all installations of ActiveReports, installed th...
null
CC BY-SA 2.5
null
2008-08-12T14:39:20.040
2008-08-12T14:39:20.040
null
null
31,505
null
8,903
2
null
8,893
1
null
I've never heard of such a thing. A few years ago, many hosts (Brinkster, etc) offered some minimal database capacity with their free web hosting accounts, but I think you'd find it difficult to find something like that now. Even if you could, most hosts no longer allow you to connect to a database (even on an account ...
null
CC BY-SA 2.5
null
2008-08-12T14:42:43.573
2008-08-12T14:42:43.573
null
null
1,975,282
null
8,900
2
null
8,228
2
null
Try it without using the /exchange in the server properties field. Here's a link with relevant [info](http://www.robichaux.net/blog/2006/09/using_entourage_with_exchange_2007.php).
null
CC BY-SA 2.5
null
2008-08-12T14:40:45.060
2008-08-12T14:40:45.060
null
null
602
null
8,897
2
null
8,747
6
null
I think the most important points one has to learn regarding source control systems are the following: - - - - - - - - If you've got these major concepts covered, that's pretty much most of the things you'll ever need to know for source control :)
null
CC BY-SA 2.5
null
2008-08-12T14:37:49.450
2008-08-12T14:37:49.450
null
null
372
null
8,904
2
null
8,893
1
null
Have you taken a look at [http://creator.zoho.com/](http://creator.zoho.com/)? I haven't tested it myself but it might be a good idea to check it out.
null
CC BY-SA 2.5
null
2008-08-12T14:42:47.147
2008-08-12T14:42:47.147
null
null
936
null
8,895
2
null
8,566
1
null
I agree with using events for this. Since I suspect that you're building an MDI-application (since you create many child forms) and creates windows dynamically and might not know when to unsubscribe from events, I would recommend that you take a look at [Weak Event Patterns](http://msdn.microsoft.com/en-us/library/aa97...
null
CC BY-SA 3.0
null
2008-08-12T14:36:54.180
2016-02-07T18:20:21.090
2016-02-07T18:20:21.090
2,921,691
936
null
8,905
2
null
8,893
2
null
Oops, didn't read the question properly that time! :P Haven't tried this yet, and their site says they had had a major crash recently, but it looks promising: [http://www.freesql.org/](http://www.freesql.org/)
null
CC BY-SA 2.5
null
2008-08-12T14:43:17.193
2008-08-12T14:43:17.193
null
null
372
null
8,906
2
null
8,893
6
null
What about [http://www.freesql.org](http://www.freesql.org) ? Seems like you can't be too picky when you're asking for free, and this seems to offer something.
null
CC BY-SA 2.5
null
2008-08-12T14:43:31.077
2010-10-12T12:15:56.657
2010-10-12T12:15:56.657
404
404
null
8,908
2
null
8,688
-2
null
You could also download the full VS2008 SP1 ISO image from [here](http://www.microsoft.com/downloads/details.aspx?FamilyID=27673c47-b3b5-4c67-bd99-84e525b5ce61&displaylang=en). Then you can either burn it to DVD or use a tool such as [Virtual CD-ROM Control Panel from Microsoft](http://download.microsoft.com/download/...
null
CC BY-SA 2.5
null
2008-08-12T14:44:11.823
2008-08-12T14:44:11.823
null
null
509
null
8,916
2
null
4,724
5
null
I found that learning a new language, always influences your programming style in languages you already know. For me it always made me think in different ways to solve a problem in my primary language, which is Java. I think in general, it just widens your horizon in term of programming.
null
CC BY-SA 2.5
null
2008-08-12T14:51:46.863
2008-08-12T14:51:46.863
null
null
198
null
8,913
2
null
8,893
0
null
Sounds like you need [Amazon SimpleDB](http://www.amazon.com/SimpleDB-AWS-Service-Pricing/b?ie=UTF8&node=342335011)... It's not free, but pricing looks pretty good. I've not used it myself, but when I've got a bit of spare time I might use it for a project I'm working on.
null
CC BY-SA 3.0
null
2008-08-12T14:48:43.017
2012-07-26T01:56:21.773
2012-07-26T01:56:21.773
811,001
1,025
null
8,910
2
null
5,842
1
null
In general, it depends :) I haven't had a lot of problems when the application side has just been updating the data through the forms. You can get warnings/errors when the same row has been updated by more than one user; but Access seems to be constantly updating its live record sets all the time. Problems can happe...
null
CC BY-SA 2.5
null
2008-08-12T14:47:16.110
2008-08-12T18:07:00.120
2008-08-12T18:07:00.120
685
685
null
8,912
2
null
8,896
-1
null
Are you sure that the 32-bit version doesn't just run on 64-bit Windows, without modification? Most things do. Failing that, have you actually tried just compiling it for 64-bit? A brief scan of a few Google Groups etc where people asked this same question suggests that that may be exactly the solution to this. I thin...
null
CC BY-SA 2.5
null
2008-08-12T14:48:31.440
2008-08-12T14:48:31.440
null
null
1,975,282
null
8,919
1
8,928
null
9
16,649
I'd rather not have to resort to calling the command line. I'm looking for code that can map/disconnect a drive, while also having exception handling. Any ideas?
Looking for best practice for doing a "Net Use" in C#
CC BY-SA 3.0
null
2008-08-12T14:53:58.233
2013-07-04T12:04:47.110
2013-07-04T12:04:47.110
1,584,286
178
[ "c#", ".net-1.1" ]
8,920
2
null
8,688
0
null
Are you in place upgrading your current version or have you uninstalled VS 2008 Gold? By default, the installer won't let you change the directory if any existing versions of VS are installed. To move the installation, you will need to uninstall all editions of 2008 you have installed (including any Express Editions) ...
null
CC BY-SA 2.5
null
2008-08-12T14:54:02.070
2008-08-12T14:54:02.070
null
null
483
null
8,935
2
null
8,830
1
null
Copy any applicable preferences files in ~/Library/Preferences from a machine that you have checked "Don't show again" on.
null
CC BY-SA 2.5
null
2008-08-12T15:01:21.213
2008-08-12T15:01:21.213
null
null
79
null
8,927
2
null
8,832
0
null
You have to use two distinct groups of rewrite rules, one for .php, the other for .chm and make them mutually exclusives with RewriteCond %{REQUEST_FILENAME}. And make use of the flag [L] as suggested by jj33. You can keep your rules in .htaccess.
null
CC BY-SA 2.5
null
2008-08-12T14:57:47.303
2008-08-12T14:57:47.303
null
null
927
null
8,922
2
null
6,284
3
null
The [Visual Studio 2008 and .NET 3.5 Framework Service Pack 1](http://msdn.microsoft.com/en-us/vstudio/products/cc533447.aspx) has gone out of beta, maybe you can see if this bug still occurs?
null
CC BY-SA 2.5
null
2008-08-12T14:55:38.527
2008-08-12T14:55:38.527
null
null
372
null
8,928
2
null
8,919
9
null
Use P/Invoke and [WNetAddConnection2](http://msdn.microsoft.com/en-us/library/aa385413.aspx) There should also be some [wrappers](http://www.aejw.com/default.aspx?page=codeviewer&file=cNetworkDrive.cs&ret=dev/cnetworkdrive) out there to do some of the grunt work for you. Google is your friend, as always.
null
CC BY-SA 2.5
null
2008-08-12T14:58:40.330
2008-08-12T15:05:39.410
2008-08-12T15:05:39.410
960
960
null
8,896
1
2,356,710
null
90
60,790
Does anyone know , or I can get [Memcached](https://memcached.org/) running on a Windows 64bit environment? I'm setting up a new hosting solution and would much prefer to run a 64bit OS, and since it's an ASP.Net MVC solution with SQL Server DB, the OS is either going to be Windows Server 2003 or (hopefully!) 2008....
Can I get Memcached running on a Windows (x64) 64bit environment?
CC BY-SA 4.0
0
2008-08-12T14:37:28.703
2019-12-12T17:44:53.040
2019-12-12T17:44:53.040
1,033,581
1,107
[ "c#", "c++", "windows", "64-bit", "memcached" ]
8,945
2
null
8,941
74
null
``` public class Class1<GenericType> where GenericType : struct { } ``` This one seemed to do the job..
null
CC BY-SA 2.5
null
2008-08-12T15:11:58.990
2008-08-12T15:21:59.313
2008-08-12T15:21:59.313
960
960
null
8,955
2
null
8,952
5
null
In my own experience, it is always better to store files as files. The reason is that the filesystem is optimised for file storeage, whereas a database is not. Of course, there are some exceptions (e.g. the much heralded next-gen MS filesystem is supposed to be built on top of SQL server), but in general that's my ru...
null
CC BY-SA 2.5
null
2008-08-12T15:21:42.683
2008-08-12T15:21:42.683
null
null
377
null
8,952
1
8,960
null
89
140,575
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.
Storing a file in a database as opposed to the file system?
CC BY-SA 2.5
0
2008-08-12T15:20:25.637
2023-02-20T21:23:01.767
2008-08-17T01:52:20.633
55
565
[ "sql-server", "database", "filesystems", "storage" ]
8,954
2
null
8,941
2
null
Use a custom [FxCop](http://en.wikipedia.org/wiki/FxCop) rule that flags undesirable usage of `MyClass<>`.
null
CC BY-SA 3.0
null
2008-08-12T15:21:05.433
2011-05-23T10:56:42.770
2011-05-23T10:56:42.770
63,550
630
null
8,948
1
null
null
147
152,962
Is there a maintained package I can use to retrieve and set MP3 ID3 metadata using Python?
Accessing MP3 metadata with Python
CC BY-SA 4.0
0
2008-08-12T15:16:00.637
2021-07-24T16:02:02.540
2021-07-24T16:02:02.540
1,394,697
145
[ "python", "mp3", "metadata" ]
8,950
1
null
null
1
9,255
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? Edit: Browsing a SharePoint WSS site on a Mac, whether using Firefox or Safari, has a very similar look and feel as it does...
SharePoint WSS 3.0 Integration with Mac OSX (either Safari or Firefox)
CC BY-SA 3.0
null
2008-08-12T15:17:47.217
2013-12-02T13:36:05.777
2013-12-02T13:36:05.777
2,432,317
509
[ "sharepoint", "macos", "wss" ]
8,957
2
null
4,724
4
null
If you have to ask yourself if you should learn lisp, you probably don't need to.
null
CC BY-SA 2.5
null
2008-08-12T15:21:52.763
2008-08-12T15:21:52.763
null
null
null
null
8,960
2
null
8,952
83
null
Have a look at this answer: [Storing Images in DB - Yea or Nay?](https://stackoverflow.com/questions/3748/storing-images-in-db-yea-or-nay#3756) Essentially, the space and performance hit can be quite big, depending on the number of users. Also, keep in mind that Web servers are cheap and you can easily add more to ba...
null
CC BY-SA 3.0
null
2008-08-12T15:23:54.460
2014-06-11T14:04:40.123
2017-05-23T12:10:33.983
-1
91
null
8,962
2
null
6,284
0
null
I occasionally get this in Visual Studio 2005. A method I use to get the controls back, is to switch the web page between code view and design view. I know it's not a fix but it's a little quicker than restarting Visual Studio.
null
CC BY-SA 2.5
null
2008-08-12T15:24:04.707
2008-08-12T15:24:04.707
null
null
982
null
8,940
1
8,996
null
0
1,337
With VMWare Server running under Linux (Debain), I would like to have the following setup: - - Although the second NIC won't be used by Linux, it is certainly recognised as a NIC (e.g. eth1). Is this possible under VMWare Server, and if so, is it as simple as not binding eth1 under Linux and then bridging it to the...
VMWare Server Under Linux Secondary NIC connection
CC BY-SA 3.0
null
2008-08-12T15:04:29.397
2013-07-04T12:14:01.260
2013-07-04T12:14:01.260
1,584,286
1,111
[ "linux", "vmware", "sysadmin", "nic" ]
8,961
2
null
8,952
7
null
What's the question here? Modern DBMS SQL2008 have a variety of ways of dealing with BLOBs which aren't just sticking in them in a table. There are pros and cons, of course, and you might need to think about it a little deeper. This is an interesting paper, by the late (?) Jim Gray [To BLOB or Not To BLOB: Large Ob...
null
CC BY-SA 3.0
null
2008-08-12T15:23:58.810
2016-08-31T02:06:24.153
2016-08-31T02:06:24.153
2,025,666
987
null
8,956
2
null
8,941
41
null
Primitives appear to be specified in the [TypeCode](http://msdn.microsoft.com/en-us/library/system.typecode.aspx) enumeration: Perhaps there is a way to find out if an object contains the `TypeCode enum` without having to cast it to an specific object or call `GetType()` or `typeof()`? It was right under my nose. Th...
null
CC BY-SA 3.0
null
2008-08-12T15:21:44.010
2013-04-18T13:18:09.697
2013-04-18T13:18:09.697
960,778
372
null
8,964
2
null
8,950
1
null
Unfortunately, the "full" Sharepoint Experience is limited to running Internet Explorer 6/7 and Office 2007. On the Mac, I recommend using Firefox (Camino?) which seems to work a bit better than Safari. Edit: When you say "Similar experience", what exactly are you missing? I don't have any Mac here, but I was under t...
null
CC BY-SA 2.5
null
2008-08-12T15:27:35.373
2008-08-12T15:27:35.373
null
null
91
null
8,963
2
null
8,952
1
null
I agree with @ZombieSheep. Just one more thing - I generally don't think that databases actually need be portable because you miss all the features your DBMS vendor provides. I think that migrating to another database would be the last thing one would consider. Just my $.02
null
CC BY-SA 2.5
null
2008-08-12T15:27:00.863
2008-08-12T15:27:00.863
null
null
837
null
8,968
1
9,404
null
12
906
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?
What OSS project should I look at if I need to do Spring friendly WorkFlow?
CC BY-SA 2.5
null
2008-08-12T15:29:18.067
2013-08-18T09:19:43.010
null
null
1,126
[ "java", "spring", "workflow" ]
8,939
1
205,936
null
5
2,266
I'm having trouble connecting (via the Socket and XMLSocket classes) to a TCP listener after a connect timeout. I have a flash applet that needs to maintain a TCP connection to a server. I have implemented timeouts using Timers, a ping-pong system, etc. However, there's a problem. Upon calling Socket.connect(), the fl...
ActionScript 3.0 sockets can't reconnect
CC BY-SA 2.5
null
2008-08-12T15:03:40.833
2012-08-23T09:53:44.560
2008-12-15T01:19:28.937
1,088
1,088
[ "flash", "actionscript-3", "sockets", "xmlsocket" ]
8,966
1
107,940
null
23
40,236
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 broke...
Using C#/WIA version 2.0 on Vista to Scan
CC BY-SA 2.5
0
2008-08-12T15:28:34.573
2012-01-06T06:51:31.343
2011-05-15T13:31:51.517
21,234
1,124
[ "c#", ".net", ".net-3.5", "wia", "image-scanner" ]
8,967
2
null
8,569
1
null
If you're just looking to dabble in it a bit and see if you like it, I recommend starting with the DAO layer, using Spring's JDBC and/or Hibernate support. This will expose you to a lot of the core concepts, but do so in a way that is easy to isolate from the rest of your app. This is the route I followed, and it was g...
null
CC BY-SA 2.5
null
2008-08-12T15:28:59.940
2008-08-12T15:28:59.940
null
null
765
null
8,969
2
null
8,952
1
null
The overhead of having to parse a blob (image) into a byte array and then write it to disk in the proper file name and then reading it is enough of an overhead hit to discourage you from doing this too often, especially if the files are rather large.
null
CC BY-SA 2.5
null
2008-08-12T15:30:25.583
2008-08-12T15:30:25.583
null
null
372
null
8,970
1
null
null
7
11,419
Is it possible to access the iSight camera on a macbook programmatically? 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?
Accessing iSight programmatically?
CC BY-SA 3.0
0
2008-08-12T15:31:40.200
2017-08-14T04:58:53.900
2017-08-14T04:58:53.900
1,033,581
85
[ "objective-c", "macos", "webcam", "isight" ]
8,975
2
null
8,447
25
null
@Nidonocu To add another flag to an existing set of values, use the OR assignment operator. ``` Mode = Mode.Read; //Add Mode.Write Mode |= Mode.Write; Assert.True(((Mode & Mode.Write) == Mode.Write) && ((Mode & Mode.Read) == Mode.Read))); ```
null
CC BY-SA 2.5
null
2008-08-12T15:37:42.480
2008-08-12T15:37:42.480
null
null
769
null
8,977
2
null
8,970
4
null
I don't have a Mac here, but there is some Documentation up here: [http://developer.apple.com/documentation/Hardware/Conceptual/iSightProgGuide/01introduction/chapter_1_section_1.html](http://developer.apple.com/documentation/Hardware/Conceptual/iSightProgGuide/01introduction/chapter_1_section_1.html) It looks like y...
null
CC BY-SA 2.5
null
2008-08-12T15:39:32.727
2008-08-12T15:39:32.727
null
null
91
null
8,981
2
null
8,952
37
null
If you can move to SQL Server 2008, you can take advantage of the FILESTREAM support which gives you the best of both - the files are stored in the filesystem, but the database integration is much better than just storing a filepath in a varchar field. Your query can return a standard .NET file stream, which makes the ...
null
CC BY-SA 3.0
null
2008-08-12T15:44:26.087
2013-01-27T14:06:58.937
2013-01-27T14:06:58.937
null
5
null
8,976
2
null
8,948
1
null
It can depend on exactly what you want to do in addition to reading the metadata. If it is just simply the bitrate / name etc. that you need, and nothing else, something lightweight is probably best. If you're manipulating the mp3 past that PyMedia may be suitable. There are quite a few, whatever you do get, make sur...
null
CC BY-SA 2.5
null
2008-08-12T15:37:59.080
2008-08-12T15:37:59.080
null
null
1,087
null
8,980
2
null
8,941
23
null
Pretty much what @Lars already said: ``` //Force T to be a value (primitive) type. public class Class1<T> where T: struct //Force T to be a reference type. public class Class1<T> where T: class //Force T to be a parameterless constructor. public class Class1<T> where T: new() ``` All work in .NET 2, 3 and 3.5.
null
CC BY-SA 3.0
null
2008-08-12T15:43:37.260
2011-05-23T11:11:24.510
2011-05-23T11:11:24.510
63,550
905
null
8,974
2
null
8,948
5
null
A simple example from the book Dive Into Python works ok for me, [this](http://www.diveintopython.org/download/diveintopython-examples-5.4.zip) is the download link, the example is fileinfo.py. Don't know if it's the best, but it can do the basic job. The entire book is available online [here](http://www.diveintopytho...
null
CC BY-SA 2.5
null
2008-08-12T15:37:24.837
2008-08-12T23:54:32.243
2008-08-12T23:54:32.243
394
394
null
8,982
2
null
7,674
4
null
I would definitely have a look at the JW Flash Media Player: [http://www.jeroenwijering.com/?item=JW_FLV_Player](http://www.jeroenwijering.com/?item=JW_FLV_Player) It's Open Source, and I found the Source quite clean and easy to understand, it also supports playlists. I don't know the DART In-Stream stuff, but maybe ...
null
CC BY-SA 2.5
null
2008-08-12T15:44:27.193
2008-08-12T15:44:27.193
null
null
91
null
8,993
2
null
8,987
19
null
No because you need to select them. However you can create a stored proc wrapper, which may defeat the point of having a table function.
null
CC BY-SA 3.0
null
2008-08-12T15:53:26.193
2012-09-07T22:56:09.083
2012-09-07T22:56:09.083
450,827
17
null
8,941
1
8,956
null
72
29,796
Now, I know you can limit the generic type parameter to a type or interface implementation via the clause. However, this doesn't fit the bill for primitives (AFAIK) because they do not all have a common ground (apart from before someone says! :P). So, my current thoughts are to just grit my teeth and do a big stat...
Generic type checking
CC BY-SA 4.0
0
2008-08-12T15:07:40.887
2022-05-21T19:11:04.440
2021-07-09T11:17:37.160
13,176,802
832
[ "c#", "generics", "primitive", "type-safety" ]
8,987
1
8,993
null
30
18,662
Scalar-valued functions can be called from .NET as follows: ``` SqlCommand cmd = new SqlCommand("testFunction", sqlConn); //testFunction is scalar cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("retVal", SqlDbType.Int); cmd.Parameters["retVal"].Direction = ParameterDirection.ReturnValue; cmd.Execu...
Calling Table-Valued SQL Functions From .NET
CC BY-SA 2.5
0
2008-08-12T15:50:49.460
2014-07-26T10:37:16.860
2014-01-13T23:52:57.440
17,360
940
[ "c#", ".net", "sql" ]
8,996
2
null
8,940
2
null
I believe you can set the desired solution up by rerunning the vmware configuration script. And doing a custom network setup, so that both NIC's are mapped to your vmware instance. I would recommend making eth0 the 2nd NIC since it will be easier for Linux to use by default. Then make eth1 the 1st NIC.
null
CC BY-SA 2.5
null
2008-08-12T15:56:13.660
2008-08-12T15:56:13.660
null
null
17
null
9,004
2
null
8,676
210
null
I think the quick and dirty answer is that - -
null
CC BY-SA 2.5
null
2008-08-12T16:00:26.243
2009-05-23T00:14:03.103
2009-05-23T00:14:03.103
308
308
null
8,992
2
null
8,952
2
null
We made the decision to store as varbinary for [http://www.freshlogicstudios.com/Products/Folders/](http://www.freshlogicstudios.com/Products/Folders/) halfway expecting performance issues. I can say that we've been pleasantly surprised at how well it's worked out.
null
CC BY-SA 2.5
null
2008-08-12T15:53:01.747
2008-08-12T15:53:01.747
null
null
247
null
9,001
2
null
7,642
2
null
> I still use the _ prefix in VB for private fields, so I'll have _foo as the private field and Foo as the property. I do this for c# as well and pretty much any code I write. Generally I wouldn't get too caught up in "what is the right way to do it" because there isn't really a "right" way (altho there...
null
CC BY-SA 2.5
null
2008-08-12T15:57:52.753
2008-08-12T15:57:52.753
null
null
308
null
9,002
1
9,875
null
4
4,359
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 FROM s...
How do I get dbmail to process items from the queue for SQL Server 2005?
CC BY-SA 2.5
0
2008-08-12T15:58:30.723
2011-05-12T14:41:12.410
2008-08-17T01:51:10.853
55
162
[ "sql-server" ]
9,021
2
null
9,018
0
null
The problem with these devices is everything is stored in the RAM and ROM. So you need a second alternate device storage for these settings, just like a real device. So that when a real device, or your device is reset, it has a statically stored configuration file outside of the RAM that can be loaded on start up. T...
null
CC BY-SA 2.5
null
2008-08-12T16:23:49.767
2008-08-12T16:23:49.767
null
null
17
null