199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xrv1

Im supposed to implement a quad tree that will input cities into a fixed format. when the user asks for a particular city, all cities within a certain range will be displayed. i think i have the right method's in place, but for some reason or another, the program wont …

Member Avatar for WaltP
0
128
Member Avatar for corby

Ok the problem im having is in my setRectangleLength and setRectangleWidth. The compiler shows no errors so everything is fine. However when I try to validate the length and width between the values of 1-20 it does not work. When the program asks the user to enter another length or …

Member Avatar for corby
0
113
Member Avatar for katwalatapan

Hello, I have a query on dynamic allocation of memory in C. I am storing 4 seconds of audio data in a buffer allocated with sufficient memory using malloc function. If I wanted to record another 4 seconds of audio in the same buffer, I would have to increase the …

Member Avatar for katwalatapan
0
185
Member Avatar for Dasau

When I put these code in my project. It suppose to display error box when no input is enter, but there no dialog box is pop up. What else do I need for this code to work? Here part of the code I want it to work [CODE] if( costKwhrField.getText().length() …

Member Avatar for stultuske
0
107
Member Avatar for arafat_alam

i am facing problems of destructor in the following code.destructor is not working.can any one help plz???? [CODE] #include<iostream> #include<cstring> #include<cstdlib> using namespace std; class strtype { private: char *p; int len; public: strtype() { p=(char *)malloc(sizeof(char)); *p='\0'; len=0; } void getString(char *str) { len=strlen(str); p=(char *)realloc(p,sizeof(char)*len); strcpy(p,str); } void …

Member Avatar for arafat_alam
0
132
Member Avatar for srinath3

[CODE]#include<iostream.h> class alpha { int x; public: alpha(int i) { x=i; cout<<"\n alpha constructor"; } void show_alpha(void) { cout<<"x="<<x<<"\n"; } }; class beta { float p,q; public: beta( float a,float b):p(a),q(b+p) { cout<<"\n beta constructor"; } void show_beta(void) { cout<<"p="<<p<<"\n"; cout<<"q="<<q<<"\n"; } }; class gamma:public beta,public alpha { int u,v; …

Member Avatar for srinath3
0
171
Member Avatar for crocodal21

hello all i have a finished program that i worked on last week and i think is running well but i wanted to know how to convert it to have JTextField where the user inputs a value which must appear in the upper part of the frame. There should be …

Member Avatar for crocodal21
0
483
Member Avatar for adam84

I have a form called privateOrder, and two other forms. in the first form when I double click on a datagridview it opens the privateOrder form. in the second form I have a button, when I click it also calls the privateOrder form. I want to know if there is …

Member Avatar for adam84
0
95
Member Avatar for JAM1011

Hey all, I wondering if you could help me get my head around this problem. [CODE] connetionString = "Provider = Microsoft.ACE.OLEDB.12.0;Data Source = KellihersLawnmowers.accdb" cnn = New OleDbConnection(connetionString) cnn.Open() overDue = "SELECT tblCustomer.*, tblMachineHistory.*, tblPayments.* FROM (tblCustomer INNER JOIN tblMachineHistory ON tblCustomer.Customer_ID = tblMachineHistory.Customer_ID) INNER JOIN tblPayments ON tblMachineHistory.Machine_ID = …

Member Avatar for JAM1011
0
93
Member Avatar for lewashby

I'M reading the book that's in the title. Let me show you what's going on. I'M given the following code, an example of Inheritance. [CODE]using System; namespace CritClone { class CritViewer { static void Main(string[] args) { CritViewer cv = new CritViewer(); }// end main public CritViewer() { Clone myClone …

Member Avatar for apegram
0
146
Member Avatar for benk1

Hi guys, I have a simple php shopping basket which stores the products in an array. To add a new value into the array, I have the following: [CODE]$cart .= ','.$_GET['id'];[/CODE] I was just wondering if there is an equivalent line of code to remove a single array value with …

Member Avatar for MrYrm
0
98
Member Avatar for james0192

Hi, i'm writing a project for my A-level course in python and ive come to a problem, i know the forum rules say not to expect a quick sollution and i dont want that as i like to understand things instead of doing them blindly. i've written a class which …

Member Avatar for james0192
0
3K
Member Avatar for Kruptein

Again I have problems with my classes :s I want to test if there is still text in the text_ctrl, if so it should give a warning in which you can chose to cancel, save or continue; but somehow the [icode]deditor.st = "continue"[/icode] is not passed :s [code=python]#!/usr/bin/env python # …

Member Avatar for Kruptein
0
123
Member Avatar for Eternity[LK]

Hi. I have never used a command-line compiler before and I'm very confused now. I need to use this compiler for my home assignments in one of my subjects in University. I installed the compiler but I don't know how to use it. Help file says: [I]To see a list …

Member Avatar for Eternity[LK]
0
143
Member Avatar for aditi_19

Hi, I am trying to send email in php for which i installed PEAR mail package. The installation is fine but when i try to run the email script, i get this error : [B]Failed to connect to smtp.csaauto.com:25 [SMTP: Failed to connect socket: No connection could be made because …

Member Avatar for pritaeas
0
184
Member Avatar for jhonnyboy

Hello everyone I am new to access and have been trying to teach myself a bit lately. In any case, I have a problem with a specific text box(NumofMonths) within a form. I need for the default value to be 12 and that it may be edited. This text box …

Member Avatar for jhonnyboy
0
97
Member Avatar for tetron

Hi I have what at first seemed to be a very simpe problem: I have a Microsoft Package that requires me to use nmake to make a lib file. I am unfamiliar with make files as I use visio and XP. Now I had to move somethings due to restricted …

Member Avatar for mitrmkar
0
523
Member Avatar for antihero0021

Trying to use an oledbdatareader to search through a table in my Access database. When I hit the command button to search it throws an error that says no data exists for row/column, but if I execute the command against the database it returns exactly what I am looking for. …

Member Avatar for antihero0021
0
482
Member Avatar for ramakrishnankt

Hi, my table has id,startdate,enddate,starttime,endtime,salelocation,imagename both dates are in date type and starttime and endtime are in time type. I want to check if my data consisting of startdate,starttime,enddate,endtime cannot be present in table and must be a valid date and time duration. How to check this valid date and …

Member Avatar for ramakrishnankt
0
144
Member Avatar for dsit86

Hi everybody, I need to consume a web service through a .net mobile application - i have written both the web service as well as the mobile app. However there is an issue when emulating the system as the .net emulator cannot understand the ''localhost'' url. Is there a solution …

Member Avatar for dsit86
0
108
Member Avatar for ronyyy

how i can solve this problem..... generate the following staircase pattern(using loop operation) 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 6 12 18 24 30 36 7 14 21 28 35 42 49

Member Avatar for ronyyy
0
105
Member Avatar for whiteyoh

Hi all, Im pretty ok with PHP and have recently been breaking down a project using foreign keys to identify various bits of information. This is my problem. I have an items table, which is made up of ID, country and area. It previously has the actual word of the …

Member Avatar for pritaeas
0
138
Member Avatar for servis

i have a simple form validation onsubmit event. The requirement is very simple, if validate.php brings any error it shows errors and it stops form for further processing else form submit and action runs process.php. But, unfortunately ajax function is not working onsubmit event.. any help please..... files are attached …

Member Avatar for Graphix
0
2K
Member Avatar for Lolalola

Hi, i download wmi from this: [url]http://timgolden.me.uk/python/wmi/index.html[/url] (windows version) [CODE=syntax] import wmi c = wmi.WMI () for process in c.Win32_Process (): print process.ProcessId, process.Name [/CODE] And run this script in Python 2.6 IDLE Show this error: Traceback (most recent call last): File "C:\Users\lola\Desktop\test.py", line 1, in <module> import wmi File …

Member Avatar for Lolalola
0
165
Member Avatar for ravi0703

Hi, My Name is Ravi Shankar. I have query in PHP Code. I had written the code as if client click on check box, it will generate 16 digits random number in adjacent text box. My query is, before display the 16 digits random number i have to show a …

Member Avatar for diafol
0
90
Member Avatar for bobsta

I am trying to render a very simple scene by loading various parameters from a file (MLC.txt) When compiling I receive the following error main.cpp: In function ‘void renderScene()’: main.cpp:77: error: ‘pBeam’ was not declared in this scope H

Member Avatar for bobsta
0
242
Member Avatar for wtzolt

I need help with something I'm working on. I'm new to python so bare with me. I have a string being randomly generated in such format (example): [CODE]F' B D D2 A2 C'[/CODE] [I]6 Letters from A to F with ether a number " 2 " or " ' " …

Member Avatar for wtzolt
0
122
Member Avatar for mmasny

Hello, I can't understand what compiler wants from me. I trying to create quite a big class structure with many abstract classes. Below is a part of the code with some of them. The compiler doesn't like my classes and says the he needs more constructor which I don't understand. …

Member Avatar for mrnutty
0
170
Member Avatar for divyakprabh

how to use database tags.?? what exactly is the use of it.?? In my database design i have a table called project_details which consists of many fields like its projectID, title, domain and technology. Each project can have many technologies involve in it.. so how do i make use of …

Member Avatar for divyakprabh
0
77
Member Avatar for sidlampard

hi i m new c# and this is my very 1st project ,here i want to add or view data and this is the code i have used.everything works fine but i cant navigate through records properly,i m working with 2 tables i.e BankMaster and BranchMaster [ICODE] private void branchmaster_Load(object …

Member Avatar for kvprajapati
0
717
Member Avatar for nimmyliji

Hi, I want to parse a date and change the format using python. Date has the format like 'Mon Feb 15 2010' and i want to change the format into '15/02/2010'. Any one can help me. Thanks in advance. Nimmy

Member Avatar for nimmyliji
0
45
Member Avatar for TechSupportGeek

Hello world, I would be grateful if you helped me. I've built a text editing application and I would like it to load values/user settings from the Windows Registry. Here's my code but it is somehow wrong (I believe it whatsoever has to do with wrong syntax but it could …

Member Avatar for TechSupportGeek
0
244
Member Avatar for jallan2010

Please help me for my syntax error? and I want to show all the First Middle and Last Name in the listbox i.e. into Listbox First Middle Last Amit Anoop Motwani

Member Avatar for jallan2010
0
172
Member Avatar for terabithia

Hi.. I suppose to have a programe to read a data from a file and enqueu it to the Queue. The programme works like a Priority queue whether the ladies queue need to be inserted to queue first before the gentleman... But i think i need to try first how …

Member Avatar for scott.vass
0
3K
Member Avatar for bd338

Hello everyone! This is the code for my A86 Assembler: [CODE] jmp _executor _executor: mov ah, 00 mov al, 18 int 10h end _executor [/CODE] It Assembles fine, but when I try to run it, I get this dialog popping up, saying: [QUOTE] This system does not support fullscreen mode. …

Member Avatar for Harko33
0
201
Member Avatar for vishalonne

Hi Every One I am designing one site in Zen Cart 1.3.8a almost every thing is completed, here I came for one simple help from you all. I want few text fields and drop down boxes should generate when user click on Add new item Button and the previous entered …

Member Avatar for vishalonne
0
158
Member Avatar for veledrom

Hi, I installed vsftp and filezilla. I use host:127.0.0.1, user:root, password:(don't have any), post:21 to connect to ftp but not successful. Does anyone know how to do this? Thanks

Member Avatar for veledrom
0
79
Member Avatar for collegegirl7

I have an application in which I am using vb.net and excel. Daily readings are taken, written into vb.net and then saved into excel. At the moment i have it set so that: [code] If Gdate = "12 February 2010" Then .Range("C4").Value = TextBox1.Text .Range("C5").Value = TextBox2.Text .Range("C6").Value = TextBox3.Text …

Member Avatar for collegegirl7
0
207
Member Avatar for mansi sharma

can somebody tell me how to get file type..of any file..For .txt file file type is [B]Text Document[/B],for doc file - [B]Microsoft Word Document[/B] & so on. Plz help me out,I m not finding anything on the net related to it.

Member Avatar for kvprajapati
0
952
Member Avatar for DiaaHedo

Dear all, Good Day I need your help, I have the attached files that contain a data for "queue system" and I can get report from them by the q-system application But I search for another way to open this file as (SQL, Access or other) If you can open …

Member Avatar for karol33
0
124
Member Avatar for telepip

I cannot directly open the process who's output I need. And there is no keyboard commands to highlight text in anyway. I've found that I can find the process ID and create an object associated with that ID, but because I have to redirect the output upon initialization, I don't …

Member Avatar for kvprajapati
0
1K
Member Avatar for LJames

My GridView is quite long and goes off the screen. I want the detailsview to position itself alongside where I click the "Select" button - not at the top or bottom of the gridview - perhaps center screen? Using VB not C# please. Any ideas what to put as the …

Member Avatar for LJames
0
139
Member Avatar for srinath3

[CODE]#include<iostream.h> class invent2 class invent1 { int code; int items; float price; public: invent1(int a,int b,float c) { code=a;items=b;price=c; } void putdata() { cout<<"code:"<<code<<"\n"; cout<<"items:"<<items<<"\n"; cout<<"value:"<<price<<"\n"; } int getcode(){ return code; } int getitems() { return items; } float getprice() { return price; } operator float(){ return(items * code); } …

Member Avatar for srinath3
0
439
Member Avatar for adel_elrefaey

i recieve error message when execute my code note my code has now errors when build the solution i work on laptop with windows xp sp2 and vc++ 2008 error message misa.exe - Unable To Locate Component x This application has failed to start because MSVCR90D.dll was not found. Re-installing …

Member Avatar for adel_elrefaey
0
118
Member Avatar for santhoshvkumar

Hi All, For more than two days I m trying this problem. Some one please help me out. My scenario is I want to directly insert data into my table from the input which I get it from text boxes. Here is my code... [code] con = new SqlConnection(); con.ConnectionString …

Member Avatar for asal80
0
109
Member Avatar for ElegantElephant

I have a dropdown list and the selected item depends on the record the form is for. How do I allow PHP to determine which item in the list is selected according to how that row is configured?

Member Avatar for saiprem
0
85
Member Avatar for NextCom

Many people would probably think this question is stupid, but how can i insert a value that starts with 0 in a Bigint/Numeric/Int field? This would normally not be a problem, just using a varchar field instead, but because of the index speed (this is a very large table with …

Member Avatar for mail2saion
0
93
Member Avatar for prem2

Hi, I want to learn sql injection.I searched in google but the information is not sufficient to me.Will u provide some links to learn sql injection. thank u

Member Avatar for darkagn
0
303
Member Avatar for maleko

I have a postgresql view on which I'm running the following query : [CODE]select count(*) AS "Assigned Calls" ,to_timestamp(createdon)::date from vw_issues where to_timestamp(createdon)::date>='11/10/2009' and to_timestamp(createdon)::date<'11/11/2009' group by to_timestamp(createdon)::date order by to_timestamp(createdon)::date[/CODE] when run in phppgadmin the result is displayed as Assigned Calls to_timestamp 20 2009-10-12 13 2009-10-13 etc... I need …

Member Avatar for saiprem
0
156
Member Avatar for COKEDUDE

Can someone please explain the meaning of these return 1 vs return 0 vs break. I know 1 generally means true and 0 generally means false but how would they effect a return statement? Also when would you wanna use a return statement instead of a break statement and vice …

Member Avatar for WaltP
0
257

The End.