199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mireya B.

Hello, I am using checkboxes for the users to choose one of the options given. My problem is, the checkbox does not uncheck after the data has been inserted into the intended spreadsheet. Means, I have to use command button with clearform instruction to clear the checkbox. How do I …

Member Avatar for kRod
0
400
Member Avatar for joshmac

I have a query in which I insert data with json_encode(), and I am trying to receive that data with json_decode(), however, I get an error message that is something like this: stripslashes() expects parameter 1 to be string, array given in I have this database table that has about …

Member Avatar for joshmac
0
610
Member Avatar for tanha

Hi, I have been reviewing and reading the docs for the VLCJ but unfortunately could not come to a conclusion of configuring and running it correctly. It is appreciated if someone placing an example, snippet or tutorial of that.

Member Avatar for tanha
0
2K
Member Avatar for gogs85

Dears, how to get div or content informations text and pictures from another website and show in my webpage? Please help!

Member Avatar for mrvijayakumar
0
243
Member Avatar for nazmule27

Foloowing is my out put of data, Now I need to show in label the 'amout' and 'trxID'. Please help me. { "transaction": { "amount": "29", "counter": "1", "currency": "BDT", "receiver": "01811700563", "reference": "a", "sender": "01711643998", "service": "Payment", "trxId": "270413065", "trxStatus": "0000", "trxTimestamp": "2013-07-02T00:00:00+06:00" } }

Member Avatar for mrvijayakumar
0
179
Member Avatar for ComputerFirstAde

Hi Guys, the project im currently creating is a basic form with calculations, which all works great, my task now is to save the form data (labels, textbox data etc) to a word document, now i have achieved it to do this, but i had to specify the name of …

Member Avatar for BigFatMama
0
410
Member Avatar for adity

could any one please help me with the code for creating a MS word document from a record that already exists in the database using vb.Net coding.. thank you in advance

Member Avatar for BigFatMama
0
272
Member Avatar for game06

error: No resource identifier found for attribute 'entriesValues' in package 'android' line: <ListPreference error: Error: No resource found that matches the given name (at 'entries' with value '@strings/list'). line: anroid:entries="@strings/list" error: Error: No resource found that matches the given name (at 'entriesValues' with value '@strings/lValues') line: android:entriesValues="@strings/lValues" res > xml …

Member Avatar for peter_budo
0
354
Member Avatar for klemme

Hi all, I would like to get my head around how I can create a singleton db pattern. What I have now works though, but as I know its not a singleton - My idea is this: * I would like a class that holds all config information and them …

Member Avatar for pritaeas
0
389
Member Avatar for ddanbe

Could one be preferred over the other in terms of performance? Both option have to traverse the whole array somehow to find out which string contains an 'a'. Or does it not matter much and is it just a syntax thing. Or are there better ways to do this? All …

Member Avatar for Ketsuekiame
0
286
Member Avatar for TheSubby

Following this [tutorial][1]: I have created a WP8 Mobile Application and trying to call my WCF web service. When calling the WCF service in the browser, I can see the JSON returned with no problems at all. However, when I call the WCF service in my mobile application, I don't …

Member Avatar for Ketsuekiame
0
269
Member Avatar for Franze

Hi, I have 2 different applications(Application 1 and Application 2) that have a critical area of code where only 1 application can be a time. The solution I have come up with is to use a lockfile so the application knows about when the other application is in the critical …

Member Avatar for Ketsuekiame
0
3K
Member Avatar for Webville312

Hullo, I have hit a snag when I got to the point where I draw a bar graph. I want to have a bar graph based on the database records, but I have no idea on how to do it. I tried searching online, but to no avail. I only …

Member Avatar for broj1
0
553
Member Avatar for mangel.murti

i am building a message system for website.i have two table one store user_detail and other store message sent to each other users. you can see main.jpg file where inbox sent etc.. will be display and action takes accordingly. $query='select m1.id, m1.title, m1.timestamp, count(m2.id) as reps, user_detail.user_id as userid, user_detail.username …

Member Avatar for diafol
0
139
Member Avatar for oliverven.quilnet

i installed alchemyAPI with python 2.7 on the desktop and it runs perfectly but when i saved the file to a live server whenever i try running the example files on aclemy i got the error. "Syntax Error near unexpected token `('" I checked the syntax python syntax and its …

Member Avatar for Unimportant
0
469
Member Avatar for Jahliah

Is it possible to simplify the codes below by using while loop? Match firstMatch1 = matches1[0]; Match firstMatch2 = matches1[1]; Match firstMatch3 = matches1[2]; Match firstMatch4 = matches1[3]; Match firstMatch5 = matches1[4]; Match firstMatch6 = matches1[5]; Match firstMatch7 = matches1[6]; Match firstMatch8 = matches1[7]; Match firstMatch9 = matches1[8]; Match firstMatch10 …

Member Avatar for Jahliah
0
124
Member Avatar for AmrMohammed

Greetings, I want to get all the last written files in a specified directory based on date and copy them to another directory.

Member Avatar for tinstaafl
0
166
Member Avatar for Fangling

Hi, i have this query: cmd.CommandText = "SELECT DISTINCT PaperNo,ModuleCode1,ModuleCode2,ModuleCode3, ModuleCode4, ModuleCode5, ModuleCode6, ModuleCode7, ModuleCode8, ModuleCode9 FROM(PapersList)ORDER BY PaperNo ASC" and i have this code to loop: Dim dt3 As New DataTable dt3.Columns.Add("AdminNo", GetType(String)) '/*Add column AdminNo dt3.Columns.Add("PaperNo", GetType(Integer)) Dim curmodule As String = String.Empty For Each dr2 As DataRow …

Member Avatar for Fangling
0
2K
Member Avatar for Jahliah

I have the following codes and I'm not sure if there's a better or easier way of doing it? Any help appreciated. Thanks! MatchCollection matches1 = Regex.Matches(txt_description.Value, @"\d{2}:\d{2}:\d{2}"); Match firstMatch1 = matches1[0]; Match firstMatch2 = matches1[1]; Match firstMatch3 = matches1[2]; Match firstMatch4 = matches1[3]; td1.InnerHtml = firstMatch1.Value; td2.InnerHtml = firstMatch2.Value; …

Member Avatar for Jahliah
0
153
Member Avatar for lockdon

I have a python script that take raw_input, stores in a varible and then uploads the input to a database. Iwant to use javascript to create the web front end for this(which I have) but I need toknow how to tie the two together. Any help would be great

Member Avatar for bgeisel1
0
272
Member Avatar for Klahr_R

A simple timer for Excel VBA Excel VBA does not have a timer control. The alternative is to use the Timer() Function, and that leaves much to be desired. This code should be placed in a code module. My need was to tend to an abandoned program that was waiting …

Member Avatar for Bloodseeker
0
3K
Member Avatar for metaface

Hello, I am familiar with the get_defined_functions() function as a way of listing all of the user defined functions. Is there a way with PHP to also determine from which file the user function was defined? Consider the following example. Assume there are three files: - index.php - user_functions1.inc.php - …

Member Avatar for veedeoo
0
265
Member Avatar for Fangling

i have dt1 from a query cmd.CommandText = "SELECT DISTINCT AdminNo, ModuleCode FROM(SEGDATA)ORDER BY AdminNo ASC, ModuleCode ASC" Dim dt1 As New DataTable dt1.Load(cmd.ExecuteReader) DataGridView1.AutoGenerateColumns = True DataGridView1.DataSource = dt1 another query dt2 cmd.CommandText = "SELECT DISTINCT PaperNo,ModuleCode1,ModuleCode2,ModuleCode3, ModuleCode4, ModuleCode5, ModuleCode6, ModuleCode7, ModuleCode8, ModuleCode9 FROM(PapersList)ORDER BY PaperNo ASC" Dim dt2 …

Member Avatar for Fangling
0
137
Member Avatar for Frank_5

//Author: Frank R. Mendez //Title: Object Oriented Bubble Sort //Description: Accepts an int array element to sort using bubblesort in ascending order #include <iostream> using namespace std; class BubbleSort { public: void bubble(int arr[], int size); void driver(); void display(); int arr[50]; int array_size; int temp; }; void BubbleSort::driver() { …

Member Avatar for mike_2000_17
0
4K
Member Avatar for TexITTech

This code is the javascript for only one part of the site that I am creating for work. What I need this to do is accept input from the user about information that must be approved at a later time. the information is set in a form and needs to …

Member Avatar for theHop
0
340
Member Avatar for frenchfrog

Hello ! I'm trying to do a similar thing as http://www.daniweb.com/software-development/python/threads/392697/calling-matlab.m-file-from-python. I managed to have Matlab launch, and run my Matlab file as the GUI of my matlab function is shown on screen. However it only stays on screen for 1 second, and Matlab closes ! import subprocess as sp …

Member Avatar for Gribouillis
0
2K
Member Avatar for dany12

I have strated this thread so that we can all share our favorites ide's for PHP My personal favorites are : Notepad++ Netbeans PHP Aptana OK share your favorites and see who will win you can add any php editor you like mac linux android windows it dosen't matter Let's …

Member Avatar for diafol
0
192
Member Avatar for dalebryant76

IF I wanted to change the text inside of a RichTextBox on the click of a button. What code do I need? So far I have: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click RichTextBox1.Text(???? What goes here? because I'm getting Property access must assign to the property …

Member Avatar for dalebryant76
0
197
Member Avatar for subrata_ushasi

Hi , I have an website from where I want to view image using any image viewer . Images are uploaded in cloud server from where I want to show images by clicking on a link . Images are downloaded but taking much time . What I want is to …

Member Avatar for almostbob
0
195
Member Avatar for kedxu

The setSize() method of a Frame only resizes the frame itself, not the canvas inside. Is there a way to resize a frame based on what size you want the interior to be? I made this image to explain what I'm talking about: I used setSize(500,500); http://oi44.tinypic.com/4uymur.jpg I suppose I …

Member Avatar for kedxu
0
181
Member Avatar for kedxu

If I am given the exact coordinates of three vertices in image-space (as in, the numbers are not integers, but can be rounded to find their location on the screen), how can I determine which pixels are inside the triangle and should be colored? If you look at the diagram …

Member Avatar for kedxu
0
421
Member Avatar for shujat132

I am working in a dataware house and few things are not clear to me that is why I wanna discus here. For example, I have 10 MS Access files, and each of they have more than 5000658 number of rows, and data is in such a format like **Plz …

Member Avatar for shujat132
0
295
Member Avatar for SnehalBPatil

Hello I am working on project In django(Python web framework) where I want to call matlab file(.m ) file from the server. I tried subprocess module from the python [CODE]>>> p = Popen("/Applications/MATLAB_R2009a.app/bin/matlab.exe -nojvm -nosplash -nodisplay -r /home/spatil/LineShapeKin_Simulation_4/LineShapeKin_Simulation_4.1/Matlab_code/Simulate.m",stdout=PIPE)[/CODE] But its giving me following error [CODE]Traceback (most recent call last): File …

Member Avatar for Gribouillis
0
2K
Member Avatar for ram619

Hello, This code is from "Test Your C Skills" Book. In the book they have mentioned that this code won't work, and thats true. But I am not able to understand, why its not working. Please explain why it gives error. #include<stdio.h> #define SWAP(a,b,c) c t;t=a;a=b;b=t; int main() { float …

Member Avatar for ram619
0
195
Member Avatar for paine_today

Currently I am using this script (http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html) on my website - www.tompainetoday.com. It works when you hover your mouse over a "Trending Now:" term, then that word is highlighted throughout the page. The highlighting is removed when you hover over the header image (yes, I know, poor UX, but it …

Member Avatar for pritaeas
0
246
Member Avatar for MasterHacker110

I am trying to find a scripting language for some simple tasks etc... I tried python - dont like the whitecpace thing. Ruby - just a weird language. Javascript on the other hand has syntex that I like - C/C++/C#/Java like - and it uses curley braces. But the draw …

0
85
Member Avatar for arthur5645

i am trying to create acalcultor using a c++ program that uses mode. would you please show me how to create a calcultor that uses the mode function using a switch a statement

Member Avatar for rubberman
0
141
Member Avatar for xXdragon15Xx

Hey, I'm very new when working with %userprofile% ect, The code I have now is. When I press the button VB tell me It cannot find the directory. Please note I've tried %Userprofile%, %userprofile% Nothing will work :/ What's wrong? And How do I go about fixing this. Private Sub …

Member Avatar for xXdragon15Xx
0
2K
Member Avatar for kedxu

So I have a PrintWriter as a class variable which is created upon initialization. I want to make sure it gets closed when the Applet closes, but overriding the destroy() method doesn't seem to work (a System.out.println inside the method does not appear). 1. should I be doing this in …

Member Avatar for kedxu
0
223
Member Avatar for kedxu

Right now I know that Applets can add any listener with the addMouseListener() method. But what I want to know is if I can make my custom class a mouse listener without having an Applet add it itself.

Member Avatar for kedxu
0
95
Member Avatar for archangel1177

So what I am trying to do is copy a row of information when an item in the 'k' column which will say 'recieved'. So what my code needs to do is copy the row of information on that row that says 'recieved' to sheet 2 and then remove it …

Member Avatar for archangel1177
0
206
Member Avatar for MonsieurPointer

Hello everyone, I have a 2D array as follows: `double cornerPoints[4][3];` which is used to determine the four corners of a 2D bounding box of a curve. However, since I do not know how many curves are to be processed, I would like to dynamically allocate memory, knowing that the …

Member Avatar for MonsieurPointer
0
195
Member Avatar for JohnKelly

Dear all I have a private MSMQ on a server in workgroup mode (SBS 2011) On a client I can see the queue using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(servername) and am able to read the name of the queue. I am able to write to the queue but am unable to retrieve anything from …

Member Avatar for Begginnerdev
0
139
Member Avatar for klemme

Hi all, How come this class doesnt connect to the database..? class credentials { private static $config = array(); const DB_USER = 'root'; const DB_PASS = ''; const DB_HOST = 'localhost'; const DB_NAME = 'dev_dcs'; public function __construct() { self::$config['user'] = self::DB_USER; self::$config['pass'] = self::DB_PASS; self::$config['host'] = self::DB_HOST; self::$config['name'] = …

Member Avatar for klemme
0
169
Member Avatar for Rahul47

Hi friends, recently i am learning php with your help and online tutorials. I googled for anatomy of GET and POST but didnt find satisfaction. So what is working behind GET and POST Methods ? How they work between client(browser) and Server ? Thanx.

Member Avatar for Rahul47
0
536
Member Avatar for bradly.spicer

Hey guys, Got this wordpress script which is bugging out for me :/ function JobBoard_admin_add() { ?> <div class="wrap"> <?php $con=mysqli_connect("localhost","profiled_job","","profiled_jobboard"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $sql="INSERT INTO details (Employer, LearningProvider, ContractedProvider, LearningDeliverySite, VacancyDescription, VacancyTitle, EmployerDescription, VacancyLocation, NoVacancies, VacancyRefNumber, …

Member Avatar for broj1
0
249
Member Avatar for nchy13

This is the code which put an extra line to the std::string array. I am here trying to print last k lines of file. Any help is appreciated. #include <iostream> #include <fstream> #include <string> using namespace std; //file.exceptions(ifstream::eofbit | ifstream::failbit | ifstream::badbit); void print_last(unsigned k, string file_name) { string *data=new …

Member Avatar for nchy13
0
825
Member Avatar for Dennis_1

I know this is gonna be an easy fix, but I can't see it! Why won't this work? import java.util.Scanner; public class Elevator { public boolean doorOpen=false; public int currentFloor = 1; public final int TOP_FLOOR = 5; public final int BOTTOM_FLOOR = 1; public static void main(String args[]) { …

Member Avatar for murali2489
0
135
Member Avatar for lena1990

hi all i want to ask you how to connect java to remote ms access in another computer thanks in advance

Member Avatar for lena1990
0
236
Member Avatar for uncat_myself

I have table which has the table field name: - Start Date - Duration Count (e.g. 1, 2 or 3) - Duration Name (e.g. Daily, Monthly, Yearly) - End Date How do I code in PHP to calculate the end date from a particular start date? E.g. The start date …

Member Avatar for diafol
0
348

The End.