64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for NetHead21

Hello anybody! I have some idea and I don’t know if it will work. I am planning to make a user management system using the mysql database but the problem is I don't know where to start because in MySQL database the password is encrypted with password() function and it …

Member Avatar for MooGeek
0
226
Member Avatar for LRNPHP

Hi Everyone. Could anyone give me some pointers in creating a PHP, MySQL ShortCode system. I want to create a system where a user can SMS a keyword to a short code SMS number. [B]Example:[/B] [COLOR="Red"]SMS pizza to 33333[/COLOR]. Then the server checks pizza in MySQL DB and replies with …

Member Avatar for MooGeek
0
546
Member Avatar for Nathaniel10

I tried to do an excercise from Stroupstrup's book. The reader is asked to reverse the order of elements in a vector so that if originally vector[0] = 1, vector [1] = 2, and vector[2] = 3, then new vector has newvec[0] = 3, newvec[1] = 2, and newvec[2] = …

Member Avatar for Nathaniel10
0
194
Member Avatar for aman rathi

hello every one I am a student of CS and in this semester i have a subject DBMS, i haven't do any programming with sql till now, i am completely new to it, here i want to know that about different DBMS software. in our coll we have oracle 8i, …

Member Avatar for tesuji
0
294
Member Avatar for mitchems

I thought it might be useful to show the special local matching variables that perl uses. Here they are: $1..$9 Contains the subpattern from the corresponding set of parentheses in the last pattern matched like \1..\9 $& Contains the string matched by the last pattern match $` The string preceding …

Member Avatar for d5e5
1
174
Member Avatar for JDuch

>>> import g4 >>> g4.systs() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'systs' Why is that ? The code works ok from shell >>> import time >>> def systs(): return str(time.localtime()[5]) >>> systs() '18' g4.py ------- [CODE] import os import …

Member Avatar for JDuch
0
574
Member Avatar for phplover

Hi, I have developed a download / upload script that also counts the downloads of each downloaded file. For statistics i currently got total files and total overall downloads but would like to extend this so it can say how many downloads there has been in a week, month, year. …

Member Avatar for phplover
0
174
Member Avatar for Jamesbch

Hello, I've a tricky issue with a use of my macro. I specify the max length of a string parsed by sscanf with a macro define. Since I write all of my macro value between parenthesis (if it is a number) It should fix the operation problems (it's why we …

Member Avatar for Jamesbch
0
235
Member Avatar for smcguffee

Dear all, I'm starting to get the hang of this C++ business, but I have one question that I just realized I don't have an answer to. Suppose I want to call a constructor from within a constructor to reduce redundancy in the parts that are identical. I seem to …

Member Avatar for smcguffee
0
119
Member Avatar for koveras vehcna

Hello everyone, I am currently working on a code and I got stuck in a part. My algorithm is a text generator that operates on project Gutenberg and its flow is like this: Enter a sentence as input 1-Pick longest word of input sentence 2-Search the longest word of the …

Member Avatar for griswolf
0
256
Member Avatar for giannoui

Hello everyone, I'm trying to develop a program which read from a text file data. Then display one data line per time with 2 sec delay in an lcd which is connected throught the internet. I get a run time error'424' here myFile = File.ReadAllLines("c:\account.txt") '//load file. [CODE] Dim LineNumber …

Member Avatar for AndreRet
0
133
Member Avatar for Roger101

Hi, I know how to stor multiple values in has table with single key.Basically HOH But i am not able to do the same when the hash has multiple keys I am trying something like this and when i try to print it gives garbage value for the has keys.. …

Member Avatar for Roger101
0
206
Member Avatar for JDuch

After importing the script below as g4.py as >>import g4 followed by >>> pad ="ram:t/list.lha" >>> g4.extract(pad,"path") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "g4.py", line 52, in extract return takeaction.get(itemnw,errhandler)(fromvar) TypeError: errhandler() takes no arguments (1 given) This error does not appear when i …

Member Avatar for JDuch
0
378
Member Avatar for raghujosh

Environmental Variable: System variable(both) 1. A new GRAILS_HOME variable installed pointing to the Grails folder. 2.PATH: C:\Grails\bin appended . However I get an error message sayings grails is not a recognized command. I am a new to grails. The documentation says its very simple and I have tried different ways …

Member Avatar for raghujosh
0
389
Member Avatar for LRNPHP

Hi Everyone. I'm busy with a advanced search function, what I want to do is when a client clicks on a tab/button it should open a windows where he can define his search even more. If anyone could point me in the right direction of what I can use or …

Member Avatar for LRNPHP
0
169
Member Avatar for junjun61991

Private Sub cmdprint_Click() i am searching the code of the command button for printing, at the above.. now, the textidno.text = textborrowersname.text = what is code after the " = "

Member Avatar for AndreRet
0
275
Member Avatar for cristi08

Hellow programmers, today I stuk on a new one,This time is a $_Get sintax that give me error like so :"invalid query 4: 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 ''36''' at …

Member Avatar for cristi08
0
103
Member Avatar for Newbi1984

Hi there, I'm very new to perl so I hope that you can help me. I have a list of duplicated entries in one file and what I want to do is to search another file for those entries that appear in the first file and then rename each duplicate …

Member Avatar for Newbi1984
0
102
Member Avatar for Bladtman242

The code executes as expected, but I am not sure it is considered good code:) I am thinking especially of the two streams on the socket, if the first one is successfully opened and the next one for some reason throws an exception, the finally block will never run. If …

Member Avatar for Bladtman242
0
119
Member Avatar for Megha SR

hello. i have just started learning functions in java. i have done the below program to find area of rectangle,triangle and square. it is a private class. class calcu { void rectangle(int l,int b) { int area1; area1=l*b; System.out.println("area of rectangle = "+area1); } void triangle(double base,double h) { double …

Member Avatar for NormR1
0
76
Member Avatar for ddanbe

As all textbooks on C# will tell you, you cannot instantiate an abstract class. I believe the keyword [B]abstract [/B]was intended for that purpose. So can anyone tell me why I can do something like this: [CODE=c#]abstract class TwoDShape { // some code here } class test { static void …

Member Avatar for CloneXpert
0
140
Member Avatar for riddhi_k

hey pls help me., I m nt a good programmer. bt though m trying 2 do some programming... pls give me coding in vb.net for searching records from Access database. Waitng for your repy. [CODE]Private Sub search_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles search.Click search_data(("select * from 86_10 …

0
58
Member Avatar for abhijeetcn

I know the function textcolor() included in conio.h in borland compiler. but this function is not present in vc++. also if you can provide me the text formatting functions,or header file containing it. i will be very thankful.......so please help me......thanks

Member Avatar for [Alpha]-0mega-
0
203
Member Avatar for ausrasul

Hi, I'm trying to write a shell script that do ftp and download file periodically, this script should be called by a daemon running in the background. the shell script "script.sh" is as follows: [icode] yafc [url]ftp://test:test@192.168.1.225:21[/url] < commands [/icode] and the "commands" files is [icode] d Root/md5* / quit …

Member Avatar for ausrasul
0
409
Member Avatar for dlannetts

Hi, i have downloaded 3d blender and Python 2.5 and tried to run Python with blender for the use of importing models, but when i tried to import the model a message came up in the command prompt saying : [CODE]module use of python25.dll conflicts with this version of python[/CODE] …

Member Avatar for dlannetts
0
495
Member Avatar for Rez11

EDIT: I figured it out. I do not know how to delete threads. Sorry. I need to return a pointer to a new array. The new array must be the same as the old one, just in reverse. I have it all done except for one little part. I can't …

Member Avatar for Rez11
0
125
Member Avatar for newbie_to_cpp

Hi all, I am totally new to C++. I began learning C++ some 2-3 months back referring to youtube tutorial channels and now by reading a book by Robert Lafore. I practice when i get free time. I still have long way to go. Well, referring to some examples that …

Member Avatar for newbie_to_cpp
0
2K
Member Avatar for levinia-heks

I need to code a very basic fortran program that takes command line input, and I'd like to terminate the program if I detect wrong input. The following doesn't work: [CODE]if (n .NE. 5) then write (*,*) "Wrong number of arguments" end program Poker end if[/CODE] I get "Error: Expecting …

Member Avatar for levinia-heks
0
221
Member Avatar for ashu2401

Hi everyone, I am a beginner in javascript and am running into a small issue. In the code snippet below, the desired result is a countdown from 5 to 0 using alert messages. But for some reason it alerts only -1, why is that and how can I fix this …

Member Avatar for ashu2401
0
127
Member Avatar for Bigbrain99

Is there any way to check if i have added more than 1 same header so that i won't get compiling error while running it?How do i know which one will include the header first and other cpp will include it later?

Member Avatar for Bigbrain99
0
90
Member Avatar for Megha SR

i have got a program to convert a double value to a string. eg==INPUT= 3.65 OUTPUT=three point six five. can anyone give the solution.

Member Avatar for Megha SR
0
105
Member Avatar for vizz

I have created my online community portal. I want to create simple blog using php and not want to use wordpress. How can I create my own blog??? Please help me!

Member Avatar for FlashCreations
0
181
Member Avatar for Suzie999

I have a form with 2 labels and 2 buttons Button1 changes the label1.Text of the form // works fine Button2 starts a new thread and the method is supposed to change label2.Text However I get compile time error: "error CS0120: An object reference is required for the non-static field, …

Member Avatar for CloneXpert
0
158
Member Avatar for acrocephalus

Hello! I have designed an initial frame for a database app using this code [CODE]#! /usr/bin/env python # OrnithobaseGUI.py import wx, MySQLdb, wx.lib.intctrl ID_HELP = 1 ID_ABOUT = 2 ID_LOG=3 class Ornithobase(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(750,225)) #Define menus menubar = wx.MenuBar() #Define file menu …

Member Avatar for acrocephalus
0
166
Member Avatar for ehrendreich

I am rather new to vb and could use some help. I am using the latest version of vb and am working with a database to add some records. Simply, I would like to have a form that adds a new record into the tblContact table then enter a few …

0
68
Member Avatar for jonniebl

I am writing a program that creates a file and attaches it to an email. I use a loop to create the attachment, send the email and then do it again with different information in the attachment. This works well for one tim through the loop, but on the second …

Member Avatar for jonniebl
0
186
Member Avatar for TahoeSands

Hello Everyone, This is my first post, so be gentle with me. I am working on an application and I have a need to store about 5 or 6, X and Y coordinate pairs. The values for X and Y are reasonably small integer values (less than 5000). Essentially all …

Member Avatar for TahoeSands
0
5K
Member Avatar for mith_cool

I have uploaded some flash content into my html website but when i upload it on the server am unable to see it. I have registered the website of mine but unable to find a way for this problem. heres my code [CODE] <td colspan="6"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','932','height','359','src','Building','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','Building' ); //end …

Member Avatar for mith_cool
0
109
Member Avatar for pietpiraat

Hello all, i'm trying to show the time between a start & end time selection, problem is, i do not know my way around javascript/jquery that good, so i hoop someone will help me. i have four dropdown select boxes: [LIST] [*]start hour [*]start minute [*]end hour [*]end minute [/LIST] …

Member Avatar for Airshow
0
2K
Member Avatar for Tarkenfire

Okay, so yet another post here due to my utter confusion with this language...in all honesty, this isn't a question about threading, per say, lemme just demonstrate what I mean. This: [CODE]class RevoiceThread( threading.Thread ): def run (self): print "Remember to replace this line with the actual code" [/CODE] is …

Member Avatar for Tarkenfire
0
229
Member Avatar for raghujosh

I am trying to deploy a simple web application. I only have 2 files, Entry.html and UpdateDBServlet. I have placed them under a directory in the webapps of tomcat. I can access the entry.html when Tomcat is running, but upon pressing the submit button, the UpdateDBServlet should be called, however, …

Member Avatar for raghujosh
0
189
Member Avatar for raghujosh

I am trying to connect from Eclipse to a database in SQL server 2008. However, i am unable to and the following error message is thrown(see attached image). Can somebody help?

Member Avatar for raghujosh
0
359
Member Avatar for sportinguista

Hi! I´m working with multiband TIF files and some of them have double data type. I need to modify some pixels from int (0-255) values to double values; problem is that my original image has int values, so it always rounds new values to int. That´s why I want to …

Member Avatar for sportinguista
0
345
Member Avatar for tamil.veera

how to search xml files in complete hard disk and display it's file name. if double click any file name then it will open a note pad(view the source coed) and another option is open the browser(Internet Explore,any browser) [COLOR="Green"][B]please write the code[/B][/COLOR] Thank you.......

0
31
Member Avatar for vandadm

Hello all, For this program (assignment), the user enters the names of five students, and their respective four test scores. The program will then average the scores, and display them for the user. Part of the requirement for the program is that we use five single-dimensional arrays of 'doubles' to …

Member Avatar for tesuji
0
211
Member Avatar for mauro21pl

Hi to all. Could you guys help me with a little program. There is something wrong with tahat and can't find that. That's the code: [code=c] /* An employee is paid at rate of 16.78$ per hour for the first 40 hours worked in a week. Any hours over that …

Member Avatar for gacha23
0
880
Member Avatar for stompper33

I'm a newbie to python and I have a problem. My problem is that I have a CSV file with hundreds and hundreds of rows of data. Each row contains temperature data that has been recorded daily. What I want to do is try to extract certain rows of data …

Member Avatar for Beat_Slayer
0
3K
Member Avatar for Melow

i made a binary calculator... it calculates two numbers in binary code i'm new in programming so this is what i came up with, it's not the best implementation, but it might help someone known bugs: when u try to make more calculations in one "session" it doesn't clear the …

-1
128
Member Avatar for john125

Defining a Class Define the class rectangle. It's constructor takes a pair of numbers representing the top-left corner, and two other numbers representing the width and height. It has the following methods: * getBottomright() - return the bottom right corner as a pair of numbers. * move(p) - move the …

Member Avatar for Beat_Slayer
0
2K
Member Avatar for anony

while hosting a asp.net web service, where do i put the services in. like we put it in the iis in our computer. Any help will be really appreciated as i am clueless on how to do it.

Member Avatar for anony
0
77

The End.