text stringlengths 8 267k | meta dict |
|---|---|
Q: Does the cost of MSDN Subscriptions represent a deterrent to .NET adoption I know just the question is a bit of heresey, but I'm curious...
Sure, there are the express editions. But when Microsoft is effectively competing for 'hearts and minds' in an OSS world, it seems more than a bit counterproductive to charge de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Communicating with a flash server using rtmp without Flash I want to talk to a flash server which uses RTMP, but I don't want to use Flash, but rather c# or java.
I was looking at Red5 but their client API seems to be a bit wobbly.
Does anyone have any other ideas?
A: Take a look at commercial JUV Client (http://ww... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: What exactly does "attach context" mean in Eclipse Mylyn the mylyn plugin in Eclipse (Trac connector) contains the option to attach and then retrive the "context" of an issue. Attaching the context results in attaching a zipped XML file to the issue entry in the Trac system. However, I don't quite understand what is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Can I test a floppy drive using WMI & System.Management namespace? I would find out the floppy inserted state:
*
*no floppy inserted
*unformatted floppy inserted
*formatted floppy inserted
Can this determined using "WMI" in the System.Management namespace?
If so, can I generate events when the floppy inserted... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to stop Eclipse from hanging on a long autocompletion list? I'm using the GL class from JOGL, which basically contains all OpenGL functions. Now I just installed the Javadoc for JOGL, because it's nice to have the parameter names if you can't remember the order.
However, with this Javadoc installed, it takes abo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I create XML from Perl? I need to create XML in Perl. From what I read, XML::LibXML is great for parsing and using XML that comes from somewhere else. Does anyone have any suggestions for an XML Writer? Is XML::Writer still maintained? Does anyone like/use it?
In addition to feature-completeness, I am in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: How do you manage growing eclipse configurations? I use eclipse for quite a lot of work, including:
*
*multiple "utility" projects that include code that most of my java work makes use of
*various plugin-related projects that I sync and use periodically (eg: the Git plugin)
*plugin projects I'm actually develop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a way to handle a variable number of parameters in a template class? I have a set of callback classes that I use for handling callbacks with variable numbers of parameters. Right now I have about 6 different instances of it to handle differing numbers of arguments. Is there a way to make one instance than c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Java TreeNode: How to prevent getChildCount from doing expensive operation? I'm writing a Java Tree in which tree nodes could have children that take a long time to compute (in this case, it's a file system, where there may be network timeouts that prevent getting a list of files from an attached drive).
The problem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to tell when an MXML component has totally finished creation? An MXML component can be quite complex, containing many nested controls, including asynchronously loaded content such as Image/SWFLoader.
Is there one event I can watch for on my component that will only be raised when every control and sub-component ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Priority of C++ operators "&" and "->" Given the following:
&row->count
Would &(row->count) be evaluated or (&row)->count be evaluated in C++?
EDIT: Here's a great link for C++ precedence.
A: &(row->count)
A: As far as precedence rules go, I've always liked the one put forth by Steve Oualline in "Practical C":
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's The Best Option For Rendering Complex Fonts? I'm working on a game (using Ruby) and planning to have it available in several languages. I was wondering what's the best option for rendering text. In particular, whatever I use should be able to render complex fonts (Arabic and Persian in particular).
I've been... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I put a File (Excel) online (Apache Server) with Password Protection but with the Option for Users to alter the File and save the changes? I have to put an excel file online on a web server (Apache) with some basic password protection (basic http auth). User, however, should be able to open the file from with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: LinqtoSQL filter and order by syntax My Techie Bretheren (and Sisteren, of course!),
I have a LinqToSql data model that has the following entities:
data model http://danimal.acsysinteractive.com/images/advisor.jpg
I need to retrieve all advisors for a specific office, ordered by their sequence within the office. I'v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: App.config for dll We have an "engine" that loads dlls dynamically (whatever is located in a certain directory) and calls Workflow classes from them by way of reflection.
We now have some new Workflows that require access to a database, so I figured that I would put a config file in the dll directory.
But for some r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Inherit IEnumerable from Object consequences I posted an answer to this question, including a very short rant at the end about how String.Split() should accept IEnumerable<string> rather than string[].
That got me thinking. What if the base Object class from which everything else inherits provided a default implem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Secure communication between Flash and PHP script I have little knowledge of Flash but for a little Flash game I have to store score and successful tries of users in a database using PHP. Now the Flash runs locally on the users computer and connects to a remote server. How can I secure against manipulation of game s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Simple way to trim Dollar Sign if present in C# I have a DataRow and I am getting one of the elements which is a Amount with a dollar sign. I am calling a toString on it. Is there another method I can call on it to remove the dollar sign if present.
So something like:
dr.ToString.Substring(1, dr.ToString.Length);
B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to update an Access DB from the web? I'm looking for a way to create an online form that will update an Access database that has just a few tables. Does anyone know of a simple solution for this?
A: ASP.NET should be able to do it just fine.
A: It depends on what web technology you use.
With Classic ASP, you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you remove Subversion control for a folder? I have a folder, c:\websites\test, and it contains folders and files that were checked out from a repository that no longer exists. How do I get Subversion to stop tracking that folder and any of the subfolders and files?
I know I could simply delete the .svn folde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "266"
} |
Q: Convert JavaScript String to be all lowercase How can I convert a JavaScript string value to be in all lowercase letters?
Example: "Your Name" to "your name"
A: Methods or functions: toLowerCase() and toUpperCase()
Description: These methods are used to cover a string or alphabet from lowercase to uppercase or vice... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1404"
} |
Q: Validating and reparing xml Is there a way to get more useful information on validation error? XmlSchemaException provides the line number and position of the error which makes little sense to me. Xml document after all is not about its transient textual representation. I'd like to get an enumerated error (or an err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What do you do if you cannot resolve a bug? Did you ever had a bug in your code, you could not resolve? I hope I'm not the only one out there, who made this experience ...
There exist some classes of bugs, that are very hard to track down:
*
*timing-related bugs (that occur during inter-process-communication for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: What does `$hash{$key} |= {}` do in Perl? I was wrestling with some Perl that uses hash references.
In the end it turned out that my problem was the line:
$myhash{$key} |= {};
That is, "assign $myhash{$key} a reference to an empty hash, unless it already has a value".
Dereferencing this and trying to use it as a ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Syntax error with different gcc version? I wrote a program in C with Ubuntu Linux and now I need to port it over to a UNIX machine (or what I believe to be a UNIX box). It compiles fine on my Ubuntu with GCC but when I try to compile it with GCC on the UNIX box, it gives this error:
a.c: In function `goUpDir':
a.c:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I fix connection manager error that causes the package to fail in production? I have created an SSIS package and it works great on my dev machine. But, when I try to run it on the production server, it errors out on me.
Here is the error:
Error: The AcquireConection method call to the connection manager
"Des... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Apache/Rails/Passenger Displaying Site Index? I have a Rails app that I have successfully tested with Mongrel and Webkit. Now I want to test deployment. I set up a VMWare Image using Ubuntu 8.04. I have installed Rails following this method https://help.ubuntu.com/community/RubyOnRails with the exception of using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do you avoid adding timestamp fields to your tables? I have a question regarding the two additional columns (timeCreated, timeLastUpdated) for each record that we see in many solutions. My question: Is there a better alternative?
Scenario: You have a huge DB (in terms of tables, not records), and then the custom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Reading .resx files programmatically I have an application where the contents of e-mails that get sent are stored in a .resx file.
This is an ASP.Net application, the .resx file lives in /App_GlobalResources
When I need to send an e-mail, i'm reading this using:
HttpContext.GetGlobalResourceObject("MailContents"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Beginner Help for Developing Web Pages for Smart Phones I have just started authoring web pages for use on "smart phones". I need to target Blackberry, WinCE, iPhone, etc. What resources or books would you recommend for someone with ample web and software development experience but no experience developing UI for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/154998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the easiest way to find out how much memory an object uses in .NET? What is the easiest way to find out how much memory an object uses in .NET?
Preferably without having to resort to a third party tool. Marshal.SizeOf or the sizeof operator look useful but only work with a restricted range of types.
Some re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQLAlchemy and kinterbasdb in separate apps under mod_wsgi I'm trying to develop an app using turbogears and sqlalchemy.
There is already an existing app using kinterbasdb directly under mod_wsgi on the same server.
When both apps are used, neither seems to recognize that kinterbasdb is already initialized
Is there ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I have two different drop down menus depend on the same parent menu? I have two drop down menus that I want populated with identical data depending on what is selected on the parent drop down menu. Right now, I am using a javascript library that populates one child drop down menu based on a parent, but I nee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Novell client and windows SSO Does the novell gina install a specific security provider that can be used via SSPI? Does it have to called out specifically or is SPNEGO good enough? Will that support single sign on if the novell gina is installed on the remote server?
A: I do not know SSPI or the low level things,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mysql timestamp column Is it possible to define a timestamp column in a MySQL table that will automatically be updated every time a field in the same row is modified? Ideally this column should initially be set to the time a row was inserted.
Cheers,
Don
A: You can use the timestamp column as other posters mentione... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Development PC: AMD vs Intel and 32-bit vs 64-bit I am looking to purchase a new development PC. My budget is not more than $1,000 USD (including monitor). I am open to laptop (desktop replacement type) or the traditional desktop PC would do just fine.
My primary development environment will be Microsoft, Visual S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: brokenImageSkin dimensions in Flex I am trying to implement a custom "broken image" icon to appear if I cannot load an image. To accomplish this, I used the brokenImageSkin parameter, but it renders the image at its true resolution, which ends up cutting off the image if the size of the control is constrained.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does one get started with procedural generation? Procedural generation has been brought into the spotlight recently (by Spore, MMOs, etc), and it seems like an interesting/powerful programming technique.
My questions are these:
*
*Do you know of any mid-sized projects that utilize procedural generation techni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "154"
} |
Q: Simple Debounce Routine Do you have a simple debounce routine handy to deal with a single switch input?
This is a simple bare metal system without any OS.
I would like to avoid a looping construct with a specific count, as the processor speed might fluctuate.
A: There's no single simple solution that works for all ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Stored Procedure Default Value I'm a newbie when it comes to SQL. When creating a stored procedure with parameters as such:
@executed bit,
@failure bit,
@success bit,
@testID int,
@time float = 0,
@name varchar(200) = '',
@description ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Separator attribute not working in SolPartMenu on DotNetNuke skin.ascx I can get rootmenuitemlefthtml and rootmenuitemrighthtml to emit but not separator. Tried CDATA wrapping and setting SeparatorCssClass. I just want pipes between root menu items.
<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" Separator="<![C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flash rendering: optimisation tips and tricks I'm about to push out a website soon and so I've gotten in the last stages. Time to optimize the baby! The website performs pretty good overall, with an average framerate of 32fps. But at some heavy animation parts it likes to drop a couple of frames to about 22fps. Whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can you inherit from a sealed class using reflection in .Net? Before you start firing at me, I'm NOT looking to do this, but someone in another post said it was possible. How is it possible? I've never heard of inheriting from anything using reflection. But I've seen some strange things...
A: Without virtual fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Microsoft Excel mangles Diacritics in .csv files? I am programmatically exporting data (using PHP 5.2) into a .csv test file.
Example data: Numéro 1 (note the accented e).
The data is utf-8 (no prepended BOM).
When I open this file in MS Excel is displays as Numéro 1.
I am able to open this in a text editor (Ultr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "200"
} |
Q: Make DocumentBuilder.parse ignore DTD references When I parse my xml file (variable f) in this method, I get an error
C:\Documents and Settings\joe\Desktop\aicpcudev\OnlineModule\map.dtd (The system cannot find the path specified)
I know I do not have the dtd, nor do I need it. How can I parse this File object i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "90"
} |
Q: How come classes in subfolders in my App_Code folder are not being found correctly? I am getting the following error when I put class files in subfolders of my App_Code folder:
errorCS0246: The type or namespace name 'MyClassName' could not be found (are you missing a using directive or an assembly reference?)
This ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What's a good source to learn about QEMU? What book or website would you recommend to learn about QEMU? I'd like to see some usage examples as well as how to use the APIs.
A: Detailed technical info:
*
*http://www.csd.uoc.gr/~hy428/reading/qemu-internals-slides-may6-2014.pdf
*http://lists.gnu.org/archive/html/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Best methodology for developing c# long running processor apps I have several different c# worker applications that run various continuous tasks: sending emails from queue, importing new orders from website database to orders database, making database backups and restores, running data processing for OLTP -> OLAP, a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: IE hosted .net user control using an unmanaged dll What's a good way for an IE hosted .net user control (e.g., < object classid="myctrl.dll#init">) to pull down an unmanaged dll for it to use?
For Click-once, this is easy with a manifest, but ie hosted controls don't get installed in the click-once app cache and i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Filter ASP.NET web application's files when deploying I want to deploy my web application (asp.net mvc), and I need to remove all the codebehind files from my project.
Any scripts that you guys know of to do this?
I prefer using a script since I can tweak it if need be.
A: Just select the publish web site option on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I share application configuration in a .net application? I've got a relatively large .Net system that consists of a number of different applications. Rather than having lots of different app.config files, I would like to share a single configuration file between all the apps.
I would also like to have one ve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Nested dropdown I'm building a form with php/mysql. I've got a table with a list of locations and sublocations. Each sublocation has a parent location. A column "parentid" references another locationid in the same table. I now want to load these values into a dropdown in the following manner:
--Location 1
----Subloc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Embedded Web Server in .NET I would like to embed a light weight web server in a Windows application developed in .NET. The web server has to support PHP.
I have looked at Cassini, but it seems it is ASP.NET only.
A: The .net class HttpListener exposes the underlying http.sys upon which IIS is built. All machines ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Connection error for sqlserver rake db:migrate I am getting the following error:
Open
OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
HRESULT error code:0×80020009
Exception occurred.
I have tried following the di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Setting background colour of Silverlight Listbox How do I set the background colour of a listbox? I have a listbox with textblocks in it and there does not appear to be anyway that actually works to set the background colour of these controls, why is this seemingly so hard?
In the interests of full disclosure I aske... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling exceptions raised during method called via NSObject's performSelectorOnMainThread:withObject:waitUntilDone: What happens to exceptions raised while in myMethod: if it is invoked via NSObject's performSelectorOnMainThread:withObject:waitUntilDone:?
In particular, can I catch them in the scope of the call to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: I need help executing a bat file from asp.net 2.0 I have an web application using asp.net 2.0 and vb.net I wrote a bat file to use GPG to encryt a file and call it whithin asp.net shell(pathname & filename).
when I double click on the bat file from cmd windows it works fine but when I call it in the application ever... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Ideal user feedback for HTML input Let's face it: writing proper, standards compliant HTML is quite difficult to do. Writing semantic HTML is even more so, but I don't think it's possible for a computer to figure that out.
So my question to you is what would the "ideal" feedback for a user who entered HTML be? Would... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trigger a button click with JavaScript on the Enter key in a text box I have one text input and one button (see below). How can I use JavaScript to trigger the button's click event when the Enter key is pressed inside the text box?
There is already a different submit button on my current page, so I can't simply make... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1427"
} |
Q: Windows API commctrl.h using application doesn't work on machines without the Platform SDK I have written something that uses the following includes:
#include <math.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <commctrl.h>
This code works fine on 2 machines with the Plat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: "network location cannot be reached" error in IIS6 I am troubleshooting an issue with IIS6 where all sites bound to ip addresses other than the default give an error message "network location cannot be reached" when trying to start any of these sites.
The nic has all the ip addresses configured.
When I do a httpcfg ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Good error handling practice What is a good error handling practice for an asp.net site? Examples? Thanks!
A: As with any .net project I find the best way is to only catch specific error types if they are may to happen on the given page.
For example you could catch Format Exceptions for a users given input (just i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Another locking question I'm trying to get my multithreading understanding locked down. I'm doing my best to teach myself, but some of these issues need clarification.
I've gone through three iterations with a piece of code, experimenting with locking.
In this code, the only thing that needs locking is this.manager... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dynamic SQL - Search Query - Variable Number of Keywords We are trying to update our classic asp search engine to protect it from SQL injection. We have a VB 6 function which builds a query dynamically by concatenating a query together based on the various search parameters. We have converted this to a stored proc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I get the build to automatically update a web service reference in Flex? From within FlexBuilder3, I can go to "Data/Manage Web Services..." select a web service, and click "Update" to ensure that my code and the server are in sync. How do I automate this so that each time I build, the automatically generated... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Capistrano not restarting Mongrel clusters properly I have a cluster of three mongrels running under nginx, and I deploy the app using Capistrano 2.4.3. When I "cap deploy" when there is a running system, the behavior is:
*
*The app is deployed. The code is successfully updated.
*In the cap deploy output, ther... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Why is it impossible, without attempting I/O, to detect that TCP socket was gracefully closed by peer? As a follow up to a recent question, I wonder why it is impossible in Java, without attempting reading/writing on a TCP socket, to detect that the socket has been gracefully closed by the peer? This seems to be the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "95"
} |
Q: How do you truncate all tables in a database using TSQL? I have a test environment for a database that I want to reload with new data at the start of a testing cycle. I am not interested in rebuilding the entire database- just simply "re-setting" the data.
What is the best way to remove all the data from all the ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "225"
} |
Q: Help me understand how QA works in Scrum Apparently we use the Scrum development methodology. Here's generally how it goes:
Developers thrash around trying to accomplish their tasks. Generally the tasks take most of the sprint to complete. QA pesters Dev to release something they can test, Dev finally throws some b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: What is the "< >" syntax within C# I have been learning about the basics of C# but haven't come across a good explanation of what this is:
var l = new List<string>();
I don't know what the <string> is doing or if it's the List that is doing the magic. I have also seen objects been thrown within the < > tags.
Can so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: how to hide the text limit line in netbeans 6.5? Is there a way to hide the text limit line in netbeans 6.5?
A: line is not moving to 200 column, but you can hide it setting its color to same as the background
A: You can set it to 0. So It will not be visible.
A: Are you talking about the line running thru the ri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do I sort in a Flex AdvancedDataGrid - callback isn't being called I have an AdvancedDataGrid that uses customer grouping of data. Not all of the groups will be at the same level in the hierarchy, and groups can contain both groups and members. We have a sort callback, but it's not being called except for groups... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Can HTML checkboxes be set to readonly? I thought they could be, but as I'm not putting my money where my mouth was (so to speak) setting the readonly attribute doesn't actually seem to do anything.
I'd rather not use Disabled, since I want the checked check boxes to be submitted with the rest of the form, I just do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "956"
} |
Q: Adding Combo Box to setup using Orca I am trying to display a combo box in a dialog during setup of a component. Currently, we have a Radio Button Group. I figured that replacing it with the combo box should be as simple as adding proper entries in the "ComboBox" table in the MSI and in the "Control" table, replacin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: .NET - How can you split a "caps" delimited string into an array? How do I go from this string: "ThisIsMyCapsDelimitedString"
...to this string: "This Is My Caps Delimited String"
Fewest lines of code in VB.net is preferred but C# is also welcome.
Cheers!
A: Regex.Replace("ThisIsMyCapsDelimitedString", "(\\B[A-Z])"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "120"
} |
Q: Cross browser "jump to"/"scroll" textarea I have a textarea with many lines of input, and a JavaScript event fires that necessitates I scroll the textarea to line 345.
scrollTop sort of does what I want, except as far as I can tell it's pixel level, and I want something that operates on a line level. What also compl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How do I get PHP to work with ADOdb and MySQL? I'm trying to get a PHP site working in IIS on Windows Server with MySQL.
I'm getting this error…
Fatal error: Call to undefined function mysql_connect() in C:\inetpub...\adodb\drivers\adodb-mysql.inc.php on line 363
Update…
This link outlines the steps I followed to i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155308",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Boost: Fire and forget asynchronous function call? I would like invoke a function call in a one shot manner. What's the best way to do this in Boost / C++?
I would like to pass it two parameters and do not need a result.
A: Well you can spin up a thread and then never join it again. Something like:
boost::thread so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I get a Video Thumbnail in .Net? I'm looking to implement a function that retrieves a single frame from an input video, so I can use it as a thumbnail.
Something along these lines should work:
// filename examples: "test.avi", "test.dvr-ms"
// position is from 0 to 100 percent (0.0 to 1.0)
// returns a bitma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: What columns can be used in OUTPUT INTO clause? I'm trying to build a mapping table to associate the IDs of new rows in a table with those that they're copied from. The OUTPUT INTO clause seems perfect for that, but it doesn't seem to behave according to the documentation.
My code:
DECLARE @Missing TABLE (SrcConten... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: bandwidth and traffic simulator for web apps? Can you suggest how to create a test environment to simulate various types of bandwidths and traffic in a web app?
Or maybe an open source program which does this against localhost?
I think this is a very important subject when programming web apps but it is not a usual ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: ExecuteScalar not functioning on server The application uses Oracle DataAccess ver. 1.1. , VS 2008, .Net Framework 3.5 w/SP1
OracleConnection connection = new OracleConnection(ConnectionStringLogon);
connection.Open();
OracleParameter selectParam = new OracleParameter(":applicationName", OracleDbType.Varchar2, 256... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the best resources for learning CIL (MSIL) I'm an expert C# 3 / .NET 3.5 programmer looking to start doing some runtime codegen using System.Reflection.Emit.DynamicMethod. I'd love to move up to the next level by becoming intimately familiar with IL.
Any pointers (pun intended)?
A: In addition to Darren... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Control.Enter event doesn't fire when switching tasks. Is there an alternative that does? Rep steps:
*
*create example .NET form application
*put a TextBox on the form
*wire a function up to the TextBox's Enter event
When you run this application, the Control.Enter event fires when focus first goes to the Tex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Does Oracle have something like Change Data Capture in SQL Server 2008? Change Data Capture is a new feature in SQL Server 2008. From MSDN:
Change data capture provides
historical change information for a
user table by capturing both the fact
that DML changes were made and the
actual data that was changed.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: XMLHttpRequest POST multipart/form-data I want to use XMLHttpRequest in JavaScript to POST a form that includes a file type input element so that I can avoid page refresh and get useful XML back.
I can submit the form without page refresh, using JavaScript to set the target attribute on the form to an iframe for MSI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Why do I need OleDbCommand.Prepare()? I'm working with a datagrid and adapter that correspond with an MSAccess table through a stored query (named "UpdatePaid", 3 paramaters as shown below) like so:
OleDbCommand odc = new OleDbCommand("UpdatePaid", connection);
OleDbParameter param;
odc.CommandType = C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to alter a float by its smallest increment (or close to it)? I have a double value f and would like a way to nudge it very slightly larger (or smaller) to get a new value that will be as close as possible to the original but still strictly greater than (or less than) the original.
It doesn't have to be close dow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: Interface questions Suppose that I have interface MyInterface and 2 classes A, B which implement MyInterface.
I declared 2 objects: MyInterface a = new A() , and MyInterface b = new B().
When I try to pass to a function - function doSomething(A a){} I am getting an error.
This is my code:
public interface MyInterfac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Difference between a BitmapFrame and BitmapImage in WPF What is the difference between a BitmapFrame and BitmapImage in WPF? Where would you use each (ie. why would you use a BitmapFrame rather than a BitmapImage?)
A: The accepted answer is incomplete (not to suggest that my answer is complete either) and my addit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Is there any one website which contains many good C# screencasts? Is there any one website which contains many good C# screencasts?
A: Dimecasts.net is coming out with lots of good, short screencasts on various .NET topics. Some in the ALT.NET space. Most of the example code they write is in C#.
A: dnrTV
dnrTv ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: FIPS compliant password encryption for .NET I've working on a WinForms in VB.NET (3.5) application that requires the user to enter domain administrator credentials. To make things easier on the user, they should only have to enter the user name and password once, and then just rely on my app to save these credential... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: The best way to assert pre-condition and post-condition of arguments and values in .NET? I have been thinking about design by contract lately and I was wondering what people think is the best way to assert pre-condition and post-condition of values in .NET?
i.e. validating argument values to a method.
Some people re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I resequence dropdown list controls like the NetFlix queue from the client side (Javascript) We have a series of drop down controls that determine the sort order of columns. The problem we are having is when the user selects a column as the 2nd column the other dropdown lists need to have their values change... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why does IE give unexpected errors when setting innerHTML I tried to set innerHTML on an element in firefox and it worked fine, tried it in IE and got unexpected errors with no obvious reason why.
For example if you try and set the innerHTML of a table to " hi from stu " it will fail, because the table must be follo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How can I escape a DOM name in javascript? I have a form element that I want to address via javascript, but it doesn't like the syntax.
<form name="mycache">
<input type="hidden" name="cache[m][2]">
<!-- ... -->
</form>
I want to be able to say:
document.mycache.cache[m][2]
but obviously I need to indicate tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ColdFusion: pick first non null value from a list In JavaScript, you can do this:
var a = null;
var b = "I'm a value";
var c = null;
var result = a || b || c;
And 'result' will get the value of 'b' because JavaScript short-circuits the 'or' operator.
I want a one-line idiom to do this in ColdFusion and the best I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Unit test naming best practices What are the best practices for naming unit test classes and test methods?
This was discussed on SO before, at What are some popular naming conventions for Unit Tests?
I don't know if this is a very good approach, but currently in my testing projects, I have one-to-one mappings betwee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "647"
} |
Q: Automatic Chart Pagination with Report Parameters Based on several report parameters in SQL Server 2005 reporting services, I would like to automatically generate one or several chart(s) for each row in the return result and paginate or space them out. How do I go about that?
A: If the number of charts will vary fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I have YAHOO.util.KeyListener disabled when an input element is focused? I have a MenuBar setup with YUI's MenuBar widget, and I have a YAHOO.util.KeyListener attached to document to get quick keyboard access to the menus and sub-menu items (e.g. 's' to open the Setup menu). The problem is that the keylisten... | {
"language": "en",
"url": "https://stackoverflow.com/questions/155445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.