199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lloyd.farrell.7

Hi everyone, I have created a twitter app to auto post to a number of twitter accounts. The auto tweet works great - but for one thing I am stuck on... I am trying to add a hashtag # (#) to the tweet but for some reason I'ts not working. …

Member Avatar for lloyd.farrell.7
0
188
Member Avatar for thewilf

Hi All, Cannot for the life of me figure out what is wrong with application, when I run on laptop cannot get error to replicate however on tablet which application is designed to run on cannot figure it out. I have a windows form which is opened as an mdi …

Member Avatar for Begginnerdev
0
224
Member Avatar for wolf29

I have a csv that needs to be put into a database format so I can sort and count the data. My approach has been to use python csv and sqlite modules. I am communicating with the database and creating one of the 2 tables. Second table has many more …

Member Avatar for wolf29
0
3K
Member Avatar for CodyOebel

in my code for what happens when I click on my MAIN BUTTON runs my function light hack. Inside my lighthack function is a for(;;) {} forever loop. Inside this forever loop is a break when a condition is met. The problem I am having is when I click on …

Member Avatar for Ancient Dragon
0
318
Member Avatar for ScubaSam

Hey people I'm in some dire need of assistance. I am writing this small website which uses a database to store some info. Always when I call up add.php from the html file it shows every thing I've typed in the php file. I know its something small but can't …

Member Avatar for diafol
0
494
Member Avatar for cobaltfive

I am a new user of c++ and not really clear on pointers and the like , I have tried to search the web for some reasonable explanation but they just don't make much sense to me still. I would like to know what I need to do to pass …

Member Avatar for cobaltfive
0
205
Member Avatar for Papa_Don

Group, I may have made a huge mistake repairing SQL Server Management 2008 Express. Here are the details: I'm running Windows 7 on a Toshiba Laptop. SQL Manager 2008 had been installed and was working fine. I had some registry errors popping up, so I ran ARO 2013 to do …

Member Avatar for Papa_Don
0
253
Member Avatar for sainisunil05

can someone please let me konw what is the error in this code, not getting expected output. #include<iostream> using namespace std; class myclass { public: int& num; myclass(int number) : num(number){} }; int main(){ int num1= 10000, num2 = 333; myclass mm(num1); myclass nn(num2); cout << mm.num << endl; cout …

Member Avatar for Moschops
0
95
Member Avatar for kshitij6857

what is difference b/w web development & web designing.In which we have better scope or income?

Member Avatar for Bob Hensley
0
292
Member Avatar for KRUX17

Hi, I'm having some issues with getting next data from the database, it seemed to be working before, but now it doesn't change the textfields to the next data just appends the data into TextArea1 and TextArea2, the other data TextField1 etc.. Doesn't even change, so I do not know …

Member Avatar for KRUX17
0
203
Member Avatar for farhaana.ahmed.58

import os import re import sys sys.stdout=open('f1.txt','w') from collections import Counter from glob import glob def removegarbage(text): text=re.sub(r'\W+',' ',text) text=text.lower() return text folderpath='d:/induvidual-articles' counter=Counter() filepaths = glob(os.path.join(folderpath,'*.txt')) num_files = len(filepaths) with open('topics.txt','r') as filehandle: lines = filehandle.read() words = removegarbage(lines).split() counter.update(words) for word, count in counter.most_common(): probability=count//num_files print('{} {} {}'.format(word,count,probability)) …

Member Avatar for slate
0
4K
Member Avatar for apnavarun

Hello everyone, I am trying to find out how facebook extract information like image, title and description of a webpage using open graph tags. Please share you knowledge or any working scripts, tutorial. Thanks

Member Avatar for veedeoo
0
345
Member Avatar for nitin1

int m= i++ || ++j && k--; where i=2, j=3, amd k=5; acooridng to me, it will be executed left to right and then values of m=1, i=3, j=3 and k=5. but i have seen that precednace of && is more than || , than so how this expression is …

Member Avatar for Banfa
0
311
Member Avatar for cisumma

Hello. I have a app designed to organize dir’s on on the C drive where it was created. XML is extensively used in the business logic and house cleaning etc. public static final String USERHOMEDIR = System.getProperty("user.home", "."); <linkPath> C:\Users\Steves\Documents\.targetGuide\admin_\admin\Note Folder\test\c drive test tab\index </linkPath> public static final String USERHOMEDIR …

Member Avatar for cisumma
0
344
Member Avatar for vani krishnan

We use to import packages in java like import java.util.*; import java.lang.*; import javax.swing.*; But, why is it javax for swing?

Member Avatar for jwenting
0
198
Member Avatar for Webville312

Hullo, I am working with a datepicker that allows users to enter a date schedule for given tasks. However, I want the dates that have passed to be disabled from the datepicker, so that the user only selects a future date. Here is what I am using currently; <script type="text/javascript"> …

Member Avatar for Webville312
0
6K
Member Avatar for klemme

Hi all, I am looking into PDO, as I want to learn how to use it for future projects. I am fairly new to OOP, but got the basics by now.. All though I cant get this database class to work : class Database { private $host = 'localhost'; private …

Member Avatar for jkon
0
201
Member Avatar for edwin.thomson1

I want to add a feature in which my website can translate from English to Hindi.. How it can done and there is any free script ?

Member Avatar for Szabi Zsoldos
0
2K
Member Avatar for sumangala

Hi all, bellow i m writing the code snippet which gives the error as Microsoft JScript runtime error: Object doesn't support this property or method, what to do.I m trying for jqgrid in asp.net with MVC without creating Helper. [CODE]<script type="text/javascript"> jQuery(document).ready(function() { jQuery("#list").jqGrid({ url:'/jqGrid/GridData/', datatype: 'json', mtype: 'GET', colNames: …

Member Avatar for atulsavaliya
0
254
Member Avatar for ddanbe

Many situations arise when you have to choose between two options: true/false, male/female etc. This short snippet will only allow two chars to pass through: capital 'Y' or capital 'N'. The Read and ReadLine methods can serve also, but have the side effect you have to use Upper and Lower …

0
250
Member Avatar for Hazuan Nazri

Hello Friends, lately I have found a few websites that use very beautiful background and its look like 3D, i see the background Like using 2 layers background, i just want too know the name of this type background and how can i make it, example java or flash. ONE …

Member Avatar for F-3000
0
306
Member Avatar for Junior Coder

Hello, I am trying to have a calendar in my site which should have below functionality: 1. Select a year from 2013 to 2023 from a given calendar. 2. Once a year is selected (ex-2013), 12 links displayed as Jan, Feb, Mar, Apr.... Dec. 3. Once a month is clicked …

Member Avatar for radhakrishna.p
0
165
Member Avatar for abra_ka_dabra

What is the difference between JDK and JRE? I know its silly to ask but i am shameless till i get my things get clarified... :D

Member Avatar for abra_ka_dabra
0
201
Member Avatar for davidjennings

Hi all I am experiencing the following error. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean givenit refers to line 94 which is the while loop start point. Thanks in advance D <?php $x=0; $remainder=0; $image_value = array(); $partners_id = array(); $description_value = array(); $url_value= array(); $image_filename_value = array(); …

Member Avatar for davidjennings
0
383
Member Avatar for Webville312

Hullo, I am working on a php application that is meant to respond to user requests to create accounts. For instance; whoever wants to create an account has to send a text with "Login" as the message content. Only problem is that the mysql queries are not being executed. Can …

Member Avatar for Webville312
0
174
Member Avatar for cussel

> hey guys, how to get min value in array 2D except value zero '0'and also key ? > i've try use min and array_filter function to solve it > can you help me?please Array ( [0] => Array ( [0] => 0 [1] => 6 [2] => 4 ) …

Member Avatar for iamthwee
0
312
Member Avatar for Osaid9

Hello i'm trying to display date in textfield this is my code: private void DateObjectActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: java.util.Date date=new java.util.Date(); this.DateObject.setText(date.toString()); olny the problem is the date will only show If i press a button I want it to display automatically when I …

Member Avatar for JamesCherrill
0
2K
Member Avatar for mitesh.24jain

I am using a script on a page due to which the style of dropdown , checkbox and textbox is applied on them, but if i put dropdown or any other tool inside the updatepanel than only when the page gets load script is shown to that tool but whenever …

Member Avatar for mitesh.24jain
0
1K
Member Avatar for seju

hello.. i have to need report...and i have to need dynamic select query from differnt table in php... and i have no idea about this..using if condition..but problem is that at time only fire one query... i have totally more that 5 select query how can i do it..? help …

Member Avatar for seju
0
256
Member Avatar for alaba81

**PLS HELP ME, design a digitally controlled washing machine that sets the wash temperature to 80degree celcius for cotten clothes 40degree celcius per quick wash and 1000 revolution for rinse and dry only using MICRO SOFT V. STUDIO 2010 c++ programming, PLS ITS URGENT!

Member Avatar for Lucaci Andrew
0
126
Member Avatar for shruti garg

how we can match the ans with database ans in online test and score wil be increment if the ans is correct

Member Avatar for krishnadaspc
0
135
Member Avatar for xxmp

Hello I want to sent mail and i am using this code public boolean sendEmail(String from, String to, String subject, String themessage){ boolean success=false; // Assuming you are sending email from localhost String host = "localhost"; // Get system properties object Properties properties = System.getProperties(); // Setup mail server properties.setProperty("mail.smtp.host", …

Member Avatar for jalpesh_007
0
160
Member Avatar for sherif.sobhy.37

$name = $_POST['name']; $image = $_FILES['image']; $location = $_POST['location']; $category = $_POST['category']; $username = $_POST['username']; //$imageData =addslashes (file_get_contents($_FILES['image']['tmp_name'])); $imageData =addslashes (file_get_contents("http://zbatny.info/HOOT/amsek/prob/5.jpg")); $image =$_FILES['image']['name']; $type=$_FILES['image']['type']; $file_tmp=$_FILES['image']['tmp_name']; if(!is_writable("../../images/")) echo('You cannot upload to the specified directory, please CHMOD it to 777.'); if(move_uploaded_file($imageData,"../../images/".$image)) { //Tells you if its all ok echo "The file ". …

Member Avatar for Meir David
0
352
Member Avatar for zerey02

.guys i'm starting a new project. an online examination using PHP and an online database phpMyAdmin. .the exam is consisted of questions which can be answered by choosing one of the four answers. what i want to do is either use dropdown menu or multiple radioboxes when picking answers. of …

Member Avatar for krishnadaspc
0
180
Member Avatar for debasishgang7

Hi All, Using pydbg I'm opening certain files(ex. c:\\myfile.txt) within a win32 application(Ex. c:\\notepad.exe) in this way. dbg = pydbg() dbg.load("c:\\notepad.exe", "c:\\myfile1.txt") So my question is, if the target application(Ex. c:\\notepad.exe) is already running then,then is it possible to open a another file(For example c:\myfile2.txt ) within the same application …

Member Avatar for debasishgang7
0
258
Member Avatar for Maideen

hi. i have a problem in printing the report to printer. Now i can print the php reports, but it will open both printer dialog and page together. But I need only one to printer dialog box. Pls help me Below my code Connection database ` <?php try { $hostname …

Member Avatar for LastMitch
0
317
Member Avatar for alaya
Member Avatar for anisha.silva

Hi I create a application in netbeans, and in one web service method it return a List. @WebMethod public List searchByAuthor(String author) { return bookBean.listByAuthor(author); } above is the code. When i right click the web service and click 'Test Web Service' and test the ListByAuthor it gives me an …

Member Avatar for LastMitch
0
218
Member Avatar for G_S

Hy, I have a beginner question: when using PyDev should all my programs be inside a package or not?

Member Avatar for G_S
0
121
Member Avatar for ariel.cepeda.35

ys! I'm developing a software for a furniture company for keeping furniture cost to date.I'm Saving cost with the quantity and unit price for each material and keep them up to date by updating the material's unit price.For example: A chair need 3 Gallons of Thinner at $5,but today the …

Member Avatar for Eternal Newbie
0
326
Member Avatar for ogsirus

Hi all, Im want to create a program for myself which will search my directories for ebooks and let me select the one i want to read. So for instance my first form has a button for C# Books, I want that then to produce a list of books found …

Member Avatar for tinstaafl
0
241
Member Avatar for Reverend Jim

Thanks to diafol for putting me wise to the imdb api. Unfortunately, due to my ignorance of all things related to web programming I am stuck. I fetch my information via the following Dim url As String = "http://mymovieapi.com/?title=@title&type=xml&plot=full&episode=0&limit=1&year=@year&yg=1&mt=M&lang=en-US&offset=&aka=simple&release=simple&business=0&tech=0" url = Replace(url, "@title", "Star+Trek") url = Replace(url, "@year", "1979") WebBrowser1.Navigate(url) …

Member Avatar for Reverend Jim
0
338
Member Avatar for while(!success)

Hey guys, I've been tearing my hair out for some time trying to figure out why my jquery has suddenly stopped working. The jquery script that I have written is fairly simple: $(document).ready(function () { $("#pTab").addClass("active"); $("#pBtn").click(function () { $("#pTab").addClass("active"); $("#gTab").removeClass("active"); }); $("#gBtn").click(function () { $("#gTab").addClass("active"); $("#pTab").removeClass("active"); }); }); I …

Member Avatar for while(!success)
0
371
Member Avatar for christinetom

Hi again everybody. Has anyone used tnFox Gui Toolkit? I've just looked at FLTK which seems to be perfect if you want to creat a small file size and easy to use. I'm exploring other options like this too. Is tnFox small in filesize. wxWidgets generates a rather big file. …

Member Avatar for christinetom
0
199
Member Avatar for suncica2222

Can someone coment this code in detail, I can't quite understand algorithm behind this? typedef struct node{ int x; int y; int value; struct node* row; struct node* col; }node; typedef struct matrix{ int height; int width; node** rowList; node** colList; }matrix; void insert(matrix** M, int row_index, int col_index, int …

0
143
Member Avatar for divakar.it

Hi, As part my developement I would like to keep all employees document stored in database table rather in folder. I dont want to store the files in folder and keep the file location in table so that get the file from the location. I tried my level best in …

Member Avatar for usiegd
0
643
Member Avatar for logicaweb

Hello, I need advice about making a PHP form and MYSQL base. First, I'll give an example of what I trying to make: I'm trying to make a MYSQL base of products, then to make new base of ingredients and then to make php form for Add new products and …

Member Avatar for diafol
0
340
Member Avatar for silvercats

If I write an asembly program to a one CPU, will it also run on the other brand? What CPU is faster?Intel or amd (let's say both are 2Ghz processors. )

Member Avatar for mathematician
0
129
Member Avatar for sk8ergirl

Hi, I have class of student object with the String student name and double GPA they are stored in array. My GUI have button for sort by name and sort by grade. I want to sort the name and the grade and I want to sort it using Comparator, but …

Member Avatar for JamesCherrill
0
173
Member Avatar for Jorox03

I am trying to write some code to regex search against wide strings. The problem I am having is that the regex operations ( `regex_search` in particular ) does not take in wide arguements. Here is the snippet I am having trouble with: Function Header: void scan_filesystem( wpath const& f, …

Member Avatar for Jorox03
0
6K

The End.