text stringlengths 8 267k | meta dict |
|---|---|
Q: Visual Studio 2008 crashes when trying to load solution file When I try to load a solution in Visual Studio 2008, it immediately closes. I get the following error in the event log:
.NET Runtime version 2.0.50727.3053 -
Fatal Execution Engine Error
(6E875E00) (80131506)
I've searched the web high and low and ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: 3d models, LOD, pics, etc I need to program a util for a 3d model. What i need to do is pass the 3d model to the util and have it extract multiple information. Things like poly count, size/scale (if applicable) and anything else i can grab. Then i need to take a screen shot of the model 8 times (45deg from 0 to 360)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server: Only last entry in GROUP BY I have the following table in MSSQL2005
id | business_key | result
1 | 1 | 0
2 | 1 | 1
3 | 2 | 1
4 | 3 | 1
5 | 4 | 1
6 | 4 | 0
And now i want to group based on the business_key returning the complete entry with the highest id.
So my expected result is:
business_key | result
1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Is there any way to call the parent version of an overridden method? (C# .NET) In the code below I tried in two ways to access the parent version of methodTwo, but the result was always 2. Is there any way to get the 1 result from a ChildClass instance without modifying these two classes?
class ParentClass
{
pub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: Mysterious process - RunSilent - error on Windows Server 2003 We are setting up production servers (Windows Server 2003 R2 64-bit) for a web application that uses the Dundas Maps for ASP.Net component.
After installation we receive the following error:
"RunSilent has encountered a problem and needs to close."
The q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cross thread communication in Delphi Is there any documentation on cross thread communication in Delphi? How can I send message to the thread that doesn't have a window?
A: The question Delphi Multi-Threading Message Loop also contains a few examples of communication between threads
A: You can only send (Windows) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Can you determine the width and height of a Flash/SWF object server-side? I'd like to allow users of a web-based CMS to upload Flash files and include them in the content. I'll probably use SWFObject to render the flash , but I need the width and height. Is this possible to determine these via C# when I do the uploa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Rendering complete page and not "progressively" (using struts 2 / tiles) Is there a way to get struts 2 (using tiles) to build the whole page before sending it to the browser? I don't want the page to be build "progressively" in the browser one part at a time.
The main problem I'm trying to solve is that internet ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Writing XML with VB 6.0 I need to write an error log to a XML file using Visual Basic 6.0. Is there an easy way to do this?
The error log will contain the error number, source, desc, and a timestamp.
Thanks,
Jeff
A: Probably it's best to use Microsoft's MSXML libraries to do that.
There is a sample in the knowledg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I receive a stream over HTTP with JavaScript, Flash, or Silverlight? I'm prototyping a realtime notification mechanism using http over port 80. The aim of the project is to allow a Flash application to respond to an event on a remote server quickly (specifically an inbound phone call being connected to a phone n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Design-Time Tutorials I am looking for some (preferably) online tutorials on making controls with 'Rich design-time support'
By Rich design time support i mean like how the menustrip works on a form and such.
Any links to websites, good books or code samples (c# or vb.net) would be great.
A: You can start with Diss... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the iPhone SDK Missing? I've been doing mobile app development for a long time (2001?), but the systems we worked with back then were dedicated mobile development environments (Symbian, J2ME, BREW). iPhone SDK is a curious hybrid of Mac OS X and Apple's take on mobile (Cocoa Touch).
But it is missing some st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/438979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How to get jquery ui tabs working? At http://docs.jquery.com/UI/Tabs#Example there is a short HTML example of how to use JQuery UI Tabs.
*
*I put the HTML in a local index.htm file.
*I downloaded all the CSS and Javascript files, and saved them in local files:
*but the closest I can get is the same example with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you map an enum as an int value with fluent NHibernate? Question says it all really, the default is for it to map as a string but I need it to map as an int.
I'm currently using PersistenceModel for setting my conventions if that makes any difference.
Update
Found that getting onto the latest version of the c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "88"
} |
Q: Extracting Path from OpenFileDialog path/filename I'm writing a little utility that starts with selecting a file, and then I need to select a folder. I'd like to default the folder to where the selected file was.
OpenFileDialog.FileName returns the full path & filename - what I want is to obtain just the path portio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "84"
} |
Q: "SelectAll" checkbox not working when back button on the browser is clicked I have the following html page:
<html>
<body>
<script>
var check = 0;
function doNow()
{
void(d=document);
void(el=d.getElementsByTagName('INPUT'));
for(i=0;i<el.length;i++)
{
if(check == 0)
void(el[i].ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Visual Basic Compiler keeps crashing The question really says it all. For one project I am working on, the Visual Basic Compiler crashes resulting in me having to restart my IDE.
It looks like it crashes when copying a PDB file and XML file for the web site for obj/debug to the output folder.
Has anyone experience... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I make a bitwise and in a bat-file? I have tried with the following, but it just says "& was unexpected at this time."
@echo off
:enter-input
echo Please enter a number between 1 and 15:
echo 1 = Selection one
echo 2 = Selection two
echo 4 = Selection three
echo 8 = Selection four
echo x = Quit
set INPUT=
se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Firefox extension compatibility I've encountered posts which have stated, "I'd love to use Extension A but it doesn't work with Extension B". Is this something that I need to be concerned about when building a Firefox extension?
What are some of the common reasons for extensions to conflict with one another? What ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Getting Started with C and Objective-C I am eventually wanting to program in Objective-C to write programs for OS X and possibly the iPhone. I do not have any direct experience with C and I come from a web programming background. I am much more familiar with java syntax than C and Objective C.
I am just looking fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is a view faster than a simple query? Is a
select * from myView
faster than the query itself to create the view (in order to have the same resultSet):
select * from ([query to create same resultSet as myView])
?
It's not totally clear to me if the view uses some sort of caching making it faster compared to a sim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "435"
} |
Q: How do you do Design by Contract in Perl? I'm investigating using DbC in our Perl projects, and I'm trying to find the best way to verify contracts in the source (e.g. checking pre/post conditions, invariants, etc.)
Class::Contract was written by Damian Conway and is now maintained by C. Garret Goebel, but it looks ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do I shrink my SQL Server Database? I have a Database nearly 1.9Gb Database in size, and MSDE2000 does not allow DBs that exceed 2.0Gb
I need to shrink this DB (and many others like this at various client locations).
I have found and deleted many 100's of 1000's of records which are considered unneeded:
these re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: How can I use multiple shipping values in satchmo? There's already some shipping modules such as FEDEX, Flat Rate, Per pieced and UPS but how can I let the user choose its preferred shipping method and/or price?
For those who don't know, Satchmo is a django app.
A: arrg I'm dumb.
Just found my answer by going thro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to execute ruby script on some event? I want to execute another ruby script from my Shoes app. I try
button "..." do
`ruby -rubygems /Users/kemiisto/Desktop/Ruby/gears.rb`
end
but nothing happens. In the case of other commands, for example
button "..." do
`open /Applications/TextEdit.app/`
end
all wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get Entity From Table Using Reflection From Abstract Type Ok, so I have an abstract class called Product. I have 3 tables called Items, Kits, and Packages that implement Product. Product has a public property that exposes the object's primary key.
That said I have a form where I pass a product. I would would like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there any good way to convert existing YUI based scripts into JQuery code? My site was based in YUI, but since I plan to upgrade my site to .NET MVC and JQuery is MVC friendly, so I plan to convert my existing YUI scripts to JQuery.
A: I use YUI (2 and 3) with all my ASP.NET MVC code, there is nothing not "MVC-F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Query building in a database agnostic way In a C++ application that can use just about any relational database, what would be the best way of generating queries that can be easily extended to allow for a database engine's eccentricities?
In other words, the code may need to retrieve data in a way that is not consi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is it alright to add custom Html attributes? I have a site I'm working on where I want to mark if a row of data has been changed.
If something has been changed in that row I would mark it with a custom attribute
like so.
<tr>
<td isDirty="true">
....row data
<td>
</tr>
This works great with jQuery and it d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: nHibernate update does nothing I have a very weird problem: sometimes when I call nHibernate update to an entity and it works, and some times it does nothing, in the same call. When it doesn't do the update, nHibernate does not return an exception or anything like that. It simply does nothing. Have you ever had this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: random Decimal in python How do I get a random decimal.Decimal instance? It appears that the random module only returns floats which are a pita to convert to Decimals.
A: If you know how many digits you want after and before the comma, you can use:
>>> import decimal
>>> import random
>>> def gen_random_decimal(i,d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How to configure Tomcat to use Windows NTLM authentication? I would like to use NTLM authentication with Tomcat so that Iexplorer send automatically both the user id+pwd to webapp. Is this possible?
With "BASIC" authentication IE pops up the usual pwd dialog but I want to skip this dialog. ( Note, I use JNDIRe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Are CVS-style checkout hooks possible in SVN? We are migrating from CVS to SVN and as far as I can see, SVN does not have checkout hooks. In CVS the post checkout operation is defined using the -o option when defining modules in the module file. Is this behavior possible in SVN?
A: Please clarify: What would you wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can you reuse fragments of XML (in some kind of variables/references way)? I am using SLD to style output from my geoserver. I have couple types of objects to be displayed. Each type have different icons, but text description is generated from the same information (text field in the database). I cannot use object_ty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Running total by grouped records in table I have a table like this (Oracle, 10)
Account Bookdate Amount
1 20080101 100
1 20080102 101
2 20080102 200
1 20080103 -200
...
What I need is new table grouped by Account order by Account asc and Boo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: What are some good resources to learn to use NAnt? I've never used an automated build system - to be honest, I've never had a use for it since I work as a solo developer (not by choice) and do development only on my workstation, so using the Build menu in Visual Studio has been good enough for me.
I'm trying to lear... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How does SQL join work? I am trying to understand how does joins work internally. What will be the difference between the way in which the following two queries would run?
For example
(A)
Select *
FROM TABLE1
FULL JOIN TABLE2 ON TABLE1.ID = TABLE2.ID
FULL JOIN TABLE3 ON TABLE1.ID = TABLE3.ID
And
(B)
Select *
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to unlock COM port I've a application that must work after another application. This second application has a bug that causes COM ports not to be closed in specific circumstances.
I would like to close all COM ports programmatically in my application to ensure, that there will be no bugs about close ports report... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: StructureMap - Override constructor arguments for a named instance Can you override the constructor arguments for a named instance, it seems you can only do it for a default instance.
I would like to do:
ObjectFactory.With("name").EqualTo("Matt").GetNamedInstance<IActivity>("soccer");
A: GetInstance behaves like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: log4net strategy on named loggers? I typically declare the following in every class:
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(
System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
and use the static member within each class to log at different levels (info, debu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Continuous Integration for Intersystems Cache solutions I am starting a project from scratch using Intersystems Cache. I would like to setup a Continuous Integration Server for the project. Cache has unit test libraries, so the idea is to import source into a test database, build the source, run unit tests in the ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: EventHandlers and Anonymous Delegates / Lambda Expressions I'm hoping to clear some things up with anonymous delegates and lambda expressions being used to create a method for event handlers in C#, for myself at least.
Suppose we have an event that adds either an anonymous delegate or a lambda expression (for you lu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: UserControls Classname-Namespaces issue I want to change Control(@Control) directive in a way to make it redistributable and want to use ClassName attribute
so I changed this
From :
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductShower.ascx.cs" Inherits="MyCompany.Web.Controls.ProductShower" %>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calling a Method from an Expression What types and arguments does the method, "Any" when using Expression.Call take?
I have an inner and an outer Expression that I would like to use with Any. The expressions are built programatically.
Inner (this works):
ParameterExpression tankParameter = Expression.Parameter(ty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Message Pumps and AppDomains I have a a C# (FFx 3.5) application that loads DLLs as plug-ins. These plug-ins are loaded in separate AppDomains (for lots of good reasons, and this architecture cannot change). This is all well and good.
I now have a requirement to show a Dialog from one of those plug-ins. Bear in m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the best way to document data reader method calls? When working with namespaces such as System.Data.Odbc or System.Data.OracleClient the various data reader methods generally require an integer corresponding to a column be provided to the functions (e.g. OracleDataReader.GetInt32).
My question is this, what... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IE web browser control res:// usage I'm using the IWebBrowser2 control in my app and I have various html files that are stored as resources in the exe. To load these up I use the "res://" protocol. The problem is that with certain versions of IE the pages no longer load up, and instead just shows "Action Canceled, I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: LazyInitializationException even though openSessionInViewInterceptor I have a problem with LazyInitializationException even though I'm using openSessionInViewInterceptor. I've read so many posts about that topic and I've tried three or four different approaches to it.
First thing is that I don't want to set to false... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Problem with Closing Sockets. Program Halts I am having some trouble with this code. The problem is when i Request the Server to send me some data and the client just Disconnects when the server tries to send me data, the application Exists.
Here's the lines I think cause the problem
int SendBinary(int *byte, int le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WPF: Multiple pages, each page has its own context menu, how to set global menu? I have a window that displays different Pages. Each page has one or more Context menus. I would like main window to display these context menues in the main app menu. So, if one page listview with context menu that has Delete and Copy, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a Mobile Programming Language I'm thinking about creating a small language that is very easy to type on a mobile phone (J2ME),
What is the more appropriate language to implement in order to run it inside a mobile phone (j2me always)? Appropriate meaning, small/easy syntax, easy to type in a mobile phone.
Is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: SharePoint List Pre-Population I have two lists, each on different tabs (sub-sites) of the site. I would like users enter data on the first tab and somehow copy a portion of that data over to the second list automatically (like a pre-population of several of the fields on the second list). What would be involved in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add bookmark to Safari on iPhone when an application is installed? I'd like to add a bookmark to a users Mobile Safari bookmarks when they install my iPhone application.
I don't want the user to have to do it manually, i'd like my iphone app to install the bookmark (actually a javascript based bookmark, e.g. javasc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I (should I?) use Apache POI HWPFDocument? I'm thinking about including the Apache POI into my application. Main goal is to output RTF document, but DOC would be nice, too. But the documentation is not very detailed about writing a HWPFDocument and everything I found on the web isn't helpful at all.
I can rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: mod_rewrite 'add path info postfix:' Why is my mod_rewrite doing this?
add path info postfix: /home/mobelluk/public_html/about.php -> /home/mobelluk/public_html/about.php/
which results in an unwanted trailing slash on EVERYTHING.
I have disabled all my .htaccess rules so they're out of the equation.
A: In searchi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to make a single static library from multiple static libraries? We recently converted a C++ project from Visual Studio 6 to Visual Studio 8. Everything went well until we reached the compilation of a project who put all the static libraries inside one big static library. By default after the conversion between t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I find out what process has a lock on a file in Linux? Today I had the problem that I couldn't delete a folder because "it was busy".
How can I find out which application to blame for that or can I just delete it with brute force?
A: The fuser Unix command will give you the PIDs of the processes accessing a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: HTML rendered incorrectly in .NET I am trying to take the string "<BR>" in VB.NET and convert it to HTML through XSLT. When the HTML comes out, though, it looks like this:
<BR>
I can only assume it goes ahead and tries to render it. Is there any way I can convert those </> back into the brackets so I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Running VMware in VMware? We have a physical machine that runs VMware and hosts a VM we use for SharePoint deployment testing. That machine is old and dying, and my employer's network czars are heavily pushing hosted VMs as a replacement for outdated physical servers. I was curious about whether it's possible to r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: How do I call an AuthenticationService from a login control? I have a solution with 2 projects. In the first project a I have a website with a Logon Control. In the second project I have a WCF project with an AuthenticatonService configured. What is the easiest way to integrate both? In other word, How do I call the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Using Substring, how do I extract this string? I want to extract the first folder in the URL below, in this example it is called 'extractThisFolderName' but the folder could have any name and be any length. With this in mind how can I use substring to extract the first folder name?
The string: www.somewebsite.com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Have anyone used GoDaddy's Code Signing Certificate with ClickOnce According to the FAQ to GoDaddy they support SignTool from Microsoft, but mage.exe isn't mentioned. Mage.exe is used to sign the application, but I haven't been able to figure out if mage.exe uses SignTool. If anyone have used GoDaddy's code signing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Has anyone used smartwin (a Windows C++ GUI OS library)? I am considering using smartwin for a Windows platform only C++ project but notice that there has not been a release for 18months since 2.0rc5 was released i.e. it appears that it is no longer maintained.
After playing with it seems pretty good, I like it's us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I get PHP to use the same APC cache when invoked on the CLI and the web? I'm using APC to cache user variables (with the apc_store/apc_fetch commands). I've also enabled APC for the CLI with the option "apc.enable_cli = 1". However, the CLI version of PHP seems to access a different APC cache from the versio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How do I add an empty first entry do an ? I have a dropdown, I have a datasource, I have AutoPostBack set to true.
I want to add a first entry to the datasource that says something like "--- select country ---" and selecting this entry won't cause postback.
This feels like it should be easy to do, yet I can't seem t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Prototype Ajax.PeriodicalUpdater inserts empty string when server unreachable I'm using the following to grab some updated HTML and insert it into a div with id "content"
var updater = new Ajax.PeriodicalUpdater('content', '/Doc?'+d.getTime(),
{
method: 'post',
frequency: 5,
});
The problem is that when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to embed additional jQuery plugins into Greasemonkey So I've been able to get Greasemonkey and jQuery 1.2.6 to work together without issue, but, now I'm wondering how to embed additional jQuery plugins into my Greasemonkey script, such as Eric Martin's SimpleModal plugin (http://www.ericmmartin.com/projects/simp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Gently kill a process I have a Windows service(C#), that sprawns few child native processes (C++).
I'd like to gently kill those processes once in a while. (gently = let the procs to finalize its work before going down).
I tried to use the SetConsoleCtrlHandler() routine to register the child procs to console event... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Validating one or the other I've created a javascript function that allows me to validate if one field or the other is filled (called, shockingly enough, oneortheother). Essentially, it checks if neither is filled, or both, and throws an error.
One of the fields being validated is a input type="file" field. I'm dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best way to encode text data for XML in Java? Very similar to this question, except for Java.
What is the recommended way of encoding strings for an XML output in Java. The strings might contain characters like "&", "<", etc.
A: StringEscapeUtils.escapeXml() does not escape control characters (< 0x20). XML 1.1 all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "106"
} |
Q: Convert Rtf to HTML We have a crystal report that we need to send out as an e-mail, but the HTML generated from the crystal report is pretty much just plain ugly and causes issues with some e-mail clients. I wanted to export it as rich text and convert that to HTML if it's possible.
Any suggestions?
A: There is al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: Allowing a method to lock its parent Object in Java Is there a way in Java to get a method to lock (mutex) the object which it is in?
I know this sounds confusing but basically I wan't an equivelent to this snippet of C# but in Java.
lock(this)
{
// Some code here...
}
I've been tasked with reimplementing an AP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: ASP.NET Web Architecture Design - Part 2 I've actually asked about this already in this post although we've gone back to the drawing board and found it's much more difficult than we initially thought. We develop a large (and very much relied upon) Intranet system which has evolved tremendously over the years.
The p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Want my WCF service to run under the administrator account How can I configure my WCF service to run under the administrator account? (this is not for production, just testing).
Is it simply a web.config tweak?
IIS 7 hosted WCF service.
A: If you are hosting it as an ASP.NET service, you should run IIS process as t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In C# what is the difference between the upper and lower case String/string? Newbie here, in C# what is the difference between the upper and lower case String/string?
A: "String" is the underlying CLR data type (class) while "string" is the C# alias (keyword) for String. They are synonomous. Some people prefer usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: C++ .NET equivalent to java public static void main()? In java I can simply test classes directly with
public static void main()
I then just add quick code and under Eclipse "Run" the class. Is there anything similar in C++ .NET ?
Right now I have to create an empty project, reference the correct headers then set ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: TOAD "Credential retrieval failed" error Semi-regularly when using TOAD, I will try to connect to a DB and get the error "ORA-12638 Credential retrieval failed". I have to restart my TOAD to get past this. It's a pain if I have other connections active. Does anyone know how to avoid or get around this error?
Than... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Windows Service Config File C# I've developed a windows service application using Visual Studio 2008 / C#.
I have an app.config file in the project. When installed, the app.exe.config file appears beside the executable but it appears not to be reading the values from it when I try to access them through Configuratio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How can I make CGI::Application::Dispatch work with mod_perl? Ok, so I am trying to set up a Dispatcher with mod_perl and I don't really know what I am doing wrong. I am fairly positive that the issue is with my mod_perl configuration. Here is what I think is relevant:
Apache Directory Config
<Directory "C:/Docum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JavaScript - function to get real image width & height (cross browser) How to get real image width & height (cross browser) by JavaScript function ?
A: var realWidth = $("#image").attr("naturalWidth");
var realHeight = $("#image").attr("naturalHeight");
A: Yay, Google!
There's a few ways to do this depending on e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Length Cannot be zero vb.net Hi is there away to detect the length of a byte before I get the error message:
Length cannot be less than zero. Parameter name: length
I get the error on this line:
new_username = new_username.Substring(0, new_username.IndexOf(" Joined "))
I am removing the "joined" from the string I ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Shell script user prompt/input This is a crude korn shell script that someone else wrote. I don't know much about using shell syntax and I'm not even sure if this is possible.
Is there any way for me to run this file and be prompted for the date so that I don't have to manually go into the script and change it each... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Why can BuildProvider be used only with ASP.NET website projects? I was going to try Subsonic, you can generate DAL with buildProvider element in an ASP.NET website project. But I get curious why Web applications or windows applications do not support BuildProvider.
PS: I know for Subsonic there is one other option... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does anyone have any useful resources to share or tips to offer for developing a MUD? As a hobby project I am trying to create a ROM (Diku-Merc based) derivative. (Now defunct) I would appreciate it if anybody has done something similar and has some useful resources to share or tips to offer. I'm finding that a lot ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Building a subset of boost in windows I'm trying setup a subset of boost and get it properly compiled using bjam, however I'm not getting the result I'm looking for. I'm working on windows using boost 1.37.0.
Let's say I want the libraries smart_ptr and filesystem built/installed. I intentionally chose a header only... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Error "Couldn't discover the 'ccc-analyzer'" when running scan-build I'm triying to find leaks in my project chibi-ORM using the tool of scan-build as suggested in other threads.
But when run from the terminal:
/Users/mamcx/Downloads/checker-0.138/scan-build -k -V xcodebuild
I get this:
009-01-13 10:33:18.296 xcod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What are and how do I use OpenSSL BIO pairs? What exactly is a BIO pair in OpenSSL, and how is it intended to be used? I've already checked the OpenSSL docs, but any details are few and far between.
A: A BIO pair are two source/sink BIOs that are bound together. Anything that is written to one can be read from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: What is your opinion about Community Server like platforms? If you can choose a platform to work with, when you build a new application,
would you prefer to build it from scratch or use platform like Community Server?
A: If we are talking specifically about community server, the answer is custom from scratch.
If ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IIS Service Disruption: What all causes them? I haven't found a definitive list out there, but hopefully someone's got one going or we can come up with one ourselves. What causes disruptions for .NET applications, or general service disruption, running on IIS? For instance, web.config changes will cause a recompilat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to see SOAP data my client application sends? I have a project where I have created web service proxy classes with wsdl.exe and then simply create an instance of that class (inherits System.Web.Services.Protocols.SoapHttpClientProtocol) and call the method that should send a SOAP message. I'm using Visual Studio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What are some best practices / conventions / guidelines for ASP.NET or C#? Long ago I read a great book on C# and Visual Basic best practices:
Practical Guidelines and Best Practices for Microsoft Visual Basic and Visual C# Developers
by Francesco Balena, Giuseppe Dimauro
(source: dotnet2themax.com)
This book was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is there any way to avoid duplicate page cache entries while allowing for case-insensitive URLs? If I have a page with outputcaching (let's call it Employees.aspx) which accepts one parameter (through querystring) called Company like this:
http://www.example.com/Employees.aspx?Company=Google
How can I avoid duplic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .NET How to check if path is a file and not a directory? I have a path and I need to determine if it is a directory or file.
Is this the best way to determine if the path is a file?
string file = @"C:\Test\foo.txt";
bool isFile = !System.IO.Directory.Exists(file) &&
System.IO.File.Exists... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "79"
} |
Q: Good resources to learn about MSBuild and Continuous integration with TFS I am relatively new to MSBuild and am looking out for good resources to learn more about MSBuild and CI with TFS. Specifically I am looking out for the following specific tasks
*
*Take latest from TFS whenever a checkin happens
*Build the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to get GET and POST variables with JQuery? How do I simply get GET and POST values with JQuery?
What I want to do is something like this:
$('#container-1 > ul').tabs().tabs('select', $_GET('selectedTabIndex'));
A: Or you can use this one http://plugins.jquery.com/project/parseQuery, it's smaller than most (min... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "98"
} |
Q: Page only posts back with Fiddler attached? I have Reporting Services set up with Forms Authentication. Our app is sitting over Reporting Services and uses it's authentication extension as a Single Sign On.
We have a simple logon page that we've got working in the past but on this one machine it refuses to post back... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Image previewer for webpages I am creating a webpage in html with php.
I want the user to be able to click on a small icon image. When the icon is clicked a preview of a larger image appears.
Guessing the solution probably involves javascript or flash. Can you point me to the right direction. Thanks in advance.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using a jsp fmt tag in another tag I'd like to be able to include the return value of a fmt tag in another tag:
<local:roundedBox boxTitle="<fmt:message key="somekey"/>">
content
</roundedBox>
I've run into this problem multiple times and it just seems like a stupid limitation of jsp. Is there a simple way around ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I best write unit test cases for a Parser? I am writing a parser which generates the 32 bit opcode for each command. For example, for the following statement:
set lcl_var = 2
my parser generates the following opcodes:
// load immdshort 2 (loads the value 2)
0x10000010
// strlocal lclvar (lcl_var is convert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Is there a difference between single and double quotes in Java? Is there a difference between single and double quotes in Java?
A: Single quote indicates character and double quote indicates string..
char c='c';
'c'-----> c is a character
String s="stackoverflow";
"stackoverflow"------> stackoverflow is a string(i.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/439485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "123"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.