199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for freelancelote

I'd appreciate if somebody could have a look at this code and tell me where the problem is. The program is meant to take a .txt file and split it in three different files: one with words of 1 to 4 letters, one with words of 5 to 7 and …

Member Avatar for Agni
0
2K
Member Avatar for Locria

Hey, I've been busy coding combo boxes to filter a database but the problem is they don't work together. e.g. If i select a car type, it shows all the cars of that type but if i select blue in one combo box and a car type in the other …

Member Avatar for fayyaz
0
584
Member Avatar for saraguna

function validate1(){ if(document.all.doc1.value == ""){ alert('Please select 1st Docoment !!'); document.all.doc1.focus(); document.all.doc2.value = ""; } var doc1 = eval(document.all.doc1.value); var doc2 = eval(document.all.doc2.value); if(doc2 < doc1){ alert('First Document number must greater than secondnd Document number!!'); document.all.doc1.focus(); document.all.doc2.value = ""; } the script above used to compare string between combo box …

Member Avatar for javaAddict
0
175
Member Avatar for phobia1

Hi Guys I'm rusty and sticking after being ill for months. Could anyone help me to get this to work please. I've got it close but not close enough. Thanks in advance for the time given. Best FJW [code=php]echo $pricelow; echo $pricehigh; output_arrayBETW(); //$pricelow and $pricehigh correct BUT... Function output_arrayBETW(){ …

Member Avatar for phobia1
0
71
Member Avatar for needhelp//

can anyone say me how to insert the string of combo box into the table in oracle... from VB pls anyone help me with the code....:sad:

Member Avatar for needhelp//
0
123
Member Avatar for Israelsimba

i have been using adodc for searching for a client's details using the client number, but it would give me inexpected errors and bomb out of my programme. i have then resorted to searching using sql. the following code gives me this error::: [I][U]no value given for one or more …

Member Avatar for AndreRet
0
147
Member Avatar for nuki22

v1. ADD, EDIT, DELETE, SEARCH CUSTOMER -customer number -name (lastname, firstname, middlename) -date of reservation(provided by system date) ITEMS -item code(auto-number) -item description -price A customer number is generated by the first letters of the first name, middle name and last name of the customer with the date & time …

Member Avatar for somedude3488
0
151
Member Avatar for SAINTJAB

Hi Guys, i have a code to display an image in a picturebox called MemberPics. this image is also saved into a folder D:\\pictures. My problem is eventhough the image is saved successfully, am not able to retrieve it in another form. I always have FileNotFoundException even when I can …

Member Avatar for sknake
0
553
Member Avatar for UKmason

***************************************************** Write a program that will get some input from the user about a visit to an oil change service. The program will calculate the bill for the services requested. Prompt the user to input whether or not they want each of the services. You can assume the input will …

Member Avatar for alg
0
121
Member Avatar for SQ89

I have two files of huge data contains string and integers and i want to read from it and use it to count characters of the string for example name ending with letter "A" containing "oo" or having letter "A" as seconf letter. i need some methods from the String …

Member Avatar for SQ89
0
145
Member Avatar for labelle

greetings to you all! I want to insert a flash object in my code.and i get validation errors. what is the best way of doing things.here is the code and below it the errors. pliz let me know how i can correct it. [COLOR=#0000ff][code] [COLOR=#0000ff] <[/COLOR][COLOR=#800000]object[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]width[/COLOR][COLOR=#0000ff]="200"[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]height[/COLOR][COLOR=#0000ff]="200"> <[/COLOR][COLOR=#800000]param[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]name[/COLOR][COLOR=#0000ff]="movie"[/COLOR][COLOR=#000000] …

Member Avatar for darshanjeet
0
510
Member Avatar for th3learner

[code=c] #include<iostream.h> #include<conio.h> #include<stdio.h> #include<string.h> void main() { char s[100],z[10]; clrscr(); cout<<"Enter your name:"; gets(s); cout<<strupr(s[0]); cout<<"."; getch(); } [/code] what I am looking for is that when user input deniweb,then it should output [B]D[/B] please help Thanks

Member Avatar for Sky Diploma
0
160
Member Avatar for catcoffee

Hi, all! It's me again. And i'm idiot. I have in my table many-many articles. Their titles and anonses showed on page article.php [CODE] <?php mysql_connect($host, $username, $password) or die(mysql_error()); mysql_select_db($database) or die(mysql_error()); mysql_query("SET NAMES utf8"); $sql = "SELECT*FROM advicer ORDER BY id DESC LIMIT 4"; $result= mysql_query($sql) or die(mysql_error()); …

Member Avatar for Stefano Mtangoo
0
338
Member Avatar for geg13

I would like help with making a program 'type' out the text as the program is running i.e. not having the entire line appear at once but letter by letter.

Member Avatar for geg13
0
117
Member Avatar for neelamdwivedi

hello friends i m working on a project wherein we have to capture a photo using web cam for the web application.. can anybody tell me how we can do this. i have read many artical and found a code for the stand alone appli. from "http://www.mutong.com/fischer/java/usbcam/" but it is …

Member Avatar for neelamdwivedi
0
120
Member Avatar for Namibnat

Please could someone just clear up, or point me to the right thing to read regarding mysql and php. Once you have made a query and saved it to results, I understand that the query accessed with a number of functions to extract that, such as mysql_fetch_array() and so on. …

Member Avatar for somedude3488
0
137
Member Avatar for gsingh2011

This is my python script: [url]http://gsingh.pastebin.com/mc602006[/url] This is my setup.py file for py2exe: [url]http://gsingh.pastebin.com/m70a19449[/url] When I go to command prompt and run the .py file with the command, email.py message It works fine, it sends me an email with the message, which is what it's supposed to do. When I …

Member Avatar for snippsat
0
664
Member Avatar for luskbo

I have a program that creates a struct. It also has a class that creates a pointer to an array of structs that is created. I'm having trouble accessing the elements of the structs in the array, with the pointer. Below is a sample of the code. Struct definition in …

Member Avatar for luskbo
0
127
Member Avatar for alexcarrero

Please, I need some help with my hw. I have to create a program that stores the scores for a football team. I need to record the score by quarter for each of the 20 games. I have to initialize all games to 0. Then, the user is asked to …

Member Avatar for alexcarrero
0
83
Member Avatar for #www#

hi every one i need help please i want a program to evaluate a postfix expression i have made a code for it . but it works just with numbers between 0 &9......but i want to use the program with larger numbers e.g: 20 30 + = 50 i will …

Member Avatar for #www#
0
108
Member Avatar for Epi23

Ok, so I am trying to write a program that will solve simple math and physics problems, and am trying to use strings and words more, so my question is: is it possible to use a char in an if statement? I'm new to this so yeah. Here is what …

Member Avatar for Epi23
0
6K
Member Avatar for williebens

Hello Forum: I am trying to write a php script that will take as input a zip code and output the zip code with its respective city and state with the name of any companies/businesses in that zip code. Ok, I got this part working. The other part is that …

Member Avatar for kylegetson
0
162
Member Avatar for yasaswyg

I need help writing a program that randomly picks a point in a 2D space. Then the user will be allowed to make repeated guesses which point was picked with feedback saying if the user is hot or colder on each guess. Thank you!

Member Avatar for yasaswyg
0
89
Member Avatar for Shinedevil

Ok, I know I'm probably programing in some kind of archaic way for C++ but my knowledge base is rather limited. I'm having problems with my input not being identified correctly (or however you would say it, rusty is me) [code]cin>>StatsChange; if (StatsChange == "Strength" or "strength" or "str" or …

Member Avatar for Shinedevil
0
140
Member Avatar for thebluestar

here is my code [CODE=C] #include<stdio.h> #include<conio.h> #include<string.h> int main() { char A1[100], A2[100],c[100]; int n1,n2,i,j; printf("Enter string A1:\n"); gets(A1); printf("Enter string A2:\n"); gets(A2); n1=strlen(A1); printf("%d ",n1); n2=strlen(A2); printf("%d ",n2); char *p1=A1, *p2=A2, *p; p=(char*)malloc((n1+n2)*sizeof(char)); for(i=0;i<n1; i++) { *(p+i) = *(p1+i); } for(i=0; i<n2; i++) { *(p+n1+i)=*(p2+i); } int k2=strlen(p); …

Member Avatar for thebluestar
0
204
Member Avatar for geg13

How would i go about making a program wait before printing the next line? Keep in mind that i would like the next line to print automatically after a few seconds. Also if at all possible i would like to know how to make the text act like it is …

Member Avatar for Clinton Portis
0
97
Member Avatar for kathmartir

I have a problem with the dispose method. . .I got 3 java files with a class name: MainProgram.java MainPanel.java PageOne.java The MainProgram java extends JFrame. The MainPanel.java extends JPanel. The PageOne.java extends JFrame. The MainPanel.java is where all the actions and etc. are being set. The MainProgram.java calls the …

Member Avatar for FriQenstein
0
5K
Member Avatar for ki72

For example I ask the user to enter a 4 digits integer number. For example the user enter 4875. I want to display odd digits (7 5) and even digits (4 8). By Extract each digit of the number using integer division and store the results in separate variables. for …

Member Avatar for Grn Xtrm
0
116
Member Avatar for Umar Ali

Hello I want to send a dns packet to a dns server. I've already connected to the dns server but not able to send the packet in the right wy. Actually I don't know how to send? Here's the code.. [CODE]#include <winsock.h> #include<stdio.h> #include<string.h> #include <io.h> #include <sys/stat.h> int main() …

Member Avatar for Umar Ali
0
474
Member Avatar for the_programmer

Hey; I'm trying to build a custom call API file so it makes it harder for hackers to attack my application. My question is do I have to put every custom variable like[CODE] $test = array(); [/CODE]through my API? How exactly should I go around to building a custom API?

Member Avatar for the_programmer
0
91
Member Avatar for dylank

Hi, I am trying to read a webpage, namely a PHP page that returns "true" or "false" depending what $_GET (Or is it $_POST?) information is sent. The URL it attempts to read will look like this: [ICODE]www.thesite.com/key.php?key=the_key[/ICODE] and the page will return a true or false. I currently have …

Member Avatar for dylank
0
1K
Member Avatar for JavaCode

OK I'm making a script and I get this error and have no clue off have to fix heres the code all help is thanked: [CODE]import java.awt.*; import java.util.*; import java.util.List; import java.util.logging.Level; import javax.accessibility.*; import javax.swing.*; import org.rsbot.bot.Bot; import org.rsbot.script.*; import org.rsbot.script.wrappers.*; import org.rsbot.accessors.*; import org.rsbot.event.listeners.PaintListener; import org.rsbot.event.listeners.ServerMessageListener; import …

Member Avatar for kekkaishi
0
175
Member Avatar for AhmedAltigani

Please if any one knows how to change the default printer on control pannel-printer and fax permenantly, means when I go out from My VB6 program the default printer I set still as default one. Thanks and best regards

Member Avatar for vb5prgrmr
0
231
Member Avatar for NotNull

80X86 Speeding up word memory access. When the address of the first byte of a word lies at an odd address the processor must make two memory fetches for each byte of the word. But if the address of the first byte of the word lies at an even address …

Member Avatar for Evenbit
0
156
Member Avatar for kayblack

Hello guys, I'm trying to make my PHP mailing script mail an html webpage. I've pasted the page code but I've been getting alot of error pages complaining about the tags in the html code (style, table width, etc) How do I get around this?

Member Avatar for Atli
0
184
Member Avatar for darkRoom

My website I'm building has various image Arrays, I have JS code passing data so an image in 1st page exp:[image5] loads into 2nd pages Array as [image5], it works in all browsers except Firefox where 1st page reloads to [image1] in 1st page Array. Being a newbie I can't …

Member Avatar for Airshow
0
184
Member Avatar for Namibnat

I am busy with a project for fun and I am finding it tricky to set balues for mysql queries. If I do the following: [CODE]function CalcPostByTime(){ include 'DB_connection.php'; $result = mysql_query("SELECT ztime FROM blogpost;");[/CODE] What is the simplest way to set an array, which will be a return value …

Member Avatar for kekkaishi
0
137
Member Avatar for power_computer

I was given a template class code here and I have to add the code to a insert function in there, I have no real experience with templates, how would I go about doing this ? here is the template class code.cpp [code] // Implementation of the templated version of …

Member Avatar for power_computer
0
151
Member Avatar for VIPER5646

Hi I have a Datagrid with column(1) showing the date. The dates are being Displayed as 01-13-2009 (mm-dd-yy). That's how it is saved in the DB. I wouls like it to be displayed in the Datagrid in the following format Jan-13-2009. Can anyone help? Thank you

Member Avatar for VIPER5646
0
107
Member Avatar for raigs

N00B. Is it possible to compile every line in a file except one? That line would be left in text mode inside the compiled file. Would the file even execute? I'm using gcc (g++).

Member Avatar for kenji
0
84
Member Avatar for DazednAngry

Hello, I am new to C and am in need of some help. I am getting a warning, assignment makes pointer from integer without a cast. here is some parts of my code: struct BOARD { char *theBoard[8][8]; }; typedef struct BOARD Board; int main(int argc, char *argv[]) { Board …

Member Avatar for gerard4143
0
122
Member Avatar for raigs

N00B. Can I buffer cout, cout something and then cout the buffer? I've been googleing but did not find anything of this sort. [CODE]#include <iostream> using namespace std; int main (void) { cout << "cout output until this point"; string BUFFER; // I need to buffer the cout output until …

Member Avatar for raigs
0
147
Member Avatar for JLynn

Hello, I am having a strange error when I try to delete my old charts in my excel workbook. Below is the code I am using to try to get the Workbooks property to work: [CODE] Sub Selecting_Charts() Workbooks("Op 70.xls").Activate Sheets("Charts").Select Workbooks("Op 70.xls").Charts.Select 'Error here! End Sub [/CODE] I keep …

Member Avatar for Jupiter 2
0
180
Member Avatar for StaticX

Hi,Im having a hard time understanding the fundamentals of Object oriented programming.Ive made a really simple program that allows a user to enter a number, and then i have a function that doubles this number and returns it. But im still having the same errors that i had when i …

Member Avatar for mikiurban
0
109
Member Avatar for CplusplusNewBee

Hello, I am a newbee in C++. I am trying to have a connection setup and trying to access private varaibles of a class. Please look at my piece of code below. Any comments would be greatly appreciated. Basically, I want to access two private varaibles from MyClass into AnotherClass(myNewClass …

Member Avatar for CplusplusNewBee
0
81
Member Avatar for raigs

N00B. I cannot seem to get this right. [CODE]#include <iostream> #include <cstdlib> using namespace std; int main(void) { system(("sendmail -options" + EMAIL_TEXT)); return 0; }[/CODE]

Member Avatar for mikiurban
0
211
Member Avatar for dans@dis.wa.gov

Hi everyone, I'm a javascript/actionscript/java/ruby developer who's been given a project that must be done in Sharepoint. One of the tasks of the project is I have to write a console application that replicates data from the secure sharepoint site and pushes it out to a public site in a …

Member Avatar for sknake
0
202
Member Avatar for uopgirl
Member Avatar for eggmatters
0
189
Member Avatar for SuSham

Hello, I'm novice in computer science , please bear with me. I have studied some embedded systems and now I have just started learning PC programming in C . My question is when one complies a C program it is converted into a binary file right? That is machine language, …

Member Avatar for eggmatters
0
2K
Member Avatar for kustrle

I have composed a Windows Forms Application with few Check Boxes and Install button on it as well. Now I just made a code for Install button's Event Handler which run application when button is clicked. Code is following, and was just made for test if everything works as supposed …

Member Avatar for kustrle
0
119

The End.