64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for abdulraqeeb33

hello, i want to cycle through a db table infinite times, ie; if there exists no value(reached end of table) in the result set, i wanna point the cursor to the start again...and it goes on infinite times wat do i add and where package project; import java.io.*; import java.net.*; …

Member Avatar for peter_budo
0
148
Member Avatar for wizard wusa
Member Avatar for kyleknapp

I'm brand new to SQL queries, hoping someone can help me set up this query. I'm using [URL="http://www.phplist.com"]phpList [/URL]to manage my mailing list. All user defined attributes appear to be stored in a table called phplist_user_user_attribute. The structure of this table is:[INDENT][U]Field[/U], [U]Type[/U] attributeid, int(11) userid, int(11) value, varchar(255) [/INDENT]attributeid …

Member Avatar for peter_budo
0
151
Member Avatar for Moporho

I am trying to switch this if...else statement to a Switch and I can not get the program to calculate. Please help? original if, else [code=cplusplus] #include <iostream> using std::cout; using std::cin; using std::endl; #include <iomanip> using std::setw; int main () { int x, total=21; cout << "Input Number for …

Member Avatar for Moporho
0
113
Member Avatar for lianaconda

Hi. The assignment is to implement a function using recursion. I can't use any loops whatsoever. The function takes in an array of doubles and the array size, and is supposed to return the position of the smallest element in the array. I've already written some code out for the …

0
57
Member Avatar for happimani

Dear All, Iam Using python 2.3,i have pythonpath in environment variables,is it possible to rename Pythonpath because i have to use two path alternatively first is pythonpath and second is PythonPath1 any idea????????? regards Narain

Member Avatar for vegaseat
0
126
Member Avatar for bhagyaR

Hey, Can anyone please point me to a place where I can find all the modules so far developed for python. I am mainly looking for modules that can be used to update excel files. ping machines and send automatic mails though local mail client. Appreciate your help here! Thanks, …

Member Avatar for vegaseat
0
88
Member Avatar for micam
Member Avatar for daviddoria

I have some code like this: [code] vector<double> Saved; for(int i = 0; i<10; i++) { if(some condition on i) Saved.push_back(i); } [/code] Then I want to see what order the things were saved... so naturally I do cout << Saved.at(0) << endl << Saved.at(1) << endl; But to my …

Member Avatar for mitrmkar
0
192
Member Avatar for web_master

Professional javascripters plz help or illl be screwed at work.....plz guys..... I have made this sliding div....but i am having a big problem.....i dont want the div to appear in the first place....but in the code below its is already open when the page refreshed....I want it to open when …

Member Avatar for web_master
0
106
Member Avatar for ceyesuma

[code] String partial = ("SELECT c FROM content AS c WHERE c.artist LIKE \"%" + like + "%\""); [/code] Is there any one that can explain the proceedure to get this query introduced into the persistence unit so it can be run? (netbeans6.1,MySQL,JDescktopApp) Thanks

Member Avatar for ceyesuma
0
103
Member Avatar for En1ro

In Unit1.h private: [ICODE] struct gydytojas { int gydid, amzius, specialyb, telefonas, asmkod; String vardas[25]; String pavarde[35]; String adresas[50]; }; gydytojas gydmas[100];[/ICODE] Now in Unit1.cpp im trying to do simple thing: [ICODE]void __fastcall TForm1::Button18Click(TObject *Sender) { gydytojas.vardas=Edit21->Text; gydytojas.pavarde=Edit22->Text; gydytojas.adresas=Edit24->Text; }[/ICODE] Getting these errors: [C++ Error] Unit1.cpp(172): E2108 Improper use of …

Member Avatar for En1ro
0
2K
Member Avatar for aabundle

Hello, I have a simple GUI but when i put another Jframe in an action listener it squishes the main page in with the new Jframe, i know this is probably basic but my text book yeilds no result, here is my code. Maybe i am going about the process …

Member Avatar for aabundle
0
216
Member Avatar for wonder_laptop

hello guys, well i dont get it. what does it mean to say we have a 32-bit processor ?!! and why saying 32-bit processor implies that the virtual memory of the process is 2^32? please help

Member Avatar for wonder_laptop
0
132
Member Avatar for Prabakar

I know nothing about ASP and I am intrested in learning it. Please help me find a good means to start.

Member Avatar for RandyRich
0
69
Member Avatar for baker4

Hi I have been trying for a while to get a toolbar to work with a print function and cannot get it to work. However does anybody know if you can just use a normal button to print the form it is on? If so how?? I have already tried …

Member Avatar for Alekhan
0
125
Member Avatar for veledrom

Hi, I need a trigger; - to find number 1 from "ID" column and - update "AVAILABILITY" column from Yes to No in "PRODUCT" table. Thanks

Member Avatar for veledrom
0
115
Member Avatar for daniel88

Hi all, This is my maiden post on not only this forum, but in fact any programming forum so please bear with me. I must say that this question does relate to a piece of homework, but it is the final member function in a series of about 8 and …

Member Avatar for VernonDozier
0
2K
Member Avatar for EBC

Hi, I'm a beginner in C++. I have a problem with referencing resources between 2 or more files. This is the main cpp code: [code] #include "stack.h" #include <cassert> #include <iostream> using std::cout; using std::endl; int main() { IStack ist; ist.Push(1); } [/code] and the header file: [code] const int …

Member Avatar for EBC
0
210
Member Avatar for winky

I recently downloaded Visual C++ 2008 express edition, and when I tested it out with a simple "Hello World" program, I got the following error: general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified. After doing some research, I found out that …

Member Avatar for winky
0
93
Member Avatar for henpecked1

I've been given an assignment to write code for a sphere class. Now the point of this lesson is really formatting I/O, so they've given some member functions for the class. The problem is I don't know what they are all for. I've included them below and what I think …

Member Avatar for bugmenot
0
152
Member Avatar for sbrown2594

The code below is part of a simple craps game that I am writing for practice. I have the dice rolling down, but I can't get this betting command to work out. The only module that I am really interrested here is the bet1(x) module but I copied the entire …

Member Avatar for woooee
0
118
Member Avatar for Black Magic

Hey, I was just wondering if i could write my C++ code on notepad and run it etc? I am asking this because atm i'm at a community centre and on a computer, but not allowed to download anything, so can i? reply asap please

Member Avatar for Ancient Dragon
0
250
Member Avatar for macrosoft

i'm getting a problem when using cin and cout, for some odd reason it's like I'm not using a C++ compiler. I'm using Microsoft Visual C++ 6.0 and i tried using a borland compiler as well and i get the same error on several different computers. What in the world …

Member Avatar for togayot
0
455
Member Avatar for elininator

Hi, I am having problems with my forms emailing the inputted content into my emails. It sends all of the rest of my html such as line breaks and everything that is actually in my php code. But it doesn't pull anything from the form. I have double and triple …

Member Avatar for elininator
0
98
Member Avatar for arunkp

friends i need to send AT or ATX commands using c language i tried to write the data using biosserialcom() fn to write to serial port in win XP. but it failed .some error camesayin "16bit msdos subsystem error" my question is whether i will be sucessful if i tried …

Member Avatar for jephthah
0
215
Member Avatar for maydhyam

Hi Guys and Gals.... Could anyone help me with respect to why when this email is sent, the hyperlink in the message doesn't work? [CODE] //send email $to = $myrow['FirstName'].".".$myrow['LastName']."@petrotrin.com"; $subject = "TAIS Application - New Randomly Generated Password"; $from = "TAIS Application"; $msg = "Dear User ".$myrow['FirstName']." ".$myrow['LastName']." (".$empNo."),\n\nYou …

Member Avatar for maydhyam
0
155
Member Avatar for veledrom

Hi, 1- When i insert more than 30 datas (at once) into a table, does sequence cache size(20) effect anything because, i use sequence for auto increment in the table. 2-What happens if i increase the cache size from 20 to 50? thanks

Member Avatar for Nige Ridd
0
215
Member Avatar for Visualogic
Member Avatar for Gunjan Bhatt

I have tried my level best to complete the project within 2 months but I am not able to do that. I am getting the problem in retriving the data from combo box and displaying it on nect page and inserting it in MySQL database. I dont know the procedure …

Member Avatar for ~s.o.s~
0
137
Member Avatar for loeto

Write a program which will calculate, for every integer that is being input, a code in the following way first digit multiplied by 3 plus second digit multiplied with the third digit minus fourth digit thus the number 3124(of type int) should generatethe code 7, because 3*3 +1*2 - 4=7. …

Member Avatar for loeto
0
161
Member Avatar for umeshjaviya

I am a new guy in C. But I have read stuffs about Malloc, Realloc, how to pass pointers to the function... If I am writing this code in single program, it works perfectly...but smart programmmer guide says write in compact form. So with user defined function this is not …

Member Avatar for Prabakar
0
97
Member Avatar for Mekano

Hi, I put websites together using Xoops and OsCommerce. I need to know how to edit mysql databases using Cpanel. Please could you point me in the direction of some tutorials? There are some which show how to se up a database but not how to edit one. For example, …

Member Avatar for Mekano
0
195
Member Avatar for joshmo

I have a small problem with adding some items to my linked list....the code compiles with no errors but when run it doesnt complete...it looks like it is still waiting for some input but i dont know where my loops are going wrong.. [CODE] #include <iostream> using namespace std; struct …

Member Avatar for joshmo
0
61
Member Avatar for vishakha_ate

Please can anyone help me out to solve my problem. m developing one site in which i want to send one page to friend. now m using System.web.mail and using the method in that. but its not working. so Please can anyone give me the code to send the mail.. …

Member Avatar for vishakha_ate
0
108
Member Avatar for William Peek

I am using a client program (VB6) to interact with one or more server ActiveX executibles, also VB6. Everyting works as it sould when the servers are different EXE's. That is, compiled with different Project Names to different File Names. However, I would like to access 2 instances of the …

Member Avatar for Jx_Man
0
150
Member Avatar for roby4eldiablo

Hi all. I have a login Form where user can insert Nickname & Password. I have a database where i have listed new registered user and store their information. The problem is when I control the Form data "pass" and check if it's equal to the rst("pwd") into the database. …

Member Avatar for roby4eldiablo
0
102
Member Avatar for kavithakesav

Hi All, I need help in switch type menu. I have a code for switch type menu (when u click on link sub links will come), but same effect i need on mouse over its self (without clickng i need this effect). Plzzzzzzzzzzzzzzzzzzz

Member Avatar for kavithakesav
0
88
Member Avatar for still_learning

Hello, I have a very interesting issue that I want to solve but I need some help because I do not know if it is possible. I am using some radio buttons on my website, but instead of the user actually clicking a radio button to set it as "checked" …

Member Avatar for still_learning
0
293
Member Avatar for lianaconda

Hi. The idea is to create a base classed called creature with 3 derived classes called phoenix, giant, and centaur. I've already implemented all the functions, but my code still doesn't compile. I get errors that say [code]"error C2664: 'Phoenix::Phoenix' : cannot convert parameter 1 from 'const char [9]' to …

Member Avatar for lianaconda
0
125
Member Avatar for javauser215

I am receiving and error when trying to compile and cannot seem to figure out why and would appreciate any help. [code] public class Product { private String itemName; // variable that stores the cartridge name private int itemNumber; // variable that stores the item number private int invStock; // …

Member Avatar for javauser215
0
3K
Member Avatar for hacker9801

I know the & operator means address-of, but what's it do when in a function prototype? Example: [code=c++]void foo(std::string& str)[/code] or [code=c++]void foo(char& c)[/code] what's the & for in that?

Member Avatar for VernonDozier
0
107
Member Avatar for knowledgelover

Hi there, I created a setup project , added it to the solution that consists from a windows service, I added the primary output from the serviceName, but when I install the service never show up in the Service manager !!!! Any ideas or even a site that discuss how …

Member Avatar for majestic0110
0
193
Member Avatar for Black Magic

Hey, I was just thinking and came across this idea and wanted to know if it could be done, say if the user enters 321, my program would output 123, 450, 054 etc etc Could you please show me how this could be achieved thanks.

Member Avatar for Narue
0
3K
Member Avatar for ChrisP_Buffalo

I have a file with a long list of English verbs and I have a set of search strings; now I want to search through the verbs to find any verb which contains any of the strings as a substring. For example, the verbs "forgotten" and "negotiate" both contain the …

Member Avatar for woooee
0
100
Member Avatar for emilio

i am trying to generate random numbers in a loop i wrote this function [code=syntax] int getRand ( int a , int b ) { static int x = 0 ; if ( x == 0 ) { srand ( time( NULL ) ) ; x++ ; } return a+rand()%(b-a+1); …

Member Avatar for emilio
0
106
Member Avatar for wrichardson530

PosOfSpace = InString(LstStudent.[B]Value[/B], 1, " ") txtStudentId.Text = Mid(LstStudent.[B]Value,[/B] 1, PosOfType - 1) I'm tring to get the studentId to show up in the StudentId text box. This is supposed to be done by double clicking on the student you want process This is in the list called LstStudent. This …

Member Avatar for selvaganapathy
0
80
Member Avatar for wrichardson530

I made this code to let my user open up my database and see a report. It prints the report, then it will open the access database. I know I'm doing something wrong, i just want to view the reprot called student history. Any advice or corrections tomy code would …

Member Avatar for wrichardson530
0
165
Member Avatar for RockyY

Hello everyone! Ok i have a question, I have a php calandar and when you click on a date a pop up comes up and you are able to add entrys to the main calandar. That works just fine, but i need help figureing out how to refresh the main …

Member Avatar for RockyY
0
89
Member Avatar for fishsqzr

I need to use a BindingSource Filter property to search for names in a string field. That is easy enough, unless the name contains a single quote (apostrophe) such as "O'BRIEN" or similar names. VS Help says special characters should be escaped by enclosing them in square brackets. This works …

Member Avatar for fishsqzr
0
103

The End.