text stringlengths 8 267k | meta dict |
|---|---|
Q: Mail body parsing - open source mail client (PHP or ASP.NET) I have one interesting problem.
I must parse mail body (regular expression), get some data from mail body, put this data to mail subject and forward this mail to another address. This must be done immediately when mail is received.
Is any free WEBMAIL cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/412965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: asp.net impersonation I am writing a web application that works with exchange, and so needs to impersonate an account that has admin rihgts to Exchange. This account is specified by the user on setup. What is the best way to get impersonation to use this account, obviously hard-coding this into the web.config won't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/412969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sharepoint: Is there some OOB way to delete provision files? I'm using OOB functionality to upload files to sharepoint. I'm using <module> tags and feature which wraps all data. (it is described here)
Here is example of module in my elements.xml file:
<Module Name="SampleImages" Url="Style Library/Images/SampleImage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/412970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: iPhone Unzip code Really stuck on trying to write code to unzip a file or directory on the iPhone.
Below is some sample code that I'm using to try and unzip a simple text file.
It unzips the file but its corrupt.
(void)loadView {
NSString *DOCUMENTS_FOLDER = [NSHomeDirectory() stringByAppendingPathComponent:@"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/412982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: NSbeep() on iPhone Does NSBeep() exist on the iPhone? I just want to play a short error sound to indicate that the key pressed is not a legal character. I will play this in my textField delegate that dissalows the illegal characters.
A: No, NSBeep() is part of the ApplicationKit framework which doesn't exist on the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/412986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to stream Webcam in WPF? Can I stream a live video in WPF application from my web cam? If yes, then How?
A: You will have to use DirectX Capture or something (is not in WPF right know, so use DirectX API's directly).
Look at: WPF Media Kit. It can grab the Vista Windows desktop manager DirectX Direct3D shared S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/412995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Where can I acquire the Windows 6.0 Bootstrapper files for VS? I've deleted the Windows 6 SDK folder and now my VS refuses to build my Deployment Project. I need to get the filed back to get working again.
Could not find required file 'setup.bin' in 'C:\Program Files\Microsoft SDKs\ Windows\v6.0A \Bootstrapper\Engi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Linq2Sql, OOP, DependencyInjection problem I'm still struggling a bit with OOP concepts and dependency injection so bear with me.
I have generated my Linq2Sql model with a User table and now I would like to be able to send a confirmation email to this user so I created a partial class file for my User object and I f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: A problem with folding bash functions in vim I have a bash script file which starts with a function definition, like this:
#!/bin/bash
# .....
# .....
function test {
...
...
}
...
...
I use vim 7.2, and I have set g:sh_fold_enabled=1 such that folding is enabled with bash. The problem is that the folding of the fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why isn't my "font-family" property inheriting from ? My code:
body {
font-family:"Verdana",Arial,Helvetica,sans-serif;
}
.myfont {
font-family:"Verdana",Arial,Helvetica,sans-serif;
}
<body>
Hello
<select>
<option>
Hello
</option>
</select>
<select c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: If I want to use MOSS 2007 Single Sign-On, do my users HAVE TO be Active Directory users? I want to use MOSS 2007's single sign-on feature, but read that the server needs to be in an Active Directory environment. This I understand, but does this mean all my users HAVE TO be Active Directory users? Can I not use MOSS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to call "CreateFile" in C#? After getting so much information about retrieving .MBR from a storage device, conclusion is to use P/Invoke to call CreateFile.
But how this can be done in C#? Please illustrate! Your help will be greatly appreciated!!!
A: [DllImport("kernel32.dll", CharSet = CharSet.Auto,
Call... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Write location data in Drupal I have some code that creates a new node in Drupal, but I want to write some data to a Location field. How do I go about this? Is it possible to use the $node object?
A: Is the location field a new field you want to add to your custom nodes?
You are going to have to handle a couple of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C#: How to remove namespace information from XML elements How can I remove the "xmlns:..." namespace information from each XML element in C#?
A: From here http://simoncropp.com/working-around-xml-namespaces
var xDocument = XDocument.Parse(
@"<root>
<f:table xmlns:f=""http://www.w3schools.com/furniture"">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Viewing HTML inside Applet without using JEditorPane I have a small (500kb) swing applet that displays very simple/limited set of small HTML page(s) inside it with JEditorPane, however this does not seem to work 100% fluently, some customers get a blank page displayed without any java exceptions. The page works OK f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413053",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VS2008 Open .cs file in Code View instead of Design View I am writing a windows service in VS2008 - c#. When I double click on a .cs file in the Solution Explorer it opens in Design View by default (Windows Form Designer). Is there a way to configure it to open in Code View (Text Editor) by default as this is driv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Setting scroll position in UITableView I have an application that works some what similar to how iPhone's Contact application works. When we add a new Contact user is directed to a view only screen with Contact information. If we select "All Contacts" from the navigation bar, user is navigated to list of all contact... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: What is the best option for creating an in-browser UI-editor? I want to create an simple UI-editor that can be used within the browser. It basically should have a UI-control palette and a canvas to layout and modify the controls. The resulting user-created UI model should be stored in some kind of backend and comply... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Regex to get string between curly braces Unfortunately, despite having tried to learn regex at least one time a year for as many years as I can remember, I always forget as I use them so infrequently. This year my new year's resolution is to not try and learn regex again - So this year to save me from tears I'll giv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "149"
} |
Q: Registering custom webcontrol inside mvc view? I am in the middle of a project where I am migrating some code for a website from WebForms to MVC - unfortunatly there's not enough time to do it all at once, so I will have to do some... not so pretty solutions.
I am though facing a problems with a custom control I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ad supported free WIFI based internet access point We would like to setup a small Wifi access point where we provide free internet in and around our store, with store banner pop ups added to any web content they browse using this net connection. What do we need to do this? I am expecting some kind of C# solution, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do i auto-populate fields in django? I have a model Question with a field called userid, before one ask a question, one needs to login, i want when saving to capture the user ID of the currently logged-in user and assign it to the userid of the Question model.
Please note am not showing the userid on my form i.e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Equivalent of SQL ISNULL in LINQ? In SQL you can run a ISNULL(null,'') how would you do this in a linq query?
I have a join in this query:
var hht = from x in db.HandheldAssets
join a in db.HandheldDevInfos on x.AssetID equals a.DevName into DevInfo
from aa in DevInfo.DefaultIfEmpty()
select ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: Client-server synchronization pattern / algorithm? I have a feeling that there must be client-server synchronization patterns out there. But i totally failed to google up one.
Situation is quite simple - server is the central node, that multiple clients connect to and manipulate same data. Data can be split in atoms... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "248"
} |
Q: What framework introduced c# version 1.2 I've got a copy of the Word document "C# Language Specification Version 1.2" and was wondering in which framework this was introduced. I can't remember there is something like .NET Framework 1.2
A: C# 1.2 was introduced in .NET v1.1. I have very little idea why, to be honest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Which is the maximum number of Windows concurrent tcp/ip connections? In .NET I have already tried the configuration below successfully:
<system.net>
<connectionManagement>
<add address="*" maxconnection="100"/>
</connectionManagement>
</system.net>
Using 100 concurrent HttpWebRequest they answere... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: HTML vs XHTML does it still matter? I'm wondering if I should bother at all about the markup language, as long as i produce valid markup.
I've read articles that point out HTML is the best choice and they come directly from the horse's mouth (the browsers implementors!):
*
*http://webkit.org/blog/68/understanding... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: WPF Debugging datatriggers? I am trying to do something very simple. I have a ToggleButton.IsChecked property bound to a bool. I want the background to toggle between red(false) and green(true). But for some reason it seems to be toggling between red and no background. I used a converter to check if I am getting pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: An alternative to Hibernate or TopLink? Is there a viable alternative to Hibernate? Preferably something that doesn't base itself on JPA.
Our problem is that we are building a complex (as in, many objects refer to each other) stateful RIA system. It seems as Hibernate is designed to be used mainly on one-off applica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Mix two strings into one longer string PHP I have two strings and I would like to mix the characters from each string into one bigger string, how can I do this in PHP? I can swap chars over but I want something more complicated since it could be guessed.
And please don't say md5() is enough and irreversible. :)
$str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Requirements for JSON Parser I'm thinking about implementing JSON parser for Delphi.
What should a good JSON parser do? Any ideas for requirements?
I believe it should at least output and process JSON...
Looking at XML parsers, should it be more DOM or SAX-like?
A: I think Json.NET does a pretty bang up job.
*
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: When I run the rake:db migrate command I get an error "Uninitialized constant CreateArticles" I created a model ruby script/generate model Article (simple enuff)
Here is the migration file create_articles.rb:
def self.up
create_table :articles do |t|
t.column :user_id, :integer
t.column :title, :string
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Customizing the Main Menu in Visual Studio 2008 This sounds very simple, but I am frustrated for the past few hours to get this done.
I am not able to see "Macros" sub menu under "Tools" menu in Visual Studio 2008.
I go to Tools->Customize->Commands.
Select Tools under Categories and click Rearrange Commands. Inst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: moodle file.php returns a blank 0 bytes file For some reason one installation of Moodle 1.9.3+ has a problem that file.php returns a blank 0 byte file sometimes, even the apache log shows 0 bytes were returned. Another moodle installation works OK with the same htm files.
What could be causing this? Problematic f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a hidden iteration counter in this for loop? If you have a for loop such as:
For Each s As String In stringList
..do stuff..
Next
is there some sort of (hidden) iterator or do I have to add an external integer to keep count:
Dim i As Integer
For Each s As String In stringList
..do stuff..
i += ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: When to use a Array() over Generic.Lists in .NET when is it appropriate to use an array over a Generic List(of T) in .NET
I have struggled to see any benefit an array provides over the Generic List but get the feeling I may be missing something. Performance is one thing that struck me as one potential bottleneck ?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Zend Framework problem with URL mapping I'm trying to map an action to the base URL and default controller.
Swear this should be straight forward or even an 'out the box' feature but how do you map actions in your default controller to the base url using the Zend Framework? I'm fairly new to the Framework so I'm hop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I indent code in the Vim editor on Windows? Duplicate:
How to indent a selection in gvim (win32)?
How do I indent multiple lines quickly in vi?
Using vim under linux I can indent a block of code using the VISUAL mode and pressing ">".
In vim under Windows this does not happen.
This is what happens:
*
*P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to run JUnit tests from multiple packages in Eclipse? Is it possible to run JUnit tests for multiple packages at the same time without manually creating test suites.
For example if I have the hierarchy:
code.branchone
code.branchone.aaa
code.branchone.bbb
code.branchtwo
code.branchtwo.aaa
code.brancht... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: Automating the deployment of a CLR database project to the database We have a CLR database project in VS08. Right now, everytime we do a build there are multiple manual steps that have to be performed in order to deploy this project as part of our build process.
I ended up writing a utility that automates parts of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best practice of using the "out" keyword in C# I'm trying to formalise the usage of the "out" keyword in c# for a project I'm on, particularly with respect to any public methods. I can't seem to find any best practices out there and would like to know what is good or bad.
Sometimes I'm seeing some methods signatures... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Precompiled ASP.NET web application: error "System.Web.HttpException file filename.aspx has not been pre-compiled, and cannot be requested." I've created a web deployment project using the template for Visual Studio 2008 for a ASP.NET 3.5 web application (not web site).
I compiled the project which created the files... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Problem in addAppender() method in Log4j API Hi I'm using log4j api for logging purpose. When I use the following code to append to the appender, it's showing "addAppender() is undefined for the type Logger" error
FileAppender myAppender = new FileAppender(new PatternLayout(),"output.log");
Logger.getLogger(ConfigFi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to create a simple line graph in VB.NET for a website Has anyone got any suggestions on how I can create a very simple graph for a web application? It is to show energy consumption levels per month for a year at a time.
So basically I want it to look like (assuming my ASCII works)
--
\ --
Yeah it doesn't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PyGreSQL vs psycopg2 What is the difference between these two apis?
Which one faster, reliable using Python DB API?
Upd:
I see two psql drivers for Django. The first one is psycopg2.
What is the second one? pygresql?
A: For what it's worth, django uses psycopg2.
A: "PyGreSQL is written in Python only, easy to depl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Sell Software Online using Third Party Duplicate of https://stackoverflow.com/questions/409026/software-marketplace
I'm interested in selling software (mostly enterprisey libraries) online but I'm not interested in handling the money/shopping cart/etc so I'm on the lookout for a third party that can handle all my pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting proxies of the correct type in NHibernate I have a problem with uninitialized proxies in nhibernate
The Domain Model
Let's say I have two parallel class hierarchies: Animal, Dog, Cat and AnimalOwner, DogOwner, CatOwner where Dog and Cat both inherit from Animal and DogOwner and CatOwner both inherit from Ani... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: How do I detect that an iOS app is running on a jailbroken phone? If I want my app to behave differently on a jailbroken iPhone, how would I go about determining this?
A: It depends what you mean by jailbreak. In the simple case, you should be able to see if Cydia is installed and go by that - something like
NSStr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "180"
} |
Q: Form sizing to fill screen dimensions minus taskbar How do you size your form in vb6 so that form lower border is at top of taskbar
A: Is there a reason you cannot just maximise the form? That would be my first impression.
If that's not a runner, you could try getting the taskbar height in the following way:
Privat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Protect ASP.NET Source code Im currently doing some research in how to best protect my source code so that no external parties can view and use my code.
From browsing the web a few ideas have come to mind i.e
1) Publish website into a DLL
2) Code obfuscator
3) 3rd Party
But none i find are really explained that well... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the best resources if you wanted to create an application with modularization? In my analysis of the newer web platforms/applications, such as Drupal, Wordpress, and Salesforce, many of them create their software based on the concept of modularization: Where developers can create new extensions and applica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Practical use for Dispatcher.DisableProcessing? What is a common real life use for Dispatcher.DisableProcessing in WPF? Can I use it to suspend rendering and layout when I build a complex UI in code?
A: As per MSDN:
Disabling dispatcher processing is an
advanced method that is intended to
eliminate the chance ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Bluetooth for WindowsCE 5.0 and .NET2.0 with C# I'm looking library, to create Bluetooth connection between my device and other devices.
I want use:
*
*.NET2.0 for Windows Mobile
*WindowsCE 5.0
A: If you're using a particular device, most companies have a useful SDK available with Bluetooth functions/routines.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: .NET 3.5 security question I have installed .net 3.5 on a windows 2003 system. I notice that in addition to the latest .net 3.5 level, previous levels of .net such as 1.0 and 2.0 are automatically installed also. These older versions have security issues that I assume are corrected in .net 3.5. Is this correct or do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Detecting Java Project Cruft I'm a NetBeans 6.5 user and am searching for a way of generating a list of methods/classes that are not used within a set project group.
I know I can right click on each method and select "Find Usages" but I'm looking for an automation to that process.
I'm willing to look at something th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Where is the best reference for MySQL 5.0 syntax? Where can i find the manual for for MySQL 5.0 syntax? What i would need is the manual that corresponds to my MySQL server version (MySQL 5.0)?
Considering this: I am using MySQL 5.0 and NaviCat for GUI. If i run this query:
CREATE TABLE `genres` (
`id` INT NOT NUL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Visual Studio web user control events only show up in design mode? Calling all Visual Studio gurus — when I'm working on a .ascx or .aspx file in a c# web project, the events do not show up in the properties panel unless I switch into the design view from the code view. Is this an intentional functionality of Visual... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Do method names get compiled into the EXE? Do class, method and variable names get included in the MSIL after compiling a Windows App project into an EXE?
*
*For obfuscation - less names, harder to reverse engineer.
*And for performance - shorter names, faster access.
e.g. So if methods ARE called via name:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Fastest way to "jump back" to a file in TextMate? Often, when I am reading code or debugging, I want the ability to quickly jump around files. I especially want to "go back" to where I was. I know about "Command+T", "Command+Shift+T", and, bookmarks. But, I cannot figure out a way to jump around files quickly.
U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I list the plugins (BHOs) that Internet Explorer uses, from my program? I need to retrieve, in my Win32 standalone program, a list of currently installed Internet Explorer add-ons (Browser Helper Objects), and - if possible - their enabled/disabled status.
Since anti-spyware programs (or e.g. Autoruns) can g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: .Net Server Clustering Techniques I want to develop a multi-server clustered framework that will work similarly to the steps below for message flow.
From Client
*
*Gateway Server Recieves Message
*Gateway Server sends an ACK Message (UDP)
*Message is custom deserialized from binary into an object via a factory
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can you control the depth of DataContractSerializer deserialization? I have a pretty sizeable object graph that I have serialized to a file via the DataContractSerializer. I now want to present a list of these files to the user to choose from. In this list, I want to show some of the details about the file, which ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Lightbox close link doesn't work in IE7 While the lightbox example page works fine for me in IE7, I seem to have broken it in my implementation.
I've written a Lightbox plugin for Mango Blog and everything works fine in Firefox. However, in IE7 the "close" button doesn't work. If I'm fast enough to get my cursor int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C#/Visual Studio Debugging example I am trying to work out a code sample to demonstrate the debugging functionality in Visual Studio 2008 with C#. I'm trying to build a code sample which would have a 'not so obvious' mistake in it, which would result in unexpected output.
A non working example would be:
static void... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Outputting a GUID in VBScript ignores all text after it I'm creating a GUID for use in a Classic ASP application, by using TypeLib. However, even a simple test such as writing the GUID out to the screen is giving me problems - it prints the GUID but ignores everything after it (e.g. HTML tags, additional words, any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Sparse data: efficient storage and retrieval in an RDBMS I have a table representing values of source file metrics across project revisions, like the following:
Revision FileA FileB FileC FileD FileE ...
1 45 3 12 123 124
2 45 3 12 123 124
3 45 3 12 123 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the reason for specifying an Enum as uint? I came across some Enumerators that inherited uint. I couldn't figure out why anyone would do this.
Example:
Enum myEnum : uint
{
...
}
Any advantage or specific reason someone would do this? Why not just leave it as defaultint?
A: I'd guess it's been done to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Is there any library to query the whois database for domains information? I'd like to write my own script in C# to test my own dictionary of too-many-to-do-it-manually words against whois database of world wide web domains.
Is there any free library / script that would allow my application to test the words against ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Obfuscation at source-code level more effective than obfuscators? Learning from my last question, most member names seem to get included in the Project Output.
Looking at some decompilers like 9rays, Salamander, Jungle, many obfuscating techniques seem to have been already defeated, there's this one particularly sca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I get the HWND for an ActiveX control after the control has been initialised/activated? I am creating an ATL 8.0 based ActiveX control in C++ using Visual Studio 2008. I need to create a sub-window and attach it to the ActiveX control.
How do I get access to the HWND that is owned by the ActiveX control?
W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Displaying a Table of Database Data in MVC Made solution change: I am trying to display a html table of data.. In my controller I start an object as null and then pass the object as a reference to update the object based on the info in the DB like so "user control named(Indexcontrol.ascx)":
List<dataob> dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to dynamically change a web page's title? I have a webpage that implements a set of tabs each showing different content. The tab clicks do not refresh the page but hide/unhide contents at the client side.
Now there is a requirement to change the page title according to the tab selected on the page ( for SEO reas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "643"
} |
Q: Hiding a menu item in MFC How can I hide a menu item under certain conditions in MFC?
I'm not interested in just graying it out.
A: Or if you are removing a single menu item use CMenu::RemoveMenu
A: Add an Update Handler for your menu item (using ON_UPDATE_COMMAND_UI).
This line should appear in your message map... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Django and units conversion I need to store some values in the database, distance, weight etc.
In my model, I have field that contains quantity of something and IntegerField with choices option, that determines what this quantity means (length, time duration etc).
Should I create a model for units and physical quan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Consuming WebService From CompactFramework Client I'm trying to call a webservice method like this:
myService.Register("mystring");
The webmethod definition is just:
[WebMethod]
public void Register(string s)
{
}
But I receive the following System.InvalidOperationException:
"The type System.String was not expected... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Good Silverlight-MVVM Practice Example I've read a number of good articles about the Model-View-ViewModel pattern and my team intends to implement this pattern in the latest version of our app. I still don't quite get ALL the bits that go together to make this work. I'd like to find a good example of this pattern ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: How can I find odd house numbers in MS SQL? The problem is I need to ignore the stray Letters in the numbers: e.g. 19A or B417
A: Take a look here:
Extracting Numbers with SQL Server
There are several hidden "gotcha's" that are explained pretty well in the article.
A: It depends on how much data you're dealing wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Understanding Postbacks in ASP.NET For example,
If I have a textbox with runat=server on a page, The value will be posted back to the server so I can access the properties in the code-behind.
However, under the following situations, does it still hold true?
*
*A textbox with runat=server but does not appear in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Where do you put validation logic when using Zend Framework? I'm seeking some examples of how people implement validation logic in the Zend Framework.
My ideal implementation would keep the validation outside the controller and allow validating "Confirm password" fields and file uploads.
A: Are you using Zend_Form ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: dlopen on library with static member that throws exception in constructor - results in Abort I am trying to load a dynamic library using dlopen function. This library contains a static object, which throws an exception in its constructor. I have a "try-catch(...)" block around the dlopen call, but it doesn't catch t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there a good Valgrind substitute for Windows? I was looking into Valgrind to help improve my C coding/debugging when I discovered it is only for Linux - I have no other need or interest in moving my OS to Linux so I was wondering if there is a equally good program for Windows.
A: In combination with Visual Studi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "210"
} |
Q: Is there a proper algorithm to solve edge-removing problem? There is a directed graph (not necessarily connected) of which one or more nodes are distinguished as sources. Any node accessible from any one of the sources is considered 'lit'.
Now suppose one of the edges is removed. The problem is to determine the node... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the point of www in web urls? I've been trying to collect analytics for my website and realized that Google analytics was not setup to capture data for visitors to www.example.com (it was only setup for example.com). I noticed that many sites will redirect me to www.example.com when I type only example.com. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: Choosing between multiple executables with same name in Linux The system I am using has gnuplot installed in /usr/bin. I don't have root, but I needed a newer version of gnuplot, so I installed it to $HOME/usr/bin.
I added $HOME/usr/bin to my path, but it still executes the one in /usr/bin if I just use the gnuplot ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Get/save parameters to an expected JMock method call? I want to test an "Adapter" object that when it receives an xml message,
it digest it to a Message object, puts message ID + CorrelationID both
with timestamps and forwards it to a Client object.=20
A message can be correlated to a previous one (e.g. m2.correlati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NSNumber storing float. Please NO scientific notation? My code looks like this
NSNumber *inputToNumber = [NSNumber numberWithFloat:[textField.text floatValue]];
the value from the textfield is actually a telephone number. It's stored in NSNumber as an annoying (2.0)78966e+08
How can I just get NSNumber to store it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Scrum: too much or not enough? My company has recently started using Scrum; we've done 2 sprints. We're still learning, but we've definitely exposed and fixed some problems in our development process already. So in general I think it has been good for us.
In reading many of the internet musings about Scrum from evan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: ASP.net ViewState - Even when disabled, some viewstate exist. Why? Even when on the page, the EnableViewState property is disabled, I am still seeing some viewstate existing on the page:
"<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="VkBAB3n5LZYtY+nTzk1vEu1P/6QLf4qzFIKzpFRJe3DMf8UseUA/1RsO409HJX4Qh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: PrintWindow WPF / DirectX Anyone know of a way to reliably take a snapshot of a WPF window? The PrintWindow api works well for "standard" win32 windows but since WPF uses DirectX, PrintWindow fails to capture an image. I think that one would need to grab the front buffer for the DirectX object associated with the wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I completely remove the Margin of textboxes in HTML/css I have the following HTML
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<style>
.box
{
border:solid black 1px;
padding:0px;
margin:0px;
}
</style>
</head>
<body>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I patch client side javascript on a website after loading it in Opera or Firefox? There is a particular website I must use for work which is absolutely heinous and despised by all who must use it. In particular, the site's Javascript is fundamentally broken and works only in IE, which pretty much makes it t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the best Java OXM library? Even though I've been a developer for awhile I've been lucky enough to have avoided doing much work with XML. So now I've got a project where I've got to interact with some web services, and would like to use some kind of Object-to-XML Mapping solution.
The only one I'm aware of i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Are SSIS packages thread safe? ie. can be called in parallel? By default, are SSIS packages thread safe?
Can they be called in parallel? (in general)
A: If you consider them as a connection to the database, they are as thread safe as they can be. I think the more critical question is the table going to be locked w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to include extra data in the Django serializer response? I am trying to make a livesearch with Django and jQuery. What I've done is make the javascript ask for some data with the getJSON function, then I've set up a view in Django that returns a JSON response automated by the Django serializer.
And this works we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: I Can't see my dynamically generated RadioButtonList or CheckBoxList items after postback Hi All,
It's clear wehn I change any control and then posts back the SaveViewState method saves the changes and apply them agian after postback, see the folowing code notice that server-side-code put in a scrispt in my code lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Array that can be resized fast I'm looking for a kind of array data-type that can easily have items added, without a performance hit.
*
*System.Array - Redim Preserve copies entire RAM from old to new, as slow as amount of existing elements
*System.Collections.ArrayList - good enough?
*System.Collections.IList ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Is possible to obtain the CSV separator from Thread.CurrentThread.CurrentCulture? (.NET) In languages where the decimal separator is a ,(comma) the CSV (comma separated values file format) separator is a ; (semicolon). I know where to find this configuration in the Windows Control Panel, but I don't know how to find... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Is there an easy way to test SSL protected webpages in Development server, using Django? I use Django for my website and I want to know whether there is a work around for testing secure pages in Development server. As a temporary workaround, I wont use HTTP to check the webpages in dev server, which I think is not a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Swing Large Files Performance We need to load and display large files (rich text) using swing, about 50mb. The problem is that the performance to render the files is incredibly poor. We tried both JTextPane and JEditorPane with no luck.
Does someone have experience with this and could give me some advise ?
thanks,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Why is SQL Server 2005 Randomly Truncating Whitespace? The following T/SQL:-
create table #temp(foo varchar(10))
insert into #temp select ''
insert into #temp select 'abc'
insert into #temp select ' '
select len(foo) from #temp where foo = ' '
drop table #temp
Returns two 0's, despite the fact the criteria mean... | {
"language": "en",
"url": "https://stackoverflow.com/questions/413631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.