199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rahulroshan

Hi I tried to insert russian language to mysql db but after inserting ,I am getting some strange things in database INSERT INTO table(adtex) VALUES('1с бухгалтерия 7 Cкидка 42% на 1С:Предприятие 8 базовые версии!'); Output adtex | +----------------------------------------------------+ | 1? ??????????? 7 C????? 42% ?? 1?:??????????? 8 ?? Plz guide …

Member Avatar for smantscheff
0
2K
Member Avatar for DaveyMoyes

Hi All, I have an image upload that works for my requirements - But what I am unable to figure out is how to rename the image to the datatime stamp and to keep the file extension .jpg / .png / .gif / .jpeg etc I have a variable $datetime …

Member Avatar for diafol
0
212
Member Avatar for lalaZai

If user enter all these then i need to use what to store it in a same group (many different group) [code]import java.util.Scanner; class addBook { public static void book() { int isbn; Scanner inputDevice = new Scanner (System.in); System.out.println("Enter ISBN ...\n"); isbn = inputDevice.nextInt(); int title; System.out.println("Enter TITLE ...\n"); …

Member Avatar for stultuske
0
115
Member Avatar for AKJo

An application from Delphi 1 (16 bit) has been transferd into Delphi 2007. The main form is always shown behind all other forms, whatever I do. How can I get the normal action from the form, so it is shown on top when it is active. Thanks in advance

Member Avatar for DanHamm
0
1K
Member Avatar for barriegrant1

Im creating a project where the a blog can be submitted, the date is stored in the database as dd/mm/yy, however im using LINQ to SQL to get the date as well as other information, the problem comes when i want to display the date in a particular layout (similar …

Member Avatar for barriegrant1
0
179
Member Avatar for israillaky

I have a time stored in table 8:00AM-9:30AM TTH . I want to check time range, if user selected 9:00am-10:30am Thursday comes in between time 8:00AM -9:30AM TTH? How to trap it out in php. Time is stored in table as below Time Day 8:00AM -9:30AM TTH 10:30AM -12:00PM MW …

Member Avatar for israillaky
0
636
Member Avatar for Shodow

Now, from another MDI Child, the user selects a button which opens a window allowing them to add a new record to the system, this is simply a form and a add button... when the add button is clicked, a message box informs them that the new record is added. …

Member Avatar for Oxiegen
0
594
Member Avatar for nova37

[CODE]include ("config.php"); // select data from database $w3db = mysql_query( "SELECT * FROM w3dbx" ) or die("SELECT Error: ".mysql_error()); $worth = mysql_query( "SELECT * FROM worth" ) or die("SELECT Error: ".mysql_error()); $w3db_rows = mysql_query($w3db); $worth_rows = mysql_query($worth); // fetching data //while ($get_infox = mysql_fetch_assoc($resultx) && $get_info = mysql_fetch_assoc($result)) while ($get_w3db …

Member Avatar for nova37
0
111
Member Avatar for zekstein

I'm tryng to statical link libcurl but im getting some errors... I've done that: [url]http://i39.tinypic.com/25ztkbm.png[/url] [url]http://i43.tinypic.com/2nsugyq.png[/url] [url]http://i40.tinypic.com/a24v4n.png[/url] [url]http://i43.tinypic.com/1fx1lt.png[/url] Why im getting the error in the 4th picture :( ?

Member Avatar for thines01
0
108
Member Avatar for phillyt

Hi all, I have this PHP script (for a HTML form) which I would like to a) check if a checkbox is checked, and then b) if it is, to check some text fields for input. If the checkbox is not checked, these fields do not need to be checked. …

Member Avatar for phillyt
0
163
Member Avatar for techyworld

hi can you help me to modify this program to make it an isoceles or equilateral triangle? right now am having a right angle triangle! [CODE]import java.awt.*; import java.awt.event.*; import java.awt.geom.*; public class Triangle extends Frame { Line2D line1 = new Line2D.Double(50,150,150,150); Line2D line2 = new Line2D.Double(50,50,150,150); Line2D line3 = …

Member Avatar for zeroliken
0
1K
Member Avatar for TIM_M_91

Hi guys I am able to drop my tables that I want but however when I come to trying to drop rows the rows do not delete. I have tried the following which have all produced the same error duplicate key TABLENAME : Any help you can give for a …

Member Avatar for TIM_M_91
0
140
Member Avatar for phy2sma

I'm having problems adding a JPanel, which has a paintComponent in it, to a JFrame. If this is the only thing I add to the frame, it works. But as soon as I add a layout manager and add other components to the JFrame, it no longer shows the panel …

Member Avatar for JamesCherrill
0
232
Member Avatar for Panathinaikos22

Hello, this is my code [CODE]import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; public class AnimalsActivity extends ListActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); String[] Animals = {"Cat","Dog","Horse","Pig"}; ListView lv = (ListView)findViewById(R.id.listv11); ArrayAdapter<String> _adap; _adap = new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1, Animals); lv.setAdapter(_adap); } }[/CODE] The problem is with [COLOR="Red"]ListView …

Member Avatar for Panathinaikos22
0
173
Member Avatar for johnyianni

I have here a problem... i have a notepad containing values such as: tom,a1001,1 charles,1002,2 I used getline() and used the delimiter comma to separate them and store it in line variable.. my problem is that how can i store the delimited strings from line variable to any different variables.. …

Member Avatar for chrisjubb
0
223
Member Avatar for zazga

Okay, Im not sure how to put this. So here is my first try, and if it aint clear enough I'll try to explain better. I have made a few scripts that work perfectly fine, but now my client prefers it to come with a GUI. My script needs 2 …

Member Avatar for askandstudy
0
173
Member Avatar for chrisjubb

I'm having problems reading or writing files in my C++ program. I'm using Fedora 16 on a USB stick and Eclipse for C/C++ developers. Here's snippet of code from my program. fp is always 0. I've also got other code that is loading files (which always fail). I've tried running …

Member Avatar for chrisjubb
0
233
Member Avatar for poojavb

Hello Friends, I need an urgent help on the below topic.... I have created a project which takes the database dyanamically.... Means when the application starts it will ask for the database path....the database will already be created in some or the other folder.... The path for database is stored …

Member Avatar for bilal_fazlani
0
459
Member Avatar for C++ programmer

I have designed a dialog in Qt designer and I want to use the name of each child widget for some coding in cpp file. But the names I have given to buttons etc in Qt designer are not working as pointer.More over their names in ui_[I]mydialogname[/I].h are not the …

Member Avatar for C++ programmer
0
192
Member Avatar for showman13

Good afternoon, This may sound like a silly question but could someone explain how to make an SSL certificate work? I have a website that I completed (almost), and everything works just fine... Had an SSL certificate installed yesterday, and everything looks exactly the same. How do you make the …

Member Avatar for pritaeas
0
133
Member Avatar for ringo_tech

hi everybody, i needed to play mp3 audio in my AudioPlayer project i found jlayer is the easiest way to play mp3 audio,it plays well but can't stop playing my GUI stops responding until the audio is finished! any help please this is the code of the playing button -chooser …

Member Avatar for ringo_tech
0
1K
Member Avatar for tap3ah

Can anyone help me with this, please: This code works as intended: [CODE]eval "$(date "+yr=%Y mh=%m dy=%d hr=%H mt=%M sd=%S")" echo "year=$yr ; month=$mh ; day=$dy ; hour=$hr ; minute=$mt ; second=$sd"[/CODE] It gives output [CODE]year=2012 ; month=02 ; day=09 ; hour=14 ; minute=30 ; second=17[/CODE] on stdout. This code …

Member Avatar for tap3ah
0
152
Member Avatar for C++ programmer

Hi. I made a program and I write this code in order to make the window's size fixed. More over i am using a button to unhide some Groups on main window, But when i compile program, it crashes but when I comment out this line of code the program …

0
104
Member Avatar for M.Waqas Aslam

hello ! i want to make a xml file to store my Settings such as server name , user name , and password , etc , i try to search how to read and write xml file i found this code for writing an xml file it works fine for …

Member Avatar for M.Waqas Aslam
0
608
Member Avatar for M.Waqas Aslam

hello ! I want to use JSON in my asp.net project using c# .how can i do that , i am very new in JS and JSON , please help me so that i can start work .i googled about it , and read some posts on different forums and …

Member Avatar for M.Waqas Aslam
0
190
Member Avatar for Panathinaikos22

Hello, i want to know what controls are used in this image [url]http://stackoverflow.com/questions/1521640/standard-android-button-with-a-different-color[/url] For Header, seems like TextView with "steColorFilter()", if someone have any idea how i can draw like this give an example. And the 2nd thing i want is, is this in image ListView? ("San Francisco", All Neigh...") …

Member Avatar for peter_budo
0
105
Member Avatar for shuey79

Hello, I am a beginner trying to make a networked game called Guess Who. I have 2 combo boxes I am trying to read a access database. Whatever is selected in the 1st combo box will be the column to 'lookup' the values in the database. These values should go …

Member Avatar for bmndayakar
0
957
Member Avatar for Sundown G

Hey im new in this.. I want to search the user input in file (by lines) but not all then with this line search on another file ( with the specific line) and show to the user. Example: file1.txt ======= a aa aaa aab aac file2.txt (corresponding md5 hashes of …

Member Avatar for Sundown G
0
583
Member Avatar for konman795

I need to write a program to find the first 10 prime numbers, i.e. integers that are only evenly divisible by themselves and 1. The hint I got was to make a big array of booleans named "isprime" and mark off all the non-prime numbers as false, i.e. isprime[4] = …

Member Avatar for JamesCherrill
0
775
Member Avatar for TechSupportGeek

Hello, what the title says, I'm really confused with recursion. I understand the basics like what we actually call a recursive method (a method that calls itself within its body) but I can't seem to understand how it is used (especially the factorial example). OK, the following example is the …

Member Avatar for TechSupportGeek
0
196
Member Avatar for frrf

For a couple of months now I've been working on a community website; however I haven't got past the registaration because MYSQL can't connect to my HTML and PHP codes.Also my laptop treats .PHP documents as text documents and I can't open them, is this related? Thanks in advance :D.

Member Avatar for smantscheff
0
167
Member Avatar for jeswill

Please help to those who know how to code or those who are brilliant in c++ to code a beep or a sound in a borland c++ cause i want to learn how to make or to code it; and i don't have a background of coding a beep, please …

Member Avatar for zeroliken
0
843
Member Avatar for pxalpine

Hello, I'm manipulating large quantities of HTML files (about 2000). I'm new with Python, and would appreciate any help. For example, I want to delete the lines that contain "embed_music" in all the files, or change all instances of the word "Paragraph" to "Absatz". This is my pseudo-code: [CODE] open …

Member Avatar for ihatehippies
0
168
Member Avatar for ruval002

im having trouble timing my loop, note, this is just part of my main file [CODE] #include <iostream> #include<sys/time.h> struct timeval tv1, tv2; struct timezone tz1,tz2; long totalT; int const times = 500; gettimeofday(&tv1, &tz1); for ( int i = 0; i times; i++) { //do something, } gettimeofday(&tv2, &tz2); …

Member Avatar for WaltP
0
101
Member Avatar for juce

I need a code which will print union of two strings. for example string1="1,2,3" string2="3,4,5" and print the result string3: 1,2,3,4,5 Could someone help me how to solve this?

Member Avatar for thines01
0
295
Member Avatar for rfrapp

Let me start off by saying that this is homework, and I have most of it completed. However, I am stuck on how to convert decimal to hexadecimal. The assignment is to add two hexadecimal numbers and output the answer. If the length of the answer is greater than 10 …

Member Avatar for rfrapp
0
3K
Member Avatar for Labdabeta

I was just wondering how exit worked? Does it use some lower-level language feature in its implementation? Is it compiler-specific? What is it? (I am talking about the function in stdlib.h btw)

Member Avatar for Labdabeta
0
224
Member Avatar for belama

Hi, I'm using SQL Enterprise Library (Microsoft.Practices.EnterpriseLibrary.Data.Sql) objects and I'm considering using a DbTransaction to execute multiple DbCommand(s) for inserts/updates in one transaction. Let's say these queries take a few minutes to execute, I do not want it to prevent another process from queries the same tables. Considering I do …

Member Avatar for Momerath
0
403
Member Avatar for badboy11

I need helping trying to retrieve data held in a [CODE]std::list<boost::shared_ptr<boost::any>>[/CODE] I am working on a Singleton Controller class with a private [B]std::list[/B]. Client class(es) will be able to [B]Add/Remove/Edit[/B] concrete class objects to be used by the program through this Controller class. The reason for using [B]boost::shared_ptr[/B] is because …

Member Avatar for mrnutty
0
388
Member Avatar for Jenniferlinn

Can anybody tell me how many storage engines are there in MySQL and which engine is the default engine in MySQL? Kindly post answer if know it

Member Avatar for mrcullers
0
338
Member Avatar for Nevicar

Hello everyone, I'm trying to figure out how to overload a function to solve the following problem: "Write two functions with the same name (overloaded function) that print out a phrase. The first function should take a string as an argument, and print out the string once. The second function …

Member Avatar for zeroliken
0
144
Member Avatar for Erdem.

i use eclipse with tomcat 7 and compile servlet without problem... but i try to blank jsp file its error what is the problem? [CODE]<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</title> </head> <body> <h3>Test …

Member Avatar for Erdem.
0
157
Member Avatar for floatingshed

I've used Pythoncard to create my gui. Here it is in heavily condensed form: [CODE] import os import sys import os.path import Tkinter import wx import subprocess import subprocess as sp from subprocess import Popen from tkFileDialog import askopenfilenames from tkFileDialog import askdirectory import tkMessageBox from Tkinter import * from …

Member Avatar for woooee
0
189
Member Avatar for ubi_ct83

Hi all, i have a task which is create an algorithm from a java code.and i need help from u guys to check on my algo put a comment on what should i change or why it is wrong. I really appreciate if u could help me on this matter... …

Member Avatar for ubi_ct83
0
156
Member Avatar for SCass2010

Hi everyone, I'm not even sure if this is possible, but I seem to be struggling at the minute with it so here goes... I have a main.cpp where severeal different objects of different classes are created, such as say Log, ConfigManager, XMLReader and so on - what I'm trying …

Member Avatar for SCass2010
0
116
Member Avatar for lxXTaCoXxl

My project for my C++ class is to develop an application that will help me out in my programming life, and since I constantly have to use a calculator to determine the values in free fall acceleration I decided to write an application to do it for me. I was …

Member Avatar for DeanMSands3
0
868
Member Avatar for Dorar

[B] I will do an artifical intellegent project which is knowledge base system My question is Can I use [COLOR="Red"]ORACLE[/COLOR] database as knowledge base?[/B]

Member Avatar for hfx642
0
115
Member Avatar for Killzusall

Hi all, Sorry if this has been asked before, I did a search but couldn't find anything. I am new to programming and thought I'd start with a GUI menu type thing. One of the options is to tell program's to install one after the other. This works fine but …

Member Avatar for Killzusall
0
570
Member Avatar for rithish

in multidimensional array what is the row and coloumn size.for example in 2d array a[2][2] this has 2 rows and 2coloumns .but what does this have a[2][3][4]????please explain me with practical example

Member Avatar for zeroliken
0
117
Member Avatar for ilovejava

[URL="http://i.imgur.com/iwNHY.jpg"]http://i.imgur.com/iwNHY.jpg[/URL] i already set a path for jdk and etc, it worked before but now it doesnt work the code works on ecclipse so the code is correct but i have to learn how to compile using command prompt check out this image i get this same error i do …

Member Avatar for NormR1
0
305

The End.