text stringlengths 8 267k | meta dict |
|---|---|
Q: Good algorithm for combining items from N lists into one with balanced distribution? Let's say I have the three following lists
A1
A2
A3
B1
B2
C1
C2
C3
C4
C5
I'd like to combine them into a single list, with the items from each list as evenly distributed as possible sorta like this:
C1
A1
C2
B1
C3
A2
C4
B2
A3
C5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Develop games for windows mobile Does anybody know a good place to find things about game development for windows mobile?
thanks!
A: The first thing you will require is the Tools and Startup kit. This link is for .Net for Windows Mobile.
A: Rob Miles did a series of webcasts on game programming on Windows Mobile d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Which is the best API/Library to use when accessing a WebCam in .Net? Which is the best API to use when accessing a WebCam in .Net? (I know they can be webcam specific, I am willing to buy a new webcam if it means better results).
I want to write a desktop application that will take video from a webcam and store it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: firing ASP.NET Events from javascript I'm doing some straight up asynchronous calls from javascript using the XMLHTTPRequest object. On success, with certain return values, I would like to do an asynchonous post back on an update panel and run some server side methods. This is about how I'm implementing it now:
<sc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Export data as fixed width file from SQL Server 2005 I thought it is a very simple task to export data in a view from SQL Server 2005 to a fixed width text file. But the wizard is a pain. The format is not correct. Does anybody know how to deal with it? or any better way to do that?
A: Use bcp with queryout option
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Where does form processing logic belong in a MVC web application? In a web-based application that uses the Model-View-Controller design pattern, the logic relating to processing form submissions seems to belong somewhere in between the Model layer and the Controller layer. This is especially true in the case of a co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can I extract a file from a jar that is 3 directories deep? I have a jar file that has a file named "client.ts" in (when viewing in ZipGenius) "/com/something/messaging". When I do
JarFile jarFile = new JarFile("Client.jar");
JarEntry zipFile = jarFile.getJarEntry("client.ts");
It can't find the "client.ts" file. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filter services when calling Get-Service I did this in the past, and can't remember the correct command (I think I was using instring or soemthign?)
I want to list all the windows services running that have the word 'sql' in them.
Listing all the windows services is:
Get-Service
Is there a instring function that do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to find the beginning and end of thread local storage? How, under Windows and Linux, given a thread handle can I determine the beginning and end of its corresponding static thread local storage block?
A: You can find this information in the Thread Information Block. Please note, however, that doing so is acces... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I specify a delay before the browser raises "rollover" event? I am working on an ASP.NET web application that is required to bring up a popup on a roolover. I am using the "OnMouseOver" event and it works as expected. The problem is that the event is on a "hair trigger"; even a casual passage of the mouse over... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UIButton to cover a UITableViewCell I'd like one of my table rows to be a button that takes up an entire row of my UITableView. I figured the best way to go about this is to instantiate a UIButton, and give it the same frame size as an instance of UITableViewCell, and add that as a subview to the cell. I'm almost th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Storing a comma separated list in a field using nHibernate I'm building a blog using C# and nHibernate for my database persistence. I want to make the entries taggable so I have an IList for the tags property. But how do I map this to a comma separated list in a single column in my database?
I want to avoid using a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you compute the XOR Remainder used in CRC? I'm trying to remember how the math is worked out to compute the remainder of an XOR algorithm in Cyclical Redundancy Checks to verify the remainder bits of a network message.
I shouldn't have tossed that text book.
This is easily done in code, but how is it worked o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I make a text file with paths to all my files of a given extension? I'm trying to use the freeware Multiple Find And Replace 1.00 suggested in this question.
Multiple Find And Replace 1.00 http://www.nontube.com/images/screenshot-mfar.png
Unfortunately it requires that I explicitly select each file I'd like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I use databinding with Windows Forms radio buttons? I have a binary field in my database that is hard to describe in a UI using a single "Is XXXX?"-type checkbox. I'd rather use a pair of radio buttons (e.g. "Do it the Foo way" and "Do it the Bar way"), but right now all the other fields on my form are data-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: JasperReports: does positionType=''Float'' work at all for staticText? I need to have a staticText to float below another element with variable height. I'm taking a sample from the book JasperReports for Java Programmers. It says that it's possible to do it. The difference with my sample is that I use a hard coded s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Improved tab in Emacs I want to override the bad default tabbing scheme in emacs so that it will work like most other editors (eclipse, notepad++). I want to set it so that regardless of mode, tab will insert a tab, and pressing enter will keep me at my current tab depth.
I tried this, but it does nothing:
(global-s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Making a JDialog button respond to the Enter key I have a JQueryDialog with a text field, an OK button and a cancel button.
I want to be able to hit the enter key after filling in the text fields and have it do the same action as when I click the OK button.
A: In your dialog, call getRootPane().setDefaultButton(okB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How can one detect via Javascript if a print stylesheet is in effect? I would like to have alternate behavior during a print stylesheet on a web page. Something along the lines of:
If this page is being printed, don't
bother calling SWFObject to summon an
.swf into existence. Just leave the
HTML that the Fl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Picture box goes blank In VisualBasic.Net When I activate a picture box and then draw something on it, it draws and then immediately goes blank. Works fine when I re-draw it, but almost always messes up the first time I draw on it. This has happenned with several different programs, and the help file is no help.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: how to access div tags of user control in master page Can we access div tags of user control in Master page? I am trying to change the background color for each one of the div tags on some event.
A: Something like this should work (in C#):
Control myControl = this.Page.Master.FindControl("[Your name here]");
Then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/344998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Smart clients easier to maintain than web apps? I have been working on a project that has 2 interfaces - windows forms and web. Over the past 8 months, we have faced more issues with maintenance of our web apps (works in IE not in FF, ajax breaks in some weird ways that is not easy to debug... ) and so on.
On the ot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Is it safe to use STL (TR1) shared_ptr's between modules (exes and dlls) I know that new-ing something in one module and delete-ing it in another can often cause problems in VC++. Problems with different runtimes. Mixing modules with staticly linked runtimes and/or dynamically linked versioning mismatches both can s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Does Silverlight have a VirtualizingStackPanel? Does Silverlight have a VirtualizingStackPanel?
If there is no built in type are there any third party controls that implement this?
A: Yes, VirtualizingStackPanel (MSDN Library) was added with the release of Silverlight 3.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/345004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Printing a WPF FlowDocument I'm building a demo app in WPF, which is new to me. I'm currently displaying text in a FlowDocument, and need to print it.
The code I'm using looks like this:
PrintDialog pd = new PrintDialog();
fd.PageHeight = pd.PrintableAreaHeight;
fd.PageWidth = pd.PrintableAr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: Enterprise Messaging API with Web Services for High Performance? Does combining an Enterprise Messaging solution with Web Services result in a real performance gain over simple HTTP requests over sockets?
(if implementation details will help, interested in JMS with a SOAP webservice)
A: Typically one uses a messagi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you handle "special-case" data when modeling a database? Our organization provides a variety of services to our clients (e.g., web hosting, tech support, custom programming, etc...). There's a page on our website that lists all available services and their corresponding prices. This was static data, but my bo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Find Number of Unique Values in Table I have a table with four columns:
PartNumber, ValvePartNumber, ActuatorPartNumber, Price
I want to find the number of distinct prices for each combination of ValvePartNumber and ActuatorPartNumber.
This is using SQL Server 2005
A: You can combine COUNT(DISINTCT) and GROUP BY to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Select unique XElements (by attribute) with a filter using LinqToXml I have an XML document looking similar to this:
<items>
<item cat="1" owner="14">bla</item>
<item cat="1" owner="9">bla</item>
<item cat="1" owner="14">bla</item>
<item cat="2" owner="12">bla</item>
<item cat="2" owner="12">bla</item>
</items>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: mysql update math say p.products_price equals 1
why does:
UPDATE products p
SET p.products_price = (1 + p.products_price)
WHERE p.products_id = 8
make p.products_price equals 3?
It is adding 1 to the price and then doing it all over again? I am trying to do something a little more complicated but when it didn't w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Shorten long text according to width in pixels I would like to shorten very long descriptions to the available table column width. I have the column width information in pixels. Now I would like to convert this measure to the number of characters, so I can shorten the text to the specified number.
I doesn't have to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: accessing bitmap resources in a C++ DLL from VB6 I have a C++ DLL including bitmap resources created by Visual Studio.
Though I can load the DLL in VB6 using LoadLibrary, I cannot load the image resources either by using LoadImage or by using LoadBitmap. When I try to get the error using GetLastError(), it doesnot r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Declaring variables within FOR loops A weird bug was occurring in production which I was asked to look into. The issue was tracked down to a couple of variables being declared within a For loop and not being initialized on each iteration. An assumption had been made that due to the scope of their declaration they wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: PHP and SQL Server debugging I'm working on a script in PHP that needs to get some info from a SQL Server database. However, I am having trouble connecting to the database. When i use the mssql_connect() function, it gives me an error and says it cannot connect to the database. However, it gives no reason why. Is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to create a Java UDP Socket to listen on all addresses? I would like to have a single DatagramSocket to listen for both unicast and broadcast messages. Is this possible?
A: Broadcasting is, by definition, a transmission function.
If your UDP socket is listening on a particular port and bound to INAD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Soap Web Service Calls from SQL Server I'm not entirely sure if this is possible, but does anyone know how, or if you can make calls to a SOAP web service from SQL Server? Seems like it might be good performance-wise in the area of data sync applications. I feel like this might be a long shot though.
Thanks.
A: C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do Trigonometric functions work? So in high school math, and probably college, we are taught how to use trig functions, what they do, and what kinds of problems they solve. But they have always been presented to me as a black box. If you need the Sine or Cosine of something, you hit the sin or cos button on your... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "113"
} |
Q: Will code in a Finally statement fire if I return a value in a Try block? I'm reviewing some code for a friend and say that he was using a return statement inside of a try-finally block. Does the code in the Finally section still fire even though the rest of the try block doesn't?
Example:
public bool someMethod()
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "255"
} |
Q: Deploying an windowsform client app but assemblys are missing I'm trying to finish a little module from a reporting app using external dlls. I'm putting the files into the bin folder but when I deploy the app with ClickOnce, and the install finishes, I see that all external dlls are missing. For example, the Microso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can you force VB6 to use the DLLs and OCXs from the app directory? I want to put my dependent files in the app directory.
I seem to remember that you can force VB6 to use the files in the local directory only.
Any hints?
A: Clay Nichol's answer about the search order is not quite correct. That search order only... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Do I need to unsubscribe from (manually subscribed to) events in asp.net? Do the same best practis rules regarding subscribing/unsubscribing to events apply in asp.net?
I know it might seem like a silly question, but when I think about it, I have never really seen any code where people first subscribe to an event on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can i have two concurrent web apps running on VS2008/VSS8.0/ASP.NET/IIS for a trunk and branch version? Applications I am using:
Visual Studio 2008 (C#/ASP.NET)
Visual Source Safe 8.0
IIS 5.1
I have two Web Apps both named the same but one is used for major releases and the other is for minor (trunk and branch).... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I programatically analyze (and change) the configuration of IIS I'm relatively new to the Windows Server world (coming from *nix land). I'm used to analyzing a web-server's configuration by grepping through an apache config file.
Is there an equivalent file/group-of-files for IIS? Lacking that, is there a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to simulate keybard input to a remote desktop session? i'm trying to send fake keyboard input to an application that's running in a Remote Desktop session. i'm using:
Byte key = Ord("A");
keybd_event(key, 0, 0, 0); // key goes down
keybd_event(key, 0, KEYEVENTF_KEYUP, 0); // key goes up
Now this code does send... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to clear out session on log out I redirect the user to the login page when user click log out however I don't think it clears any application or session because all the data persisted when the user logs back in.
Currently the login page has a login control and the code behind on the page is only wired up the log... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: How to manage NHibernate sessions in a long lived Windows forms application? We are using NHibernate to manage our persistence in a complex modular windows forms application - but one thought keeps bothering me. We currently open a session on launch and open all objects through that session. I am worried that all lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Is there a way to catch when ContainsFocus changes? I need to be able to determine when ContainsFocus changes on a Control (specifically a windows form). Overriding OnGotFocus is not the answer. When I bring the form to the foreground, ContainsFocus is true and Focused is false. So is there an OnGotFocus equivalent ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Question about CreateObject() in VB6 / VBA I can do this:
Dim fso As New FileSystemObject
or I can do this:
Dim fso As Object
Set fso = CreateObject("Scripting.FileSystemObject")
How do I know what string to use for CreateObject? For example, how would I know to use the "Scripting." part of "Scripting.FileSystemOb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How can I delete the contents of a folder from the command prompt in windows? I am writing a deployment script using MSBuild. I want to clean my web directories prior to copying all the new files in. My current "Clean" target looks like this:
<Target Name="Clean">
<Exec Command="del %(DeploymentSet.LocalWebRoot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access a custom .NET DLL in VBScript I wrote a DLL in .NET and I want to access it in VBScript. I don't want to add it to the assembly directory.
Is there a way to point too the DLL and create an instance of it?
A: huseyint's answer was on the money, however, I wanted to add a little to it. Here is some sample co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Returning empty collections Check out this test:
[TestFixture]
public class Quick_test
{
[Test]
public void Test()
{
Assert.AreEqual(0, GetByYield().Count());
Assert.AreEqual(0, GetByEnumerable().Count());
}
private IEnumerable<string> GetByYield()
{
yield break;
}
private... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Math - mapping numbers How do I map numbers, linearly, between a and b to go between c and d.
That is, I want numbers between 2 and 6 to map to numbers between 10 and 20... but I need the generalized case.
My brain is fried.
A: It would be nice to have this functionality in the java.lang.Math class, as this is such... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "113"
} |
Q: Regular expression field validation in jQuery In jQuery, is there a function/plugin which I can use to match a given regular expression in a string?
For example, in an email input box, I get an email address, and want to see if it is in the correct format. What jQuery function should I use to see if my validating re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: How to set background color based on bool property in WPF I want to set the backgroun color for a GridViewColumn that is databound inside of a listview in WPF. I'm not sure how to ask this question being fairly new to WPF, otherwise I wouldn't have bothered all of you.
I want to change the background color of the wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: WMI Process Watching uses too much CPU! Any better method? I need to watch when certain processes are started or stopped on a Windows machine. I'm currently tapped into the WMI system and querying it every 5 seconds, but this causes a CPU spike every 5 seconds because WMI is WMI. Is there a better way of doing this?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Really, though, how can gmail still be "beta"?
*
*It's been out for almost five years.
*It's got tens of millions of users
*I suspect several businesses rely on it.
How is it still "beta"? At what point will it no longer be beta? When it completely owns the e-mail market?
A: Well it was down for 30 hours ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: SharePoint site security: how can I programmatically monitor changes? I have a case where if a SharePoint site owner decides to break permissions inheritance and directly manage site membership, I'd also like to correspondingly modify view permissions on items in a specific list in the top-level site.
How can I be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Printing Server Side from .Net (without WinForms) Hey printing junkies need some pointers to send me in the right direction for this development.
I am developing an epos system for a local shop which we are later going to tie into an ecommerce site.
The front end of the epos system is going to be WinForms so we can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I data bind Control.Enabled to !(field)? I have a (varchar) field Foo which can only be specified if (bit) Bar is not true. I would like the textbox in which Foo is displayed to be disabled when Bar is true -- essentially, FooBox.Enabled = !isBar. I'm trying to do something like
FooBox.DataBindings.Add(new ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem refreshing tables in the LINQ to SQL designer I have been using LINQ to SQL for a while, and there is one thing that has always bothered me. Whenever I modify the schema of a table, in order to refresh it in the designer, I have to delete it and then add it back. That's fine, but this means I have to actual... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Run Batch File in VS2008 Is it possible to run a batch file as a menu item in studio 2008?
A: Yes, go to Tools | External Tools in the menus and add your batch file as the Command. You can also pass in any arguments that you want such as the build target, project directories, etc.
Once you do this, your batch file ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Python Version for a Newbie I am extremely new to python, having started to learn it less than a month ago, but experienced with some other programming languages (primarily C# and SQL). But now that Python 3.0 has been released and is not backwards compatible, what would be the advantages and disadvantages of decid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Bayesian networks tutorial For a beginner, which is the best book to start with for studying Bayesian Networks?
A: A good book on general machine learning is 1. But it is quite light on BN. I haven't read [2] but I have read [3] by him which is good (so, [2] is likely to be good as recommended by dwf). I would no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Is there a way to force Firefox to launch in a new process? Is there a command-line argument that would force firefox.exe to launch a new process for a particular URL regardless of whether another instance of firefox is already running?
A: If you have a second profile (like 'sidekick'), the following will launch a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: How do I map (local) to a non-standard named SQL Server? I installed SQL Server 2008 (SQL Server 2005 was already installed) on my XP box and name the local instance of the database so that it wouldn't clash with SQL Server 2005.
Now I want to change the mapping of (local) from SQL Server 2005 to my non-standard nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Could anyone suggest a good packet sniffer class for c++? Could anyone suggest a good packet sniffer class for c++? Looking for a easy insertable class I can use in my c++ program, nothing complicated.
A: You'll need to say something about your platform, as this is a platform rather than a language thing.
But assu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: VBA-Sorting the data in a listbox, sort works but data in listbox not changed A listbox is passed, the data placed in an array, the array is sort and then the data is placed back in the listbox. The part that does work is putting the data back in the listbox. Its like the listbox is being passed by value instead of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Best way to attach to events far down in the callstack in C#? What is the best design decision for a 'top-level' class to attach to an event to a class that may be '5+ layers down in the callstack?
For example, perhaps the MainForm has spawned an object, and that object has spawned a callstack of several other objec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: AddWithValue without DBType causing queries to run slowly I've been using cmd.Parameters.AddWithValue, and not specifying a DBType (int, varchar,...) to run queries. After looking at SQL Profiler, it seems that queries run with this method run a lot slower than when you specify the data type.
To give you an idea ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best way to handle input and state changes for multiple states? I have an application that has multiple states, with each state responding to input differently.
The initial implementation was done with a big switch statement, which I refactored using the state pattern (at least, I think it's the state pattern. I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Strategies for dealing with CSS in ASP.Net MVC UserControls I have just started playing with the ASP.Net MVC framework, and today I created a simple UserControl that uses some CSS. Since the CSS was declared in a separate file and included in the View that called the UserControl, and not in the UserControl itself, V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the relationship between "Work" fields in Project Server 2007's Reporting Database? The Reporting Database in Project Server 2007 has about 7 "User Views" based on Assignment, Resource, Task, and Project. They all have fields for Work, OvertimeWork, ActualWork, MaterialWork, BudgetWork, ActualRegularWork. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simplest way to count visits ASP.NET web app? What is the simplest way to count # of visits by a user in an ASP.NET web app?
Our app services anonymous users, registered users and an intermediate user, called a "prospect". Prospects are users that request information but do not create an account.
We leave an ID coo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: PlotChart/LineChart vertical linear gradient on the line series I want to build a LineChart component where the color of the line is indicative on how high the value is. I should be able to do this buy just using a gradient stroke (see below) but for some reason the gradient only goes from left to right and the "ang... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: VS2008 Windows Form Designer does not like my control I have a control that is created like so:
public partial class MYControl : MyControlBase
{
public string InnerText {
get { return textBox1.Text; }
set { textBox1.Text = value; }
}
public MYControl()
{
InitializeComponent()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why doesn't Python 2.6 have set literals and comprehensions or dict comprehensions? Python 2.6 was basically a stepping stone to make converting to Python 3 easier. A lot of the features destined for Python 3 were implemented in 2.6 if they didn't break backward compatibility with syntax and the class libs.
Why wer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How does JOGL search for OpenGL libraries? I'm writing a desktop app using JOGL, and deploying on Win/Mac/Linux. On Linux we find that the OpenGL libraries installed are not always up to the job, and we need to have the capability of switching our own software emulation OpenGL in. Naturally we expected that we could... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: iPhone keyboard shift key disabled I have a UITextField where the keyboard that pops up has its Shift key disabled. The keyboard type is set to UIKeyboardTypeNamePhonePad, which seems like it should allow capitals.
If I change the keyboard type to "default" but leave other settings alone, the Shift key is active.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to get R# not to reformat ASP.NET MVC Spaghetti code When I'm writing spaghetti code in my MVC views, R# keeps automatically dropping my braces to the next line and indenting and such. Is there a way I can turn this off for just my view pages?
A: As Chris says in the comment, it can't be done.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/345374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL Server 2005 deadlock on key I have a table with a clustered primary key index on a uniqueidentifier column. I have a procedure that runs the following psuedo functions:
begin transaction
read from table 1
insert into table 2
update table 1 with pointer to table 2 record
commit transaction
This all works fine un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Capturing MSN Chat via Memory Is it possible, or does anyone know the best way to capture MSN chats? I was thinking about attaching to the MSN process, and messing about searching for static addresses for conversations, to capture them.
(This is all on the windows platform using c++)
A: It would probably be easi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: WPF textblock binding with List does anyone know if there is a simple way to bind a textblock to a List.
What I've done so far is create a listview and bind it to the List and then I have a template within the listview that uses a single textblock.
what I'd really like to do is just bind the List to a textblock and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: MVC & RadioButtonList I tried doing this but this only display the radiobutton without text beside it..
<% foreach (string s in Html.RadioButtonList("rbl")) {%>
<% =s %>
<% } %>
A: It used to be in the previews but it was removed.
If you can't find it in the futures try something like this
<% foreach (Model m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Boolean Expression - Order of Operations I have a test in Excel VBA:
If (test1) And (test2) And (test3) Then
'do something
End If
In C, Java, etc. test1 would be run first, then test2, then test3. Critically, if test1 is false the whole test is false so the remaining tests do not run.
Does that happen in this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: System.EngineExecutionException on a return from a WCF service This one has us all baffled at work. We have two services running on .net 3.5 SP1 that hits up sharepoint, and return Lists of model objects that are pretty similar. One of them works fine, the other throws an EngineExecutionException on the return.
I kn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Django MTMField: limit_choices_to = other_ForeignKeyField_on_same_model? I've got a couple django models that look like this:
from django.contrib.sites.models import Site
class Photo(models.Model):
title = models.CharField(max_length=100)
site = models.ForeignKey(Site)
file = models.ImageField(upload_to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Using Linq and the Trim.Text for Search I am trying to convert this test code to C# and having a problem with the Trim command. Has anyone done anything similiar like this in C# going to use this with a text box for searching the aspx page.
Dim q = From b In db.Blogs _
Where b.BlogContents.Contains... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: 'Error serializing body'. Problem calling Fedex webservice through .NET 3.5 I'm using Fedex's web services and getting an annoying error right up front before I can actually get anywhere.
There was an error in serializing body of message addressValidationRequest1: 'Unable to generate a temporary class (result=1).
er... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: IsAssignableFrom() returns false when it should return true I am working on a plugin system that loads .dll's contained in a specified folder. I am then using reflection to load the assemblies, iterate through the types they contain and identify any that implement my IPlugin interface.
I am checking this with code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: ASP.NET Web Site + Windows Forms App + WCF Service: Client Credentials Let's say that I'm considering designing a WCF service whose primary purpose is to provide broad services that can be used by three disparate applications: a public-facing Web site, an internal Windows Forms application, and a wireless mobile dev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: linq to sql: join multiple columns from the same table How do I inner join multiple columns from the same tables via Linq?
For example:
I already have this...
join c in db.table2 on table2.ID equals table1.ID
I need to add this...
join d in db.table2 on table2.Country equals table1.Country
A: var query = from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Compiling libgadu under Windows I want to use libgadu (library of instant messaging protocol) under Visual Studio 2008.
I have downloaded libgadu http://toxygen.net/libgadu/files/libgadu-1.8.2.tar.gz and under cygwin I've compiled it - ./configure , make , make install.
File libgadu.h which appeard in include folder... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to cache resources loaded in an iPhone UIWebView? I have a simple app loading a site optimized for the iPhone in a UIWebView.
Problem is, caching does not seem to work:
[webView loadRequest: [NSURLRequest requestWithURL: [NSURL URLWithString: url]
cachePolicy: NS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: What happened to 'nice' generated class names in .NET for web services? I am using .NET 3.5 to call a FedEx web service.
In Fedex's sample code (VS2005) it has things like:
AddressValidationService addressValidationService = new AddressValidationService();
AddressValidationReply reply = addressValidationService.addr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to retrieve the Id of an entity persisted via cascade with JPA If one has a regular Foo entity and call persist(foo) the @Id is automatically set on the entity.
However, if the said Foo entity has a collection of Bars bound to it via
(...)
@OneToMany(cascade=Cascade.ALL)
Set<Bar> getBars()
(...)
and such inst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQL Server 2005 - Enabling both Named Pipes & TCP/IP protocols? We have a SQL Server 2005 database, and currently all our users are connecting to the database via the TCP/IP protocol.
The SQL Server Configuration Manager allows you to "enable" both Named Pipes, and TCP/IP connections at the same time. Is this a goo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I generate a keypress event in Safari with Javascript? How can I programmatically generate keypress events from Javascript code running in Safari? It looks like WebKit is using the DOM level 3 model for creating keyboard events from Javascript, and the DOM level 3 keyboard event model does not support the k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: C# web project, where do all dependencies come from? Strangest thing happened today with my ASP.NET MVC project. I built the installer project this afternoon, and all of a sudden, there were all these new dependencies! Yuck.
Microsoft.SqlServer.BatchParser.dll
Microsoft.SqlServer.ConnectionInfo.dll
Microsoft.SqlSe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set/Get Web Cookies Assuming I am not running server side scripting of any kind, how can I set and get a cookie from within VBA code?
A: I saw a posting about this that might help for setting the cookie:
link text
Here is his code snippet:
Sub test()
Dim w As New WinHttp.WinHttpRequest
Dim t As String, qs As Strin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Avoid Throwing An Error When SQL Select Returns Nothing I read somewhere that one should never use error conditions as normal program flow. Makes excellent sense to me... But
C# application sitting on top of a MySQL db. I need to parse a string value into two parts, an ID, and a value. (The original data come... | {
"language": "en",
"url": "https://stackoverflow.com/questions/345489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.