199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for akshayg

after writing a c program and running it,it shows that fatal error:abort(programcollect2).......i have correctly installed codeblocksmingw version......but not compiling

Member Avatar for tinstaafl
0
63
Member Avatar for jason.okoka

i want when a category is selected, the user only gets the product of that paticular category. here is my code ajax_listbox.php <html> <head> <title>Demo of List box selection and displaying matching records</title> <script type="text/javascript"> function ajaxFunction() { //document.writeln(val) var httpxml; try { // Firefox, Opera 8.0+, Safari httpxml=new XMLHttpRequest(); …

Member Avatar for rch1231
0
211
Member Avatar for colby.christensen

I have been teaching myself Python and wanted to create something useful while learning. I am using wxPython to create the interface. The app works if I use the mouse to click the buttons. I've been trying to get it to recognize operation key-ins like addition using the num pad …

Member Avatar for colby.christensen
0
691
Member Avatar for tig2810

Hello, I was looking for some help with the below query. I need to only return the first 'Carton.CartonNumber'. I tried adding something like ( Select Min(Carton.CartonNumber) as FirstCarton from Cartons group by Carton.ID) dispite much Googling but cant get it right because of all the other joins confusing me. …

Member Avatar for dinesh.isuranga
0
380
Member Avatar for Baldwin_1

I tried to change the Local Group Policy settings (Remove computer icon on dekstop, Removes windows explorer's default context menu, etc.) using the registry. The state in Group Policy(enable/disable) does affect but the actual(removing computer icon, no context menu/right click) does not. I've found a thread [here](https://social.technet.microsoft.com/Forums/windows/en-US/12e9f5a5-1433-4580-a140-10b3ec463f58/how-to-apply-registry-setting-immediately?forum=w7itproperf) that to use …

Member Avatar for Baldwin_1
0
334
Member Avatar for Christian Felix

where and how do I add array statement and ofstream? #include <iostream> using namespace std; int main(int argc, char** argv) { int size, crust, flavor, extra, order=0, total=0; cout<<"Good day! Welcome to Don Rogelio's Pizza. \n"; do{ cout<<"\nPizza size: (1)Small (2)Medium (3)Large :"; cin>>size; cout<<"\nPizza Crust: (1)Thin Crust (2)Regular Crust …

Member Avatar for tinstaafl
0
174
Member Avatar for Papa_Don

Group, I'm trying to import an EXCEL table into an SQL Server Table. Although new to SQL, I've done it several times. However for the first time I'm having to import a column that is a date. I'm not sure how the EXCEL column should be formatted so that it …

Member Avatar for David_Fisher
0
394
Member Avatar for Nova6112

i am implementing Google Drive in Android with Java code i didnt use Android formats, i just created client id and i used in Manifest <meta-data android:name="com.google.android.apps.drive.APP_ID" android:value="id=344123456789"/> and my code to create folder is credential = GoogleAccountCredential.usingOAuth2(this, Collections.singleton(DriveScopes.DRIVE)); credential.setSelectedAccountName(accountName); service = getDriveService(credential); java.io.File fileContent = new java.io.File(path); FileContent mediaContent …

0
148
Member Avatar for SagarSe7en

Hello All, I am currently working on developing an authentication system. Below are the details: This code inserts the details (username and password) to the database. the password is hashed and stored in the db package org.controller; import java.io.IOException; import java.io.PrintWriter; import static java.lang.System.out; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; …

Member Avatar for SagarSe7en
0
384
Member Avatar for shantanu534

i want to solve this problem>>After that the code will select a random problem for you from my problems database based on your previously solved problems, your skills and your weaknesses. But while I was coding for implementing this great idea, I found that, all of my problems are scattered …

Programming
Member Avatar for tinstaafl
0
917
Member Avatar for JosesMelo

Hello, Is there any limitation for the length of array variables in C++? Can I specify the length as wanted or is there any limitation for the array length? What should be the array length, if the length is not known. wchar_t commandString[10000]; Cheers

Member Avatar for rubberman
0
292
Member Avatar for hallianonline

i have an access database with table relationships, queries and i want to convert into mysql is there any free software that can help me to do it, i searched for MySQL workbench but its not opening in windows 7 64-bit

Member Avatar for diafol
0
337
Member Avatar for AleMonteiro

Hi, I recieved an VB.NET solution to study and then maintain, but I can't compile it, it's giving a lot of errors about Office integration like **'MsoTriState' is ambiguous in the namespace 'Microsoft.Office.Core'** So I checked the object browser and indeed there's the same object in two diffente namespaces: [Microsoft.Office.Core] …

Member Avatar for AleMonteiro
0
2K
Member Avatar for rouse

In this HIML I am flipping an icon on a hover using CSS3 transform. When this HTML is run, the hover is contained in the vertical dimension but not in the horizontal dimension. I wonder if anyone know why? <!DOCTYPE html> <html> <head> <title>Flip Card Demo title</title> <meta charset="UTF-8"> <meta …

Member Avatar for rouse
0
246
Member Avatar for janicemurby

hi i have followed a friends tutorial for my website and all is working upon production but when im attempting to add it to my site im having problems getting the following to show up in my page none of the links in the php block are showing up ive …

Member Avatar for janicemurby
0
248
Member Avatar for taylor0934

Hi, I needed some assistance on this program I am working on. First its about putting airplanes into gates, if no gates are open the print airport full. Right now mine simulates all the arrivals and departures. I show it put it will change when I implement the Stack. The …

Member Avatar for David W
0
1K
Member Avatar for Eskindir_1

I'm trying to to find elements into an array and look for the same elements into another array and i'm trying to assign the same ones with a 'y' for yes and 'n' for no, here is the code i did, but the code only reads it index by index, …

Programming c++
Member Avatar for Nutster
0
272
Member Avatar for Shoaib_6

In below program both **if statements gives an error** #include<iostream> #include<conio.h> using namespace std; class operation { int bank_id,balance; public: int input() { cout<<"enter the bank_id "; cin>>bank_id; cout<<"enter the balance "; cin>>balance; } operation operator ==(operation p) { operation b1,b2; b1.bank_id=bank_id+p.bank_id; b1.balance=balance+p.balance; b2.bank_id=bank_id+p.bank_id; b2.balance=balance+p.balance; if(b1==b2) { return b1; } …

Programming c c# c++
Member Avatar for Nutster
0
264
Member Avatar for Lau_1

Hello, i want to know, is there any way to force user can only select the address provided in dropdown list? Currently everything working well, but user can proceed without select the address from the dropdown list, can anyone help? Thanks in advance <input type="text" class="form-control" id="address" name="address" required> <script> …

Member Avatar for AleMonteiro
0
1K
Member Avatar for letters1417

Hello! I have to print patterns using '*' and I am at a loss how to get these patterns printed! I figured out the first one, * ** *** **** ***** ****** ******* ******** ********* ********** and now i have to do it upside down: ********** ********* ******** ******* ****** …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Stephen_13

I know this is really messy code but I am writing a Paint app in Java for a class and I'm getting an ERROR when I drag the mouse. MousePressed works properly (prints). MouseDragged, however, throws a NullPointerException. Please let me know what the problem is here. I'll put a …

Member Avatar for JamesCherrill
0
426
Member Avatar for alegatross

I am using C language to encrypt a text file and decrypt it by the means of an AES Algorithm. This algorithm can only encrypts characters if they are stated in the format of an unsigned character where a letter A is represented by 0x41. what i am trying to …

Member Avatar for alegatross
0
714
Member Avatar for James_43

Hi all, I currently have two tables that look like this: COMMENTS +----+-------------------------+--------------+---------+---------------------+----------+ | ID | comment | profile_post | creator | created | approved | +----+-------------------------+--------------+---------+---------------------+----------+ | 1 | This is a test comment | 3 | 1 | 2016-02-26 12:26:36 | 1 | | 2 | 0 | …

Member Avatar for Nutster
0
169
Member Avatar for steven.rose.94

what is my best approach to deal with negative floating values in Python3? I know I can remove the negative all together with strip but I'd like to return the negative result if possible Example the following code returns a math domain error due to the negative number: eps = …

Member Avatar for steven.rose.94
0
347
Member Avatar for FarrisFahad

I want to integrate PayPal IPN and payment getaway on my website. I want my website users to be able to sell ad space through my website using PayPal. I want the payment to be from my user (Advertiser) to my user (Publisher). Here is what I have done so …

Member Avatar for FarrisFahad
0
352
Member Avatar for jodytj

;I am using: ;gcc (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3 ;g++ (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3 ;I keep getting the following error: ;ch4p5.s:13: error: parser: instruction expected ;ch4p5.s:15: error: parser: instruction expected ;How do I fix it? ;Here is what I have: %include "macros_windows64.s" .MODEL SMALL .STACK 100H @DATA: PROMPT_1 db 'Enter the hexadecimal number …

Programming assembly ubuntu
Member Avatar for rproffitt
0
10K
Member Avatar for Faile

I'm trying to figure out how to make the following code work: <ul> <li id='anvil1' class='locked' onclick='anvil1.countCheck("anvil1", "defense", 10, event.button);'>+10 Defensive Ability</li> <li id='anvil4' class='locked' onclick='anvil4.countCheck("anvil4", "[\"defense\", \"constitution\"]", [10, 20], event.button);'>+15 Defensive Ability <br />+20 Constitution</li> </ul> These links are accessing methods from the the star object. I need the …

Member Avatar for diafol
0
3K
Member Avatar for mariamalfarsi

Write program that reads an integer array until -1 is entered. It asks the user to enter starting and ending subscript of the array (index number). The main will call a recursive function that takes an integer array, a starting subscript and an ending subscript as arguments, and returns the …

Member Avatar for rubberman
0
144
Member Avatar for JosesMelo

Hello, I have 2 **wstring** variables: std:wstring first =L"Jose"; std:wstring second = L"James"; How can I combine these variables: first + second gives an error in Visual Studio. Cheers

Member Avatar for rubberman
0
4K
Member Avatar for manish812

hi thrr is no one who can help me this is the prog which when i run faces problem of session. [B][U]session_start(): Cannot send session cookie - headers already sent [/U][/B] pls plssssssssss help me to solve the problem below is the code any one this is simple prog but …

Member Avatar for Putu_1
0
775
Member Avatar for Shreyas_2

i want to count the checkboxes i putted in my project when they get selected and they cant available again when they get stored in mysql plz rply me on shreyasmnt@gmail.com

Member Avatar for 2teez
0
123
Member Avatar for Centorpe

I have a series of activities the last of which holds results. I have 'Send to Printer' button which needs to send these results to a wireless printer. Can anyone give me an example of doing this? I''ve trawled the web but there seems to be very little on this …

Member Avatar for rproffitt
0
349
Member Avatar for saswati_mishra

Hi, I am writing a code to dynamically create a table and then add delete and modify records. The table is created from an existing database table. How ever the add and the deleting of records is not wrking. I think there is some error in the query statements. Please …

Member Avatar for gentlemedia
0
1K
Member Avatar for janicemurby

Hi im wondering if someone can guide me where to go im looking for a system where a user can stop another user contacting them via message system on my site ive search ignore user and block user but there is nothing for custom built sites only things like word …

Programming cms php seo
Member Avatar for janicemurby
0
170
Member Avatar for divinity02

hi i am practicing this program here and i am outputting zero. trying my best where is the error here is the code double fed_tax = 0, state_tax = 0, hrswrk, payrate=0, gross_salary = 0; double hrlyrate=0; System.out.println("hi please enter your first name"); String firstname = userinput.next(); System.out.println("hi please enter …

Programming java
Member Avatar for JamesCherrill
0
239
Member Avatar for Mir_1

<?php if (isset($_POST['import'])) { $fname = $_FILES['patientcsv']['name']; echo 'upload file name: ' . $fname . ' '; $chk_ext = explode(".", $fname); if (strtolower(end($chk_ext)) == "csv") { $filename = $_FILES['patientcsv']['tmp_name']; $handle = fopen($filename, "r"); $i = 0; mysql_query("START TRANSACTION"); while (($data = fgetcsv($handle, filesize($fname), ",")) !== FALSE) { if ($i > …

Member Avatar for hericles
0
345
Member Avatar for snash

I am new to all this VB coding so kindly assist. Here is the question: Given that an employee earns an arbitrary basic salary, write a program to calculate the employees net salary given that the deductions are specified as follows: NSSA contribution is calculated at 7% of the gross …

Programming vb.net visual-basic
Member Avatar for rproffitt
0
3K
Member Avatar for James_43

Hi all, I am running a mySQL database on a webserver hosting multiple Wordpress installations. It seems that database is getting swamped with memory and going into a continual loop of shutting down and restarting. A reboot fixes the issue temporarily, but I have no idea what I can do …

Member Avatar for James_43
0
542
Member Avatar for cjhukill

I am attempting to add a custom function to my schematron rule stylesheet to aid in looking up values in code tables. I continue to receive an error message: 'XPST0017 XPath syntax at char 0 on line 545 near (...ookupExpression('SEX'): Cannot find a matching 1-argument function named (functions:1.0)BuildLookupExpression())' At the …

0
182
Member Avatar for Mar. Na.

Hi ,all.. How can i read more than one java file but ,without repeating the section of bufferedreader in every time i read file!!....so if i have 20 file ...this way is unpractical?? for example: this code: public class buffer{ public static void main(String[]args) throws IOException { String filname1= "C:/filename/filename1"; …

Programming java
Member Avatar for Mar. Na.
0
275
Member Avatar for Tameat614

Hello, I am unable to fetch and display images in my wordpress blogs as its shortlinked by IFTTT in format "http://ift.tt/22lveRw", can someone please help me out with this, the follow code does fetch the image if its in normal format i.e "http://i.imgur.com/Z2aGVEl.png", what changes do i need to make …

Member Avatar for rproffitt
0
270
Member Avatar for imagetvr

I wish to print invoice using printer.print method ( using USB dot matrix printer in continous paper) Some invoice contain 6 lines, some 15 lines. Now afer printing 5 lines printer ejectng paper. so paper waster ( paper width 5 inches, continous paper). I wish to top printing after printing …

Member Avatar for Santanu.Das
0
920
Member Avatar for leonesa

log in password: Welcome! (1) Add (2) View (3) Search (4) Exit Choice: Add Employee Record Input no. of Employee: the system is now ready to accept_ employee records press any key to continue...... Add Employee Record Employee Name: Year of Service: Numeric Rate: Adding_Employee Record Successfully Done! Back to …

Programming c++ seo
Member Avatar for Reverend Jim
0
251
Member Avatar for AntonyRayan

Hi, While printing , the color what I gave in the box , is not coming while printing. How to fix the color

Member Avatar for cereal
0
137
Member Avatar for -ordi-

[CODE]# -*- coding: utf-8 -*- from PyQt4 import QtGui from PyQt4.QtCore import * import sys import os class VideosToMp3(QtGui.QWidget): def __init__(self, parent = None): super(VideosToMp3, self).__init__(parent) ''' Labels and GUI ''' extension = QtGui.QWidget() download_label = QtGui.QLabel("Enter YouTube video URL:") self.download_line_edit = QtGui.QLineEdit() file_label = QtGui.QLabel("Enter file name (optional):") self.file_line_edit …

Member Avatar for Ha
0
638
Member Avatar for mpdph09

I am working with C# windows application. I am using split container to display image in picture box in the first panel(with scroll bar(50% of the the picture can be seen only by scrolling down)) and data entry fields in the second panel. One field will always be at the …

Programming c# image microsoft
0
323
Member Avatar for mpdph09

I am working with windows application, I have pictureBox to load image from the directory. I am trying to get some idea how can I display magnified image of particular area depending on the coordinates of that specific area on textbox focus.

Programming display file-system image
Member Avatar for mpdph09
0
471
Member Avatar for nikhil_7

Hello, I'm new to perl and I'm trying to compile a perl code that I downloaded from web. I'm getting the below error. -------------------------------------------------------------------------------------------------------------------------- Can't locate docs/perlmod/DoxyDocs.pm in @INC (you may need to install the docs::perlmod::DoxyDocs module) --------------------------------------------------------------------------------------------------------------------------- Where do I download DoxyDocs module from for linux? Please help me …

Member Avatar for 2teez
0
492
Member Avatar for Tcll

Basically, I'm working with zipimport to load plugins. These plugins contain binary modules which can only be loaded via retrieving their data. Copying them to a temporary directory is stupid, so how can I get a handle to a dynamic process which I can inject the stream into before it's …

Member Avatar for Tcll
0
329
Member Avatar for MidiMagic

I wrote a web page with one Russian word in it, using the Cyrillic alphabet character entity names (found in a list of all Unicode characters that I have). The page works fine in every browser I tried. But the W3C validator won't validate the page because the Cyrillic character …

Member Avatar for diafol
0
516

The End.