199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for newbie14

Dear All, I have a server with 16 cpus and 32g ram. The problem below when I run my top it show mysql %cpu is more than 100%. Below is my top results. The problem here I would like to why is mysqld is using up 137.2% of the cpu …

Member Avatar for smantscheff
0
155
Member Avatar for baldwindc

I am taking a data structures class and we are using the standard gcc compiler on a unix system. This is fine and I have no troubles using it, but I would like to begin using an IDE for my labs. I am trying Visual Studio 2010 Professional with my …

Member Avatar for baldwindc
0
242
Member Avatar for Gh0st93

So I'm pretty far into development of my new game and I am trying to figure out how to do a bullet that will look like it fires from a plane sprite I thought of a way it didn't work so I went back to my old code. I would …

Member Avatar for eskimo456
0
178
Member Avatar for AngelicOne

I thought by setting up the custom format of date time picker to |MM/dd/yy hh:mm tt" would work, but the selection doesn't change from date picker only! I need an object that I can be able to choose both date and time.

Member Avatar for AngelicOne
0
93
Member Avatar for abhi10kumar

I have text area and combobox, Selected value of combobox is to inserted at the current cursos location in the text area. How it can be possible ??

Member Avatar for abhi10kumar
0
95
Member Avatar for TheAlex

Is it best (or even possible) to replace spaces using URL Rewrite or using ASP/ASP.net before the URL is sent? If it's the former, can it be done with a wizard within IIS? Also, I will need to replace capital letters and accented characters with an equivalent e.g. é with …

Member Avatar for Fortinbra
0
479
Member Avatar for roswell67

Hello guys, I need help to divert an application's traffic to a different IP (localhost for example). I heard that this can be added by making the application support sock5? maybe am wrong.. but I just need to divert an application's traffic to my local proxy server. Scheme: iExplorer -> …

Member Avatar for roswell67
0
527
Member Avatar for muhamin

bellow is my entire file, the problem is when i insert multiple links, it only fatch 1 link from the textarea and then giving me the following error on the rest, FYI there is no problem with the reading part in the text area i can read line by line …

Member Avatar for paulrajj
0
223
Member Avatar for mbarandao

Hello: I have a mysql table which has following rows: id (unique and auto increment) platenumber customerid servicearea date I want to create a sql statement which essentially performs the following task: Pull from table_name the last inserted row where the customerid='mb6537'. There could be more than one row containing …

Member Avatar for phpology
0
83
Member Avatar for night2night3

Hi, I'm working on a linked list filled with class objects and I've encountered a weird problem that I cannot see how to resolve. I declare 2 self-referential pointers within my 2 classes and the error: In file included from prog2.cpp:16: employeedatalist.cpp: In function âvoid getData(std::fstream&)â: employeedatalist.cpp:15: error: âheadâ was …

Member Avatar for Sky Diploma
0
288
Member Avatar for sivananda2009

please help me to solve this problem,i want to insert data by checking the multiple entries in my form and retrieve the same data, the check box must checked the corresponding field retrieved.

Member Avatar for ahamed.suhail
0
117
Member Avatar for biancaW

is there another way to write this code other than using bool for validation [CODE]bool isValid = true;[/CODE]

Member Avatar for arkoenig
0
75
Member Avatar for akase2010

i put the numbers into my calculator and i receive a number that is about $1 greater than the actual value. why? [CODE] #include<iostream> #ifndef Tips_H #define Tips_H using namespace std; class Tips { private: long double taxRate, bill, gratuity; public: Tips() { taxRate = 0; bill = 0; gratuity …

Member Avatar for caut_baia
0
226
Member Avatar for Phil++

Ok, I have a slight problem.. I know that Binary is a base 2 system (1, 0) I know decimal is a 10 base number (1, 10) But I need to know which number system has a base of 7? Thanks in advanced!

Member Avatar for Momerath
0
120
Member Avatar for linuxoidoz

Hi, I'm puzzled I can't display unicode characters higher than u"\u2094". I can display all below and including u"\u2094" but nothing starting from u"\u2095" and up. How could that be? e.g. [CODE] self.label = QLabel(unichr(int('2094', 16)) + unichr(int('2098', 16))) [/CODE]

Member Avatar for linuxoidoz
0
2K
Member Avatar for AnonymousX

Well, Hello Again! I'm now using pure C++, too hard But well. I just love how you can manage everything Windows have, is like owning Windows. But well, i have some issues: [CODE] extern "C" __declspec(dllexport) char *getValue(char *valueName) { HKEY hKey = HKEY_LOCAL_MACHINE; LPCSTR lpSubKey = "SOFTWARE\\Dantom\\BYOND"; PHKEY phkResult; …

Member Avatar for Ancient Dragon
0
263
Member Avatar for bjc01010

Ok fairly new to this but the programming i am doing is for a "price list" of sorts, i have 3 buttons with 3 labels which work fine showing the label text when pressed, next i have a group box with one button, 2 radio buttons, and 2 labels, I …

Member Avatar for AndreRet
0
192
Member Avatar for plang007

#include <iostream> #include <fstream> #include <iomanip> #include <cmath> using namespace std; int main() { char fare; char choice='Y'; int hrIn, minIn, hrOut, minOut; int hours; int minutes; int total_minutes; double cost; float charge; float additionalTime; while(choice=='Y'||choice=='y'){ cout << "\nThis program will calculate a single, couple, or group " << "\nfare …

Member Avatar for Sky Diploma
0
333
Member Avatar for zp18zp18

<sorry for thread hijack> My vb6 application opens the access data base with the vb6 database name property of the Data1 control. How can I change this to open with explicit coding in the vb coding so I can change the path in a single location?

Member Avatar for AndreRet
0
57
Member Avatar for MooGeek
Member Avatar for EddieC

[ATTACH=right]19321[/ATTACH]If you're serious about developing Android apps, there's only one platform to build and test them on, and that's the Samsung Nexus S. Why? Because first and foremost, the Nexus S runs pure Android. Not only is Samsung's Nexus S, released in December, one of the most beautiful phones on …

0
253
Member Avatar for pmark019

What is wrong with this code of mine? [CODE]Private Sub btnPlus_Click() If counter = 0 Then savedNumber = Val(txtNumber) counter = 1 End If If counter <> 0 Then value = Val(txtNumber) End Sub[/CODE] [CODE]Private Sub btnEquals_Click() result = Val(savedNumber) + Val(value) txtNumber.Text = CStr(result) End Sub[/CODE] [CODE]Private Sub btnThree_Click() …

Member Avatar for AndreRet
0
99
Member Avatar for kazekagerandy

i have this make-over software project and im having a hard making up the codes in vb. i dont have much time for research for im having my work as well.. the software must be identical to mary kay's virtual make-over software. see link below: [url]http://www.marykay.com/whatsnew/virtualmakeover/default.aspx?ab=sidenav_vmo[/url] can someone help me …

Member Avatar for kazekagerandy
0
108
Member Avatar for ntrncx

ok i have i want to summarize only the first collum [CODE]int counter=1; int totalvertical=0; int i=7,k=4; int array[i][k]={random values}; for (int x=1;x<7;x++) { for (int y=0;y<4;y++) { cout<<"["<<x<<"]["<<y<<"]="<<array[i][j]<<" "; totalvertical=array[counter][0]; cout<<totalvertical; } counter++; cout<<endl; }[/CODE] line 12 prints me normaly what is at array[1][0] then array[2][0] then array[3][0] etc …

Member Avatar for ntrncx
0
149
Member Avatar for Progr4mmer

when ever i try to compile/run my game in eclipse it says this [QUOTE]Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at OurGame.Board.checkCollisions(Board.java:78) at OurGame.Board.actionPerformed(Board.java:40) at javax.swing.Timer.fireActionPerformed(Unknown Source) at javax.swing.Timer$DoPostEvent.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at …

Member Avatar for Progr4mmer
0
107
Member Avatar for deepakkrish

Hi Friends, Any one used OTRS software.I am trying to update the requirements.I am unabl eto connect wit the database. The thing is if i logged in with user name n pass .the user name and the sys time should it the database. i tried some facts but dont know …

Member Avatar for deepakkrish
0
101
Member Avatar for codeblock

Hi all, i have a problem in writing a block of SQL code in mysql. The block of code will have too delete a single row/record from about 23 related tables all at once. The code that i have written so far will only delete 1 row/record in 10 related …

Member Avatar for codeblock
0
138
Member Avatar for lochnessmonster

i dont see how this is possible but....is there a way i can have a literal value in my program....such as the number "1" represent a specific variable? for example int sum; sum = 1 + 3; <--- i want my program to read this as add "3" to the …

Member Avatar for Red Goose
0
110
Member Avatar for jmensah

when saving the "conversion failed when converting datetime from character string" is displayed. Please help Private Sub BtnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSave.Click Try Dim cn As New SqlConnection(ConnectionString) cn.Open() put = "insert into NewAccount(Account_no,Surname,First_Name,sex,Date_Applied,Date_Birth,Contact_no,Contact_Address,Acco unt_type,Branch_ID)values('" & Me.TxtAddress.Text & "','" & Me.txtAccount_No.Text & "','" & Me.txtSurname.Text …

Member Avatar for Pgmer
0
285
Member Avatar for raq_0619

How could I include the image in the print preview? I cant make it work :sad: anyone? please help. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="generator" content= "HTML Tidy for Windows (vers 25 March 2009), see www.w3.org"> <script type="text/javascript"> // _importNode() needed for IE if (!document.importNode) …

Member Avatar for vsmash
0
162
Member Avatar for thebigbroski

So for some bizzare reason instead of getting any values I get 0 if I try using a loop to get values using the method getValueForName. However if I just call it from main and pass it a string as an arg it gives me value. I'm new to C#, …

Member Avatar for Mitja Bonca
0
505
Member Avatar for markdean.expres

Guys I know this error is not new. I have read many threads about this and solutions also. But I have done one of the solutions I know and it is still occurring. Update requires a valid update command.... I hava defined a primary key in my database table. What …

Member Avatar for lolafuertes
0
95
Member Avatar for Danny1994

[CODE]void Form1::textBox9_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) { if(!Char::IsDigit(e->KeyChar) && (e->KeyChar != 0x08)) e->Handled = true; }[/CODE]Thats the code i got, but, how could i allow CTRL+V. [CODE] if(Char::IsDigit(e->KeyChar)) return; if(e->KeyChar=='\b') return; if(e->KeyChar=='\v') return; if(e->KeyChar=='CTRL') return; e->Handled=true;[/CODE] This also doesn't work ._. (Im using Visual Studio 2010)

Member Avatar for Danny1994
0
342
Member Avatar for toadzky

I have a project where I'm building a motion-sensing controller. It has around a dozen buttons plus the motion sensors. I'm having it wireless transmit the status of the buttons and sensors to the base station. I know interrupts are better than polling, but most people seem to recommend polling …

Member Avatar for lolafuertes
0
163
Member Avatar for Neversleepin

Hi, i'm still beginner in java. Here is my simple question: if we have two java programs like: -test1.java which open a file for example. test2.java which move one file to another directory. Suppose these two programs are working well separately. if one day, we want to write just one …

Member Avatar for Neversleepin
0
162
Member Avatar for fiju

I am using COLDFUSION . And using coldfusion i am inserting a table using URLEncode function. For instance, the word 'Registration Fee' will be inserted into a table like 'Registration%20Fee' after encoding using URLEncode function in coldfusion.But I need to write a mssql statement to decode the word and want …

Member Avatar for debasisdas
0
82
Member Avatar for ComicStix

My computer science teacher stinks. He'll give us the book to read (the book sucks and doesn't explain anything) and gives us a quiz on stuff without even explaining it. I love programming but this class is discouraging me. What should I do on my own time to improve my …

Member Avatar for rscubelek
0
229
Member Avatar for judithSampathwa

hi there, i have a question in C# files. i have a client application which is created in visual studio C#. and from that i copy a file to a folder in the server computer folder. so when i am trying to display it ot the user i user System.Diagnostic.Prcess.Start(PathToTheFileInTheServer) …

Member Avatar for lolafuertes
0
2K
Member Avatar for tcl76

hi all, pls advise on: Can Python 2.6.6 scripts be converted to .dll and read by C sharp? Can Python 2.6.6 scripts be converted to .exe and read by C sharp? thanks tcl

Member Avatar for snippsat
0
214
Member Avatar for eukiandfhull

Hi, i have a problem in my database. how to sum the value of row into another value of row?.. i want to compute the total of Hoursworked.... this is my example table for the sum of row by row.. DTR Table EmpID TimeIn TimeOut HoursWorked Date 1 08:30 05:30 …

Member Avatar for eukiandfhull
0
82
Member Avatar for TheLittleEngine

[CODE]void Rational::reduce(Rational &f3){ int tnum, tden, temp, gcd; tnum = labs(numerator); // use non-negative copies tden = labs(denominator); // (needs cmath) if(tden==0 ){ // check for n/0 cout << "Illegal fraction: division by 0"; exit(1); } else if( tnum==0 ){ // check for 0/n numerator=0; denominator = 1; return; } …

Member Avatar for TheLittleEngine
0
190
Member Avatar for arv3

Hello. I'm working with a webpage where its going to a Google Store Locator. [URL="http://code.google.com/intl/no-NO/apis/maps/articles/phpsqlsearch.html"]Goolge Store Locator guide[/URL] I did follow. I got it working for a while, but here in Norway we have some characters, ÆØÅ that we use. This is the problem. When I search for a place, …

Member Avatar for smantscheff
0
243
Member Avatar for kellyslater36

Hi Enclosed is my Java assignment which is due **Tuesday**, any help would be greatly appreciated. Program Specification: (1) Rather than having the trainee type in the full title of his Training Module, let him choose from a menu: the choices should be: “Forward Scanning Radar Display Repair”, “IR Beacon …

Member Avatar for kellyslater36
0
171
Member Avatar for sj5536

hi i created text to pdf converter project in java using eclipse. when i run it from eclipse it works properly. in eclipse i used export menu to create executable jar file(runnable jar).when i run project from that jar file it actually run but it wont convert those text file …

Member Avatar for JamesCherrill
0
184
Member Avatar for tzmen23

Im working on an assignment and have run into a proglem that I cant seem to fix. With the following code I get the following error. "warning: passing argument 2 of strchr makes integer from pointer without a cast" [CODE]#include <stdio.h> #include <string.h> int main() { char buf[250]; char *chptr; …

Member Avatar for shibblez
0
120
Member Avatar for infinitus

I dont know how to kill this JOptionPane pop out eveytime i do something... it just pops [CODE]Object[] options = {"Option 1", "Option 2"}; Component frame = null; int n = JOptionPane.showOptionDialog(frame, "Chose Game Option \n *Option 1 - Enter Secret Word\n *Option 2 - Random word selection from secret …

Member Avatar for infinitus
0
165
Member Avatar for amrutap27

Hi I am using IIS 5.1 and im trying to host my web site on IIS. But it generates error while opening database..im using MS SQL server 2005. The error is : "Cannot open database "EXAM" requested by the login. The login failed. Login failed for user 'ABC-0C2DBCA594D\ASPNET'." Please help …

Member Avatar for ImranShafiq
0
81
Member Avatar for arun_taurean

Hello cryptogeeks, does anyone have idea for KATAN/KTANTAN block cipher.Got any C code for it???

Member Avatar for Adak
0
330
Member Avatar for nyler01

Good Day, I am looking for threads here in daniweb which will contain my question but the return is not similar to my problem.. Please help me.. i don't know what to do with this. I just want to store date field in mysql database but i can't here is …

Member Avatar for nyler01
0
146
Member Avatar for tendaimare

i've just started doing asp.net i am good in vb.net but i've encountered a challenge.First of all isnt it supposed to be private sub not protected.As you can see i want to output a message on the label which is green but i am getting an error saying green is …

Member Avatar for umamahesh2020
0
102

The End.