199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MJV

I have a case statement that evaluates a string in a combo box on a form which is either English or Metric. What I'm finding is that the case statement does not see the pull down box contents which is loaded by default unless it is physically reselected by the …

Member Avatar for bcasp
0
406
Member Avatar for danielagaba

hi my interface has spry tabbed panels each in its own form, my problem is whenever i submit data on any of the panels in a form, my page reloads with focus on the first panel(index 0). I've tried a number of javascript methods on the form onSubmit but it …

Member Avatar for somedude3488
0
284
Member Avatar for JMChurch25

Hiya, I wouldn't really say that this is an actual problem as more of an inquiry in to people's experiences and such. I have personally been interested in Computer Science since high school and have always wanted to work in the field as my major and such and have learned …

Member Avatar for Rashakil Fol
0
153
Member Avatar for 3pid

hey guys, I`m trying to overload operator = in my class in windows application`s form , I`m not sure what is my problem,would you take a look at my code?[CODE]public struct Customer { // Public members // public string Name; public string Name; public string ID; public string Address; public …

Member Avatar for Rashakil Fol
0
86
Member Avatar for abby2589

how to use push and pop here??? thanks! #include<stdio.h> #include<stdlib.h> void push(char palindrome[20], int *top, int value) { if(*top<=10) { palindrome[*top]=value; *top++; } else { printf("Stack is full!!"); exit(0); } } int value; void pop(char palindrome[10], int *top) { if(*top>=0) { value=palindrome[*top]; *top=*top-1; } else { printf("The stack is empty!!\n"); …

Member Avatar for Ahmed_I
0
123
Member Avatar for behrk2

Hey everyone, So, for a class I am taking, I am building a Lego robot whose main function is to drive around a room and collect data (via a sonar sensor) as to where objects are in its surroundings. Some of the data I will collect is: Current robot position, …

Member Avatar for behrk2
0
117
Member Avatar for rohnni

[code=php]<?php define("ContactEmail", "highwebgeeta@gmail.com"); $error_msg = 'The following fields were left empty or contain invalid information:<ul>'; $error = false; $submit = $_POST['submit']; if (empty($submit)) $form_submitted = false; else $form_submitted = true; if ($form_submitted) { $title = $_POST['title']; $name = $_POST['name']; $lname = $_POST['lname']; $address = $_POST['address']; $pin = $_POST['pin']; $country = …

Member Avatar for cwarn23
0
234
Member Avatar for abu taher

1. I work with a database project. Now I want to show all data (from a table like 'student name' column) in a combo box. how can I do this. I connect the database by system DSN and adodc control. plese any body help me. 2. If I select a …

Member Avatar for debasisdas
0
111
Member Avatar for vtelebyteM

I am looking for simple example to handle registry key like add new key,edit available key, delete availadle kay,search for key....... i search for examples but they are complicated to understand...... even simple functions also welcome (without full code)

Member Avatar for debasisdas
0
107
Member Avatar for veledrom

Hi, Code below always returns only 1 record therefore i don't need while. How can i get result without while loop? Thanks [code] $q="SELECT id FROM login WHERE username='$username'"; $sql=mysql_query($q); if (@mysql_num_rows($sql)==1) { while ($arr=mysql_fetch_array($sql)) { $id=$arr["id"]; } } [/code]

Member Avatar for nav33n
0
75
Member Avatar for thegreatkk

hi, i am new to .net. i wrote the program for getting information from database. when i click the ok button, the above action is called. and its take few seconds to fill into datagridview.. that time i like to show the busy curser in my windows form. (ie after …

Member Avatar for thegreatkk
0
97
Member Avatar for ahmksssv

Hi frnds.... I need payment gateways code... i have just basic idea about paypal...i dont know abt code for gateways..here my requirement is it should access all creditcards payments with secure..... i dont know the code is in php or any other way...plz give me some idea abt this...i need …

Member Avatar for ahmksssv
0
267
Member Avatar for Venom Rush

Hi there Having trouble calculating the final cost of choices made by a user. I have 4 radio buttons and 2 checkboxes. The first three radio buttons are, all intensive purposes, chocolates with the last radio button stating that the user doesn't want any of the chocolates. The two checkboxes …

Member Avatar for Venom Rush
0
109
Member Avatar for radar2009

hi there i need to make a program that the user using comboboxes chooses the number of guesses and and range of guesses they are allowed using a GUI that looks like this: [url=http://smg.photobucket.com/albums/v321/Howrandom/?action=view&current=Untitled.jpg]http://smg.photobucket.com/albums/v321/How...nt=Untitled.jpg[/url] i have made all the buttons etc and for the range combobox have used the code: …

Member Avatar for stultuske
0
192
Member Avatar for kdee

Hi all! I have a problem (probably a simple one). And I need some help with it. The line with bold red "verifyurl" gives me a bit of a headache. It comes up with an error [I][B]File <%verifyurl%> can't be found![/B][/I] If someone has an aidea about solving this issue, …

Member Avatar for kdee
0
126
Member Avatar for vyagee

I am using a tool to connect to mobile phone to fire AT commends . This tool has some ready adaptable .apy files which the user can modify and adapt to his needs. The scripts in the tool are written in Python. I am new to Python. Questions: ------------- 1. …

Member Avatar for karuppg
0
503
Member Avatar for Shanti C

Hello... Good Morning All... How to hide all query strings in my url and here i can't use hidden variables for these all because in all times i couldn't send them with form submission..And my page is having four query strings to be sent... If any body have any clues …

Member Avatar for Shanti C
0
5K
Member Avatar for PhiberOptik

Hi guys, I am trying to execute a .jar executable within a java file but nothing happens, no errors, just nothing in general! [CODE=java]public void executeCmd(){ Runtime run = Runtime.getRuntime(); try { Process proc = run.exec(cmd); } catch (IOException e) { //sendmessage saying there was an error } }[/CODE]

Member Avatar for masijade
0
355
Member Avatar for chris5126

Hi, I am writing a script to get information on disks for Solaris 10, does anyone know of a way to print out the size of each disk on the system in MB i know how to get it in GB and could do some number manipulation however it would …

Member Avatar for chris5126
0
169
Member Avatar for tol

hi i am looking for a jiob as a junior Oracle DBA can any one please advice me on how to get an Oracle DBA job. i have beeen looking for where to startup my career but everywhere i go to they are asking for 3 or more years real-time …

Member Avatar for Gautam101
0
403
Member Avatar for nealz

I have a user table that contains username, password and status jobs. The user have a option to fills unemployed and employed in jobs field. My question how to make sql statement to count how many people that choose unemployed and employed. Then view the result for number of unemployed …

Member Avatar for nav33n
0
65
Member Avatar for Norbert X

I've been racking my brain on this problem for like 2 hours. The thing I have to do here is use one single random function for the entire MASH program instead of the usual 4. The problem is, when I get a result, they're all from catagory 1 (married to …

Member Avatar for lllllIllIlllI
0
176
Member Avatar for phillipdaw

The code was written for fun, and it is by far the most complicated program I've written yet. It's also my first step from C into C++. I have some training in algorithms but almost none in coding. It is pretty long and I don't expect anyone to analyze the …

Member Avatar for siddhant3s
0
106
Member Avatar for danielagaba

hi i'm designing an online evaluation application using php. i was asked to add a feature that enables a user if unable to finish anwering questions can save his/her progress and continue when he/her next logs in. basically i have no idea how to even start. thnx

Member Avatar for nav33n
0
427
Member Avatar for bhavya_talluri

hi plz help me i am getting the above error here i am attaching the program #include<iostream.h> #include<stdio.h> #include<conio.h> #include<math.h> using namespace std; int main() { int a[10],t,n,pos; clrscr(); //Sorting the elements in the array. Sorting technique name is “Bubble Sort” cout<<"Enter Elements into the Array"; for(int i=0;i<10;i++) cin>>a; for( …

Member Avatar for siddhant3s
0
414
Member Avatar for BobLewiston

Why use delegates? I understand HOW to use delegates, but in what situations would you actually use them? The examples I see in the literature are all in situations where the code could just be written without ever using them.

Member Avatar for Rashakil Fol
0
567
Member Avatar for rockdays

Hi, I have a table above 8.000.000 records. I am running a query like "select * from table where id=1093203". And the query turns in 24 second. This example i tested in SQL Server 2000 v8, Windows 2003 sp2. I am running same query in Windows Xp + Sql server …

Member Avatar for sknake
0
140
Member Avatar for emhmk1

Hi People, I've created a couple of install pages for a client (install.php and install2.php) My question / problem is... In install2.php i want to unlink install.php and install2.php via a hyperlink or button and i was wondering how best, if it is possible, to achieve this. Can anyone help …

Member Avatar for nav33n
0
113
Member Avatar for BobLewiston

Is my understanding of code generation in WinForm apps correct? When you create a program that features a single Windows Form using Visual C#'s Windows Form Designer, three source files are created: 1. program.cs, which: .....a. does some preliminary configuration of the form and then launches it, and <-- couldn't …

Member Avatar for sknake
0
347
Member Avatar for tulsi_apr03

can anybody help me , how can we call a javascript function using firefox browser. my code is working fine when im using IE but not for firefox. Why i cant understood.When im clicking button no action was taken and nothing was happned. [code=JavaScript]<script type="text/javascript"> function login_validate(frm) {var name=frm.user_name.value; if(name=="") …

Member Avatar for tulsi_apr03
0
161
Member Avatar for 6echo

Good day to you all, Here is what I am trying to do: I am using an XSL transformation to change my input.xml in output.xml. output.xml contains a set of rearranged tags from input.xml One of the tag in input.xml is <id>value</id> I would like the xsl to generate the …

Member Avatar for fpmurphy
0
120
Member Avatar for cppnewb

Hi. I'm making a class in an include file. I ran into some touble...When i try to compile, this is what comes up: [CODE] c:\...\renew.h(25) : error C2660: 'localtime_s' : function does not take 1 arguments c:\...\renew.h(36) : error C2660: 'asctime_s' : function does not take 1 arguments [/CODE] Here …

Member Avatar for cppnewb
0
1K
Member Avatar for musman007

Hey all, I have requirement, on the basis of indicator = 'TL' I have to pick CoverageName and Limit and add the amounts of similiar coverages. Is there any way I could do that. Here's xml: <Policy> <Vehicle id="v1"> <Coverage> <CoverageName>ABC</CoverageName> <CoverageLimit>Upto 50,000</CoverageLimit> <CoverageAmount>100</CoverageAmount> <Indicator>TL</Indicator> </Coverage> <Coverage> <CoverageName>EFG</CoverageName> <CoverageLimit>Upto 50,000</CoverageLimit> …

Member Avatar for fpmurphy
0
503
Member Avatar for StarZ

yea, this is long.. but how do i make this repeat? At the end it's suppose to ask "do you want to do this again, y for yes, n for no" where yes is repeat from the beginning and no is exit. I think i messed it up............................ someone help? …

Member Avatar for jrcagle
0
2K
Member Avatar for karenmaye

Hi, I found a code that displays multiple images but you have to supply its filename first before it can access it. Is there a way to display an image as soon as it is captured by the camera? The GUI that I am creating is going to be interfaced …

Member Avatar for jrcagle
0
864
Member Avatar for shaselai

I am trying to create a system where it has a number of queued slots and it accepts X incoming services. Now each service arrives/departs at different times so i could have one arrive 10 seconds from now and departs 20 seconds after arrival while the one after that could …

Member Avatar for BestJewSinceJC
0
97
Member Avatar for Norbert X

Okay so I'm trying to do this programming assignment and my random function isn't working. It's exactly the same as in my other assignments, but it's not working, and I've spent hours searching it. Can someone help me? [code=syntax]import random repeat = 0 while repeat != "no": random = input("How …

Member Avatar for Norbert X
0
133
Member Avatar for newbie_here

Hi all i am having some problem with the logic. can someone help me with it please. i am doing a vb.net project say for example a company has a lot of branches. I need to print the sales report for all the branches. so when printing it should print …

Member Avatar for newbie_here
0
98
Member Avatar for queenc

hi i have some file in my ftp.now i am saving my file in a folder.please tell me how to refer the file outside the folder. eg require_once('../common/dblayer.php'); the above is to refer a file inside a folder.how do the same for outside a folder

Member Avatar for almostbob
0
239
Member Avatar for nschessnerd

Hey, so i have 4 tables i need to join together. basically this is how it looks table j: | id | uid | cid | text | | 1 | 3 | 1 | blah| | 2 | 1 | 3 | blah| table u | id | name …

Member Avatar for nschessnerd
0
102
Member Avatar for serkan sendur

I installed the xml file comparer tool from this link : [url]http://msdn.microsoft.com/en-us/library/aa302294.aspx[/url] and add the dll to my project and created this application : Default.aspx: [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form …

Member Avatar for LizR
0
2K
Member Avatar for MJV

I have a quote program I have made and i'm looking for a way to lock the records once it has been approved. I have a form that is filled out and a calculation that is done based on the fields that are linked to an sql table. What method …

Member Avatar for LizR
0
125
Member Avatar for MJV

I have some code that checks a value in a combo box before it executes but it does not appear to be seeing the value selected in the combo box until I select the item in the combo box for a second time. Note the value in the combo box …

Member Avatar for LizR
0
84
Member Avatar for DomoCobra

When I run my code i get this error Main.java:44: illegal escape character y = news.indexOf("<\description>"); It points to the \d part and I cant seem to use this in the indexof function but I need to search for that exact string is there anyway around this?

Member Avatar for sillyboy
0
79
Member Avatar for Swapsry

Hi frnds... I am new to Ajax..i know some minimum basics about ajax.. i know some what php and mysql... So, plz send me ajax login form and registration form....i am trying to learn ajax with database....plz anybody help me... Cheers..

Member Avatar for death_oclock
0
94
Member Avatar for jitendra.theta

hello, in the following question c=4; d= (++c)++; //It works in gcc compiler d= (c++)++; //it didn't work what i have read that ++c or c++ returns a value which can't be again incremented or decremented (like 5++). i want to know how the first statement works and second statement …

Member Avatar for siddhant3s
0
107
Member Avatar for MentallyIll5150

I am constructing a class "dequeint" of integers and using circular queue storage. I get my code to compile but its output is garbage? Please HELP! .h [code] #include <iostream.h> #include <stdlib.h> const int MAXSIZE = 10; typedef int NodeType; class dequeint { private: NodeType NodeArray[MAXSIZE]; int headi; //head in …

Member Avatar for MentallyIll5150
0
163
Member Avatar for Fouly

Hi, I'm trying to pass parameters to an exe file using C++...i tried the following code: [code] system("FileName.exe"); [/code] but this command line just fire the .exe file without passing any arguments... Thanks, Mostafa Fouly

Member Avatar for siddhant3s
0
686
Member Avatar for chris.eastwood

[INDENT]Hey All, This is my first post, so I'll do my best... I'm writing a Python app (using wxPython for the GUI) to copy large amounts of files. Each file is about 8-15 MB and there could be as many as 150,000 files. I'm currently using shutil (either [icode].copy(), .copy2() …

Member Avatar for chris.eastwood
0
4K
Member Avatar for kshitijkapoor

I have a problem of interfacing 2 systems of different manufacturers.While one system sends data in 32-bit floating format,the other system understands data only in integer format(16 bit ,32 bit etc).my problem is to convert the 32 bit float data to integer format that can be recognized by 2nd system(its …

Member Avatar for death_oclock
0
126

The End.