text stringlengths 8 267k | meta dict |
|---|---|
Q: Is it possible to have different SharePoint web applications authenticating against different sub-domains in AD? We are trying to get different SharePoint web applications to authenticate against different sub-domains.
We have three web applications:
*http://customers.xyz.com
*http://internal.xyz.com
*http://par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Packages in Eclipse/CDT Is it possible in Eclipse to have some kind of packages (sets of projects) when using CDT projects?
We have separated our software in such packages and use VS2005 with .sln files for the Windows parts.
At the moment I see only two ways to manage the projects in Eclipse:
*
*Put all together... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: List AppDomains in Process Is there any possibility how to enumerate AppDomains within Process?
A: You may want to look at this post
using System.Runtime.InteropServices;
// Add the following as a COM reference - C:\WINDOWS\Microsoft.NET\Framework\vXXXXXX\mscoree.tlb
using mscoree;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "62"
} |
Q: next iteration while running a script in a script when error comes i am just using "EXITGLOBALITERATION" command but its not going to the next iteration ....Is there any other alternative for this??
A: QTP's documentation has this to say about ExitGlobalIteration:
This statement is obsolete. Use the ExitTest State... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best way to page asp.net-mvc page with POST I have an action method that that returns a PagedList<> after a form's POST request.
I would like to add paging to this page, but all paging scenarios only seem to work with GET requests.
Currently the only way of adding paging controls is adding a bunch of forms with one ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: When to use xml with xsl instead of HTML? I like .NET webcontrols and you manipulate things, that's common consensus, but XML and XSL is so great, because you have UI logic that is platform & language-independent, so one day I change the app to php, java or whatever and i can reuse all the presentation logic.
Moreo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: a question about eval in javascript thank you. here is the correct question:
{
"VID":"60",
"name":"\u4f1a\u9634",
"requireLevel":"20",
"levelMax":"5",
"venationRequirement":"0",
"description":"\u6c14\u6d77\u4e0a\u9650\u63d0\u9ad8[Affect1]\u70b9",
"cost":{"1":"240","2":"360","3":"400","4":... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Target attribute in IE7 We have some web pages which have two frames, with one frame in the IE 6 search bar (created using the open("path.htm", "_search"); call). The page shown in the frame on the search bar contains buttons, on click of which we update the right frame. On migration to IE 7, both frames open in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TestDriven.net with Gallio, MbUnit and NCover problems Why doesnt TestDriven.Net work with my gallio/mbunit tests?
I've used TDD.Net with MbUnit v2 and not had any problems, but with the new gallio release on my new pc, it does nothing.
From the tdd right click menu in solution explorer, if i do "test with debugger"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Conditional .htaccess RewriteRule parameter I have quite a few RewriteRules in my .htaccess that looks like this
RewriteRule ^something/(\d+)/start /index.php?ix=$1
RewriteRule ^embed/something/(\d+)/start /index.php?ix=$1&fEmbed=1
The only difference between these two is the leading "embed/", so I was thinki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to execute schedular for data stored in .config file? In my application data is stored in a .config file,(in XML format). User is able to set date on which he wants mail (like reminder through mail). So there should be a scheduler which will execute daily to send mails on target date to users. As there is no dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why use deflate instead of gzip for text files served by Apache? What advantages do either method offer for html, css and javascript files served by a LAMP server. Are there better alternatives?
The server provides information to a map application using Json, so a high volume of small files.
See also Is there any pe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "217"
} |
Q: How does the Hamming code work? When transmitting data, the Hamming code apparently allows you to recreate data that has been corrupted over the wire (an error correcting code).
How does this work and what are its limitations, if any?
Are there any better solutions for error correction (as opposed to retransmission)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Are there any good and free libraries to develop web applications in C? I've searched the web a bit, but all I found were abandoned projects and only CGI support.
EDIT 1: C isn't just used for writing drivers or embedded systems. We have mailreaders, newsreaders, editors, etc. all written in C. I've written two BBS ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Size of a tcp packet on BSD If i need to find out the size of a tcp packet on BSD.....what do we need to do?
Is there some utility which allows for this?
A: do you mean the max possible size? if so, google for MTU (Maximum Transmission Unit)
A: Try ethereal.
A: I think using tcpdump would be the easiest solution.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Asp.NET ListView Data Control Dynamically Databind I am trying to implement a ListView data control for displaying and editing lookup table/ application level variables. There are multiple entity classes which can be bound to the ListView, so the ItemTemplate needs to be dynamically bound to the selected entity obje... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Null literal issue I have a repeater that should show a bound field value only if it exists. Having read this post I decided to do it by using a literal within my repeater and using the OnItemDatabound trigger to populate my literal but my literal doesn't seem to be accessible from the c# code behind and I don't und... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to restore SQL Server database - 'The file or filegroup cannot be selected for this operation.' When restoring a full DB backup to a different SQL Server 2005 Express server, I receive the following message:
The file or filegroup "mydatabase_log"
cannot be selected for this operation.
RESTORE DATABASE i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Debugging javascript in Safari for Windows Is there a way to debug javascript using Safari 3.2 in Windows Vista?
I found a link to a debugger named Drosera but I can't get it to work because the information seams to be outdated.
A: Well, apart from the Error Console that can be opened from the Develop menu (which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Regular expression for allow only numbers I want to check the following with regular expression
{Today,Format}
Today - will be remains as it is.
In the place of Format, we can allow the digits from 0 to 12.
for example: we have to allow
{Today,0}
{Today,1}
{Today,2}
...
{Today,12}
and also have to allow
{Today,}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Receiving a SMS message in a .NET application I need to write a .NET application that listens to a SMS message , and then react to it.
I assume i need a SMS gateway to interface between my application and the sender of the SMS.
How could i implement this . Would the listening program need to be a web service or some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Switching from ms-access client interface to executable file Are there any object similar to ms-access forms in VB, .NET or other microsoft technologies?
We have been now using Access for developping client interfaces with some success for the last 2 years. We are using a serie of development tools making the best u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP date calculation What is the best (date format independent way) in PHP to calculate difference in days between two dates in specified format.
I tried the following function:
function get_date_offset($start_date, $end_date)
{
$start_time = strtotime($start_date);
$end_time = strtotime($end_date);
return rou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can you make an alpha transparent PNG with C#? I have a multi-browser page that shows vertical text.
As an ugly hack to get text to render vertically in all browsers I've created a custom page handler that returns a PNG with the text drawn vertically.
Here's my basic code (C#3, but small changes to any other version... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: What looks wrong in this? private int DBUpdate()
{
DAL dal = new DAL();
string upd = "UPDATE [RPform] SET [ProjectName] = '@pname', [ProjectCode] = '@pcode', [Country] = @cnt, ";
upd += "[StartDate] = '@startdate', [FinishDate] = '@finishdate', [TotalParticipants] = @totpart, [ArrivalDate] = '@arrivedate', ";
up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Query for Product-Tag relationship I have a database for an E-commerce storefront. MSSQL 2008.
I have a table called Products and a table called Tags. This is a many to many relationship that is bound together by a table called ProductTags.
Products:
id, name, price
Tags:
id, name, sortorder, parentid(allow null... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: copying website data to XL 2003 I am trying to copy website data to XL 2003
I was told about using "send keys" but it doesn't work.
Please could someone help me.
Sub CopyInternetDoc()
Dim IntApp As Object
Set IntApp = CreateObject("InternetExplorer.Application")
With IntApp
' Change file name to suit
.Visibl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Security vulnerabilities of the .NET platform? I am doing some research on .NET security. The most of sources just describe .NET security mechanisms but no even a word of possible vulnerabilities or things to be kept in mind. Do you know any security problems on .NET platform?
A: The major source of security proble... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: ascending/descending in LINQ - can one change the order via parameter? I have a method which is given the parameter "bool sortAscending". Now I want to use LINQ to create sorted list depending on this parameter. I got then this:
var ascendingQuery = from data in dataList
orderby data.Property a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "90"
} |
Q: When is Windows Forms the correct choice vs WPF?
Possible Duplicate:
WPF versus Windows Forms
I presume that WPF is intended to eventually replace Windows Forms altogether, but for now, they are both shipping.
My question is, when is one more appropriate than another? Should we be leaving Windows Forms to legacy ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "120"
} |
Q: How to copy and paste worksheets between Excel workbooks? How do you transfer a worksheet from one excel app(1) to another(2) if you have two excel apps open using VBA?
The problem is, the programmer uses JavaScript, and when you click on the button that transfers the web data to a xl workbook, it opens a new Excel ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to make a .Net generic method behave differently for value types and reference types? I have two implementations of a method, one for value types and another for reference types:
public static Result<T> ImplRef(T arg) where T : class {...}
public static Result<T> ImplVal(T arg) where T : struct {...}
I want to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: .NET Generate Sequence Diagrams From Running Code Is there a tool that can generate sequence diagrams from running .NET code?
A: Enterprise Architect will generate sequence diagrams from running code. You set break points where you want your diagramming to begin and end and then run the code and it will give you a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Lazy evaluation in SSRS I'm using SSRS 2005 to produce a report, and one of the columns in my report is a simple mean calculation. I don't want to divide by zero, so for the textbox value I have put:
=Switch(Fields!Count.Value=0,0,Fields!Count.Value>0,Fields!Sum.Value/Fields!Count.Value)
This still evaluates the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: PHP library for openID Which is the best PHP library for openID integration?
A: The PHP OpenID library is good.
A: I'd recommend JanRain's library, they say its used by 80% of all OpenID enabled users, (possibly, it was one of the earliest ones), but you can also use them for OpenID authentication as a service pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: SELECT on a nullable reference I have a relationship between two tables, authors and styles.
Every author is associated with a style, with the special case where an author doesn't have a style (IS NULL).
There's no problem in setting the reference to NULL, but there's a problem doing a query to select the authors an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get the name of a property from a property in C# (2.0) I know I could have an attribute but that's more work than I want to go to... and not general enough.
I want to do something like
class Whotsit
{
private string testProp = "thingy";
public string TestProp
{
get { return testProp; ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Parsing files to set data of an object - a design question I recently had to write some code which parsed a file to set data in an object. As there were several objects and corresponding files involved here, I decided to separate the parsing code out.
So I then had one class for parsing the files, CommandFileParser,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how do i divide a sql variable into 2 i have a field in sql named as address which is of 80 char.
i want to put this field into 2 fields addr1 and addr2 of 40 char each.
how do i do it.
A: this is for T-SQL, but it can't be much different for PL/SQL
declare @yourVar varchar(80)
select substring(@yourVar, 1, 40), su... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Profiling COM libraries used from a .NET Application I am looking for a performance profiler that is able to profile a C++ library that is being called from a .NET Application.
I tried Purify+ without success (I don't get the calls the COM library) and a few others.
A: AQTime
A: Have you tried the IBM or AMD tools... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best way to parse a string to a float with both "," and "." as fraction separator? (For a number < 5) This is kind of related to my previous question, but not really.
I have an input of which I don't know the culture. So it can both use ',' and '.' as separator for the fraction. The number will never be >5 though, s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: nHibernate Master Detail Deletion I have a Master Detail relationship configured. The hbm file is below. When I run some code like this
Favourite favourite = favourites.Find(f => f.Id== id);
user.Favourites.Remove(favourite);
m_UserRepository.Save(ref user);
I get the error message
NHibernate.Exceptions.GenericADOE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I use the built in password reset/change views with my own templates For example I can point the url '^/accounts/password/reset/$' to django.contrib.auth.views.password_reset with my template filename in the context but I think need to send more context details.
I need to know exactly what context to add for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "96"
} |
Q: Date Picker for iPhone Web Application What is best way to show Date Picker for iPhone based Web Application. Can we show something like iPhone native date picker like shown below in web application:
A: There is an iPhone native style date picker that runs in the browser - http://cubiq.org/spinning-wheel-on-webkit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: PHP:Writing to excel file using PEAR I have installed PEAR, Spreadsheet_Excel_Writer and OLE. The sample program is executed successfully but when I try to read the file it shows garbage values. I also tried $workbook->setVersion(8); and $worksheet->setInputEncoding('UTF-8');
I am using this tutorial and Google lot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is it possible to convert VBA to C#? I have a few modules of block of code in VBA to run on few Access databases. I would like to know how I should proceed if I want to convert the coding to C# environment. And is it possible to implement and obtain the same results as I am getting now with Access and VBA?
I am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Accessing the clr's interned string list I just answered a question where I said that while string interning is good it can be a security problem since a strings value can be easily accessed later on.
And while I'm quite sure this is true :-) I am not sure how easy it really is. I tried googling the topic but I got... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: schema design Let's say you are a GM dba and you have to design around the GM models
Is it better to do this?
*
*table_model
*
*type {cadillac, saturn, chevrolet}
Or this?
*
*table_cadillac_model
*table_saturn_model
*table_chevrolet_model
Let's say that the business lines have the same columns fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How would you markup a building plan/map using semantic HTML? The building (a museum) has 7 levels (+3 to -3), each divided into different rooms/areas. Hovering over an area will reveal a popup describing that area.
I'm looking for some markup that will accurately represent the 7 levels and their areas.
The plan sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sound issues on Blackberry 8330 It appears that on CDMA Blackberry 8330, almost every mp3 file I'm trying to play using J2ME, gets cut-of a few seconds before it's actual end. Does anybody has a clue?
A: This may not help, but most CDMA networks use Qcelp format and QCP files. For example all the sprint handsets I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Checking flash file loading with javascript Is there a way to check how much a flash file is (down)loaded to the page before it is shown?
Our team cant put loading indicator inside the flash file because the swf file is uploaded by our client. Is there some kind of property on xmlhttprequest that we can use to indic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get list of open windows form instance that are excuted from different assembly I have a 'loader app' that loads a menu and when user clicks the menu image button a list view opens based on the text
(if text = employee)
(Go to class A)
(Go to class B)
...
...
(Show List View Window)
if he clicks a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Finding (loaded) image size in AS3 (Action Script 3.0) Im currently using the following function to load an image, however i could not figure out a way to find the width of the loaded image, which i intend to use before placing the next image using the same function.
Note that q is a a variable (a number) which is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to detect anomalous resource consumption reliably? This question is about a whole class of similar problems, but I'll ask it as a concrete example.
I have a server with a file system whose contents fluctuate. I need to monitor the available space on this file system to ensure that it doesn't fill up. For the sak... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Registering derived classes in C++ EDIT: minor fixes (virtual Print; return mpInstance) following remarks in the answers.
I am trying to create a system in which I can derive a Child class from any Base class, and its implementation should replace the implementation of the base class.
All the objects that create and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Overcome 8k limit to sql server stored procedure parameter I recently resolved an issue my VB6 application had when saving large binary objects to sql server using ADO 2.8 and the AppendChunck method for Recordset.Field. If the data was too big I would get either 'Invalid Handle' in a for loop or 'Not enough system... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sharepoint custom personalization I am creating sharepoint custom solution that will show number of drop down in page. The drop down data is shared in may pages.
I want to persist selected values of the user such that when ever he visit that page or any other page that have same drop down, he should be able to see ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I send a picture in Java ME? How can I send a picture in Java ME ? Maybe using base64 decode and the send in post form via http request
A: I think you looking for this image base64 encoding in J2me
A: Yes , I'm use that to send the base64 ,putting in
// write your picture data to os
os.write (data);
wher... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Performance degrades when compiling with _win32_winnt=0x0501 instead of 0x400 Is anyone aware of any performance implications from changing the _win32_winnt from 0x400 to 0x0501?
I am compiling C++ on VS2005.
My Application is very communications oriented, doing quite a lot of Winsock work.
A: A value of 0x0400 ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Improving performance of multithreaded HttpWebRequests in .NET I am trying to measure the throughput of a webservice.
In order to do that, I have written a small tool that continuously sends requests and reads responses from a number of threads.
The contents of the inner loop of each thread looks like this:
public v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: NHibernate mapping - one-to-one (or one-to-zero) NHibernatians!
I have a table [dbo].[Wibble] and another table [dbo].[WibbleExtended].
[Wibble] is the main table and [WibbleExtended] is an optional table where some other fields are stored. There are far fewer entries in the [WibbleExtended] table than the main [Wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Is there a way to check if an USB drive is stopped? I've written a script to backup my server's HD every night. At the end of the script, I sync, wait a couple of minutes, sync and then I issue sg_start --stop to stop the device. The idea is to extend the lifetime of the device by switching the HD off after ten minu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using the name resolver of resolv.h with IPv6 I write or modify programs which perform name resolution and need a
good control of the process. So I do not use getaddrinfo(), I go
deeper and use res_query() / res_send() / etc in resolv.h, documented
in resolver(3).
Although not documented, the common way to set the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Aligning Member Variables By Template Type I want to align my member variables based on a class template type but I'm not sure if it is actually possible.
The following is a (very) simple example of what I'd like to do
template<int Align>
class MyClass
{
private:
struct MyStruct
{
// Some stuff
} __declspe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Determine Label Size based upon amount of text and font size in Winforms/C# I'd like to know if there's a better approach to this problem. I want to resize a label (vertically) to accomodate certain amount of text. My label has a fixed width (about 60 chars wide before it must wrap), about 495 pixels. The font is al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: Fast, Free Desktop SQL tool for CSV files I have a bunch of pretty large CSV (comma separated values) files and I want to analyze them. SQL queries are ideal for this. So far I have been using MS Access to import the CSV files and execute queries on them. However, in addition to having a very bad SQL editor and havi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to compensate for differences in environment between development machines and Build servers? I have NUnit installed on my machine in "C:\Program Files\NUnit 2.4.8\" but on my integration server(running CruiseControl.Net) I have it installed in "D:\Program Files\NUnit 2.4.8\". The problem is that on my developmen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does FireFox work? Source code walk through? I'd like to learn how FireFox works behind the scenes. I'd like to understand the source code and the different components but the code-base is rather large and I'm not sure where to start.
I'm wondering if there is some sort of walk though written up by anybody eith... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Copying millions of files I've got about 3 million files I need to copy from one folder to another over my company's SAN. What's the best way for me to do this?
A: If a straight copy is too slow (although a SAN with write-back caching would be about as fast as anything for this type of operation) you could tar th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: The best way to hit a URL (I don't need a response) in Visual Basic.Net I am basically sending a URL to control the tilt and pan of an IP camera, so all I need to do is send the request, I am not worried about receiving anything. Currently I am using:
Dim Request As HttpWebRequest = WebRequest.Create("http://xxx.xxx... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why won't VS 2008 SP1 let me edit global.asax? Normally I create web application projects and use code-behind, but I have a requirement to create an small throwaway demo app using code-inline.
I added a global.asax file to the app, but for some odd reason, Visual Studio 2008 SP1 won't let me edit any of the code bet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: playing flash movies in lightbox I'm using JQuery and Prototype in this web application that I'm developing. I'm looking for a way to use Lightbox v2.04 by Lokesh Dhakar to play flash movies. If its not possible using the Lightbox v2.04 then what other ways can I accomplish the shadowing overlayed flash video pop-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: MySQL 5.0 indexes - Unique vs Non Unique What is the difference between MySQL unique and non-unique index in terms of performance?
Let us say I want to make an index on a combo of 2 columns, and the combination is unique, but I create a non-unique index. Will that have any significant effect on the performance or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "63"
} |
Q: Is it possible to prevent batch update at the sql database level? A simple stupid "UPDATE table SET something=another WHERE (always true)" in accident will easily destroy everything in the database. It could be a human mistake, an SQL injection/overflow/truncation attack, or a bug in the code who build the WHERE cau... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RegEx for Javascript to allow only alphanumeric I need to find a reg ex that only allows alphanumeric. So far, everyone I try only works if the string is alphanumeric, meaning contains both a letter and a number. I just want one what would allow either and not require both.
A: /^[a-z0-9]+$/i
^ Start of str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/388996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "321"
} |
Q: How to arrange 2-columns of divs in a ContentPlaceholder that STAY 2-columns? I have an ASP.NET site that I'm developing. The layout is pretty basic. The master page has a header with a horizontal menu beneath the banner taking the entire width. On the left is a Navigation pane, 150 pixels wide with a picture and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NHibernate: how to enable lazy loading on one-to-one mapping One-to-one relations within nhibernate can be lazyloaded either "false" or "proxy". I was wondering if anyone knows a way to do a lazy one-to-one mapping.
I worked out a hack to achieve the same result by using a lazy set mapped to a private field, and hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: are fixtures loaded when using the sql dump to create a test database Because of some non standard table creation options I am forced to use the sql dump instead of the standard schema.rb (i.e. I have uncommented this line in the environment.rb config.active_record.schema_format = :sql). I have noticed that when I u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to reduce the memory usage of a WPF app I am working on a little bookmark managing app written in C#, using WPF. It just sits in the system tray and is idle 99% of the time. Recently I looked in the task manager and discovered that it uses around 25 megs of memory (and around 12 megs before it is activated for t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Mac Browsers - Is IE5.x for the Mac officially dead? I don't use a mac much so my exposure is minimal but can I safely presume that IE on the Mac is dead?
I know that Microsoft isn't developing it any further and that Firefox, Safari (Opera and Camino) all run on Mac (and from my stats they are most used, in that or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is Java the best language to develop cross-platform GUI applications? For "best" I intend that the code shouldn't need, or need very few, platform specific tweaks.
A: I personally despise the whole concept of emulating the native GUI that is where the Java GUIs are rooted. Instead of being at home wherever you go, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How to find an Element in Watin by its tag name? How to find a specific element, or a list of elements by using their TagName using Watin?
A: As of WatiN 2.0 beta 1 this has changed to:
ie.ElementWithTag("h1", constraint);
Constraints are created when using the Find.XXX methods.
Here is an example:
ie.ElementWit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Programmatically reading a web page I want to write a program in C/C++ that will dynamically read a web page and extract information from it. As an example imagine if you wanted to write an application to follow and log an ebay auction. Is there an easy way to grab the web page? A library which provides this functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: How does the AddExtension property work in C# 2.0? I want to open a save file dialog, have the user enter a filename, and if they forget the .csv extension, have it tacked on.
It would seem that the SaveFileDialog AddExtension property would work, but its doesn't. I've even set the DefaultExt property to .csv, and s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is the best solution to do Reporting on Object data for .NET? Our projects are using objects as the data source to reports.
Our business layer is returning single objects or IEnumerable. Our reports (quite complex) need to display value-type properties of the object, and its related objects.
Typical case would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there Opensource code for parsing SQL Server Proc? I'm looking at writing a tool for generating code based on the contents of a stored procedure. Like the parameters and stuff.
I was wondering if anybody knew of an open source library that has a all the regex's and stuff to parse all this easily.
Thanks.
A: try... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it correct to nest HTML definition lists ()? Is it semantically correct to nest definition lists, or should they simply be a 'flat list of name/value pairs'.
The specs don't seem to forbid it.
Further to this question.
A: Well the spec seems to allow it, provided that only the <dd> contains nested lists. The spe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Visual Studio 2008 on Vista problems Does anyone have any problems with VS2008 on Vista?
For me every so often when I select items in the solution explorer the screen goes blank. No other application causes this to happen.
A: One of our guys had this problem. For some odd reason, check to see if your video drivers ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create a dynamic LINQ join extension method There was a library of dynamic LINQ extensions methods released as a sample with Visual Studio 2008. I'd like to extend it with a join method. The code below fails with a parameter miss match exception at run time. Where is the problem?
public static IQueryable Join... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Is there a built-in IsLowerCase() in .NET? Is there a built-in IsLowerCase() in .NET?
A: public static bool IsLowerCase( this string text ) {
if ( string.IsNullOrEmpty( text ) ) { return true; }
foreach ( char c in text )
if ( char.IsLetter( c ) && !char.IsLower( c ) )
return false;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Debugging Tools for Windows: Symbol Proxy doesn't proxy I'm attempting to set up a symbol proxy using symproxy.dll from Debugging Tools for Windows. When I issue ".reload /f" from the debugger, none of the symbol files can be found. It looks like Symproxy isn't going out to the Microsoft Symbol Server to actually ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I determine the connection method of a Crystal XI report at runtime, before logging in? In my (Win32) application, I am displaying Crystal Reports.
I set the login information at runtime. However, Crystal kindly decided to refer to the database name by several different names, depending on how the report co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does "Custom Event" work in VB.Net? In C# if I want to create a "Custom Event" you do something like this:
private EventHandler _MyEvent;
Public Event EventHandler MyEvent
{
add{ _MyEvent += value; }
remove{ _MyEvent -= Value; }
}
protected void RaiseMyEvent()
{
if(_MyEvent != nul)
_MyEvent(this,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: NET 3.5 - MVC PetShop application? is there really a MVC PetShop application? ScottGu mentioned something, but was he kidding?
Update
Yes, but have they done it in 3.5?
A: http://www.codeplex.com/petshopmvc
A: I think they're talking about the MS .Net Pet Shop - which was created as a benchmarking application to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Restore an Sql Server 2005 DB backup to Sql Server 2000 Is there a way to restore an Sql Server 2005 DB to Sql Server 2000? I'm unable to attach it either. Any tools, ideas etc?
A: I found this utility from Microsoft called Microsoft SQL Server Database Publishing Wizard 1.1 http://www.microsoft.com/downloads/detai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Netbeans intellisense for Yahoo utils In netbeans I created an html page in which I am using Yahoo utils. If I type "yahoo." then namespace, render, hide are not visible in the interactive documentation. Please tell me how to configure Netbeans to handle this.
A: I don't use Netbeans, but I do know that Javascrip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Expanding a node in ASP.Net TreeView through XML Attribute I have a ASP.Net TreeView control that I am binding to an XML data source. I'm wanting to be able to control which nodes are expanded and which ones are collapsed in the XML definition file. The Expanded='' doesn't work for me though. In the following simple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to access HTML form input from ASP.NET code behind I have a basic HTML form that gets inserted into a server side div tag based on how many records exist in the database. This HTML form comes out just fine, and everything looks good. But on my action page I cannot seem to access the input elements from the code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: Passing parameters to an RSS Feed from a Data View Web Part in Sharepoint I have a Data View Web Part in Sharepoint that is being fed from an RSS Feed. I have the Data Source configured properly to read the RSS Feed and I have added several runtime parameters. My question is, how do I supply these values at runtime?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Have vs.net automatically execute xsd.exe everytime time xsd is modified In the past, I have used XSD.exe to create c# classes from an xsd. Today, I added an XSD to VS.NET 2008 SP1 and it automatically generated a dataset from my xsd, slick but I don't want a dataset. Is there a way to have vs.net automatically ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/389164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.