199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jiggle

I'm currently reading through a C++ tutorial, and for the most part it's going great - but I am slightly confused about the purpose of 'interface classes', and abstract classes. I don't understand why it is preferable to create a purely virtual base class, only to overwrite all of the …

Member Avatar for Sky Diploma
0
132
Member Avatar for kylelendo

Dear friends...I want to design an application that can open file of certain extensions For ex.There is a software called ARJ32 which can open file with extensions .a00 ,.a01...................,.a19. also there is application called apk emulator which can open .apk files So eve i want to design an application that …

Member Avatar for codeorder
0
451
Member Avatar for Leppie

I am creating an RPG with an in built clock, incrementing after every four moves. The clock is accessible by typing "time" to display the game time. I've also put in "sleep" which increments game time by 4 hours (time and sleep as inputs will not increment game time). It …

Member Avatar for Sky Diploma
0
158
Member Avatar for john_beginner

Hi all, I am beginner in android and, My question is i want to know where my SQLite database physically reside in my system when i create it as [code] SQLiteDatabase db = openOrCreateDatabase("MyDB1", Context.MODE_PRIVATE, null); db.execSQL("CREATE TABLE IF NOT EXISTS MyTable(LName TEXT,FName TEXT,No INTEGER PRIMARY KEY);"); db.execSQL("INSERT INTO MyTable(No) …

Member Avatar for john_beginner
0
90
Member Avatar for newbie14

Dear All, I got an application which have many sql select statement and some are done withing the outler select statement. The problem is that sometimes I get this error com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after statement closed.? What could be the cause is it because I am using the statements …

Member Avatar for JamesCherrill
0
154
Member Avatar for Rupindersingh

I was trying the following TSR which is supposed to capture interrupt no.8 and change screen color every 10 seconds. But either the linker shows a "not enough memory" error, or, nothing appears to happen. Also the program does not seem to be entering the function our(). Please help... [CODE]#include …

Member Avatar for Adak
0
432
Member Avatar for abders

[CODE]print "creating a text file" text_file = open("write_it.txt", "a") score = 5 name = raw_input("What's your name?: ") score = (score, name) text_file.write(score) text_file.close()[/CODE] getting TypeError: expected a character buffer object Please help. Thanks

Member Avatar for abders
0
993
Member Avatar for SCass2010

Hi everyone (again!!) Sorry for all the questions, but I was wondering if anyone could help me a bit.... I jknow a bit about passing command line parameters when running a C++ app on Ubuntu through the terminal. At the minute I have the app either running with no command …

Member Avatar for SCass2010
0
251
Member Avatar for Alex_

The project (JSF 2.0.6!) executes fine, some pages load with no problem, others don't. This is the full stack trace. If there is any code needed, ask for. org.apache.el.parser.ParseException: Encountered " "}" "} "" at line 1, column 9. Was expecting: <IDENTIFIER> ... at org.apache.el.parser.ELParser.generateParseException(ELParser.java:2215) at org.apache.el.parser.ELParser.jj_consume_token(ELParser.java:2097) at org.apache.el.parser.ELParser.DotSuffix(ELParser.java:1064) at …

Member Avatar for Alex_
0
513
Member Avatar for jhoey4736

hi experts.. i made a visual basic program.. and i want to make an installer for this.. .can you help me?? please.. thanks..

Member Avatar for opspl_programme
0
173
Member Avatar for aldeene

why this code is not working?, error: non-static variable jTextField1 cannot be referenced from a static context [CODE]try{ Connection con = DriverManager.getConnection("jdbc:mysql://localhost/sample", "", ""); Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("SELECT name FROM testtable"); while (rs.next()){ String n = rs.getString("name"); jTextField1.setText(n); } stmt.close(); con.close(); }catch(Exception e){ [/CODE]

Member Avatar for aldeene
0
139
Member Avatar for cgull

Hello, I have a new website that I have created, and when I test it and submit the contact form I get this error: Warning: Cannot modify header information - headers already sent by (output started at /home/breadan1/public_html/clunyanimaltrust.za.org/index.php:7) in /home/breadan1/public_html/clunyanimaltrust.za.org/content/fgcontactform.php on line 143 I googled it, tried everything that I …

Member Avatar for cgull
0
497
Member Avatar for luofeiyu

[code] from Tkinter import * fields = 'Name', 'Job', 'Pay' def fetch(event,entries): for entry in entries: print 'Input => "%s"' % entry.get() # get text print event.widget def makeform(root, fields): entries = [] for field in fields: row = Frame(root) # make a new row lab = Label(row, width=5, text=field) …

Member Avatar for Tech B
0
239
Member Avatar for pxndx

where can i find information about creating a Website Manger of content? kinda like wordpress but simple

Member Avatar for cgull
0
147
Member Avatar for Anuradha Mandal
Member Avatar for AndreRet

I have been so stupid to hit go at the bottom after I added a new user, deleting all users including root. I have re-installed xampp twice, tried to change the password via the xampp security, still with no success. xAmpp loads perfect on [url]http://localhost[/url], phpMyAdmin though shows the following …

Member Avatar for WebStudio
0
2K
Member Avatar for Thisisnotanid

Hi all, I'm new to web development and am experimenting with different things; one of which would be creating a visually appealing "drop-down" menu. I had a simple CSS selector setup before but I opted for a JavaScript solution instead, making the change for the greater flexibility which the approach …

Member Avatar for Thisisnotanid
0
243
Member Avatar for sachintha81

I have a WPF C# program where I attempt to delete certain characters from a text box at TextChanged event. Say, for instance, the dollar sign. Here is the code I use. [CODE] private void txtData_TextChanged(object sender, TextChangedEventArgs e) { string data = txtData.Text; foreach( char c in txtData.Text.ToCharArray() ) …

Member Avatar for Momerath
0
1K
Member Avatar for divyakprabh

Hi, I have a java appllication which has a query depending on the requirement, select EmployeeID, TransactionAmount from employee where EmployeeID IN ('E123','E234') group by EmployeeID; which works well in mysql, but for oracle a get an error like [Err] ORA-00979: not a GROUP BY expression Can anyone help me …

Member Avatar for arshadshabbir
0
417
Member Avatar for jovillanuev

Guys, I have a Date string. My objective is how to get the Datename. I got this Receivedate as string when I used the Bulk insert. i make the receiptdate as nvarchar because i got an error when i used the bulk insert. [CODE] Select ItemNumber, PurchasePrice, ReceivingPO, Cast(ReceivedDate as …

Member Avatar for jovillanuev
0
167
Member Avatar for rotten69

Hello everyone, I'm trying to make a small application that checks on submission if a user is human or not by just copying what's shown on a page and submitting it for validation. OK, I have a few errors with this piece of code and am unsure how to fix …

Member Avatar for kplcjl
0
182
Member Avatar for yash_shukla

there a form which has two text box one for name and other for age and a table containing 20 records of names and ages i want whenever form load the first value of name in table should automatically come in textbox and when we enter age and save it …

Member Avatar for kplcjl
0
108
Member Avatar for mijorog

So I have a database that stores when someone leaves and when they return to. dayleft dayreturned I need to do a query and also an cfif to see if a date selected is between these dates. test - selected date the Here is my long if [CODE] <cfif (datecompare(vactrue.dayreturned, …

Member Avatar for arrgh
0
1K
Member Avatar for zachattack05

I've done some research and it appears that Windows 7 is about tied with Windows XP users as far as current popularity (Vista seems to be a flop). My MSDN subscription includes access to multiple builds of various operating systems for "free" for development purposes. If my project is developed, …

Member Avatar for zachattack05
0
121
Member Avatar for Sorcher

[ICODE]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-userfile WHERE id='642' AND userid='459'' at line 1[/ICODE] This is the code [ICODE] $query = "SELECT * FROM ue-userfile WHERE id='$imageid' AND userid='$userid'"; $result = …

Member Avatar for Sorcher
0
70
Member Avatar for Raim

I've been working PHP in Dreamweaver. I've stumbled upon a problem though, the webpage itself runs smoothly in Internet Explorer 6.0, but when I try Firefox, Chrome, Safari, or even the latest IE version, it has certain errors such as not scrolling through the page, certain images jack into others …

Member Avatar for Raim
0
195
Member Avatar for Tornado Afterma

Hey what kind of programming language does the original playstation use? And where can I download it and some good tutorials? I just have one lying around and thought that it would be cool to make some games just 4 fun.

Member Avatar for Dr. Cooldude
0
152
Member Avatar for klemme

I have this while loop, and it is only returning the last row... Havent experienced that before, but here it is, looks fine to me? [CODE] <?php // NAVIGATION: $subjectset = mysqli_query($connection, "SELECT url, link FROM subjects ORDER BY id ASC"); while($subject = mysqli_fetch_array($subjectset)){ $url = $subject['url']; $link = $subject['link']; …

Member Avatar for klemme
0
171
Member Avatar for kapojian

hi in my program the users need to update his record every week. every week there will be a different food that will be given to him. i have a table where his info are saved, column week determine what week it is?(1 month = 4 weeks) i want to …

Member Avatar for lolafuertes
0
175
Member Avatar for R3ap3R

Hi there! I am busy creating a desktop application with Windows.Forms to display Twitter XML data inside a textbox on a form. The XML structure looks like this: [CODE] <statusses> <status> <text>...</text> <user> <name>...</name> </user> </status> <status> <text>...</text> <user> <name>...</name> </user> </status> </statusses> [/CODE] The problem is that with my …

Member Avatar for lolafuertes
0
100
Member Avatar for ankit.pandey3

[CODE]<?xml version="1.0" encoding="[CONTENT_ENCODING/]"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[LANG_CODE/]" lang="[LANG_CODE/]" dir="[BASE_DIRECTION/]"> <head> <meta http-equiv="Content-Type" content="[CONTENT_TYPE/]" /> <title>Micro Customer Care</title> <style type="text/css"> body { padding:0; margin:0; } </style> [STYLE_SHEETS/] <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="css/ie5-6.css"/> <![endif]--> <script src="js/chat.js" type="text/javascript" charset="UTF-8"></script> <script src="js/lang/[LANG_CODE/].js" type="text/javascript" charset="UTF-8"></script> …

Member Avatar for ddymacek
0
178
Member Avatar for MarkGia

I was wondering how can i make a working login form What have i to put for user nae and password Thanks in advanced Mark

Member Avatar for MarkGia
0
496
Member Avatar for earlybirdsean

What programming language is fit for shell scripting? And could you add a sample code of a shell?

Member Avatar for cfajohnson
0
196
Member Avatar for phaedrusGhost

Hi All, I am using a loop to display professionals and their data on a webpage. I have a "Recommend" button that is included in this loop and when clicked, displays a jquery POPUP form that will email the chosen professionals data. My trouble is, when I click the "Recommend" …

Member Avatar for ddymacek
0
163
Member Avatar for baby_c

:( Sorry the topic spelled incorrectly.. I can't edit it noe.. sorry for that Friends again need you so badly.. I'm developing my simple GIS application, actually here's what I developed so far.. [CODE] import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import javax.swing.BoxLayout; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; …

Member Avatar for baby_c
0
253
Member Avatar for pseudorandom21

Is there a built-in way to convert a string to an operator like + or - ? I get the feeling support for it isn't there but it's worth a try...

Member Avatar for ddanbe
0
90
Member Avatar for cppdeveloper

[size="4"][size="3"][font="Tahoma"]These are just some of the Arrays sizes i've used, many of them are inside a loop. [CODE] int ss[80000]={0}; char pres[64000]; int ith[4096][16]={0},ich[4096]={0},pres2[2500][16]={0}; int slf[4096][16]={0},slr[4096]={0},rh=0,crs[4096]={0},cri=0,moo=0,nb=0; int qlf[4096][16]={0},wlf[4096][16]={0},kd=0; int jlf[4096][16]={0},jlr[4096]={0},jrs[4096]={0},jri=0; int klf[4096][16]={0},klr[4096]={0},krs[1204]={0},kri=0; int vlf[4096][16]={0},vlr[4096]={0},vrs[4096]={0},vri=0; int plf[4096][16]={0},plr[4096]={0},prs[4096]={0},pri=0; [/CODE] 80% of the time my program runs properly but every other time it …

Member Avatar for raptr_dflo
0
164
Member Avatar for nblackburn

Hello, im having a problem with php's file_exists and is_file, it seems to be passing if a file was not specified, i looked into the official php documentation to find file_exist and is_file can also check i directory exists but i dont want this i just want to check if …

Member Avatar for nblackburn
0
19K
Member Avatar for serkan sendur

How do i change the name of a table in my sql server 2005 express edition database using visual studio server explorer?

Member Avatar for optician
0
272
Member Avatar for spawn2004

Hi all, i need some help with my php code. I want to create upload form with 4 fields : two dropdown buttons, 1 text field and the browse button. I have problem with validating my files ,because i want only to upload pptx, ppt and pdf files , to …

Member Avatar for ddymacek
0
144
Member Avatar for caswimmer2011

Hello, I got a MacBook Pro for college and i'm trying to program on it. It's all good except when i use the robot class, i don't see any key codes or key events for keys such as function, option, and command. Can i use those keys when using the …

Member Avatar for harinath_2007
0
3K
Member Avatar for XEN0

Im using Microsoft Visual Studio 2010 Microsoft Acess 2010 This is for practice Lets See First off i was able to get to insert records(Code Below) Now im trying to get the program to prompt a message when the id or field exists on the key down event and not …

Member Avatar for XEN0
0
1K
Member Avatar for coroll

Hi all, im trying to separate words in a string using whitespace " ". but it gives ArgumentOutOfRangeExeception : Index and length must refer to a location within the string. Parameter name: length it points to this line : if (textBox3.Text.Substring(i,c)==" ") [CODE] if (textBox3.Text != null) { ArrayList arrayKeyword …

Member Avatar for gusano79
0
140
Member Avatar for nuclear

I was watching a tutorial that says that we first need to check if any direction key was pressed, and only then we check which key was pressed, like this: [CODE]while( running == true ) { while( SDL_PollEvent(&event) ) { if ( event.type == SDL_KEYDOWN ) //checking if any key …

Member Avatar for gusano79
0
283
Member Avatar for wannasee

I wanted to simply on click a button to add those newly created textboxes to an array of textboxes. Starting with those labeled "Address". But I am finding this very difficult. I am able to add those originally on the form into the array very easily. But am unable to …

Member Avatar for wannasee
0
157
Member Avatar for dionisov

Hello, I'm currently trying to figure out how I can get the information in ASE file and put it in my own arrays. Heres an example of ASCII scene export: [CODE]*3DSMAX_ASCIIEXPORT 200 *COMMENT "AsciiExport Version 2,00 - Fri Aug 26 13:58:27 2011" *SCENE { *SCENE_FILENAME "" *SCENE_FIRSTFRAME 0 *SCENE_LASTFRAME 100 …

Member Avatar for dionisov
0
603
Member Avatar for digital_plunder

i m trying to fetch a image from mysql (blob) with header..here is my coding..."<?php include("db.php"); $query=mysql_query("select * from table where id='3' "); $row=mysql_fetch_array($query); $r=$row['image']; header("content-type:image"); echo $r; ?>" i want to fetch another fields from the database....but when i try to echo another fields...the page shows error or it …

Member Avatar for ddymacek
0
103
Member Avatar for Kezuino

Hello everyone! I'm new here, and I'm trying to find the awnser to my question already for a few hours, I tried to search didn't find anything at all... So now I'm here. I'm trying to make an application where you can search trough a database and then return the …

Member Avatar for Momerath
0
184
Member Avatar for shivya jain

[CODE] Sub auto() c.con.Open() Dim j As Integer = 0 Dim cmd As New SqlCommand("select staffid from staff order by staffid", c.con) Dim dr As SqlDataReader() dr = cmd.ExecuteReader() While (dr.read()) txtstaff_id.Text = dr("staffid").ToString() End While j = Convert.ToInt32("txtstaff_id.text").ToString() j = j + 1 txtstaff_id.Text = j.ToString() dr.close() c.con.Close() End …

Member Avatar for kingsonprisonic
0
114
Member Avatar for vaibhav1983

Hi ALL, I am writing a script to retreive entries from a DB. And then I loop through all the entries. Once I am done looping through all the result sets, I have to re-loop over them again. This is done in an infinite loop (Please don't ask why to …

Member Avatar for d5e5
0
256

The End.