64,152 Solved Topics
Remove Filter ![]() | |
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.*; … | |
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 … | |
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 … | |
![]() | 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 … |
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 | |
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, … | |
Hi, How can I send right nouse click with python? thanks. | |
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 … | |
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 … | |
[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 | |
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 … | |
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 … | |
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 | |
I know nothing about ASP and I am intrested in learning it. Please help me find a good means to start. | |
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 … | |
Hi, I need a trigger; - to find number 1 from "ID" column and - update "AVAILABILITY" column from Yes to No in "PRODUCT" table. Thanks | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
do i need a connector??? | |
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 … | |
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. … | |
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 … | |
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, … | |
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 … | |
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.. … | |
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 … | |
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. … | |
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 | |
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" … | |
![]() | 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 … ![]() |
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; // … | |
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? | |
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 … | |
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. | |
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 … | |
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); … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.