Unnamed: 0 int64 65 6.03M | Id int64 66 6.03M | Title stringlengths 10 191 | input stringlengths 23 4.18k | output stringclasses 10
values | Tag_Number stringclasses 10
values |
|---|---|---|---|---|---|
730,933 | 730,934 | C# flowchart control | <p>Is there flowchart control in Visual studio components or Devexpress Component?</p>
| c# | [0] |
690,842 | 690,843 | What does $(function ()..})(jQuery); mean? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/2937227/jquery-what-does-function-jquery-mean">jQuery: What does (function($) {})(jQuery); mean?</a> </p>
</blockquote>
<p>I am using the Telerik MVC controls. In the <code>telerik.examples.min.js</code> file t... | javascript | [3] |
4,013,515 | 4,013,516 | Jquery check if image is loaded | <p>Is there a way to check if image is loaded by jquery? I have some images with external src and sometime
src points to 404 page. Is there a way to check if that image is loaded? and then I can remove it from dom otherwise.</p>
<p>Thanks.</p>
| jquery | [5] |
3,506,129 | 3,506,130 | How to bind data in pagingScroller | <p>I have have a pageScroller with three pages. I want to set each page with different view.
How do I do this? I would like sample code if it is possible.</p>
<p>This is my code:</p>
<pre><code>public class WetherActivity extends Activity{
Pager scroller;
PageIndicator indicator;
private static final in... | android | [4] |
3,734,786 | 3,734,787 | How to use ThreadPool class in C# | <pre><code>namespace ThPool
{
class Program
{
private static long val = 0;
private static string obj = string.Empty;
static void Main(string[] args)
{
Thread objThread1 = new Thread(new ThreadStart(IncrementValue));
objThread1.Start();
Thread ... | c# | [0] |
5,807,788 | 5,807,789 | How to use a jQuery variable in a selector | <p>I'm trying to highlight the table cell that is in row, col.</p>
<pre><code>var $tr = $('tr:eq(' + row + ')');
$($tr:nth-child(col)).addClass('highlight');
</code></pre>
| jquery | [5] |
4,378,178 | 4,378,179 | How do you write jquery to fade out all items of a certain type all the time | <p>So ... I know how to fadeout an item added to the dom (A success/error message in this case), but the way I'm doing it now is by writing the code to fadeout the specific item I need when it is loaded with the DOM, but also writing seperate fadeOut code when the item is added via AJAX.</p>
<p>Is there a more elegant... | jquery | [5] |
3,046,710 | 3,046,711 | How to Block the Dial, Home, Back and End Call button on Android | <p>I would like to know how could i block the dial, home , back and the end call button on an android device.</p>
<p>I know this is possible because there is an application : TheftAware which does block all the buttons so they have no effect at all.</p>
<p>And I also would like to know how to make a dialog window or ... | android | [4] |
1,010,010 | 1,010,011 | Cannot read text file in C++ | <p>I am stumped by this simple problem. I am reading a text file with C++: </p>
<pre><code>std::ifstream stream;
stream.open(filename);
if (!stream)
cout << "Invalid stream" << endl;
</code></pre>
<p>And <code>!stream</code> is true but there seems to be nothing wrong with the text file. Under what... | c++ | [6] |
3,546,725 | 3,546,726 | Android - Scaling a View with custom drawing | <p>I am wondering if it is possible to scale a View as to simulate pan or zoom. So far, the only way to do pan/zoom is with an ImageView and drawBitmap, but this is a little awkward for what I need to do (pan and zoom in a View with alot of drawing code).</p>
<p>Thanks for any advice!</p>
| android | [4] |
4,896,370 | 4,896,371 | C# Is there a way to create functions that accept anonymous function code as argument? | <p>I would like to do something like</p>
<pre><code>NameOfTheMethod(parameters){
// Code...
}
</code></pre>
<p>There's using, foreach, for, etc. that are already built-in, but I don't know if creating something similar is even possible. Is it?</p>
<p>The reason why I ask this is because sometimes that there are ma... | c# | [0] |
77,513 | 77,514 | Marshal exception in JAVA RMI | <p>What could be the possible reasons that may cause MARSHAL exception in <code>JAVA RMI</code>.
i cant share my code (its a long code)..
Thanks in advance..</p>
| java | [1] |
2,732,451 | 2,732,452 | How to Emulate Android Market App? | <p>I have developed 3 android applications and hosted in my own site.</p>
<p>Can someone please help me in the following questions I have:</p>
<p>A. With my own Client
1. How to do Silent Installations?
2. How to do Multiple Installations from a URL(User Checks multiple applications from the site and cl... | android | [4] |
4,285,688 | 4,285,689 | Pad with leading zeros | <p>How can i pad my integer variable with leading zeros.
like i have an integer abc with value 20 but i want it to be '0000020'.</p>
<p>Code:</p>
<pre><code>quarterlyReportDataCMMS.QRTrailerRecord.FileRecordCount = Convert.ToInt32(refEligibleClaimants.Count);
</code></pre>
| c# | [0] |
3,976,861 | 3,976,862 | Which Data Structure used to solve a simple math equation | <p>When taking in a expression like (10+5*15) and following orders of operations.</p>
<p>How would one best solve a problem like this? What kind of data structure is best?</p>
<p>Thanks.</p>
| c++ | [6] |
4,080,296 | 4,080,297 | php-pdf -table creation | <p>I am trying to create a table with fpdf
but the inputs of my table is quite big so its not fitting in one cell and i dont know how to push that data into next line without distorting the table structure.</p>
<p>I tried using multicell to..which did not work.</p>
<p>i used this code</p>
<pre><code>function table_2... | php | [2] |
2,410,337 | 2,410,338 | How to search an item in Custom Adapter | <p>Friends I Have created a custom adapter to show contacts in phone.The adapter includes 2 TextViews and a checkbox.Now I need to search this list view,Help me guys How to do so? </p>
| android | [4] |
1,427,716 | 1,427,717 | Icon inside of button? | <p>How do i add an icon like in the screenshot below inside of a button? I cannot seem to find how to do it.</p>
<p><img src="http://i.stack.imgur.com/kWany.jpg" alt="http://i.stack.imgur.com/6HGcK.jpg"> </p>
| c# | [0] |
1,562,397 | 1,562,398 | Refreshing pages too much | <p>I've noticed in 4chan that if you refresh the page too much (e.g. filling out the form incorrectly too many times .etc) -- they show you the recaptcha page. I'm wondering how this is done, do they use an algorithm or something to decide what is suspicious behaviour? How would you about recording usage history in php... | php | [2] |
1,931,848 | 1,931,849 | javascript object iterate through element for attribute | <p>Below, I am trying to iterate through each attribute in an input element. It isn't working and I'm not sure why. Is this an incorrect use of the object named input? How do I change this?</p>
<pre><code><script>
$('form.trade').submit(function(e) {
e.preventDefault();
input=$(this).find(':inp... | jquery | [5] |
93,128 | 93,129 | calling a function from another function in python | <p>I have written this function that takes to strings in order to see if they are anagrams:</p>
<pre><code>def anagram_check(str_x, str_y):
x = string1.replace(" ","")
y = string2.replace(" ","")
lower1 = x.lower()
lower2 = y.lower()
sorted1 = sorted(lower1)
sorted2 = sorted(lower2)
if sort... | python | [7] |
2,191,029 | 2,191,030 | convert NSData to UIImage in iphone | <p>I want to convert nsdata into uiimage and display in imageview.</p>
<p>data is coming from database like this</p>
<pre><code>NSData *imgdata = [[NSData alloc] initWithBytes:sqlite3_column_blob(cmp_sqlstmt,1)
length:sqlite3_column_bytes(cmp_sqlstmt,1)];
</code></pre>
<p>I t... | iphone | [8] |
4,061,480 | 4,061,481 | Not getting the result | <p>I'm trying to connect to the database, but dont know what is the problem with this one. the code goes like this. Please help I'm very new to the php. :(
db_config.php</p>
<pre><code><?php define('DB_USER', "root");
define('DB_PASSWORD', "database password");
define('DB_DATABASE', "ews_app");
de... | php | [2] |
3,169,763 | 3,169,764 | Displaying google map in asp.net page? | <p>Based on that user latitude and longitude values i need to display his direction in map .i am saving the user latt,lan values continuously in db.</p>
| asp.net | [9] |
710,451 | 710,452 | Stretch SurfaceView beyond visible bounds of parent? | <p>Does anyone know how I can stretch a surface view beyond the visible bounds of the parent (in this case a LinearLayout)?</p>
<p>I have a 3D video in side by side format that is not supported on non-3D handsets and I'm looking to show only the left half of the video.</p>
| android | [4] |
1,281,206 | 1,281,207 | How to detect Backdoor? | <p>NB:- I am not sure which type of question i can ask here. Because i saw nobody likes my previous question and then i deleted that. </p>
<p>I am hosting reseller. Some months before i have faced a massive defacement in my reseller hosting. All of hosted site made by wordpress, joomla and so shopping CMS.
And Recent... | php | [2] |
802,428 | 802,429 | PHP parameters between 2 scripts | <p>Script1:</p>
<pre><code><?php
/*
$file_url, $referer, $file_title are initialized in some way
*/
...
echo '<a href="download.php?url='.$file_url.'&referer='.$referer.'&name='.$file_title.'">Download</a>';
?>
</code></pre>
<p>Script2:</p>
<pre><code><?php
$file_url = $_GET['file_url'... | php | [2] |
4,548,761 | 4,548,762 | can't run file extension aspx even it start server | <p>here is my code in my aspx file when i run it. it's show all code in the browser. i think it's maybe i don't import namespace but when i import it's still the same.</p>
<pre><code><% page language="VB" %>
<!DOCTYPE html PUBLIC ".......">
<%@ Import Namespace="System.Data" %>
<%@ Import Namespac... | asp.net | [9] |
4,059,845 | 4,059,846 | How to set that when installed will not show 'WIndows security' message? by c# | <p>How to set that when installed drivers will not show 'WIndows security' message
"windows can't verify the publisher of this driver software"</p>
| c# | [0] |
1,796,836 | 1,796,837 | If I override .equals(), do I need to override .hashCode() even if I don't use a HashMap? | <p>If I choose never to store my objects in the collection, do I need to override hashcode or can I have the same hashcode for my objects? Is it good or bad for performance? </p>
| java | [1] |
2,423,416 | 2,423,417 | Why don't we have ArrayAdapter's notifyDataSetChanged(row) | <p>When I am doing Swing programming, <code>javax.swing.table.AbstractTableModel</code> is having <code>fireTableCellUpdated(row, col)</code>, to let me specific which row and col of GUI I want to update.</p>
<p>However, when comes to <code>ArrayAdapter</code>, I realize they only provide <code>notifyDataSetChanged</c... | android | [4] |
3,710,378 | 3,710,379 | New to iphone dev any examples | <p>I got a iphone and i had a idea for a few apps that i wanted to produce</p>
<p>Does anyoen have any hits and tips</p>
<p>also i would love to see some hello world type apps that would help me getting started</p>
| iphone | [8] |
1,925,341 | 1,925,342 | how to detect tower changes in Android? | <p>Just wanted to know whether its possible to get cell tower changes in Android?
I have seen a event called onCellLocationChanged in PhoneStateListener. Can I use this to detect cell tower changes ? </p>
| android | [4] |
4,363,563 | 4,363,564 | Is calling functions from different js files slower than from one file? | <p>Is calling functions in different JavaScript files slowing down JavaScript processing by the browser?</p>
<p>In other words, can I call functions from a file to another one?
Or would it be better to call function in the same file?</p>
| javascript | [3] |
4,118,029 | 4,118,030 | Regular expression for C++ header files | <p>Can you please help me to write regular expression foe C++ header files using C#. I use like this....</p>
<p>public Regex keyWords = new Regex("expr.......");</p>
<p>Thank you</p>
<p>For more clarify, look at this... (This is currently use) </p>
<p>public Regex keyWords = new Regex("#include |#include |#include ... | c# | [0] |
1,177,666 | 1,177,667 | why is PHP not throwing a parse error? | <p>There are lots of "Why does PHP throw an error here?" questions. Well, this is a little different. I found the following code while reworking some code written by a coworker:</p>
<pre><code>foreach($arr as $key => $value) {http://google.com/
echo $value;
// ...
}
</code></pre>
<p>My first thought: "Umm...ho... | php | [2] |
2,748,263 | 2,748,264 | Is it possible to combine functions for different selectors like this in jquery? | <p>Just another silly thought for jquery. Is it possible to do something like this in Jquery:</p>
<p>Instead of typing all three like this:</p>
<pre><code>$('#id1').click(function(){
$('#idanother1').animate({height:'100px'},450);
$('#id1').toggleClass('my-added-class');
});
$('#id2').click(function(){
$('#idanother... | jquery | [5] |
1,728,333 | 1,728,334 | How to get notified on failed login attempts using the pattern lock-screen? | <p>I am familiar with the <a href="http://developer.android.com/guide/topics/admin/device-admin.html" rel="nofollow">Device Administrator API</a> which offers the ability to get informed on wrong password/pin lock-screen <strong>login attempts</strong>, but I need to <strong>get informed</strong> on the same events whi... | android | [4] |
5,148,829 | 5,148,830 | UISegmentControl problem | <p>i have a UISegmentControl which have 2 segment in my view,the problem is whatever segment i have choosed, it will return 1 in my selectedSegmentIndex property since i want it remain at the first view when select segment 0,the event i used in my segmentcontrol is valueChanged, and the function will be call as show be... | iphone | [8] |
5,068,968 | 5,068,969 | Go to a specific line in Python? | <p>I want to go to line 34 in a .txt file and read it. How would you do that in Python?</p>
| python | [7] |
5,930,386 | 5,930,387 | Having an object in a list know statistical information about that list | <p>For the sake of argument I have Person Objects</p>
<pre><code>public class Person
{
public int Age { get; set; }
public string Name { get; set; }
}
</code></pre>
<p>I need to have a List or something similar where each person can tell if they are older or younger than the average age. (Ideally I want to s... | c# | [0] |
2,466,207 | 2,466,208 | How does one submit ideas for new functions to be added to PHP? | <p>For instance, I see the question:</p>
<p><a href="http://stackoverflow.com/questions/1252693/php-str-replace-that-only-acts-on-the-first-match">PHP: str_replace that only acts on the first match?</a></p>
<p>and while its nice to find a few answers to this, it'd be cool if we could add
strn_replace() </p>
<p>wi... | php | [2] |
5,191,916 | 5,191,917 | How to pass command-line parameters to a Perl script executed from Python | <p>I have written this code to run a Perl script from my Python script:</p>
<pre><code>#!/usr/bin/python
import subprocess
var = "/some/file/path/"
pipe = subprocess.Popen(["perl", "./SignalPktSender.pl ", var], stdin=subprocess.PIPE)
</code></pre>
<p>But my perl script needs command line arguments. How can I pass ... | python | [7] |
3,237,999 | 3,238,000 | How to access the property bag in Javascript? | <p>I want to access my property bag using Javascript from a
<pre><code> <CommandUIHandler
Command="FCS.Intake.Tab.Reports.TL"
CommandAction="javascript:
function getWebProperty() {
var ctx = new SP.ClientContext.get_current();
var web = ctx.get_site().get_rootweb();
... | javascript | [3] |
456,184 | 456,185 | Android: How to handle Customview on savedInstancestate and resotreInstancestate | <p>How to handle Customview on savedInstancestate and resotreInstancestate?. Customview contains streaming video. Once i go to next activity and come to previous activity the streaming video is not visible. How to handle this?</p>
<pre><code>MjpegView container = (MjpegView)findViewById(R.id.video1_surface);
container... | android | [4] |
4,660,872 | 4,660,873 | How to add rotation effect when portrait to landscape | <p>How to add rotation effect when change mode portrait to landscape ? </p>
<p>I want to make it smooth .</p>
<p>Please help me.</p>
<p>I want to sleep. T-T</p>
| android | [4] |
5,861,639 | 5,861,640 | JQuery returns same charcode for capitals and lowercase | <p>i have attached this function to the key pressed event with jquery but in the eventObject it returns the same char code for capitals and lower case characters entered</p>
<pre><code>function keyPressed(delegates,eventdata){
var keyType = new KeyType();
var keycode = eventdata.which;
if((keyc... | jquery | [5] |
5,603,413 | 5,603,414 | How to publish application update on Android market? | <p>I have to publish first update for my publish application. I want to do it right, but have no idea how :( Any help please?</p>
| android | [4] |
1,352,761 | 1,352,762 | DRY version of a list | <p>What would be the most efficient way to do the following:</p>
<pre><code>genres = [value_from_key(wb, 'Genre (1)', n),
value_from_key(wb, 'Genre (2)', n),
value_from_key(wb, 'Genre (3)', n),
value_from_key(wb, 'Genre (4)', n),]
</code></pre>
<p>I tried doing it with a list comprehensi... | python | [7] |
3,081,136 | 3,081,137 | Reading a wordpad file with 3 columns in Java | <p>I want to read a text file containing space sepearted values. Values are integers. How can I read it? I want to read each line and after go to next.</p>
<p>The contents are as the example:</p>
<p>"12/11/2012" "00.00.01" 0,100</p>
<p>"12/11/2012" "00.00.05" 0,140</p>
<p>"12/11/... | java | [1] |
1,839,924 | 1,839,925 | Dynamic Importing in Python (Dotted statments) | <p>I'm having trouble with the following code:</p>
<pre><code>def get_module(mod_path):
mod_list = mod_path.split('.')
mod = __import__(mod_list.pop(0))
while mod_list:
mod = getattr(mod, mod_list.pop(0))
return mod
</code></pre>
<p>When I do <code>get_module('qmbpmn.common.db_parsers')</cod... | python | [7] |
4,957,222 | 4,957,223 | Python: item for item until stopterm in item? | <p>Disclaimer: I'm fairly new to python!</p>
<p>If I want all the lines of a file until (edit: and including) the line containing some string <code>stopterm</code>, is there a way of using the list syntax for it? I was hoping there would be something like:</p>
<pre><code>usefullines = [line for line in file until sto... | python | [7] |
4,209,541 | 4,209,542 | Deploying and setup for windows applications project in visual studio 2010 | <p>I want to create a setup for a Windows Forms application using Visual Studio 2010
that contains 5 projects </p>
<p>I do this :</p>
<ul>
<li><p>from <strong>Solution Explorer</strong> >right-click><strong>add</strong> >and click <strong>New Project</strong> and then
expand <strong>Setup and Deployment</strong> a... | c# | [0] |
5,876,896 | 5,876,897 | Problem with my for loop. I have never used this type before and it's not working like a regular loop | <p>I have a Project class that holds a name and various other attributes. Everytime a new Project is made it is added to an ArrayList. </p>
<pre><code>ArrayList<Project> mProject = new ArrayList<Project>();
</code></pre>
<p>I have most of the code in a different question. I don't feel like I should ask it... | java | [1] |
4,624,894 | 4,624,895 | jQuery to remove s but without using .html() which re-creates everything | <p>I have lots of elements within CKEditor with events hooked up to them and data bound to them using the .data() method. I would like to remove any &nbsp;s from this block of HTML. I could simply do </p>
<pre><code>$('body').html($('body').html().replace(/&nbsp\;/, ''));
</code></pre>
<p>But because this rese... | jquery | [5] |
1,525,378 | 1,525,379 | Can str() fail in Python? | <p>Are there any cases where <code>str()</code> throws an exception in Python?</p>
| python | [7] |
4,184,743 | 4,184,744 | how a string object transforms when compared? | <pre><code>console.log("20">10); //true
console.log("20a">"10"); //true
console.log("20a">10); //false
</code></pre>
<p>I want to know why the last one turns false.
And "20a" transforms to what before comparing.</p>
| javascript | [3] |
3,719,389 | 3,719,390 | Create Tabs on runtime in android | <p>Hello I want to create a tabs on runtime like browser but the i need a listview on all tabs , and we can add item on particular listview of tabs please suggest me , I am able to create tabs dynamically but at the time adding data , that data show on all tabs .. </p>
| android | [4] |
5,214,639 | 5,214,640 | javascript array objects | <p><a href="http://jsfiddle.net/gfuKS/5/" rel="nofollow">http://jsfiddle.net/gfuKS/5/</a></p>
<pre><code>var transitionInitial = {property: "none"};
var rules = ["color", "background-color"];
var transitions = [];
for ( var k = 0; k < rules.length; k++)
{
transitions[k] = transitionInitial;
transitions[k].p... | javascript | [3] |
1,122,184 | 1,122,185 | Java threads stops running suddenly | <p>I have J2SE application running in 1.5 java VM in RHEL OS. One of the task of the application is to create 3 infinitely running user threads, during startup. The purpose is to check for a request of a particular type in backend DB table and do corresponding operations.</p>
<p>As we observed, the long running threa... | java | [1] |
984,644 | 984,645 | PHP outputting inconsistent values from same array | <p>In phpmyadmin and in the print_r of the entire array the value for template_id is 3, but when I print the value directly I get 31?</p>
<p>Any inights as to why this is happening would be greatly appreciated.</p>
<p>When I print_r from $data['resume'] I get:</p>
<blockquote>
<p>Array ( [profile_id] => 38 [name] ... | php | [2] |
937,264 | 937,265 | Automatically updating the actual parameters in javascript | <p>How to pass a primitive variable (like a string) by reference when calling a java script method?
Which is equivalent of out or ref keyword in C#.</p>
<p>I have a variable like <code>var str = "this is a string";</code> and passing the str into my function and automatically have to reflect the change in str when i c... | javascript | [3] |
3,133,182 | 3,133,183 | Gallery crashes on invoking from app: Android 3.0 SDK | <p>I am invoking the gallery, so that a user can select a photo to import into my app, however, the gallery just seems to crash as soon as it is invoked...</p>
<p>Any ideas if this is a known issue or would I be doing something wrong by invoking using the following:</p>
<pre><code> Intent photoPickerIntent = new I... | android | [4] |
4,608,733 | 4,608,734 | How to parse the Google search engine in android? | <p>i'm unable to parse the google map.</p>
<p>Is it require saxparser??</p>
<p>if yes can anyone sharte the </p>
| android | [4] |
2,085,499 | 2,085,500 | How to load database from file mdb ( microsoft access file) in android? | <p>I'm new to android and making a sample app to load database from package/assets/test.mdb</p>
<p>I try to follow <a href="http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/" rel="nofollow">this turorial</a>
My problem is that i don't know how to work with *.mdb.</p>
<p>Do i hav... | android | [4] |
5,558,400 | 5,558,401 | Useful videos in YouTube for learning programming | <p>Is it possible to really find useful tutorials and videos for learning programming languages in YouTube? Could you recommend some channels?</p>
<p>I would like to learn about: Vim, Apache Subversion, and C++.</p>
| c++ | [6] |
5,372,010 | 5,372,011 | how to get signal strength in android by clicking a button not listening all the time to a listener? | <p>I want to create a method so when I wanted to call it and get the signal strength of my phone I'm totally aware of ordinary way of getting signal strength using PhoneStateListener.</p>
<p>I couldn't find way to access for my problem but I'm sure there is a way for doing that.</p>
| android | [4] |
3,175,498 | 3,175,499 | Async Task for a peroid of time after closing the activity | <p>I want to download 4 video file from web server.That i have used Asynctask to download files?what if the user leaves the application. will async task work for until the download complete? if not please send the code to manage that?</p>
| android | [4] |
3,256,516 | 3,256,517 | How can I use GLG toolkit in Java? | <p>Hello Everyone is Stack Overflow! =)</p>
<p>I am doing my 3d transformation of an arm. After looking at one example in the Internet, I found out that the programmer is using GLG Toolkit to draw the robot arm he made, then connect(?) it to Java, to code the transformation.</p>
<p>When I tried the code to my version... | java | [1] |
3,337,990 | 3,337,991 | setInterval of a private function | <p>i want to do a setInterval of a function that is at the same level as the declaration of the setinterval but not global</p>
<p><strong>Example:</strong></p>
<pre><code>function a()
{
function b(){alert("hi");}
setInterval("b()",1000);
}
</code></pre>
| javascript | [3] |
2,943,311 | 2,943,312 | How to get data from a control into another ASP.net page? | <p>I'm creating a time sheet for work to learn more about asp and making database connections I am also using this time to prepare for my next C# and database design class which start on Wednesday. I'd like to know how I can get data from default.aspx and display it in timesheetdisplay.aspx, and I would also like to kn... | asp.net | [9] |
2,300,614 | 2,300,615 | Required concepts for to learn Python? | <p>Can any one tell me,which concepts are required for to learn Python? </p>
<p>As of now, I'm working on Java as SE in a small company and I'm looking for job change and my friends suggested 'Python' is easy compare to all. Last week I was started to learn the Python and I've lot of doubts on this..
1. Which topics ... | python | [7] |
2,713,019 | 2,713,020 | Adb won't start | <p>Running Vista, tried starting adb from shell as admin get daemon not running starting it<br>
now ADB server didn't ACk failed to start daemon. </p>
<p>Any help for this? </p>
| android | [4] |
2,862,454 | 2,862,455 | Playing Audio file | <p>I use the following code to play audio from sdcard. But it doesn't play, even doesn't throw error. My file is in the following path /sdcard/media/blueeye.mp3. Any suggestions.</p>
<pre><code>public void audioPlayer(){
//set up MediaPlayer
MediaPlayer mp = new MediaPlayer();
try {
mp.setData... | android | [4] |
780,328 | 780,329 | <asp:TemplateField Boxes Disappearing | <p>I've got a text box that just disappeared. When I add another templateField anywhere on the page, this one bizarelly disappears. Anyone know what might be up?</p>
<pre><code><asp:TemplateField HeaderText="Summary" SortExpression="summary">
<ItemTemplate>
<asp:Label ID="lb... | asp.net | [9] |
2,347,865 | 2,347,866 | Is there a simple method for mkdir that is more than one directory deep unmade? | <p>Assume I only have the folder <code>/root</code>, with no subdirectories. Is there an easy method in python to create all directories for the following (in one line) <code>/root/a/b/c/d/e/f/g/foo.exe?</code></p>
| python | [7] |
3,889,399 | 3,889,400 | How do I access a class from inside another class? | <p>The next part of the assignment tells me that the Class <code>RacingCar</code> contains four wheel objects as defined by class Wheel. Implement the wheels as an array of objects on the heap.</p>
<pre><code>class RacingCar{
int speed;
public:
void Accelerate(int value) {
speed = speed + value;
}... | c++ | [6] |
4,311,077 | 4,311,078 | toggle information on and off, pulling from separate file | <p>I'm writing code that will, when a button is clicked, display some simple text (a changes log), and then when clicked again will hide it.</p>
<p>The trick here is that I'd like to keep that change log in a separate file, and call it for display. I've got code like follows:</p>
<pre><code> echo "<input type=... | jquery | [5] |
297,706 | 297,707 | Uitextfield in uitableview | <p>Hii
I am using one tableview controller having 11 textfields and 1 date picker and 1 picker.
can i save this value in this controller or should I set this values in another controller .</p>
<p>I have seen almost example and they all have two views one for entering textfield and selecting picker value and when we s... | iphone | [8] |
3,212,579 | 3,212,580 | Vector made up of user defined type can't use vector::erase(); | <p>Trying to make a simple card game program. I'm having trouble with the vector::erase(); function on a vector made of of type Card. It seems that it can't use it because there isn't an overloaded function in vector::erase(); that deals with a <code><Card></code>. This confuses me because a vector is templated. ... | c++ | [6] |
4,204,351 | 4,204,352 | File Upload problem, file not found | <p>From my asp.net form, I am trying to save a picture to my SQL Database. Problem is the File Upload button just takes the name of the file, not the full path. When I try to save it, it says file not found.
Is there something like OpenFileDialog in webforms, as I use that for vb.net and that works excellent.</p>
<p... | asp.net | [9] |
3,507,002 | 3,507,003 | Webcam access in c++ without openCV | <p>Can I make some c++ webcam program without using opencv (and without others external library)? My idea is to take the data from the webcam and display it on window, like a live video.
Could you show me some example?
Sorry for my bad english. Thank you very much.</p>
| c++ | [6] |
5,090,182 | 5,090,183 | Validate Call log | <p>I am new to android. Can we delete call log entries by program. in which event we write the code for to do this.</p>
| android | [4] |
277,454 | 277,455 | validate comma separated url in jquery | <p>I want to validate url with comma seperation. I have written following code but it does not execute peoperly.</p>
<pre><code>jQuery.validator.addMethod("multireview", function (value, element) {
if (this.optional(element)) {
return true;
}
var multiurl = value.split(','),
valid = true;
... | jquery | [5] |
2,407,856 | 2,407,857 | Get property of object property by string in C# | <p>How to access to property of property in object instance using string ?
I would like automate changes i will made in form for example responding to object below:</p>
<pre><code>class myObject{
Vector3 position;
public myObject(){
this.position = new Vector3( 1d,2d,3d);
}
};
</code></pre>
<p>Form h... | c# | [0] |
4,365,225 | 4,365,226 | Asp.Net Website giving error when upgraded my server from 2.0 to 4.0 | <p>This code is working fine on my local computer which has Visual Studio 2010 and it was
working fine on .NET Framework 2.0 but when I upgraded my server from 2.0 to 4.0
it is giving this error:</p>
<blockquote>
<p>Server Error in '/' Application.</p>
<p>Compilation Error</p>
<p>Description: An error o... | asp.net | [9] |
5,072,165 | 5,072,166 | change the option of all other select menus in page with same id | <p>I'm new to javascript and need help to figure this one.</p>
<p>I have three menus where you select and option and for each menu you select it displays a row of data. In each row (i.e. 3 row for 3 selections) another select menu is available for you to pick a provider for that product. I created another select that ... | javascript | [3] |
1,560,511 | 1,560,512 | Is it safe to use a long running data processing function in ASP.NET | <p>I have a function that takes about 2-3 minutes to do all of the processing it needs </p>
<p>It only needs to do the calculations once daily. The processing is done inside of a background thread that is started inside Application_Start in Global.asax.cs.</p>
<p>I am worried that the application will kill the method... | asp.net | [9] |
5,961,969 | 5,961,970 | Dynamically appended scripts not downloaded in Chrome | <p>Does anybody know how to append scripts dynamically in Chrome? I copied the following code that works in FF 3.0 and IE7 but not Chrome.</p>
<pre><code> function include_dom(script_filename) {
var html_doc = document.getElementsByTagName('head').item(0);
var js = document.createElement('script');
... | javascript | [3] |
5,112,743 | 5,112,744 | image magick php, install | <p>does image magick come bundled with php? if so how do i enable it, if not where and what do i have to do to integrate it.</p>
<p>many thanks</p>
| php | [2] |
5,812,453 | 5,812,454 | Do people still dislike PHP? | <p>I've ran across a number of topics on this particular exchange site, and I've seen many many comments "stop using php" and making fun of it. I'm a php user and I find it quite good and useful, I've never had some real problems with php itself, and I never thought that php encourages bad code.</p>
<p>I have seen som... | php | [2] |
1,988,221 | 1,988,222 | An easy way to get the sunset / sunrise times for a city in PHP | <p>Is there a way to get sunrise and sunset times in PHP without having to deal with Zenith and GMT offsets? </p>
<p>The functions <code>date_sunrise()</code> and <code>date_sun()</code> asks for zenith and GMT which I don't want to deal with.</p>
<p>Ideally I would simply write <code>someSunriseFunction(<latitud... | php | [2] |
3,997,583 | 3,997,584 | How to connect with FTP server? | <p>I want to implement one application in which i want to connect ftp server from the iphone by programming.Please help me for that.</p>
<p>Edit:
I am using below code
<a href="http://developer.apple.com/iphone/library/samplecode/SimpleFTPSample/" rel="nofollow">http://developer.apple.com/iphone/library/samplecode/Si... | iphone | [8] |
2,461,364 | 2,461,365 | Enable Spanish IME on android emulator | <p>I wanted to ask if it is possible to enable spanish ime for soft keypad in android emulator ? I enabled spanish ime from settings but it doesn't show some espanol alphabets like Ñ and Ch.</p>
<p>Thanks.</p>
| android | [4] |
1,160,291 | 1,160,292 | jQuery function triggers for a button but not another? | <p><strong>EDITED</strong></p>
<p>Hi,</p>
<p>I have 2 buttons calling the same function clear_form(). In my clear_form() function I have placed an alert() at the end of the code to see if it is triggered for both buttons.</p>
<p>The stange thing is I can see the alert for both buttons but the clear_form() function o... | jquery | [5] |
2,125,352 | 2,125,353 | want to show notification in status bar after posting notification | <p>i want to show the notification in the status bar after posting the notification from the user. What should i have to do?</p>
| android | [4] |
3,368,853 | 3,368,854 | Python If statements | <p>In my python program sometimes in my if statements only the top one works</p>
<p>here is my program
<a href="http://ubuntuone.com/0u2NxROueIm9oLW9uQVXra" rel="nofollow">http://ubuntuone.com/0u2NxROueIm9oLW9uQVXra</a></p>
<p>when you run the program if you go north east west south and then it doesn't work
the probl... | python | [7] |
1,977,143 | 1,977,144 | How to get the instance of class | <p>I have made three classes classA, classB and classC in the same package. Now I make three objects of classA inside classB and two objects of classA inside classC. Now how can i get following things inside classA.</p>
<p>1) How many objects of classA has been used by classB and classC ?
2) How can i get the name &am... | java | [1] |
3,607,453 | 3,607,454 | Problem with content page in a different folder than master page | <p>I have put the master page in the main directory and content page in a different folder in the same directory. When I try to debug the page, it does not show me any error but the images on the master page are not visible. The content page works fine if it is in the directory itself without any folders. Can anyone le... | asp.net | [9] |
4,435,669 | 4,435,670 | I don't know which is better, php or .net? | <p>I love Internet,I want to learn something cool,
who can tell me which is better, php or .net?
Even JAVA</p>
| php | [2] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.