199,114 Archived Topics
Remove Filter ![]() | |
[COLOR=#008000]Hi In my application, i would like to use the popup window concept. When the user clciks a button, a popup window should appear, with a textbox to enter a value. on closing the popup window, the user entered value should get saved into a table[/COLOR] [COLOR=#008000][/COLOR] [COLOR=#008000]I am using … | |
I'm trying to validate my textbox so that the user must enter a Table Number between 1 and 20. The click event of the exit button checks this and if invalid input, displays a message box. It works for all numbers except 3-9 where it displays the warning even though … | |
Your web based ordering should work as follows: 1. Authorized customer must be able to place his online orders. 2. Authorized customer MUST log in first before making any transaction. If the login is invalid the customer access is denied and a message is displayed to the customer “ACCESS DENIED” … | |
Having trouble understanding using wxPython....:?: [CODE=Python] import wx class MainFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self,None,wx.ID_ANY, title='Hello wolrd') self.buthello = wx.Button(self, wx.ID_ANY, label ='helo') self.buthello.Bind(wx.EVT_LEFT_DOWN, self.helloevent) self.Show() def helloevent(self, event): msg = 'hello' msgbox = wx.MessageDialog (self, message = msg, style = wx.OK) if msgbox.ShowModal() == wx.ID_OK: msgbox.Destroy() app = wx.App(redirect = False … | |
I have this... [code=php] <?php $links = explode("\n", $_POST['links']); foreach ($links as $links) { echo '[PART="NUM"]'.$links.'[/PART] <br />'; } ?> [/code] Where it says NUM I want the number of its position in the array. So if I fed this to this script: [CODE] http://www.google.com http://www.yahoo.com http://www.ask.com [/CODE] The script … | |
Hello I need to create a table (using multidimensional array/vector) that contains datas in a spiral form. Here's my work so far: [code=C++]int current_char = 0, rows = 3, columns = 4; string input = "abcdefghijkl"; vector< vector<string> > str_table(rows, vector<string>(columns)); for(int i = 0; i < (int)input.length(); i++) { … | |
In the following code: [code] for(int i = 0; i < argc; i++) cout << (i > 0 ? " " : "") << argv << (i < argc - 1 ? " \\" : "") << endl; [/code] I try to use "next" to step over, but always step … | |
Greetings, how can i write a search program to search a user entered string saved in an array, in a text file using File Operations in C. Specially using fseek() function. Plz reply, Thanks in advance..! | |
Hi everyone, I am having trouble with a function that mergesorts a generic array (using void *); it seems that I can't swap two elements in it Here is the code [code=C++] void mysort( int n, // Number of elements int elementSize, // Size of each element void * array, … | |
I'm developing a mod for Quake2. When the level is changed, some stats are cleared and some are written to save game file. My mod has a level system that affects the power of weapons, etc things. But, then i encountered a problem. I want to save my character data … | |
i'm doing a game for my c++ course and there is something wrong with a class the error comes up in class hero...function jumpright [code=cplusplus] #include <iostream.h> #include <conio.h> #include <afx.h> #define rows 48 #define cols 80 class screen { private: char x[rows][cols]; public: screen() { int i,j; for(i=0;i<rows;i++) { … | |
I have developed a site in PHP 5.26, which is running perfectly from the development server. But after uploading the site to the Web server, it is not working. The server is running PHP 4.4. I haven't used any specific features of PHP 5, so the site should have worked … | |
Hi! I am new to C and need some advice here. I have a solution to this problem but I still think there should be a way to do this more efficiently: I have a file where I have stored null-terminated strings including the '\0' char. I now want to … | |
I am trying to print out some database resutls as follows [CODE] cursor.execute("SELECT * FROM User") numrows_user = int(cursor.rowcount) i_user = int(0) Results_user = cursor.fetchall() while i_user < numrows_user: print Results_user[i_user]["ID"] [/code] Put i am getting nothing i know i_user is working and i know there is information in the … | |
Hi I'm creating an appointments system for a project using PHP and MySql. I want to be able to select the date of the appointment using a pop up calendar. Example of what i would like to happen: On my form i will have a date field which will be … | |
I want to get to the parent location each time I'm adding a record. the problem is that i have a nested iframes, and each time the number of those is incremented: eg. at first adding record i have the location like this: parent.location second: parent.parent.location third: parent.parent.parent.location how could … | |
hello! How can I display if the query results more than one value? For example, how can I do a query that produces all pairs of salespeople who are living in the same city. Thanks in advance. | |
This code is supposed to find the nth short word For example, if you are passed an array containing the words "Mary", "had", "a", "little", "lamb" and you are asked to return the second word, you would return "a" Below is my attempt to solve this but im pretty confused … | |
Please help me how to ignore case sensitivity in VB. My program is to store data in the database, though I use small letters or big letters, the database store the data starting with a capital letter followed by small letters. Ex. [B]Input[/B][B]:[/B] [COLOR="Red"]Neil, neil, NEIL[/COLOR] [B]In the database:[/B][COLOR="Red"] Neil[/COLOR] … | |
good day, I am in need of a hand ...i am building a Wire transfer software for remmitance into bank accounts but i am having some errors..i would like you to contact me in any case if you can be of assistance. my email is [email removed] Please do get … | |
hi thr Can any one say me the basic concepts for implementing chat in my web page thanks in advance Happy day | |
hi, i've an insertion sort algorithm and a selection sort algorithm. i'm not sure how to measure the performace(best case and worst case in terms of N= size of the list, deque, vector etc.) i'm trying to insert comparecount and movecount in the program. Bubble sort was easy but im … | |
I'm learning Scala after having used Java for years. I'm wondering if anyone has found a good Scala programming software other than Eclipse and NetBeans, both of which have bugging Scala plugins? I know about the Jedit Scala plugin. It's even worse than Eclipse. And then there's this funny little … | |
Hi , I'm using oracle 10g and vc++ 8 .Net 2005. Can anyone help me out in loading oraocci10.dll dynamically. when applcation run that time "This application has failed to start because oraocci10.dll was not found. Re-installing the application may fix this problem." popup display. I also copy oraocci10.dll ,oci.dll,oraocci10.lib,oci.lib … | |
I have made a program that stores a file like this: [code] ofstream out; out.open("C:\\reg.txt"); [/code] This file is used everytime a program starts in order to find if the encrypted password is correct within this file. This works without any problem on my computer, using XP Proffessional and where … | |
After some research I found this link [url]http://splainhow.com/jogl_eclipse.html[/url] which explains how to set up a project in Eclipse to use OpenGL with it. But I want to integrate the OpenGL libraries for JOGL with Eclipse so that I can import and use them with any projects. Does that make sense? … | |
I have found a few examples online of how to write a socket server for a chat application. I pieced a few together and got it working great in a console application. I have since tried pushing it to a Winforms application and run into a small snag. When I … | |
:yawn: I am trying to import the address book from MS Office, can anyone tell me where to locate the MS Outlook addressbook ? Thank you in advance... [ICODE]cVz[/ICODE] | |
Hello! I've beat my head crazy trying to figure out what the heck is wrong with this query. It is not my query, but one from a packaged software I need to customize. I've created a link to the sql db's in an access db (linked to all sql tables) … | |
I am having trouble with some php code that was working fine on a unix server but when I try to move it to a Windows 2003 server I am getting errors like "Use of undefined constant x - assumed 'x' in ...". I am using PHP 5. Here is … | |
HI I need a little help with this program [code=c] #include<stdio.h> #include<conio.h> void main () { float num1,num2,result=0; char ch; clrscr(); printf("\nEnter 1st num:"); scanf("%f",&num1); printf("\nEnter 2nd num:"); scanf("%f",&num2); wrong: printf("\nEnter + for addition" "\nEnter - for subtraction" "\nEnter / for division" "\nEnter * for multiplication\n"); scanf(" %c",&ch); if (ch=='+') … | |
within a windows forms class (form1) I declared a cliext vector of vectors of strings with [CODE]cliext::vector<cliext::vector<String^>^> myvector;[/CODE]. Then, within a function in that same class I tried to push back a vector of strings in myvector but it resulted in an error. I attempted to push back the vector … | |
Hi, I'm using a software which I think is sending "unauthorised" http calls to some server. I only doubt this, not sure. Is there some way of checking this and making sure it doesn't transfer any info? Any software I can use to determine this would be very useful. I'm … | |
Hi dears, I am working on an script for testing students. I have problem in javascript code. I want to open a new window using javascript. the code works fine in Firefox but it gives error in IE. The interesting thing is that it gives error where there is a … | |
My hw is to create a strategy for this rock paper scissors game. this is my code for the game itself: import java.awt.*; import java.awt.event.*; import javax.swing.*; /** *The RPs applt plays Rock paper *scissor, lizard, Spock game and *keeps track of how many times *you won lost or tied … | |
Hello all, I just started using c++ and I'm supposed to write a function that takes two positive integers, p and q, where p<q, and i have to return the sum of all the numbers >=p and <=q which are divisible by 7. here's what i have so far: # … | |
Having some troubles with a program I'm writing. I'm using SharpDevelop, and I'm writing a VB.net program, that I am doing for a friend. I have a combo box that has a list of races, that are already added (Human, Elf, Dark Elf, Draconian, Viera, Wingly). Upon selection, the appropriate … | |
I'm a senior at my college and am now set for my final project. However, I can't think of a good project topic. The problem in the matter is that I'm part of a single major called "Software Engineering & Applied Mathematics" and have been on odd ends with my … | |
Hi everyone, i've just studied basic PHP and i usually study online. I wite this code for contact form.But i cannot find error and fix it-Because i'm new :-). Please help me. Thank very much [COde=php]]<?php /* Subject and Email Variable*/ $emailSubject = 'Email from Clients'; $webMaster = 'tracyn2k2@yahoo.com'; /* … | |
hey..i am a novice when it comes to C programming coz i am a bio-engineer..however, i landed a job with an It giant, and we have been allotted a project(for practice's sake though!) by them on a trainee level..ofcourse, it involves a normal-login program..i was able to figure out most … | |
The script belwo works in IE, how do i get it to work in FireFox? [code=JavaScript]<script type="text/javascript" language="JavaScript"> <!-- JavaScript --> <!-- Begin mesg = "Welcome to WhiteCityCavaliers.com New Litter has just arrived....Ready for you after weaning!....More Love than you could expect from a puppy, Cavaliers love to please you...."; … | |
In the beginning of the book "Structured Computer Organization", Tanenbaum says that a typical computer have 6 architecture levels: Digital, Microarchitecture, Instruction Set, Operating System, Assembly and the Top level (not sure if this is named correctly). Each level is suppose to add a new layer of abstraction, basically to … | |
So I have been trying to figure this out for a while. Its a fun puzzle game that might send you thinking for a while, here it is: Lets say you work at an office/lab, and you have workmates. Lets also say that you love Coke, so much you always … | |
Hi- so i want to be able to type in a file name (not knowing the path) and have it search the c: drive. then, when it finds the file it will return the path (in a variable, label, etc.) thanks! | |
so i no ive read this stuff about hmwrk. but i have done a lot of work and dont want anyone to finish it for me i just need advice, im making a coffee machine and i have made a layout, but i dont no how to put in the … | |
How it is useful to create a static variable in a non static member function? The compiler allows that, and i wonder in what situations it is useful to create static variables in the function bodies as they are going to be disposed at the end of the function call. | |
Is there anyway to get the calling function? ie [code] void A() { if (A() was called from B() ) do something; else do something else } [/code] Is this possible? Dave | |
(Using MS Visual Basic 2008) Hi I have Created this program so far for a uni assignement, how ever i need to be able to total the arrays so i can display correct total overall, however the array size has to be defined by the user therefore the size of … | |
Hi, I am in problem. I have written some code in VC++.NET 2008. It is using third part AMT SDK. It is using file handling of C using fopen() function. The file are opened in binary mode (rb). It is working very perfect according to our requirment on my local … | |
ok so what i want this to do is to get the gallery name, then place it in a hyperlink, with the href including the gallery name so on the page im re-directing to i can use $_GET and get some information without a session etc. But there is nothing … |
The End.