199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sarah Lee

[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 …

Member Avatar for anthonyqkiernan
0
5K
Member Avatar for En-Motion

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 …

Member Avatar for En-Motion
0
73
Member Avatar for tarikiihem_01

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” …

Member Avatar for ~s.o.s~
0
132
Member Avatar for revenge2

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 …

Member Avatar for Ene Uran
0
125
Member Avatar for theimben

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 …

Member Avatar for almostbob
0
96
Member Avatar for djzmo

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++) { …

Member Avatar for Sky Diploma
0
117
Member Avatar for lehe

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 …

Member Avatar for lehe
0
152
Member Avatar for anu123d

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..!

Member Avatar for Narue
0
86
Member Avatar for Hedelerden

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, …

Member Avatar for Narue
0
889
Member Avatar for Vms100

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 …

Member Avatar for Vms100
0
93
Member Avatar for kadamora

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++) { …

Member Avatar for Nick Evan
0
333
Member Avatar for aparnesh

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 …

Member Avatar for uncle_smith
0
150
Member Avatar for thorster

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 …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for adam291086

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 …

Member Avatar for adam291086
0
110
Member Avatar for NoGood

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 …

Member Avatar for NoGood
0
347
Member Avatar for zanzo

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 …

Member Avatar for gurshan
0
135
Member Avatar for bluebird

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.

Member Avatar for gurshan
0
103
Member Avatar for neighbordave

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 …

Member Avatar for verruckt24
0
105
Member Avatar for nagatron

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] …

Member Avatar for nagatron
0
226
Member Avatar for zhane88

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 …

Member Avatar for stultuske
0
76
Member Avatar for sonakrish

hi thr Can any one say me the basic concepts for implementing chat in my web page thanks in advance Happy day

Member Avatar for sonakrish
0
106
Member Avatar for avillachandok

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 …

Member Avatar for avillachandok
0
99
Member Avatar for edadma

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 …

Member Avatar for peter_budo
0
93
Member Avatar for dhpatil1

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 …

Member Avatar for tomtetlaw
0
200
Member Avatar for Liszt

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 …

Member Avatar for mostermand
0
171
Member Avatar for BestJewSinceJC

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? …

Member Avatar for stephen84s
0
102
Member Avatar for Burrito

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 …

Member Avatar for LizR
0
134
Member Avatar for cVz

: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]

Member Avatar for cVz
0
100
Member Avatar for wildpetals

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) …

Member Avatar for atinobrian
0
157
Member Avatar for lswan662

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 …

Member Avatar for lswan662
0
96
Member Avatar for lonely_girl

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=='+') …

Member Avatar for lonely_girl
0
140
Member Avatar for 0av067

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 …

Member Avatar for 0av067
0
537
Member Avatar for erms

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 …

Member Avatar for erms
0
114
Member Avatar for perochak

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 …

Member Avatar for The Dude
0
111
Member Avatar for evilllllll

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 …

Member Avatar for BestJewSinceJC
0
116
Member Avatar for sonicstage

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: # …

Member Avatar for sonicstage
0
95
Member Avatar for ACParson2001

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 …

Member Avatar for ACParson2001
0
130
Member Avatar for androidodnetnin

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 …

Member Avatar for Rashakil Fol
0
145
Member Avatar for tracyn2k2

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'; /* …

Member Avatar for tracyn2k2
0
132
Member Avatar for orthographer

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 …

Member Avatar for WaltP
0
208
Member Avatar for joseywhales

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...."; …

Member Avatar for essential
0
161
Member Avatar for viniciusweb

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 …

Member Avatar for Rashakil Fol
0
147
Member Avatar for CcXD

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 …

Member Avatar for Ash Abe Add
0
185
Member Avatar for crackerjacker

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!

Member Avatar for crackerjacker
0
80
Member Avatar for mannyg

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 …

Member Avatar for sillyboy
0
126
Member Avatar for serkan sendur

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.

Member Avatar for Rashakil Fol
0
165
Member Avatar for daviddoria

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

Member Avatar for Rashakil Fol
0
132
Member Avatar for user2009

(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 …

Member Avatar for vmanes
0
134
Member Avatar for asifjavaid

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 …

Member Avatar for cikara21
0
1K
Member Avatar for jakx12

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 …

Member Avatar for ShawnCplus
0
113

The End.