199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rajeesh_rsn

Hi i had a web form with an input text area in it I need to give some restrictions to user in that text area. 1. Need to deny users to type "<",">" these symbols in that text area. 2. Also deny from type more than 400 characters... I used …

Member Avatar for almostbob
0
109
Member Avatar for LucyB

What operator would I use on a variable to increase it for addition from another variable. Thinking loops perhaps. Like the loop add's data to that variable but plus's it on, instead of changes it. So 50 + 60 = 110, instead of 50 + 60 = 60. Also, if …

Member Avatar for 1bennyd
0
147
Member Avatar for user2009

(Using MS Visual Basic 2008) Hi, I have been ask to create a program that allows the user to input the hours worked and the payrate for a number of employees (note: Hours work and the payrate can all be differ, there is no set payrate), the number of employees …

Member Avatar for user2009
0
75
Member Avatar for yara.008

hi i have program in clien and program in server the connected by winsock i want send more than one variable by winsock1.SendData how i can send it its from diffrent type x as integet s as string y as string i want send x , s and y and …

Member Avatar for yara.008
0
97
Member Avatar for berillio

hello everybody, I am installing some (~10y old) research software which must have been using vb4, because when I started installing it failed because it was looking for vb40016.dll (got that) than oc25.dll (got that one too), and then PUSHHELP.VBX. This is where I got stuck, there a lot of …

Member Avatar for berillio
0
138
Member Avatar for dvsConcept

Im getting these two errors, here is the whole code besides the edits and i know the edits works so their not important here. Error 6 error LNK2019: unresolved external symbol "int __cdecl loadArray(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const (* const)[2])" (?loadArray@@YAHQAY01$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function _main Q6_A1_CODE.obj Error 7 fatal …

Member Avatar for dvsConcept
0
134
Member Avatar for Smurf_UK

I am building a website where models and photographers can regsiter a profile. During registration I am wanting to allow a maximum of 6 images to be uploaded. However, I want to either append the file name with the name of the user, so the image stored on the server …

Member Avatar for somedude3488
0
107
Member Avatar for zaraeleus

Okay, I am a new student (to Java--well programming in general) and the first assignment we have is to create a program that computes the future value of an investment based on three user inputs (principle deposit, interest rate, and length of term in years). First of all, I am …

Member Avatar for zaraeleus
0
689
Member Avatar for alpha_gamma

Hello, I downloaded some code from coreservlets.com and put the code on BEA WebLogic 8.1. The code is actually from ch4 of the book "Core Servlets and Java Server Pages (Hall/Brown)". I wanted to run a particular html form that one fills out then goes to a servlet. The html …

Member Avatar for peter_budo
0
146
Member Avatar for rapture

I'm new in Java and supposed to write a program that prints a number into a diamond shape. It doesn't print correctly, can someone point out where I'm messed up? [code] private static void diamondOfAsterisks(int number) { int spaces = number / 2; int stars = 1; int row; int …

Member Avatar for rapture
0
101
Member Avatar for yara.008

hi i have vb program in client connect with vb program in the server by winsock clinet will send data to the server and server will add data to the data base access data base how i can work with access in vb 6 program ? how can i add …

Member Avatar for yara.008
0
325
Member Avatar for mmeyer49

I'm writing a program to gain info and then print it. Problem is when a person enter $1231 for my account the $ crashes it. I would like to use cin.peek to check if it is there if it is delete it so far i have [code] cout << "Balance …

Member Avatar for mmeyer49
0
161
Member Avatar for sindorei

This is such a simple issue, it's embarrassing to have to ask.. but I've been having trouble with this theoretical issue of defining string arrays (and even integers!) outside of their class. Here's some code: [CODE]#include <iostream> #include <string> using namespace std; class desu { public: string ok[4]; // Give …

Member Avatar for sindorei
0
186
Member Avatar for nitu_thakkar

suppose i want to do shift left opeartion on x=1010 y=x<<1 it will shift left the value & make x=0100 but how can i store that shifted value... in other variable...? please help me to solve this query

Member Avatar for MosaicFuneral
0
142
Member Avatar for RayvenHawk

Ok I have a problem here. I'm in my game engine class and for some unknown forsaken reason they decided to teach console c++ then jump to c# for windows apps, then back to c++ to do directx apps, so my skills with c++ and windows apps is well krappy. …

Member Avatar for Murtan
0
100
Member Avatar for celebritybree

I need a code that when I'm given two number, the computeer gives me back 4 integers ex) user gives me: "3 & 6" The computer displays back: "3,4,5,6"

Member Avatar for celebritybree
0
96
Member Avatar for Leopold

I'm VERY inexperienced in programming, I'm just learning the very basics. Anyways, I just figured out how to add a "pause" line to keep the program from closing as soon as I run it, but now there's a nasty "Press any key to continue" after my text. Is there a …

Member Avatar for William Hemsworth
0
10K
Member Avatar for TheBuzzer

Hi. I have this problem Group by will make the table only show a value of that group once. So lets say there was 1000 results without group by. 500 with a single group by. But now i want to do another group by to filter it down more to …

Member Avatar for TheBuzzer
0
105
Member Avatar for ShadyxxLady

Hey ya'll For one of my assignments I gotta produce some small VB programs. One of them has to be a menu. A menu that does whatever I want it to. I can't find any tutorials that help :| I have [B]Visual Basic.Net 2003.[/B] I know how to ADD the …

Member Avatar for ShadyxxLady
0
163
Member Avatar for assgar

Sticky note refresh not working Hello I am trying to create a sticky form. I would like to use javascript to refresh the page using drop down selection to trigger the refresh. The problem is I cannot get it to work. See test3. I tried two other example that worked …

Member Avatar for assgar
0
140
Member Avatar for jvignacio

hey guys im trying to get my html and python cgi script working together to show the users selections of the checkboxes of bulbs and add them up aswell plus the method they wana pay once they pretty the submit form button.. here is my html code: [CODE]<html> <body> <form …

Member Avatar for jvignacio
0
192
Member Avatar for Ronen444

Hi, First of all, i have a Resources.h file, which has the following statement: [CODE] #include <iostream> #include <string> #define string Greeting "Hi" [/CODE] So i also have Prompt.cpp; [CODE] #include <iostream> #include <string> #include "Resources.h" int main() { cout << Greeting << endl; system("pause"); } [/CODE] But, i have …

Member Avatar for Comatose
0
106
Member Avatar for javaAddict

Hi, as you can understand from the name, I am new in VB. So I have 2 questions regarding buttons: 1: I have an array of buttons created like this in the code: [CODE]Dim buttons(10) As System.Windows.Forms.Button[/CODE] I need whenever each one of these buttons is clicked to invoke the …

Member Avatar for javaAddict
0
502
Member Avatar for JoeK

Can someone point me in the right directions. I have to build on an existing mortgage program. I have to pull interest rates in from an external txt file and have them populate my array. The array will then be used in a combobox pull down. I don't know which …

Member Avatar for JoeK
0
148
Member Avatar for Somali Rathore

A string is input which is both in uppercase & lowercase letters. How can I arrange the string so that all lowercase letters are in one side and uppercase letters are in another side.

Member Avatar for Aia
0
196
Member Avatar for jsand2

Hello everybody! I am new to the site and to java. I am in week 2 of my java class now and still not sure if I am enjoying it. Unfortunately I would say it is my weakest link in the IT field so I picked this class on my …

Member Avatar for jsand2
0
68
Member Avatar for Iruka_86

Hello, Can any of u help me with this assignment.. I tried to do it myself but cuz I'm new in Object Oriented my program was full of errors that I don't know how to fix :( Please help me as soon as possible.. here is the question: Write class …

Member Avatar for StuXYZ
0
180
Member Avatar for GURU1349

hello people, its the very first time im doing programming stuff.And i have done nothing so far.I found a booklet in my bookcase,it's about C++.,ts just the first booklet of a serie. i use visual c++ 2008 express,i did new>file>C++ i used the same codes as in the booklet,here it …

Member Avatar for Freaky_Chris
0
105
Member Avatar for CasTex

Can someone tell me where is the problem ? [CODE]<script type="text/javascript" src="http://www.forumistan.net/analiz/analiz.php?site=http://www.forumistan.net"></script>[/CODE] analiz.php [CODE] <? Header("content-type: application/x-javascript"); ob_start(); include 'all.php'; ob_end_clean(); echo "document.write(\"<div class=\"txt\">Pagerank: $rank->pagerank <br>\")"; echo "document.write(\"Alexa: $rank->alexa_rank</div>\")"; ?>[/CODE]

Member Avatar for almostbob
0
576
Member Avatar for Anbuvengeance
Member Avatar for Anbuvengeance
0
79
Member Avatar for college.student

I'm running a simlpe hello world program in visual c++ but in the console mode but i keep getting all these errors unbale to start program c:\users\johnathan\warfield\documents\Visualstdio2008\projects\program1helloworl\Debug\program1 helloworld.exe the system cannot find the specified file. how can i find this error???

Member Avatar for Comatose
0
112
Member Avatar for badbloodyeyez

Hi, I want to know how can I eject a removable device. The device is assumed to be a USB memory stick and comes on a E drive so therefore I would like to safely remove the E drive when the user log off! The code for log off is …

Member Avatar for badbloodyeyez
0
157
Member Avatar for npasma

OK, yeah u guessed it. VBnoob here. Like so many other poor souls, lost in a sea of code...heres the dealio- I know param's need to be completely done and in the correct order for executeNonQuery() to work, but here's my error: Exception Details: System.Data.OleDb.OleDbException: No value given for one …

Member Avatar for Comatose
0
464
Member Avatar for dourvas

hallo, i ve created a dynamic form. A user can select The number of fields he d like to fill in (test creation) [code=php]echo '<form method="post" action="createxml.php">'; for ($i =1; $i <=$number; $i+=1){ // THE $NUMBER CONTAINS //VALUE -ok- echo '<fieldset width ="20%">'; echo '<legend class = "login">WRITE A QUESTION</legend>'; …

Member Avatar for Yayo_SK
0
167
Member Avatar for nobloz

Hello all, using mysql I have the folowing (example) table +------------+--------+ | date | total | +------------+--------+ | 2009-01-08 | 150000 | | 2009-01-09 | 151000 | | 2009-01-10 | 156000 | | 2009-01-11 | 154000 | | 2009-01-12 | 153000 | | 2009-01-13 | 157000 | +------------+--------+ Now i …

Member Avatar for nobloz
0
73
Member Avatar for shers

When I double click on a slide, how do I pass the filename of a selected image in a form, to another form? [CODE]public void DblClickSld(object sender, System.EventArgs e) { frmZoom fZ = new frmZoom(); MessageBox.Show((string)((AxSlide.AxSlide)sender).FileName.ToString()); fZ.Show(); }public void DblClickSld(object sender, System.EventArgs e) { frmZoom fZ = new frmZoom(); MessageBox.Show((string)((AxSlide.AxSlide)sender).FileName.ToString()); …

Member Avatar for shers
0
263
Member Avatar for kaviths

[code] #include<iostream.h> using namespace std; class first { int reverse() { char name[]={'k','a','v','i','t','h','a','/0'}; int 1=0; while(name[i] != '/0') { i++; cout<<"value of i is"<<i<<endl; } } int main() { first f; f.reverse(); } }; [/code] my file's name is cpp.cpp and i cannot run it using ./a.out I get a …

Member Avatar for Freaky_Chris
0
91
Member Avatar for number87

I am doing a shell script to be able to read some records from a file, then ask the user to input a name. The script should then be able to search the records and only print out the requested record. I have figured out how to print the records …

Member Avatar for Salem
0
116
Member Avatar for TasostGreat

I'm trying to write a program which reads a file really small size with two number and a character and ouput another file which can have up to 120.000.000 characters. is unistd equal to direct system call function? and if yes is it the fastest way to read/write data on …

Member Avatar for TasostGreat
0
211
Member Avatar for shers

Hi, I have some images that has to be displayed on a form from a dynamic folder using control array. The controls display 5X3, that is 15 images on one form. How do I display the next set of images using Next button, and go back to the previous set …

Member Avatar for LizR
0
185
Member Avatar for RobSpurr

Can anyone see what is wrong with my code here, I am simply trying to validate form input in the following ways: ""JavaScript Data Validation of Visitor's name field Only must be validated as follows: a) the length of the input is bigger than 0 and less/equal to 14; b) …

Member Avatar for sid78669
0
172
Member Avatar for mcamacho07

Here is an ex of a problem I'm having difficutly with. I need to make up a program that does the following: asks user for the number of seconds and the number of miles traveled program should convert the given number of seonds into different units of time in years/days/hours/minutes/seconds …

Member Avatar for Salem
0
574
Member Avatar for bobomicgruvins

I am currently trying to write a program to compute permutations of the array [0,1,2,3,4,5], I need to save all the permutations to another array and I also need the first digit, 0, to be fixed. I have searched through quite a bit of literature on doing this, however I …

Member Avatar for Salem
0
228
Member Avatar for phoniel

Hey - I'm new asking questions here. I'm writing a simple program to give a number to a power using a recursive function (inconvenient, but that's the assignment). It seems as though the program should work, and debugging shows that it almost does. It has the right value up until …

Member Avatar for devnar
0
139
Member Avatar for dev.smith

hi all, Can I use a variable from a .php file to give a value to an HTML FormMail form field thus:? please reply soon. Thanks -----------------------<URL SNIPPED>

Member Avatar for death_oclock
0
74
Member Avatar for caps_lock

With the code below I am getting an error reading long cannot be dereferenced, how can I solve this problem? [code] import java.io.File; public class TestingClass { public static void main( String [] args ) { File actual = new File("."); for( File f : actual.listFiles()) for( File e : …

Member Avatar for ~s.o.s~
0
376
Member Avatar for l_03

[ICODE] import java.io.BufferedReader; import java.io.FileReader; import TokenizerProcess.StringTokenizer; import javax.swing.JOptionPane; public class ReadFile { public static int count = 0; public static String[][]file = new String[6][3]; public void isReadFile(){ SubjectInput input = new SubjectInput(); try{ BufferedReader reader = new BufferedReader (new FileReader("SubjectFiles/subjects.txt")); String line; while((line = reader.readLine())!=null){ StringTokenizer tokenFile = new …

Member Avatar for ~s.o.s~
0
148
Member Avatar for bipinsth

hey is there any one who can help me in learning PHP and Mysql.... I have keen interest in it but I am not gettin someone who can really help me in it.... If you can then please reply me in <EMAIL SNIPPED> or in <EMAIL SNIPPED>....

Member Avatar for it2051229
0
88
Member Avatar for radhasb

I am writing a program in which I have done ALOT of coding already but there are still problems and features to be added. So far my program: 1) Takes data from a .dat file and displays it on a table 2) There is a button for which you can …

Member Avatar for quuba
0
395
Member Avatar for integer*09

Hi all, Currently, i'm having a window to show rows of data. the following is for 1st row: [ICODE]a0_1->Text = "blah,blah"; b0_1->Text = "blah,blah"; c0_1->Text = "blah,blah"; d0_1->Text = "blah,blah"; e0_1->Text = "blah,blah"; ...............[/ICODE] And as for the 2nd row, its just a change for the last integer of the …

Member Avatar for integer*09
0
89

The End.