199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for minbor

Hello, I have a series of variables ending with a number and am trying (unsuccesfuly) to put them in a table using For Next loop. the code looks like this: [CODE] <% v1 = "text_1" v2 = "text_2" v3 = "text_3" %> <table border="1"> <% For x = 1 To …

Member Avatar for minbor
0
114
Member Avatar for IQLion

class t{ Somebody please help me with one very simple program in java. I'm new to java, so I can't understand what all this errors about. Please help me fix this program. It gives three errors: illegal start of type swith (s) orphaned case case 'Y': <identifier> expected switch (s); …

Member Avatar for PopeJareth
0
173
Member Avatar for sravan953

Hey guys... I am working on a program where when a user enters a number, the program adds all the digits of the number and goes on till the sum is single digit. [TEX]Example: 9812737 = 9 + 8 + 1 + 2 + 7 + 3 +7 = 37 …

Member Avatar for bumsfeld
0
132
Member Avatar for slatk3y

Hello, I have a question about bitwise operators, especially shifting. Suppose we have: [code=C++] #include <iostream> using namespace std; int main() { unsigned i = 2; i<<=2; cout << i << endl; } [/code] unsigned i = 2 in binary is 0.......00010, if we shift 2 bits to the left …

Member Avatar for slatk3y
0
135
Member Avatar for tintincute

Hi I'm very new to programming and I'm learning C# for the first time with no experience. I just finished designing a program which counts the vowels in a sentence. Now I would like to count the vowels while typing it to the text box. I'm wondering what event/events is/are …

Member Avatar for tintincute
0
392
Member Avatar for Jiro90

Can anyone explain the flow chart or algorithm of the program attach? The program is about LCD clock but I don't know how it works. I need it by tomorrow so please help me take a look. Thanks

Member Avatar for wildgoose
0
101
Member Avatar for whiteyoh

Hello all, The following captcha script works fine, but only with $name, $email and $message. As you can see I have added $bname, $add, $postcode etc. My Question is, how/where do I amend the script to include those new variables in the email that has sent? I have played about …

Member Avatar for samarudge
0
118
Member Avatar for angelo1969

I've written a form in html(uses Java) that creates a mail (html) via a php file. For me everyting works fine, but when [B]certain users[/B] click the send button, the form blinks and [B]empty all fields[/B]. But other users get a confirmation mail. How is this possible? In a way …

Member Avatar for SoN9ne
0
114
Member Avatar for K?!

Hi all I'm having a problem with netbeans when I try to make af form. It gives an error when it's not supposed to. At least, as far as I know it's not. An image can say a thousand words: check the attachment. Any help? I know this is not …

Member Avatar for K?!
0
129
Member Avatar for jbisono

Hi, friends i have a datagrid bound a hypercolumn [CODE=ASPNET] <asp:DataGrid ID="menu" AutoGenerateColumns="False" Runat="server"> <Columns> <asp:HyperLinkColumn DataTextField="OPT_DESC" DataNavigateUrlField="OPT_LINK" DataNavigateUrlFormatString="{0}"/> </Columns> </asp:DataGrid> [/CODE] basically what i want to do is, that i want to insert into the database the users that click some links. so how can i make a clickevent …

Member Avatar for jbisono
0
353
Member Avatar for Shaitan00

I'm having an odd problem writing some template classes and placing the implementation in a separate .CPP file - specifically I keep getting the following errors: Error 1 error C2143: syntax error : missing ';' before 'List<T>::begin' Error 2 error C4430: missing type specifier - int assumed. Note: C++ does …

Member Avatar for Tom Gunn
0
357
Member Avatar for sotvisal

import java.util.*; class Degree2 { Scanner in() { return new Scanner(System.in); } void out(String m) { System.out.print(m); } double readDouble(String m) { out(m); return in().nextDouble(); } String readString(String m) { out(m); return in().nextLine(); } void foundRoot(double a,double b,double c) { if(a==0) out("Value x is: "+(-c/b)+"\n"); else { double data=(b*b)-(4*a*c); if(data>=0) …

Member Avatar for harsh2327
0
391
Member Avatar for sotvisal

[code=java] import java.util.*; public class Convert { Scanner in() { return new Scanner(System.in); } void out(String m) { System.out.print(m); } long readLong(String m) { out(m); return in().nextLong(); } int readInt(String m) { out(m); return in().nextInt(); } String readString(String m) { out(m); return in().nextLine(); } String digitOne(int n) { String st=""; …

Member Avatar for tux4life
0
160
Member Avatar for napsternapster

I'm validating two records entity type and name using ajax but my problem now is that it works well all other browsers except firefox. var basiccounter ; function ServerSideValidation(contact_counter,detailed_counter,f,selection,o_name) { basiccounter = 0; //sending entity type to the server var urlEntity = "entity_type.php"; urlEntity = urlEntity+"?type="+document.getElementBYId(selection).value; urlEntity = urlEntity+"&sid="+Math.random(); checkName(urlEntity,"GET", …

Member Avatar for Airshow
0
92
Member Avatar for itsrahulk

hi, i am redirecting user to previous page after adding the data. user has come from the url [CODE] http://localhost/goaweb/admin/viewimage/54400 [/CODE] where [B]add data [/B] button is placed to [CODE] http://localhost/goaweb/admin/addpic/NTQ0MDA= [/CODE] for adding the data (add data page) now i am rediirecting the browser to preview URL from where …

Member Avatar for samarudge
0
132
Member Avatar for hashinclude

hello , first i want to say that im very new at c++ , i managed to create a very simple program through searching the internet , this little program involves running a certain exe file with parameters : (e.g: "c:\folder\file.exe" -parameter1 -parameter2) i am using the system() function to …

Member Avatar for epitalon
0
183
Member Avatar for shazzy99

Hi, I've been trying to read the file content from the file path entered by user at run time. However i always end up in error. Help needed... char name[100]; ifstream infile; cout<<"Enter filename to open"; cin.getline(name,100); infile.open(name); if(!(infile.is_open())) { cout<<endl<<"File Not Found"; } i'm not using relative path, instead …

Member Avatar for shazzy99
0
177
Member Avatar for xiikryssiix

okay, i wouldnt be asking for help if i didnt need. im completely stuck and have no idea HOW to fix it. my teacher didnt really teach how to figure out these things, he basically left the last assignment as a "teach ourselves" moment. anyway...whole point of the assignment is …

Member Avatar for cgeier
0
109
Member Avatar for laghaterohan

i have one Gridview (Gridview1) i want to make this Grid editable. For this i have set : RowEditing = TRUE RowUpdating = TRUE After this i have got Edit/Delete button on the extreme Left of the Gridview followed by my Autogenerated columns from the database(Column0 , Column1 ,Column2). I …

Member Avatar for nccsbim071
0
153
Member Avatar for solahere

This is what I am trying to do... I have a image and I create a bufferedImage and graphics out of that using: [CODE=java] BufferedImage img = ImageIO.read(file); Graphics2D g = img.createGraphics(); [/CODE] Now I play with the graphics and finally save the file using: [CODE=java] File outputfile = new …

Member Avatar for JamesCherrill
0
191
Member Avatar for yash777

Hello all, Do anyone have any idea of what this Exception in occuring when i try to remove the elements in XML using XmlNodeList. It occurs in following section : [ICODE]XmlNodeList nodeLst = xmlDoc.GetElementsByTagName("FileName"); foreach (XmlNode node [B]in[/B] nodeLst) { //code }[/ICODE] Pl help ???

Member Avatar for yash777
0
314
Member Avatar for papanyquiL

Hi all, I've gotten the drag and drop to work in my listviewbox with some help. I'm not trying to get a file to show in the listviewbox when somebody selects the file from the open file dialog box I've made. I've been able to successfully show the file in …

Member Avatar for ddanbe
0
134
Member Avatar for drugoholic

Hello everyone, I'm having one annoying problem with a script I didn't even write. First of all, let me just point out the issue; If you goto this address (site is in french): [B][URL="http://axa.seomena.com/fr/calculez-vos-primes/calculez-vos-primes-assurances-medicales"]LINK[/URL][/B] You'll notice that it's a dynamic calculator, if you choose "individual" and click next, it'll show …

Member Avatar for drugoholic
0
132
Member Avatar for tanha

Hi everyone, I have a registration form for the book, which has two many to many relationships with Author and Category, So I don't know what is the best way to implement and to be user friendly. If there is an example, please let me know and also share your …

Member Avatar for tanha
0
1K
Member Avatar for sayakyi

Dear All, I am very happy to be here. I have got alots help from this forum. I don't know how to show my search result on the same page. My Code index.php [ICODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script language="javascript" type="text/javascript" src="jquery-1.3.2.min.js"></script> <script language="javascript" …

Member Avatar for djjjozsi
0
214
Member Avatar for khuks

I would like to get assistance on how to retrieve data from MS SQL database to view it on a listbox.In my db i have two columns.

Member Avatar for kvprajapati
0
111
Member Avatar for mandible

Hello I was wondering if there is a way to read a unix profile'd variable while inside my PERL code? I'm trying to do something like this. system( " execute some code >> $UNIXVAR\log"); also tried system( " execute some code >> '$UNIXVAR\log'"); I think though that the way I'm …

Member Avatar for subii P
0
137
Member Avatar for tanha

Hi. Suppose I have a list box, which is filled out from mysql, and I have a text box and a submit button. I want to add the text box data into list box and at the same time I want to have the text box data into mysql as …

Member Avatar for tanha
0
261
Member Avatar for subii P

Hello, I am facing the a probelm, I wanted to read a unix PATH variable into perl script. But its not working. $path_var=`$PATH`; Can u help me in doing this. Thanks in advance, Subii

Member Avatar for masijade
0
120
Member Avatar for tulipputih

Hello, I have copied this code but I do not really understand what this code is about. . :?: When I put this into my code to expand certain terms, it shows result but it just shows the last record in my table..not taking the variable I posted. Can anyone …

Member Avatar for tulipputih
0
122
Member Avatar for Pamella

guys i'm asking for some help..i have an asgnment bout c++..our prof ask us to give 2 examples ech of the simple if prog, if else, if else if, switch, while, do while and for loop...tnx i'm just a freshmen student of bsit..tnx =)

Member Avatar for Pamella
0
99
Member Avatar for Dajer

hi friends i want to put help file into my project.sth that when user press F1 it has been shown.how can i create a help file? thanks.

Member Avatar for darab
0
146
Member Avatar for aditi_19

Hi, I have a problem. I am storing projectid (varchar) as a field in this format :- DD-NNN where DD is the last two digits of the year and NNN is the next project number within that year (i.e. 09-500 is the 500th project in year 2009). The user has …

Member Avatar for somedude3488
0
101
Member Avatar for telcontar

I'm planning to do a simple game engine (the core functionality in c++) from my own and I want to start with the scripting engine as I want this to be very 'modable', I did not coded anything yet, so suppose that exists a OOP scripting language in which I …

Member Avatar for telcontar
0
122
Member Avatar for rp_prasanna

Hi friends, I am able to create a row dynamically with 3 cells(i.e column). In my 3rd cell i need to add another row. Is it possible to acheive it. I am using Java script for it. This is the table structure: [code=html]<table align="center" id="msgfield" width="100%" cellpadding="1" cellspacing="0" border="1" bordercolorlight="#999999" …

Member Avatar for rp_prasanna
0
228
Member Avatar for Godstryke

Hi all, I'm currently learning Java right now through a class and my instructor has asked me to try writing a word-count program using a Map interface. It should run through command line and has to identify the number of words, the number of distinct words, and the distinct words …

Member Avatar for Godstryke
0
1K
Member Avatar for leowasif

hi, kindly can u tell me how to disable all the window error massages include the run time error msg like "system could not find the path of the file " thank u..

Member Avatar for Salem
0
68
Member Avatar for harryhaaren

Hi everyone, Im working on a large scale audio program, and I got a question regarding namespaces: The main() part of the program includes my own headers, each named according to what part it plays in the program, eg: Audio.hpp , Midi.hpp etc. These headers will "load" other headers..? Is …

Member Avatar for kvprajapati
0
122
Member Avatar for chrispaul8676

Hi, there, i have come up with a dropdownlist that takes data from database. A gridview with checkbox to select and a button to submit the selected rows in gridview and selected data in dropdownlist. i am getting errors. I don't know what is the cause. The dropdownlist will have …

Member Avatar for nccsbim071
0
172
Member Avatar for Sandhya212

Hi, I am very new to Python and thus the question. I have a Python List ready now which I need to send to a C program for further processing. Is this possible? I came across SWIG which does a C to Python but could not find anything that did …

Member Avatar for sab73
0
112
Member Avatar for ms17

I would like to syndicate content from one website to sections withing many other websites. So far I've been using iframe but the problem is that the content presented on these websites is not indexed hence does not improve SEO. [B] I was wondering if you have a solution for …

Member Avatar for jarn
0
140
Member Avatar for Web_Sailor

Hi, I am trying to print a String value like this but still not able to get it,. my method is like this:- [CODE] Class1 { public String mystring; public void mymethod(){ mystring = ""; } //Then I am setting the value of mystring in other method like this:- public …

Member Avatar for Godstryke
0
95
Member Avatar for kralco626

I have a gridview on my "second" page with a SqlDataSource. The data source is configured to take the qurry string "arg" from the url and run a stored procedure with it. On the "first" page i have a gridview and one collumn is links. Click on this link and …

Member Avatar for dsweb1017
0
508
Member Avatar for gingank

Hi guys i'm using the join statement and then display it into the data grid. the problem is table 1 and table 1 info display it together like this Badge_ID Emp _Name Active Badge_ID Emp _Name Active 1234 Nana Yes 1234 Hana No How can i show like this in …

Member Avatar for vb5prgrmr
0
103
Member Avatar for gingank

Hi guys i need help on this can help me can help me to correct it. I want the inner join table 1 & table 2 not show a row in the data grid in the vb6 my sql statement is like this: sql = " Select * from staff_badgeTracking …

Member Avatar for gingank
0
219
Member Avatar for jcmeyer

I want to have scrollbars in a wxpython object that the user cannot navigate away from. Like how a dialog works. I want the scrollable area to be have comboboxes on it. I understand that I can easily put a scrollable area on a dialog that includes text. The only …

Member Avatar for jcmeyer
0
102
Member Avatar for sab73

hi, i have a python module which i compile to an EXE (using Py2EXE). this EXE will be called from another program which was created in C++. my Q is, how can i return an error status from my PY exe to the calling program. is there anyway i can …

Member Avatar for sab73
0
107
Member Avatar for itisnot_me

ok what i am trying to do is see if multiple values are all yes. idk if what i think is right, actually is right. [CODE] $1 = "yes"; $2 = "yes"; $3 = "no"; if ( ($1 && $2 && $3) == "yes" ) { $thing = "you"; } …

Member Avatar for itisnot_me
0
80
Member Avatar for phpbeginners

hi all, I am new in php. I want to show every row one by one during processing with check icon in the right side from row 1 up to row n? table row 1 √ row 2 √ . . . . . row n √

Member Avatar for Airshow
0
78
Member Avatar for dublinus

Hi, I am writing a VB.NET application, and I'm having a little trouble writing to the database (via ODBC). I can read from it perfectly well, but when I send an "UPDATE" command via ExecuteNonQuery(), I get a "System Error". Can someone help Identify the problem, or maybe propose alternatives? …

Member Avatar for Stevoni
0
309

The End.