text stringlengths 8 267k | meta dict |
|---|---|
Q: Best way to set the permissions for a specific user on a specific folder on a remote machine? We have a deployment system at my office where we can automatically deploy a given build of our code to a specified dev environment (dev01, dev02, etc.).
These dev environments are generalized virtual machines, so our syst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Mapping collections with LINQ I have a collection of objects to which I'd like to just add a new property. How do I do that with LINQ?
A: var a = from i in ObjectCollection select new {i.prop1, i.prop2, i.prop3, ..., newprop = newProperty}
A: I don't think that you can using pure LINQ. However, if you're doing th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Good ways to improve jQuery selector performance? I'm looking for any way that I can improve the selector performance of a jQuery call. Specifically things like this:
Is $("div.myclass") faster than $(".myclass")
I would think it might be, but I don't know if jQuery is smart enough to limit the search by tag name f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "74"
} |
Q: How to determine if user selected a file for file upload? If I have a
<input id="uploadFile" type="file" />
tag, and a submit button, how do I determine, in IE6 (and above) if a file has been selected by the user.
In FF, I just do:
var selected = document.getElementById("uploadBox").files.length > 0;
But that doe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "69"
} |
Q: iPhone app crashing with NSUnknownKeyException setValue:forUndefinedKey: I'm writing my first iPhone app, so I haven't gotten around to figuring out much in the way of debugging.
Essentially my app displays an image and when touched plays a short sound.
When compiling and building the project in XCode, everything bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: How to generate a verification code/number? I'm working on an application where users have to make a call and type a verification number with the keypad of their phone.
I would like to be able to detect if the number they type is correct or not. The phone system does not have access to a list of valid numbers, but i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Is there a way I can have a VM gain access to my computer? I would like to have a VM to look at how applications appear and to develop OS-specific applications, however, I want to keep all my code on my Windows machine so if I decide to nuke a VM or anything like that, it's all still there.
If it matters, I'm using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Test Driven Development in PHP I am a web-developer working in PHP. I have some limited experience with using Test Driven Development in C# desktop applications. In that case we used nUnit for the unit testing framework.
I would like to start using TDD in new projects but I'm really not sure where to begin.
What re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "44"
} |
Q: Passing large files to WCF service We have an encryption service that we've exposed over net. tcp. Most of the time, the service is used to encrypt/decrypt strings. However, every now and then, we the need to encrypt large documents (pdf, JPG, bmp, etc.).
What are the best endpoint settings for a scenario like this?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: web site structure/architecture What web site structure(s)/architecture(s) would the community swear by, with a narrowing down in the direction towards more of a small facebook style project?
I understand the question to be rather broad/subjective; but being relatively new to the area of web development, I find just... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do DVCSs (DRCSs) work? I have been hearing a lot of good things about DVCS systems, in particular about bazaar. Apart from the concept of distributed repository, I see two main advantages being touted: the merge is better automated, and the rename is handled right.
Could someone please point me at some text expl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I create an XmlNode from a call to XmlSerializer.Serialize? I am using a class library which represents some of its configuration in .xml. The configuration is read in using the XmlSerializer. Fortunately, the classes which represent the .xml use the XmlAnyElement attribute at which allows me to extend the co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Can a service have multiple endpoints? We have a service that has some settings that are supported only over net.tcp. What's the best way to add another endpoint? Do I need to create an entire new host?
A: You can have multiple endpoints defined either on the server, or the client.
To do it on the client, you just ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Which tool do I use if I want to map a programming framework visually and see the relationship between all entities? I find myself to be a visual person and sometimes it's easier to learn something if I can draw diagram/pictures out of it. My question is which tool do I use if I want to map a programming framework (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Plug In Design for .NET App I’m looking at rewriting a portion of our application in C# (currently legacy VB6 code). The module I am starting with is responsible for importing data from a variety of systems into our database. About 5-6 times a year, a new client asks us to write a new import for the system that the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Setting Nameservers - how? I understand how I can change the dns settings for my domains by editing my bind configs, when I run my own name-servers. I know that I can define the name-servers with my registrar via their online control panels. But I have no idea how that part works...
How does my registrar store the d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Possible to perform cross-database queries with PostgreSQL? I'm going to guess that the answer is "no" based on the below error message (and this Google result), but is there anyway to perform a cross-database query using PostgreSQL?
databaseA=# select * from databaseB.public.someTableName;
ERROR: cross-database re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "190"
} |
Q: How to organize a complex Flash project Let's compile a list of tips.
(Understandably there will be some subjectivity involved, but some pointers would be useful to someone overwhelmed by tackling a large project within the Flash framework.)
A: These are just scattered thoughts on organization for projects being wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can you access a model from inside another model in CodeIgniter? I am writing a webapp using CodeIgniter that requires authentication. I created a model which handles all my authentication. However, I can't find a way to access this authentication model from inside another model. Is there a way to access a model fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: How to Dynamically Generate String Validation? Does anyone know of a library (preferably php) or algorithm for auto-generating regex's from some common descriptions?
For example, have a form with the possible options of:
- Length (=x, between x & y, etc)
- Starts with
- Ends with
- Character(s) x(yz) at index... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: .NET Console Application Tab Completion Any ideas on how to implement tab completion for a .NET (C#) Console Application?
And I mean within an application that is run and then loops for user input (like if you run ftp.exe without any arguments), like this:
string line = string.Empty;
while (line != ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: IIS7: HTTP->HTTPS Cleanly Is there a clean way to redirect all attempts to going to an HTTP:// version of a site to its HTTPS:// equivalent?
A: A clean way changes only the URL scheme from http -> https and leaves everything else equivalent. It should be server-side so that there are no browser issues.
JPPinto.com ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "148"
} |
Q: Center a block of content when you don't know its width in advance After lots of attempts and search I have never found a satisfactory way to do it with CSS2.
A simple way to accomplish it is to wrap it into a handy <table> as shown in the sample below. Do you know how to do it avoiding table layouts and also avoidi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: "Invalid column name" error on SQL statement from OpenQuery results I'm trying to perform a SQL query through a linked SSAS server. The initial query works fine:
SELECT "Ugly OLAP name" as "Value"
FROM OpenQuery( OLAP, 'OLAP Query')
But if I try to add:
WHERE "Value" > 0
I get an error
Invalid column name 'Valu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: SQL Server Full-Text Search: Hung processes with MSSEARCH wait type We have a SQL Server 2005 SP2 machine running a large number of databases, all of which contain full-text catalogs. Whenever we try to drop one of these databases or rebuild a full-text index, the drop or rebuild process hangs indefinitely with a MS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Windows packet sniffer that can capture loopback traffic? (This is a followup to my previous question about measuring .NET remoting traffic.)
When I am testing our Windows service / service controller GUI combination, it is often most convenient to run both pieces on my development box. With this setup, the remoting... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How do I specify multiple constraints on a generic type in C#? What is the syntax for placing constraints on multiple types? The basic example:
class Animal<SpeciesType> where SpeciesType : Species
I would like to place constraints on both types in the following definition such that SpeciesType must inherit from S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Why doesn't Oracle tell you WHICH table or view does not exist? If you've used Oracle, you've probably gotten the helpful message "ORA-00942: Table or view does not exist". Is there a legitimate technical reason the message doesn't include the name of the missing object?
Arguments about this being due to security s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "65"
} |
Q: Delete all but top n from database table in SQL What's the best way to delete all rows from a table in sql but to keep n number of rows on the top?
A: DELETE FROM Table WHERE ID NOT IN (SELECT TOP 10 ID FROM Table)
Edit:
Chris brings up a good performance hit since the TOP 10 query would be run for each row. If... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "94"
} |
Q: How to get the correct Content-Length for a POST request I am using a perl script to POST to Google Appengine application. I post a text file containing some XML using the -F option.
http://www.cpan.org/authors/id/E/EL/ELIJAH/bget-1.1
There is a version 1.2, already tested and get the same issue. The post looks some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to export findbugs results from Eclipse findbugs plugin? I have findbugs plugin for eclipse which when run on my project will show results in Bugs explorer clubbed by the type of bug.
I need to be able to do two things:
*
*Export all these to excel sheet
*Find out the bugs reported in a set of files (and be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Automatic Timeout Web Client Use One of the problems I have come across having complex tasks on the browser is with automatic timeouts.
Currently our site has a sliding expiration of 30 minutes. Normally, this isn't a problem because we use asp.net and most of the time the users update one or two fields and then sub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passing untampered data from Flash app to server? I'm looking for secure ways to pass data between a client running Flash and a server. The data in question will be generated BY the Flash app, which in this case is your score after finishing a game. I want to verify the data is untampered on the server. What are ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Lisp list iteration I have a function that gets x(a value) and xs(a list) and removes all values that are bigger than x from the list. Well it doesn't work, can you tell me why?
(defun biggerElems(x xs)
(let ((xst))
(dolist (elem xs)
(if (> x elem)
(setf xst (remove elem xs))))
xst))
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL Server unused, but allocated table space I have ms sql databases that grow very large. Upon examination I find that there is a bunch of unused space in certain tables. I don't do many physical deletes, so I don't think that its just deleted records. DBCC SHRINK doesn't make the file smaller. But, if I dump the t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: WebBrowserControl Scroll to Bottom I am working on a simple chat application using a System.Windows.Forms.WebBrowser Control to display the messages between the user and the recipient. How do I get the control to automatically scroll to the bottom every time I update the DocumentText of the control?
A: Thanks guys ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Read Access File into a DataSet Is there an easy way to read an entire Access file (.mdb) into a DataSet in .NET (specifically C# or VB)?
Or at least to get a list of tables from an access file so that I can loop through it and add them one at a time into a DataSet?
A: Thanks for the suggestions. I was able to use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: htmlentities() vs. htmlspecialchars() What are the differences between htmlspecialchars() and htmlentities(). When should I use one or the other?
A: htmlentities — Convert all applicable characters to HTML entities.
htmlspecialchars — Convert special characters to HTML entities.
The translations performed translati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "593"
} |
Q: How to encrypt email addresses using JQuery Is there a way to use JQuery to cloak or encrypt email addresses on an HTML page without changing the syntax in the href?
A: Using JQuery may not be the route you want to take since this would be on the client side... Is there a reason you're not encrypting on server side... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Referencing Embedded resources from other resources in c# In my web application I include all of my JavaScripts as js files that are embedded resources in the assembly, and add them to the page using ClientScriptManager.GetWebResourceUrl(). However, in some of my js files, I have references to other static assets li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL Server 2005 error Why can't you do this and is there are work around?
You get this error.
Msg 2714, Level 16, State 1, Line 13
There is already an object named '#temptable' in the database.
declare @x int
set @x = 1
if (@x = 0)
begin
select 1 as Value into #temptable
end
else
begin
select 2 as Value int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should I avoid using Java Label Statements? Today I had a coworker suggest I refactor my code to use a label statement to control flow through 2 nested for loops I had created. I've never used them before because personally I think they decrease the readability of a program. I am willing to change my mind about usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "69"
} |
Q: Automated Unit Testing Gen Tools for .NET Looking to get your take on an automated testing tool (voting should bring good ones to the top)
Ideal tool would:
*
*Eliminate the need to present a set
of values to a method.
*employ techniques such as Interactive
Exploratory Testing where the code
is examined to dete... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can Visual Studio put timestamps in the build log? In the build log I'd like to the start and end time of each project's compilation. Is there any way to get VS to do this?
A: Other option is to increase level of MSBuild verbosity.
Tools -> Options -> Projects and Solutions -> Build and Run ->
Set MSBuild project... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Can i get an image output for a Developer Express WebChartControl? I have a WebChartControl on my web page. When the chart was generated, an image is being produced and it was shown on the page.
Is there a way to get and save this chart as an image output on runtime?
A: Sure. Ultimately the image comes from a UR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do namespaces propagate to children in XElement objects? If I have an XElement that has child elements, and if I remove a child element from the parent, removing all references between the two, will the child XElement have the same namespaces as the parent?
In other words, if I have the following XML:
<parent xmlns:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: When should you use the singleton pattern instead of a static class? Name the design considerations in deciding between use of a singleton versus a static class. In doing this, you're kind of forced to contrast the two, so whatever contrasts you can come up with are also useful in showing your thought process! Also,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "86"
} |
Q: How do I do backups in MySQL? How do I do backups in MySQL?
I'm hoping there'll be something better than just running mysqldump every "x" hours.
Is there anything like SQL Server has, where you can take a full backup each day, and then incrementals every hour, so if your DB dies you can restore up to the latest ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: ViewState and changing control order This has been a fun week (if you look back at my questions you'll see a common theme).
I have a repeater that is bound to a collection. Each repeater item dynamic control that corresponds to the collection item, it also renders out a header over each control that contains a Delet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can you programmatically restart a j2ee application? Does anyone know if it is possible to restart a J2EE application (from the application)? If so, how?
I would like to be able to do it in an app-server-agnostic way, if it is possible.
The application will be run on many different app servers-- basically whatever ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: cfqueryparam with like operator in ColdFusion I have been tasked with going through a number of ColdFusion sites that have recently been the subject of a rather nasty SQL Injection attack. Basically my work involves adding <cfqueryparam> tags to all of the inline sql. For the most part I've got it down, but can an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: What is the ASP.NET process for IIS 7.0? Looking at what's running and nothing jumps out.
Thanks!
A: It should be w3wp.exe
EDIT: In line with Darren's comment, you should also check the "Show processes from all users" in Task Manager if that is where you are looking for the process.
A: Just to add something here,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Response.Redirect with POST instead of Get? We have the requirement to take a form submission and save some data, then redirect the user to a page offsite, but in redirecting, we need to "submit" a form with POST, not GET.
I was hoping there was an easy way to accomplish this, but I'm starting to think there isn't. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "274"
} |
Q: When should one use a project reference opposed to a binary reference? My company has a common code library which consists of many class libary projects along with supporting test projects. Each class library project outputs a single binary, e.g. Company.Common.Serialization.dll. Since we own the compiled, tested bi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: When do you use POST and when do you use GET? From what I can gather, there are three categories:
*
*Never use GET and use POST
*Never use POST and use GET
*It doesn't matter which one you use.
Am I correct in assuming those three cases? If so, what are some examples from each case?
A: Use GET if you don't m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "403"
} |
Q: GOTO still considered harmful? Everyone is aware of Dijkstra's Letters to the editor: go to statement considered harmful (also here .html transcript and here .pdf) and there has been a formidable push since that time to eschew the goto statement whenever possible. While it's possible to use goto to produce unmaintai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "310"
} |
Q: DotNetNuke using PNG images with Transparency I have a DotNetNuke site where my main logo is a PNG file using transparency. I tried GIF but the quality wasn't good enough.
Anyways it worked great on IE7 but I just saw my site in IE6 and noticed that the transparency isn't working with my logo.
Does anyone know of a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Copying from network share using BAT What's the best way to copy a file from a network share to the local file system using a Windows batch file? Normally, I would use "net use *" but using this approach how can I get the drive letter?
A: Can you just use the full UNC path to the file?
copy \\myserver\myshare\myfo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Does anyone here have a favorite memory profiling/memory leak tool they like to use for their java webapps? I'm looking for a good tool to profile a java webapp. I'd like to get performance information and memory usage if possible.
Any suggestions?
A: JProfiler is a really good one. It integrates with all the maj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Any way to handle Put and Delete verbs in ASP.Net MVC? just wondering if anyone knows of a truly restful Put/delete implementation asp.net mvc preview 5 preferably.
A: Check out the mvccontrib project at http://www.mvccontrib.org.
In the source code a restful implementation has been added and it is current up to P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I send an email by Java application using GMail, Yahoo, or Hotmail? Is it possible to send an email from my Java application using a GMail account? I have configured my company mail server with Java app to send email, but that's not going to cut it when I distribute the application. Answers with any of usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "218"
} |
Q: IBM DB2 Type 4 driver? Where can I find the redistributable version of the IBM DB2 Type 4 driver?
I suppose this is the driver I would use to connect from a Java app (on windows) to DB2 on the mainframe?
A: You will not be able to connect to the mainframe with any redistributable JDBC driver. The driver pack consis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Employee Web Usage From Proxy Logs I need to find/create an application that will create employee web usage reports from HTTP proxy logs. Does anyone know of a good product that will do this?
@Joe Liversedge - Good point. I don't have to worry about this, however, as I am the only person in my company with the know... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Information Management Policy in SharePoint An obscure puzzle, but it's driving me absolutely nuts:
I'm creating a custom Information Management Policy in MOSS. I've implemented IPolicyFeature, and my policy feature happily registers itself by configuring a new SPItemEventReceiver. All new items in my library fire t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .Net 3.5, most secure way to pass string between processes I'd like to be able to pass a SecureString (a cached passphrase) to a child process in C# (.Net 3.5), but I don't know what the most secure way is to do it. If I were to convert the SecureString back to a regular string and pass it as a command-line argument... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Monitoring GDI calls Is there a tool that allows one to monitor GDI calls?
A: Tools like AutomatedQA AQTime can help you diagnose GDI usage. A much simpler, but free tool one can be found here.
A: Good advice, Lars. I've had a similar problem. Now use deleaker and do not worry;) GDI do not lose!
| {
"language": "en",
"url": "https://stackoverflow.com/questions/46697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Using jQuery, what is the best way to set onClick event listeners for radio buttons? For the following HTML:
<form name="myForm">
<label>One<input name="area" type="radio" value="S" /></label>
<label>Two<input name="area" type="radio" value="R" /></label>
<label>Three<input name="area" type="radio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Which ORM framework can best handle an MVCC database design? When designing a database to use MVCC (Multi-Version Concurrency Control), you create tables with either a boolean field like "IsLatest" or an integer "VersionId", and you never do any updates, you only insert new records when things change.
MVCC gives y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Why is ARG_MAX not defined via limits.h? On Fedora Core 7, I'm writing some code that relies on ARG_MAX. However, even if I #include <limits.h>, the constant is still not defined. My investigations show that it's present in <sys/linux/limits.h>, but this is supposed to be portable across Win32/Mac/Linux, so direct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Best way to make a printer-friendly ASP.NET page? I'm just curious how most people make their ASP.NET pages printer-friendly? Do you create a separate printer-friendly version of the ASPX page, use CSS or something else? How do you handle situations like page breaks and wide tables?
Is there one elegant solution tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Want to Encode text during Regex.Replace call I have a regex call that I need help with.
I haven't posted my regex, because it is not relevant here.
What I want to be able to do is, during the Replace, I also want to modify the ${test} portion by doing a Html.Encode on the entire text that is effecting the regex.
Ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Tools for converting non-Java into Java source Are there any good tools out there for automatically converting non-Java source code into Java source?
I'm not expecting something perfect, just to get the worst of the grunt work out of the way.
I guess there is a sliding scale of difficulty. C# should be relatively ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to control a web application through email? Or how to run php script by sending an email? I want to run a web application on php and mysql, using the CakePHP framework. And to keep the threshold of using the site at a very low place, I want to not use the standard login with username/password. (And I don't want ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to bind a MemoryStream to asp:image control? Is there a way to bind a MemoryStream to asp:image control?
A: A handler can accept a url parameter like any other request. So instead of linking your <asp:image/> to image.ashx you'd set it to image.ashx?ImageID=[Your image ID here].
A: Best bet is to create an Htt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Custom cursor in WPF? I want to use an image or icon as a custom cursor in WPF app. How can I do that?
A: I wanted to load a custom cursor file from the project resources and ran into similar problems. I searched the internet for a solution and didn't find what I needed: to set the this.Cursor to a custom cursor st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: Terminating intermittently Has anyone had and solved a problem where programs would terminate without any indication of why? I encounter this problem about every 6 months and I can get it to stop by having me (the administrator) log-in then out of the machine. After this things are back to normal for the next 6 mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do you create a foreign key relationship in a SQL Server CE (Compact Edition) Database? Visual Studio 2005 doesn't provide an interface for creating relationships between tables in a SQL Server CE database (I'm using version 3.0) and you can't open a Compact Edition DB using Management Studio as far as I know. A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: Why do I get this error "[DBNETLIB][ConnectionRead (recv()).]General network error" with ASP pages Occasionally, on a ASP (classic) site users will get this error:
[DBNETLIB][ConnectionRead (recv()).]General network error.
Seems to be random and not connected to any particular page. The SQL server is separated fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL Server Duplicate Checking What is the best way to determine duplicate records in a SQL Server table?
For instance, I want to find the last duplicate email received in a table (table has primary key, receiveddate and email fields).
Sample data:
1 01/01/2008 stuff@stuff.com
2 02/01/2008 stuff@stuff.com
3 01/12/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: C# Game Network Library I am developing an online strategy game using .Net v2. Although the game is primarily strategic, it does have some tactical elements that require reasonable network performance. I plan to use TCP packets for strategic data and UDP packets for tactical data.
{EDIT} I forgot to mention that I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Where do attached properties fit in a class diagram? What is the most appropriate way to represent attached properties in a UML diagram or an almost-uml diagram like the VS2008 class diagram?
A: In UML it'll be quoted tag before the member. Something conventional, like this:
"attached" Align: ElementAlign
| {
"language": "en",
"url": "https://stackoverflow.com/questions/46859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Showing a hint for a C# winforms edit control I'm working on a C# winforms application (VS.NET 2008, .NET 3.5 sp 1). I have a search field on a form, and rather than have a label next to the search field I'd like to show some grey text in the background of the search field itself ('Search terms', for example). When ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: concatenating unknown-length strings in COBOL How do I concatenate together two strings, of unknown length, in COBOL? So for example:
WORKING-STORAGE.
FIRST-NAME PIC X(15) VALUE SPACES.
LAST-NAME PIC X(15) VALUE SPACES.
FULL-NAME PIC X(31) VALUE SPACES.
If FIRST-NAME = 'JOHN ' and L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What's a good method for extracting text from a PDF using C# or classic ASP (VBScript)? Is there a good library for extracting text from a PDF? I'm willing to pay for it if I have to.
Something that works with C# or classic ASP (VBScript) would be ideal and I also need to be able to separate the pages from the PDF.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Developing a online exam application, how do I prevent cheaters? I have the task of developing an online examination software for a small university, I need to implement measures to prevent cheating...
What are your ideas on how to do this?
I would like to possibly disable all IE / firefox tabs, or some how log int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How do I efficiently iterate over each entry in a Java Map? If I have an object implementing the Map interface in Java and I wish to iterate over every pair contained within it, what is the most efficient way of going through the map?
Will the ordering of elements depend on the specific map implementation that I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3891"
} |
Q: Is there anything wrong with this query? INSERT INTO tblExcel (ename, position, phone, email) VALUES ('Burton, Andrew', 'Web Developer / Network Assistant', '876-9259', 'aburton@wccs.edu')
I've got an Access table that has five fields: id, ename, position, phone, and email...each one is plain text field with 50 cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is this the proper use of a mutex? I have a situation where I might have multiple instances of a program running at once, and it's important that just one specific function not be executing in more than one of these instances at once.
Is this the proper way to use a mutex to prevent this from happening?
lock (this.G... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How can I detect if a Flex app loses focus As a follow up to this question: Developing a online exam application, how do I prevent cheaters?
Can I detect when Flex application looses its focus? that is if a user has clicked onto another application or opened a browser tab?
I read this: Detecting when a Flex applicat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's the proper way to minimize to tray a C# WinForms app? What is the proper way to minimize a WinForms app to the system tray?
Note: minimize to system tray; on the right side of the taskbar by the clock. I'm not asking about minimizing to taskbar, which is what happens when you hit the "minus" button on the wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "63"
} |
Q: How can a simple tree algorithm be coded in a functional language? Suppose I want to implement a reasonably efficient 'keyword recognition algorithm', that is first given a list of keyword, and must then answer if another given word was in the list.
In an imperative language, I would store the keywords in a tree (o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Reference material for LabVIEW I'm supposed to learn how to use LabVIEW for my new job, and I'm wondering if anybody can recommend some good books or reference/tutorial web sites.
I'm a senior developer with lots of Java/C#/C++ experience.
I realize that this question is perhaps more vague than is intended on stack ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why doesn't inheritance work the way I think it should work? I'm having some inheritance issues as I've got a group of inter-related abstract classes that need to all be overridden together to create a client implementation. Ideally I would like to do something like the following:
abstract class Animal
{
public L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How do you convert an aspx or master page file to page and code behind? I have a project where a .master page was created without a code behind page. Now I want to add a code behind page for this .master page and move the "in page" code to the code behind file. What is the best/easiest way to go about doing this? I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Silverlight DataBinding cross thread issue I have an Image control with it's source bound to a property on an object(string url to an image). After making a service call, i update the data object with a new URL. The exception is thrown after it leaves my code, after invoking the PropertyChanged event.
The data str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Javascript and CSS parsing performance I am trying to improve the performance of a web application. I have metrics that I can use to optimize the time taken to return the main HTML page, but I'm concerned about the external CSS and JavaScript files that are included from these HTML pages. These are served statical... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Rotate Windows XP Desktop My LCD rotates. The software that comes with my ATI card to rotate the desktop just crashes (I've uninstalled, reinstalled and rolled them back, still crashes). Is there any other way to rotate a Windows XP Desktop by 90 degree increments? I am looking for either software or code (any la... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: C# .NET + PostgreSQL I'm looking at working on a project which uses C#.NET (sitting on a windows box) as the primary language and PostgreSQL as the backend database (backend is sitting on a linux box). I've heard that ODBC.NET allows for easy integration of these two components.
Has anyone had experience actually... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: MySQL UTF/Unicode migration tips Does anyone have any tips or gotcha moments to look out for when trying to migrate MySQL tables from the the default case-insenstive swedish or ascii charsets to utf-8? Some of the projects that I'm involved in are striving for better internationalization and the database is going to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Determining the last changelist synced to in Perforce A question that occasionally arises is what is the best way to determine the changelist that you last synced to in Perforce. This is often needed for things like injecting the changelist number into the revision info by the automatic build system.
A: I recommend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "122"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.