text stringlengths 8 267k | meta dict |
|---|---|
Q: What is the best way for the domain layer to "call out" to the UI When your domain layer or business layer (whatever you want to call it) is completely separate from your UI, how does it gather the information it needs to complete a request?
For example, suppose the UI issues a request to add a line to a purchase or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I use multiple Template Toolkit TTSite views on a Catalyst site? I use Template Toolkit to generate views of pages in Catalyst. To do some basic Ajax, I want to have some output pages not use the TTSite style, but a much more basic structure. Do I put something special into the stash to use a .tt2 file with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Routing Issues with MVC Preview 5 and IIS 5.1 Ok so I've spent a couple hours trying to resolve this issue and have had no leads so far, keep getting the same 404 error. What happens is the website picks up the Default.aspx page and displays it like it should. But the Home page has a clickable image where it routes ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SharePoint Permissions - Repeated Login Boxes I have a SharePoint site that is locked down through standard Windows permissions.
I keep getting an repeated login box prompt, and it appears that it has to do with the Themes images and the CSS style sheets.
(source: oscommerce-ssl.com)
Where do I need to update perm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Removing an item from a select box How do I remove items from, or add items to, a select box? I'm running jQuery, should that make the task easier. Below is an example select box.
<select name="selectBox" id="selectBox">
<option value="option1">option1</option>
<option value="option2">option2</option>
<o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "273"
} |
Q: Sharepoint Webpart Security Exception I have a custom sharepoint web part that is throwing the following exception:
System.Security.SecurityException: Request for the permission of type 'Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyTok... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I upload a file from a dynamically created FileUpload control with ASP.NET? In my code attached below, I'm trying to upload a file via ASP.NET. I am dynamically creating the FileUpload control so that means it's not in my ViewState which (I think) means I can't use the control for uploading files unless I us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SPARQL query - Class and subclass give a class name and namespace How can i get all the class properties and its sub classes with properties from an RDF datasource using SPARQL query given a class name and namespace?
A: Are you trying to do a recursive SPARQL query? In other words, select a given individual and all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can you test if an ASP.NET membership password will meet configured complexity requirements? I have a ASP.NET page which allows an administrator to change the password for a user. Since the administrator does not know the user's password, I am using the following:
MembershipUser member = Membership.GetUser(_use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Conflict between Drag and drop and sortable jquery plugins I have a conflict when trying to mix those plugins, i have based my script in some demos.
The problem is that when i drag something inside the same list it triggers the drop event and that item is added to the end of the list, wich is correct if the item is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Are there any programming languages targeting PHP, besides Haxe? PHP doesn't get much love but is still a winner at easy deployment (for cheap hosting).
Are there any programming languages (besides Haxe) that target PHP? Writing applications in this language and then translating it into PHP, like some languages targ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Are there any cons to using Joda-Time? I want to convince the architecture manager to include the Joda-Time jar in our product.
Do you know any disadvantages in using it?
I think Joda-Time needs to be constantly updated because of the files that it includes. And that is a disadvantage. Maybe I am wrong.
Could you pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: CGI post handling differences on Hiawatha and Apache I'm trying to set up a light development environment to allow straight CGI in Common Lisp, and I'd like to use Hiawatha instead of the much larger Apache. I have code that works for both GET and POST in Apache, but only GET in Hiawatha; is there a difference in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: API Design: Expose XML or Objects #2 I recently asked this question: Expose XML or Objects - thanks all for the responses.
One point to clarify.
*
*The API will always be accessed remotely (i.e. as a service), most probably via webservices or WCF.
I agree that in theory a strongly typed API exposing objects as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I call an xll addin function from vba? I have a 3rd party XLL addin I'd like to wrap in my own custom vba function. How would I call the 3rd party function from my code?
A: Edit: There are at least two ways to do this:
Option 1: Application.Run(...)
This looks like the best way to go about it, since your ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Why won't this standard Reg Ex work in PHP's ereg function I am a bit of a newbie to Reg Ex and don't fully understand the difference between the different flavors. However, I have a basic Reg Ex that works when I try it via the UNIX system (vi and grep) but not when I try to to use it in PHP's ereg functions. I sus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to change an HTML element property using its ID with PHP? I want to do something like this:
page A has a link to page B
page B gets content from a database and processes it
the result from page B is displayed on a div in page A
Please notice that I don't want to leave page A while page B processe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Web Usage Statistics What is a good site to check current web usage statistics -- particularly Java version, OS, browser. I have been trying to figure out Google Zeitgeist because it supposedly has this information, but I can't find it.
A: Google Zeitgeist stopped providing that information back in '04 (or some tim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does my nib's window close immediately? I have a nib that I load the usual way
[NSBundle loadNibNamed:@"AuthorizationWindow" owner:self];
and I see the window show on the screen briefly, and using NSLog() I can confirm that -awakeFromNib is called, but I can't figure out why the window does not stay on the scree... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: (N)Hibernate: core/master mappings with relationships I am starting a job with a mid size company working mostly on writing custom apps that interact with their ERP system. This is my first time doing this sort of work, so the ERP concept is new to me and I am learning it piece meal.
I have only written two apps so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ubiquity of language... lost in translation I found two collapsing problems :
*
*You should use the same language
between domain experts and
development teams (DDD)
*You should
use English for naming in your code
(.Net Design guidelines)
What if the domain experts don't speak English ?
A: *
*Speaking the sam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I use Helvetica in Java? Helvetica is available in one form or another on Windows, Mac OS X, and Linux. Under Windows, I can see it from Microsoft Word. On the two UNIX platforms, I can find it with xlsfonts | grep -i helvetica; the name seems to be adobe-helvetica.
But the JDK can't find it! It's not list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SPARQL Query, select everything except things that match? I am getting comfortable writing regular queries in SPARQL, but I'm still having trouble with fancier stuff. My latest problem is trying to select everything except stuff that matches the where clause. For instance, say I want to find all the husbands who l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How does one test a file to see if it's a valid XML file before loading it with XDocument.Load()? I'm loading an XML document in my C# application with the following:
XDocument xd1 = new XDocument();
xd1 = XDocument.Load(myfile);
but before that, I do test to make sure the file exists with:
File.Exists(myfile);
Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Finding the owner of an STL iterator Is there any way that I can find the container pointed to by an iterator? Specifically, I want to be able to find the std::vector pointed to by a particular std::vector::iterator so that I can check the range, without having to actually pass references to that vector around.
If (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What are the dangers of giving the Network Service account read/write permissions to your ASP.NET Web application? What are the dangers of giving the Network Service account read/write permissions to your ASP.NET Web application? I have to do this for any directory that my app needs to write to like App_Data for my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Serializing JENA OntModel Changes I need to keep a couple of Jena Models (OntModels, specifically) synchronized across a socket, and I'd like to do this one change at a time (for various reasons -- one being that each Statement added or removed from the OntModels is also adapting a JESS rule base.). I am able to li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Prevent ftplib from Downloading a File in Progress? We have a ftp system setup to monitor/download from remote ftp servers that are not under our control. The script connects to the remote ftp, and grabs the file names of files on the server, we then check to see if its something that has already been downloaded. If... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to Establish Multiple Table Inheritance in the Domain using Zend Framework? I have a database structure that has a Person table which contains fields such as name, email, company_id, personType and the like. Because not all Person's are necessarily system user's, I have a separate table User that defines userNam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is requiring a certain order for #includes in c++ a sign of bad library/header design? I've used some very large scale systems and never seen a required order, but came across it recently. Does the STL or STD library or even Boost have any cases where certain includes must come in a certain order?
A: This definitel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: ASP Web Page Logging Off Users I was recently given an older ASP web application to maintain. I haven't touched it much, from what I understand, the actual VB6 project files are gone, so I only have the ASP files themselves to work with. Recently, users began complaining of being logged off, sometimes after a minute... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: vim path var, excluding dirs from ** matching One of my favorite vim features is the ability to do
set path=/my/project/root/**
and then use
:find SomeClassFile.java
Only problem is, I've got some generated directories at that level that I cannot move and wish to exclude from such searches. I can't seem to figure... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to Debug Spring NoSuchBeanDefinitionException We have a (non-web app) Spring application that throws a NoSuchBeanDefinitionException when running tests on our CruiseControl continuous integration linux box. The test runs fine on Windows in Eclipse.
The exception is thrown on the getBean() method:
ApplicationCont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I convince IT that F/OSS software isn't evil? When trying to link some well established tools to my company's active directory, I hit a roadblock. I was told that:
"Sorry, I cannot trust our domain admin password to [F/OSS] software...".
This question deals specifically with how to convince IT that F/OSS s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: ASP.Net Localization & Bound controls When I localize an asp.net page that is using bound controls (DetailsView, etc) that has TemplateFields bound using the <%# Bind() #> syntax, after the localization all of the bindings are removed and I have to go back in & rebind everything. I'm creating the localized resource... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java Mvc screencasts and tutorials? I want to see in action howto make blog on Eclipse + Java + Mvc Framework? Do anybody see such things?
A: or even better try out appFuse skeleton for building java web applications. choose one mvc framework and add project files using maven command. just take a look at the tutori... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling SSIS from a .aspx page, what permissions to give to NT AUTH\Network Service account? When I call a SSIS package using LoadPackage() from a .aspx page (or windows service), how do I setup permissions for it to work?
Event viewer is reporting a Sql server error:
Login failed for user 'NT AUTHORITY\NETWORK SERV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Detect failure to load contents of an iframe I can detect when the content of an iframe has loaded using the load event. Unfortunately, for my purposes, there are two problems with this:
*
*If there is an error loading the page (404/500, etc), the load event is never fired.
*If some images or other dependencies ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "62"
} |
Q: Microcontroller + Verilog/VHDL simulator? Over the years I've worked on a number of microcontroller-based projects; mostly with Microchip's PICs. I've used various microcontroller simulators, and while they can be very helpful at times, I often find myself frustrated. In real life microcontrollers never exist alone ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Boost.format and wide characters Is there a way to get boost.format to use and return wide (Unicode) character strings?
I'd like to be able to do things like:
wcout << boost::format(L"...") % ...
and
wstring s = boost::str(boost::format(L"...") % ...)
Is this possible?
A: format_fwd.hpp contains this typedef:
typ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: How does OSGi manage interaction of components running in separate JVMs? I have been trying to understand a bit more about the wider picture of OSGi without reading thru the entire specification. As with so many things, the introduction to what OSGi actually is was probably written by someone who had been working on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: What's the best website for learning HTML Semantically? Where should I point someone to learn the basics of HTML/CSS? I personally got my start from HTMLGoodies way back in the day, but while I thank Ken Burns for getting me going, I'm loathed to send someone out to that site nowadays as I think it's dated.
Obvious... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Update the date of a datetime object when using datetime.addhours(-1) I have an datetime object that I want to remove one hour to display the corect time in a different time zone. I am using datetime.addhours(-1) with the -1 being a config value. This works in most cases except when I set the time to 12:59 AM toda... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: A Better DataTable I have an application that uses DataTables to perform grouping, filtering and aggregation of data. I want to replace datatables with my own data structures so we don't have any unnecessary overhead that we get from using datatables. So my question is if Linq can be used to perform the grouping, f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can you dequeue over a DBLink? I'm trying to dequeue from a queue on another server. I can't use propagation to get it to the server that needs the data. If I put a dblink in the name of the queue in the dequeue options I get an error.
Error at line 9
ORA-25200: invalid value prim_queues.prim_trade_q@prim_dbln, QU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Silverlight, xhtml and 100% height I have an aspx page with 1 table containing 2 rows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
html, body
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What the best/correct way to setup a load balanced environment for a web application? I develop a web application that needs to be load balanced across 4 webservers. My company is purchasing the load balancer hardware (Cisco). There is confusion on how to tell the load balancer that a webserver should be in the rot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I create a wx.Image object from in-memory data? I'm writing a GUI application in Python using wxPython and I want to display an image in a static control (wx.StaticBitmap).
I can use wx.ImageFromStream to load an image from a file, and this works OK:
static_bitmap = wx.StaticBitmap(parent, wx.ID_ANY)
f = open... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What are some good Erlang Primers/Tutorials for beginners? What are some good links for diving into Erlang and functional programming in general?
A: this might be a good one to look at http://learnyousomeerlang.com/
A: Here's the first half of Concurrent Programming in Erlang [PDF], free.
A: I think the language ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How to create a compiled, redistributable class library in Silverlight? Is it possible to create a small library (similar to a Flash or Flex SWC component) that can be used in Silverlight apps?
Since I'm a Flash and Flex developer, I'll relate it. In Flex, if I have a SWC I can add it to my build path and then immed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java interface inheritance and implementation I saw in the apache camel source code that
public class DefaultCamelContext extends ServiceSupport implements CamelContext, Service
My question is why this definition since
public interface CamelContext extends Service
and also
public abstract class ServiceSupport im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: WPF GridSplitter Doesn't Work With WebBrowser Control? I've been struggling with the GridSplitter. It seems to be incompatible with the WPF WebBrowser control.
If I resize my window and move the GridSplitter, then I can make my grid wider than my window and non-viewable.
Before:
WPF GridSplitter WebBrowser Before h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best Virtual Development Platform for .NET 3.5 Development I have basically succumbed to the fact that if you are a hardcore computer user, you will have to reimage your computer every few months because something bad happened. Because of this, I bought imaging software and then really got into imaging. I am now rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way in javascript to get the names or the count of all open browser windows? My guess is that the answer is no, but I'm just curious if anyone has any ideas.
A: It was done that way intentionally, because of security considerations. So you're basically correct, there's no easy way.
However if you're runn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting the .NET Framework directory path How can I obtain the .NET Framework directory path inside my C# application?
The folder that I refer is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
A: An easier way is to include the Microsoft.Build.Utilities assembly and use
using Microsoft.Build.Utilities;
ToolLocatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "78"
} |
Q: How to parse word documents with ruby? Does anyone know of a library that I can use on OS X/Linux to parse Word files and output the content as HTML?
I've had a look at win32ole but as far as I can see it's for Windows only, although I could be wrong.
Any suggestions?
A: The Word document format (ignoring docx for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Update function on a RecordSet object in VBscript causing DBISAM parse error I'm having difficulty using the Update function on a RecordSet object while using the DBISAM 4 ODBC driver. Here is what my code looks like.
dtmNewDate = DateSerial(1997, 2, 3)
MsgBox(dtmNewDate)
'Create connection object & connection str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Overlay in IE 7 to prevent messing with controls in background I haven't got a unique problem, but for the life of me I can't figure out what I'm doing wrong.
I have a page that has a series of sections. Part of the section is a little image. When the image is clicked, I want to show a custom control. Showing the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Subversion - Merging Repositories When I first setup the SVN structure for my different projects, I decided to place each different project in a separate repository.
This has worked well for a while, but I'm staring to think that I would like to merge all of those repositories into one overall "company-wide" reposit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Call to a method never returns I am working with a COM component. There is a method that does this call to the component, and this method is used many times in my application, for each document to be processed, this method is called.
One weird thing happens sometimes suddenly, doesn't matter the amount of documents ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get the position of a grid column How can I position a button within a form so that it is always above a column in a DevExpress grid?
The Grid columns are set up so they cannot be resized, but the grid and columns are re-sized with the form. System.Forms.Control has the PointToScreen method that looks like would it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: adding .net code to a classic asp website, can't reference namespaces in .dll file I have an existing fairly large classic asp website, with virtual directories configured to centralize certain resources. My problem is for some reason I can't access any of my namespaces and classes. I tried adding a reference to ano... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How many lines of code is in your custom jQuery script on your site? And how much is too much? For our site, Im using a lot of jQuery - right now Im looking at 340 lines of jQuery code on top of the base library. How much is too much? I will be adding more, when do I start trying to condense the code and eventually ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Does ServiceBase.OnStop get called when a .Net 2.0 service crashes? When a .Net service crashes, does the ServiceBase.OnStop method get called? Will the service be marked as stopped regardless of whether or not the OnStop method is called?
A: use try-catch and call OnStop yourself; don't rely on 'auto-stop', even i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Techniques for building HTML in code An html template is compiled into the application as a resource. A fragment of the HTML template looks like:
<A href="%PANELLINK%" target="_blank">
<IMG border="0" src="%PANELIMAGE%" style="%IMAGESTYLE%">
</A><BR>
%CAPTIONTEXT%
i like it like this because the larger resource ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Does a dotnet crashing service terminate its own threads? I have a windows service written in dotNet. There is a worker service that spawns worker threads using various Delegate.BeginInvokes. When the service crashes are those threads going to be cleaned up automatically? And if so, when?
A: All threads created by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding up total cost - ASP while i am simple cart page where it displays the content in table form and I am trying to find a way to add up the Cost column then display the total price at the bottom. Does anyone have any suggestions how to do that? The part that is confusing me is that it the table is dynamically cre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: wrap a 32 bit Advantage Data Provider into a COM+ How do I expose the functionality found in Advantage.Data.Provider.dll thru a wrapper.
My goal is to install/deploy the COM+ into a 64 bit server. The Advantage.Data.Provider.dll is a 32 bit driver. Don't want to upgrade to Advantage Database Server 9 which does sup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NAnt/NAntContrib 'VB6' failed to start on remote build Background
I'm putting together a Continuous Integration system at work on two VMs running on my local desktop. VM #1 (Toolbox) is running CruiseControl.Net, Subversion, BugTracker.Net and SQL Server Express. VM #2 (BuildMaster) is running NAnt with NAntContrib ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Creating a Temp Dir in Java
Possible Duplicate:
Create a temporary directory in Java
I have a test for a create DB method and I need a temp directory to put it in. The directory will be removed after the test is done. I tried using File.createTempFile(), like so:
tempDir = File.createTempFile("install", "dir");
t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How do I profile C++ code running on Linux? How do I find areas of my code that run slowly in a C++ application running on Linux?
A: The answer to run valgrind --tool=callgrind is not quite complete without some options. We usually do not want to profile 10 minutes of slow startup time under Valgrind and want to pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2106"
} |
Q: Refactor select part of Linq expression? I'm playing around with some Linq-SQL stuff, doing something like this:
var foo = from f in db.Foo where f.Bar > 5 select f;
which is all fine and dandy, and I know I can also do this:
var foo = from f in db.Foo where f.Bar > 5 select new { f.Bar, f.Baz };
What I want to kn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: c++ allegro input I'm building a simple ice sliding puzzle to test uses of allegro. So far I've got the whole thing working although I haven't actually added in the objective yet or the puzzle, just the engine behind it. I'm having a little trouble making "r" jump the player back to the starting spot, can anyone tel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to export an asp:GridView's TemplateField fields to excel in c#? Does anyone have an example (code or a link) that will allow me to export a gridview template field to excel? Here is an example of what I mean. Assume I have the following GridView Declaration:
<asp:GridView Id="gvResults" runat="server">
<C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WCF Cold Startup I use WCF in a fairly demanding environment. One behavior that I have observed is something that I have taken to calling the cold startup. When I first startup a client that is calling a service there seem to be a lot of failures in the first calls. For instance I can watch the first say ten calls g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Find frequency of values in an Array or XML (C#) I have an XML feed (which I don't control) and I am trying to figure out how to detect the volume of certain attribute values within the document.
I am also parsing the XML and separating attributes into Arrays (for other functionality)
Here is a sample of my XML
<it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP/FTP ftp_put() throws weird error messages - what to do? I use ftp_put / ftp_nb_put to upload files from my PHP server to another machine. I am frequently (90% of the time) getting absurd error messages like:
Warning: ftp_nb_put(): 2 matches total
Warning: ftp_nb_put(): Transfer complete
Warning: ftp_nb_continue... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible to turn off Unicode support in RAD Studio 2009? I have a little trouble with RAD Studio 2009.
As you know, it is possible to switch Unicode support off in MSVS (right click on solution->properties->character set=not set). I need to find this feature in RAD Studio, I know it exists but do not know wher... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ORA-04091: table [blah] is mutating, trigger/function may not see it I recently started working on a large complex application, and I've just been assigned a bug due to this error:
ORA-04091: table SCMA.TBL1 is mutating, trigger/function may not see it
ORA-06512: at "SCMA.TRG_T1_TBL1_COL1", line 4
ORA-04088: error d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Zip Folder is always corrupted after downloaded For some reason when I download a zip folder from my server's folder it is always corrupted. Here is the code:
protected void gvFiles_RowCommand(object sender, System.Web.UI.WebControls.GridViewCommandEventArgs e)
{
string fileUrl = String.Empty;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling a parent page code behind method from a child page code behind - ASP.NET 2.0 Page Inheritance model What would be the best way to call a method in the code-behind of parent page from the code behind of the child page in the ASP.NET 2.0 Web Site model?
Scenario: User clicks a link in the parent page to view a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import Excel spreadsheet columns into SQL Server database I have an Excel spreadsheet that I want to import select columns into my SQL Server 2008 database table. The wizard didn't offer that option.
Do any easy code options exist?
A: You could use OPENROWSET, something like:
SELECT * FROM OPENROWSET('Microsoft.Je... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Type ‘System.Web.UI.WebControls.SessionParameter’ does not have a public property named ‘DbType’ I read this:
link text
My dev box , everything runs fine. On production server, they installed V3.5 framework and i got to my site and i got this error.
Do I have to do something to get it to read the V3.5 assemblies?
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compare the content of two objects for equality I have two complex (i.e. objects with string, int, double, List and other home made data type) objects of the same type. I would like to compare the content of both of them to ensure that they are identical. Note: The object doesn't implement .Equals (I have no control... | {
"language": "en",
"url": "https://stackoverflow.com/questions/375996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Is this variant of the subset sum problem easier to solve? I have a problem related to the subset sum problem and am wondering if the differences make it easier, i.e. solvable in a reasonable amount of time.
Given a value V, a set size L, and a sequence of numbers [1,N] S, how many size L subsets of S sum to less th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: asp.net website external bin folder Can I put my "bin" folder with all of its .dll files at a higher level then the IIS Local Path/web root for the site? I need to keep my dll files in a directory outside of my project is this possible, I tried to use a virtual directory but .net seems to ignore it.
Can I use a vir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What algorithms count frequencies of common elements in a collection of sets? I would like information on algorithms that can help identify commonality and differences between sets of overlapping data.
Using stackoverflow's tag system as an example:
Let's say this question has been given 5 tags. Let's say there ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can You Trap These Radio Button Events On Internet Explorer? Consider this sample code:
<div class="containter" id="ControlGroupDiv">
<input onbeforeupdate="alert('bingo 0'); return false;" onclick="alert('click 0');return false;" id="Radio1" type="radio" value="0" name="test" checked="checked" />
<input onbef... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Compile lisp / scheme in Notepad++ I'm pretty much into lisp at the moment, and unfortunately i'm only available to code on windows. Is is possible to let Notepad++ take care of the interpreting of my scripts, and display the output in the compiler window?
If yes, what interpreter would be the best to use?
Thanks!
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Map API/Layer that may be used in pages requiring login I'm developing an application with a feature that allows users to mark places on a map (events, locations etc.). I'm not allowed to use the basic google maps api because it requires pages that implement the maps to be publicly available. Does anyone know of any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Algorithm to mix sound I have two raw sound streams that I need to add together. For the purposes of this question, we can assume they are the same bitrate and bit depth (say 16 bit sample, 44.1khz sample rate).
Obviously if I just add them together I will overflow and underflow my 16 bit space. If I add them toge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "66"
} |
Q: Defining a pure base class using IDL When I define an interface in IDL which does not derive from anything, the MIDL precompiler warns as such (Visual C++ 2008) :
warning MIDL2271 : [object] interfaces must derive from another [object] interface such as IUnknown (...)
And if I derive my interface from another wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Firefox vs IE vs Chrome vs Safari Currently I am designing a website and I am finding it VERY difficult to display the website perfect on ALL browsers.
Is there any rules, suggestions etc to follow?
Thanks
A: Here is an answer I gave a while ago about perfecting websites in browsers (from here)
Actually, what you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Silverlight tutorial of Cartman Few months ago, I have came across a Silverlight tutorial of Eric Cartman (South Park). Which used the vector image from http://en.wikipedia.org/wiki/File:Eric.svg to animate him. However, I cannot seem to find that tutorial any longer.
Can someone point me in the right direction, pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is a partially trusted assembly/application/code/etc in .NET? Could someone please explain? I couldn't find anything on the internet, everything talks about how to go about it in some way, but nothing says exactly what it is.
Also, what is a fully trusted assembly and how do they differ from one another?
I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Does End Using close an open SQL Connection If I wrap a SQLConnection in a Using, should I close it or does the end using handle it?
using cn as new system.data.sqlclient.sqlconnection()
cn.open
'{do a bunch of other stuff with commands and datareaders here}
cn.close 'Do I need this?
end using
A: Exit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "66"
} |
Q: Creating a folder, writing a file to a shared folder on a server My windows service is creating a directory on a shared folder, and I am getting a error:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path,DirectorySecurit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Font choices in International scenarios: multilingual vs unicode I have a website that will eventually display multiple languages. I notice the common fonts used in web CSS (ex: Arial, Verdana, Times New Roman, Tahoma) and even the newer Vista/Office 2007/VS2008 fonts (Calibri,Cambria, Candara, Corbel, etc) are sig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get a table cell value using jQuery? I am trying to work out how to get the value of table cell for each row using jQuery.
My table looks like this:
<table id="mytable">
<tr>
<th>Customer Id</th>
<th>Result</th>
</tr>
<tr>
<td>123</td>
<td></td>
</tr>
<tr>
<td>456</td>
<td></... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "233"
} |
Q: NSDictionary with ordered keys I have an NSDictionary (stored in a plist) that I'm basically using as an associative array (strings as keys and values). I want to use the array of keys as part of my application, but I'd like them to be in a specific order (not really an order that I can write an algorithm to sort t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/376090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "83"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.