199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for decade

can somebody or someone teach me how to deal this warning: Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting …

Member Avatar for decade
0
142
Member Avatar for canwin

I have a xml file.I can get it's data using 19 table but i want to get relationship and print data in one table

Member Avatar for canwin
0
290
Member Avatar for Vusumuzi

Here is the question: DECIDE YOURSELF The SuperShop have seven sales assistants. They are paid R55.70 per hour and 1.5 times for overtime. Each sales assistant is also paid 2% commission on his or her sales. The manager of SuperShop wants a C++ program to print the weekly payslips for …

Member Avatar for Ketsuekiame
0
94
Member Avatar for marloagapay

hello am a newbie sad to say but i got a big problem regarding to the auto increment. i use innoDB for storage but somethinggoes wrong! i dont know why. whenever i input new data (such as name add and tel, member ID should increment by one) there is no …

Member Avatar for decade
0
203
Member Avatar for stoopkid

I've been at this for about a week now, and still can't get my Google Map to properly number the markers. Any help would be greatly appreciated. I've done enough "googling" on the subject matter, and finally needed to make a forum thread. My JavaScript code: [CODE]<script type="text/javascript"> function load() …

Member Avatar for Airshow
0
125
Member Avatar for Desh2350

Okay, so here's my set of problems: I need a simple error check, so that if the user enters the wrong type of character, he/she will be notified and allowed to re-enter a new value. Secondly, I need some sort of loop that allows the user, after having running the …

Member Avatar for Ketsuekiame
0
252
Member Avatar for mykar_88

hi pls help me to read data from a website. can it be done with VB? if yes pls guide me. thank u

Member Avatar for Ramesh Genwa
0
169
Member Avatar for umeshMCA

hi i am a new user of asp.net, i would like to know when user open mysite it will display a image for somethime like 20sec till that there should be a gif image also show which showing uploading website like buffring in utv bideo gif. and after timeout it …

Member Avatar for umeshMCA
0
203
Member Avatar for bhagawatshinde

Can anybody help me for creating subscript and superscript in Richtextbox in c#. I am done in vb.net but could not convert it into c#. here is my vb.net code... [CODE] Public Sub SetSubScript(ByRef rtb As System.Windows.Forms.RichTextBox) Dim iPos As Integer Dim strRTF As String With rtb If VB6.PixelsToTwipsX(.SelectionCharOffset) >= …

Member Avatar for Ramesh Genwa
0
2K
Member Avatar for haojam

Sir / Madam, I would like to map and extract common numbers between 5 column (i.e.Start) and 6th column (End) for refFlat table with 2nd column (Start) and 3rd column (End) for mirna table. Could you please modify the script attach here. I would be glad for your support. With …

Member Avatar for haojam
0
272
Member Avatar for manish250

Hi all I am calling a function from my servlet but getting following exception SEVERE: Servlet.service() for servlet In_Servlet threw exception javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at …

Member Avatar for javaAddict
0
229
Member Avatar for GeekByChoiCe

Heya guys, I have a very small snippet that drives me crazy right now. [CODE=csharp] int arg1; int expr1 = arg1 = 16; [/CODE] That silly online translators giving me the following output [CODE=vb] Dim arg1 As Integer Dim expr1 As Integer = InlineAssignHelper(arg1, 16) [/CODE] Great but what should …

Member Avatar for GeekByChoiCe
0
269
Member Avatar for HelpStudents

Issue with how to properly use push_front and pop_front. I have a class named Account I am suppose to be able to be able to add new accounts and new balances but I can't find the proper documentation on how to do this. I am trying to figure out what …

Member Avatar for tajendra
0
388
Member Avatar for gotboots

Hi I have started this code but i cant get it to work. new to javascript, but not sure how it works. im trying to make an alert for a text box "rrp" that alerts when it is less than the list price, therefore stopping an incorrect price being lodged. …

Member Avatar for extemer
0
2K
Member Avatar for kaskoraja

Hello friends, I have a list similar to ['9.48E+02', '9.42E+02', '9.79E+02', '9.58E+02', '9.28E+02', '9.47E+02'].List has around 9000 elements. I need to convert this list in to file with a format similar to 9.48E+02 9.42E+02 9.79E+02 9.58E+02 9.28E+02 9.47E+02 so that i can access it in another mechanical software i.e without …

Member Avatar for kaskoraja
0
164
Member Avatar for saucy6969

Hi there, I am trying to create a socialbar using either Wibiya or Bumpin. Both looked great in Google Chrome. Bumpin's wont stay static in IE or Firefox which inturn covers the footer. I wrote their tech support for help...no response. Wibiya's went completely haywire in IE...split bits and pieces …

0
141
Member Avatar for rjcenteno

okay i came up with some code that reads in a file, and on the file are names of shapes and their widths/lengths. after the file is read in, it tokenizes whats in the file, it then calculates what shape it is and then takes the information and calculates the …

Member Avatar for rjcenteno
0
182
Member Avatar for micheal Amirul

Dice Rolling Write a program that simulates the rolling of two dice. The program should use rand to roll the first die and should use rand again to roll the second die. The sum of the two value should then be calculated. [Note: Since each die can show an integer …

Member Avatar for WaltP
0
169
Member Avatar for jakethepython

I am new to python and am making a program with the wxpython module and no matter what I try I get a NameError: global name 'outp' is not defined?? Can someone help? Here is the code, it is fairly complex: [CODE]import wx class jake(wx.Frame): def func1(self,event): global foo foo+="1" …

Member Avatar for woooee
0
848
Member Avatar for nndung179

Hello Everybody !!! I have the problem about my Digital Clock, You could see this on my attachment. It works perfectly, but one problem that when the second == 10, the label name second lblSed appear "010", when it's up to 11, it appear normally. I dont know what wrong …

Member Avatar for Momerath
0
178
Member Avatar for yousafc#

Please tell me how to make flash player in c sharp.I have no Idea.Please tell me about to flash in c sharp 2008.

Member Avatar for yousafc#
0
182
Member Avatar for taga1989

M just an infant to java..just kno the ABC.. m tryin to work in small projects like address book...so can i get help like how to start...

Member Avatar for muthu@tent
0
153
Member Avatar for vin24

Hi guys!.... My colleagues and I were developing a Library system. We want to make use of a client-server but I just want to know what are the basic prerequisite needed in making a system with client-server. Is it time consuming because our professor told us we have 1 month …

Member Avatar for hkdani
0
296
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in VB.Net I have a DatagridView.I have a Save Button on my Form.Now my requirement is i want to the Data that is populated in Datagridview when i click on Save button. I want to do it using Update Query. below is my …

Member Avatar for Ehtesham Siddiq
0
186
Member Avatar for aecha

Hi! I am new here. I am new in php too.. Can somebody help me in solve this error? I can go to the page that but cannot call the data from the database. This is my code: [CODE]<?php $con = mysql_connect("localhost","root","root"); if (!$con) { die('Could not connect: ' . …

Member Avatar for karthik_ppts
0
131
Member Avatar for neiljohnmanuel

Hello everyone i am a student who has very little knowledge about programming. I would like to know if there is a way to load list from a database to a combo box. there are two fields in my database namely: Age and Allowance. what i want is to load …

Member Avatar for hkdani
0
135
Member Avatar for go_big12

I have searched without success for a way to format the text in a Tkinter OptionMenu List. Specifically, I want to use some subscripted letters. Something like: from Tkinter import * root = Tk() types = ['Kd', 'Koc'] type = StringVar() typewidget = OptionMenu(root, type, *types) typewidget.grid() I need specifically …

Member Avatar for woooee
0
476
Member Avatar for bluejacketpin

How do I best speed up running of my prog? Once I have simplified code as much as possible, made it smaller. By using loops were appropriate etc. All ideas are welcome :D

Member Avatar for Reverend Jim
0
96
Member Avatar for maverick420

[CODE] import.awt.Rectangle; public class AreaTester { public static void main(String[] args) { Rectangle R = new Rectangle(5,6,7,8); System.out.print("w: "); int w = R.getWidth(); System.out.println(box.getWidth()); System.out.print("h: "); int h = R.getHeight(); System.out.println(box.getHeight()); int area = w*h; System.out.println("Area of Rectangle:"+ area); } } [/CODE] The above code gives error:<identifier> expected import.awt.Rectangle; ^

Member Avatar for dimasalang
0
533
Member Avatar for willywhomperz

[CODE] package code; public class CharacterCounter { /** * int numberOf(String s, char c) * * Returns the number of time the char c occurs in the String s * * @param s is the original String * @param c is the char whose count in s we want to …

Member Avatar for dimasalang
0
410
Member Avatar for valestrom

I have a main c++ file with all my integer values, then I have a seperate c++ file with my algorithms for my battle function. May seem like a simple question, but how do I get the values from my main c++ file and use them in the other one …

Member Avatar for valestrom
0
80
Member Avatar for isebas

Yes, I am a total newbie. I am doing this code for homework. It is giving me an error on the method line is saying that it is missing.Please help. [CODE]import java.io.*; public class discount {public static input in = new input(); public static void main(String[] args) throws IOException; {double …

Member Avatar for dimasalang
0
198
Member Avatar for uselessninja

hi everyone they said in relational database there is no "last" concept.. and the only way to retrieve the last data entered in database is by IDENTITY and sone says TIMESTAMP... which one i would prefer to use?

Member Avatar for uselessninja
0
1K
Member Avatar for asif49

So I found a small flaw in the comment system I've made. When someone presses enter while typing a comment and puts in a new line, it doesn't show when the comment is gotten from the mysql database. I don't have any "if (new line within comment, add newline to …

Member Avatar for asif49
0
88
Member Avatar for parth27987

I'm obviously a noob @ c++. Have a question. is there any way i can restrict user to input only numeric value and make a loop if user enters non-numeric value. for example for conversion from kilo to pound if user enters some garbage like "afshdgafg" in cin. is there …

Member Avatar for parth27987
0
237
Member Avatar for nverma

I want a toolbox like functionality in which i can drag an image and drop it over another image, such that the image being dragged should remain at the previous position as well as copied to the new position.

Member Avatar for cocoll
0
424
Member Avatar for Sparhauoc

Hello there, newbie question here. My mySQL time is 6 hours fast, and I don't know why or how to change it. My computer is at the right time, so apparently mySQL does not get the time from it. Where do I change the time for mySQL?

Member Avatar for Sparhauoc
0
119
Member Avatar for Rahul V S

Hi, I am about to create a web based application, using only free web technologies like Ruby on Rails or PHP. But its a bit hard for me to finalize on a free / open source database management system, that will help in performance, scalability, portability and easy hosting. I …

Member Avatar for griswolf
0
810
Member Avatar for DJWK

This program should extract the first line. Somehow I'm getting the last line instead of the first... This is the textfile: [ICODE]N100 G96 S200 N115 G0 X600 Z-1004.95 T11 D2 M3 M7 H10 N125 G0 X500 N130 G1 X419 F0.5 N135 G1 Z-1004 N140 G0 X500 N145 G0 Z-419.7 N150 …

Member Avatar for DJWK
0
227
Member Avatar for cliffcc

I have a search engine in the php, i have pressed search button to do searching. I want to have addition function - just pressing the "Enter" can also do the searching instead of search button. What is the code?

Member Avatar for najanan.nehul
0
96
Member Avatar for Satyrn

I am trying to simplify Maven to use one POM to do both a 64 bit build and a 32 bit build. I have tried to separate the build into two separate executions however I am required to set the compilerExecutable tag specified by the maven-native-plugin to point to either …

Member Avatar for Satyrn
0
419
Member Avatar for Vusumuzi

This is a simple one, but don't know why it won't work. Question VALUE RETURNING FUNCTIONS WITH ONE OR MORE VALUE PARAMETERS The pupils of the Annandale High School have to pay a fee for each extramural activity that they want to partake in. These activities include sport, and other …

Member Avatar for Mouche
0
342
Member Avatar for SpiritualMadMan

OK, I have a Class for a Frame that is basically 24 labels in a stack like an old terminal Screen. There are two Functions included in the Class: AddLine and Clear (Will add "Exit") I want to launch an instance of this Class in it's own Thread and Pass …

Member Avatar for SpiritualMadMan
0
162
Member Avatar for ruba_cti

I need to update a column in access where I should be removing the 7 leading characters in a field.Example: Column value before: AB34567213. Colum value after: 213 So, I tried using VB in Access and this is what I got so far: [CODE]Private Sub delete_leading_chars() Update table_name Set col_name …

Member Avatar for ruba_cti
0
177
Member Avatar for jeraldmuthu

Hi i have generating xml file for chart(fusion chart). that chart having swf format file for each chart. i'm creating xml in case statement( case 1 for horizontal bar xml(file),case 2 for verical bar xml(file)) i have created that file by giving straight path it is not servlet it is …

0
131
Member Avatar for Coffee_Table

I am trying to determine the time complexity (and space complexity if anyone would like to have a go at it) of a sort function i implemented with a custom comparator. it is the sort function from the STL <algorithm>. First off, I am using Visual C++, so I am …

Member Avatar for Narue
0
615
Member Avatar for Behseini

Hi, Could you please take a look at following link and let me know how I can add a loop to my script in order to repeat the animate() function for example for every 30 seconds? [URL="http://www.geoca.com/Mover/"]http://www.geoca.com/Mover/[/URL] as you can see the animate function just runs for one time but …

Member Avatar for Airshow
0
152
Member Avatar for ppetree

OK, I have a table that has: id (int), name (varchar), parent (int) If parent contains NULL it IS the "parent" otherwise it is the child of a parent So: id=1 name=Meals parent=0 Means the above record is a "parent" (there are 100's of parents). So far, so good? Next …

Member Avatar for ppetree
0
151
Member Avatar for hawx

I have created a recursive function to get parent products of a product. I'm almost sure I'm nearly there, but need help snapping out of recursion. The result I am looking for is something like: Product 1 (id:1, parent:none) --- Product 2 (id:2, parent:1) --- --- Product 3 (id:3, parent:2) …

Member Avatar for Morta
0
112
Member Avatar for jacksantho

hi, [CODE]print "<tr><td><b>click</b></td><td><a href=test.php?id=$id&code=$pcode&name=$pname&section=$psection target=\"_blank\">Click</a></td></tr>"; [/CODE] I am passing all the values to test.php through hyperlink. Problem is: I can able to get only id and code. $pid=$_REQUEST['id']; // values getting $pcode=$_REQUEST['code']; //values getting $pname=$_REQUEST['name']; // values not getting $psection=$_REQUEST['section]; // values not getting I don't know to find what …

Member Avatar for Morta
0
154

The End.