199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ihtraa

we are currently workin on a RFID project and we need to generate the RFID serial numbers which is in a specific format (eg: 0101i0010001). in this the 1st 4 numbers are constant (0101) the next 4 digit numbers are item id which is got from the JSP textbox(i001) the …

Member Avatar for Acidburn
0
106
Member Avatar for kings

hi i have a dynamic table.i want to rows in alternative colours $nr0 displays the no of rows fetched [ICODE]while ($row=mysql_fetch_array($rs)) { ///////////////////////////////////////////////////////////////////////////////// //This is used to show the serial number on the page as well as to count it up //so that we can get the next page's starting …

Member Avatar for nav33n
0
84
Member Avatar for john_aa

Hey guys, I am interested in knowing, what new Web Development projects you are doing, curious to know, what data base you use, and if you are using Linux or Windows platform. Also, will like to know, if there are any alternatives to Adobe products, that you may be using

Member Avatar for DangerDev
0
72
Member Avatar for nishanthaMe

Hi all; i want to insert a a div tag inside the javascript (in order to : xmlhttpreuest object status is not 4 then a messaga saying Loading..............) as well as I want to put that message center of the page but should not change if the scroll bar dragged.so …

Member Avatar for DangerDev
0
64
Member Avatar for ebabes

Everytime I connect my Access database into my page for some SQL statements like SELECT, INSERT, UPDATE, and DELETE - I make use of an absolute path in my data source such as [COLOR="Red"]Data Source = C:\MyData\grades.mdb[/COLOR]. But when I make use of a relative path in my data source …

Member Avatar for ebabes
0
460
Member Avatar for sachinkumar75
Member Avatar for s1986

:icon_question: i have a button in my web page and want it to print sumthing when clicked hw do i do it? i tried using window.print() but it doesnt work

Member Avatar for s1986
0
68
Member Avatar for ankitbullu

What enables C to support variable function arguments (varargs), while other languages (like Java) do not support this feature? What is special in C which is not there in Java to support this?

Member Avatar for ankitbullu
0
89
Member Avatar for Ankita B

Hi,I have a login page which accepts user id and password.On successful entry user navigates to next page.I wish to display a welcome message with user name like "welcome xyz!"..how can i get user name from user id and password (entered in the login jsp file) be displayed in next(successful-login …

Member Avatar for stultuske
0
132
Member Avatar for thud

I would like to use nested tokens. For example entering the following into textbox1: {red | green | blue | yellow} and pressing a command button could randomly place one of the above colors into textbox2 each time it is pressed. I would like to do the above as an …

Member Avatar for Nick Evan
0
233
Member Avatar for vs49688

Hi. I am trying to make a program that will launch restricted user-specified programs at my school. How would I make the system() function below make use of the two variables in it. I've tried && and ||, but the bugger wont work. [code] #define runasc "runas /profile /user:tsc\\staffuser" system( …

Member Avatar for Nick Evan
0
106
Member Avatar for afro007
Member Avatar for az_master

i need a code for adodb which can link my form in vb to a table in ms access which contains name and id as the fields.help please!! thanx

Member Avatar for Jx_Man
0
83
Member Avatar for scorpionz

Hi this is Scorpion I have create 5 pages on PHP and 1 login Page. Now the issue is that if user didnt login to the Website, then he cannot view those pages and simply he/she must direct to login page if click to other categories of Page. I have …

Member Avatar for nav33n
0
183
Member Avatar for bashir matovu
Member Avatar for choudhuryshouvi
0
163
Member Avatar for s1986

m new 2 asp.net. my prob is after populating the dropdownlist with data from the database wen i select an item it select only the first item.following is my code.where did i go wrong code:- con3.start_connection() dr = con3.executequery("SELECT city_name from City") DropDownList1.Items.Clear() While dr.Read DropDownList1.Items.Add(dr(0)) End While dr.Close() con3.close_connection() …

Member Avatar for s1986
0
195
Member Avatar for cnoob3610

Hello all. Sorry to be a bother but I cannot figure out what is wrong with my homework program that's due before midnight. The assignment is to create a program with a two-dimensional array that generates a random walking path. I'll list the assignment as it is probably clearer. [I]Write …

Member Avatar for cnoob3610
0
114
Member Avatar for campbm39

Hi, I am pretty new to C++ and would really appreciate some help. I'm trying to write a program that will click on a particular color pixel on my screen. For instance, the program would click on a blue dot on my desktop. I play a mmorpg and I have …

Member Avatar for codeaa
0
130
Member Avatar for Exo1337

So My input document has the following data 56 38 A 7 8 My program: #include <iostream> #include <fstream> using namespace std; int main() { ifstream inData; ofstream outData; int num1, num2, num3, num4; char ch1; inData.open("c:\\inDatat.txt"); outData.open("c:\\outData.txt"); inData >> num1 >> num2; outData << "Sum of " << num1 …

Member Avatar for vmanes
0
109
Member Avatar for deifyme

Hi all, m having this java.io.FileNotFoundException: The system cannot find the specified file, although the file is there in the folder. waiting for some replies, thanks

Member Avatar for deifyme
0
174
Member Avatar for Tom Tolleson

Hi! I'm working on a graphics interface that is almost completely JavaScript. I want to assign a key combination to a function. For example: if the user hits Control+T, a new window would pop open. Any tips? Thanks! Tom Tolleson

Member Avatar for DangerDev
0
343
Member Avatar for Jennifer84

I am trying to use ifstream to read from a file. When you use ifstream you have to specify the path like this. [code] ifstream Symb("Folder1\\Folder2\\File1.txt"); [/code] Instead of specifying like that, I will find a variable Text from a comboBox like the code below. Path has the string: "Folder1\\Folder2\\File1.txt" …

Member Avatar for codeaa
0
839
Member Avatar for Jboy05

I need help fixing this I help getting errors #include <cstdlib> using namespace std; void show_word (string); int main () { show_word ("hello"); system ("PAUSE"); return 0; } void show_word (char); { char InName; cout << "Enter your name " << endl; cin >> InName >> endl; show_word ("hello"); show_word …

Member Avatar for Jboy05
0
111
Member Avatar for knewc

Hello! I was wondering how to generate random numbers within a given range X and Y using rand. Thanks!! I was thinking that it may be along the lines of [code] rand() & x+y [/code] however this does not work. Any help would be amazing! Thanks guys and gals!

Member Avatar for Dave Sinkula
0
55
Member Avatar for kerek2
Member Avatar for Jx_Man
0
183
Member Avatar for Tropical42

I Started Installing it and i am getting this error Step 2) Connect to the database Attempting to attach to database Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/www/tropical4.freefronthost.com/Vb/Vb/includes/db_mysql.php on line 140 The database has failed to connect because you do not have permission to connect …

Member Avatar for Michael_Knight
0
202
Member Avatar for leroi green

hey all, the noob is back. and with more questions that you guys will probably make fun of me for but...whatever. I am creating a GUI design where there are four labels (it doesn't need functionality) with an OK, HELP and CANCEL button on the right side. i haven't started …

Member Avatar for leroi green
0
102
Member Avatar for Exo1337

Soooo I essentially need to make a program to evaluate any exspression that is plugged in to it, how would I go about starting a program like that ? I know how to evaluate normal exspressions including + - * / but what if a user wants to do a …

Member Avatar for codeaa
0
2K
Member Avatar for Jennifer84

I am trying to get the text that is choosen in a comboBox. I have tried these codes but no of them are working. What am I doing wrong here ? [code] std::string Text; // I have tested all 4 of these and this will not compile. //I belevie it …

Member Avatar for Jennifer84
0
193
Member Avatar for Techboy1523

Write code to prompt the user to input a character and a number. Then print out the character that number of times. This is one of many questions I must answer, but it will help me get started on my code.

Member Avatar for totem mouse
0
81
Member Avatar for Jboy05

Consider the following user-defined function: [code]void Quick_Change (int x, int & y) { if (x == 0) y = 10; else if (y == 0) x = 10; } [/code] Assume the values in variable A and B are both of int type. How do I find what the values …

Member Avatar for Jboy05
0
97
Member Avatar for hallinan

Need help I wont to get a system date as integers such as(22/02/2008) rather than string cause I need this to compare two dates any ideas?

Member Avatar for Dave Sinkula
0
86
Member Avatar for mark192

Is there a way to assign the ASCII values from a text box to a label on a form? Say the text box had the character "a" inputed, how would i translate that into its ASCII value? Also is it possible to do this with a string of characters? Say …

Member Avatar for SolTec
0
131
Member Avatar for Texpert

Hi, I have two drop down lists boxes, upon page load first DDL gets populated and depending on user's selection on first DDL second DDL (child DDL) gets populated, works fine. My problem is when user goes back and makes another selection on first (parent) DDL (note that it's not …

Member Avatar for SolTec
0
137
Member Avatar for buffe

Hi, I'm a new one for c++. I want to call a function in time intervals. (as an example lets say for every 100ms ). How can I do that. Please help:S Thank you

Member Avatar for Nemoticchigga
0
114
Member Avatar for Proton

Hi, first off I'd like to say that this is my first post here. I just finished typing up a long explanation of my problem. And when I submitted it, I wasn't logged in anymore, so I logged in, but then subsequently lost my entire post. All I can say …

Member Avatar for SolTec
0
182
Member Avatar for vesper967

no idea what to do about this error =/ [code]#include <stack> #include <string> #include <iostream> #include <fstream> using namespace std; int main () { stack<string> stack; ifstream inFile; string consoleStr = "Enter Filename>> "; string fileName; string word = ""; char c; cout << "Welcome! Enter filename or quit to …

Member Avatar for prushik
0
1K
Member Avatar for soa24434

Hi. I have just recently bought Microsoft Visual Studio Professional 2005. It came with 14 CD's, which are SQL server 2005 Developer Edition 64-bit (2 cd's) SQL server 2005 Developer Edition IA 64-bit (2 cd's) Microsoft Visual Studio 2005 Pro Ed Academic (2 cd's) MSDN library for Visual Studio System …

Member Avatar for SolTec
0
148
Member Avatar for mrjoli021

I wrote a class in vs2008. I am creating a new project and I need to incoporate that class into it. How do I do that. I added the .h to the header section and the .cpp to the source file. In the new program i did #include "firstclass" but …

Member Avatar for Nemoticchigga
0
125
Member Avatar for micah1983

help with c++ problem. a software company sells a package that retails for $99 . Quantity discounts are given according to this table. Quantity Discount 10-19 20% 20-49 30% 50-99 40% 100 or more 50% Write a program that asks for the number of units sold and computes the total …

Member Avatar for carnage
0
598
Member Avatar for cbattagler

At this point I am trying to get data from a std::list or std::vector. I push_back the object from a pointer into the list and go on my merry way, I do this until I get to the point I want (which is working at the moment) but then when …

Member Avatar for cbattagler
0
106
Member Avatar for nirmalarasu

Hi All, Currently Iam writing python ftp script to upload a file to FTP Server. The server where iam going to download a file expects the upload command in this format "put <filename> flash" I dont know how to send this same command in ftp session after login. I have …

Member Avatar for nirmalarasu
0
499
Member Avatar for Jboy05

how do I wrtie a function that takes one argument of type double. The function returns the character value ā€˜P’ if its argument is positive and return ā€˜N’ if its argument is zero or negative. [code=c++] double Letter ( double P, double N) if (P = +); return P; else …

Member Avatar for kjc367
0
117
Member Avatar for plgriffith

Ok, I know C/C++ really well, but just started Java today and am having an issue. I have an assignment where I have to ask the user how many names he wants to enter, and then have him enter all of the names. After all of the names have been …

Member Avatar for Ezzaral
0
110
Member Avatar for Swati_bansal

When I try accesing private members of a class using friend functions after including the concept of templates in visual basic c++, the compiler shows me an error message that friend functions cannot access the private members declared in class. Please help.....

Member Avatar for farag
0
276
Member Avatar for Techboy1523

Write a program that will prompt the user to input the following: length and width of a rectangle , a character, and a choice for either filled or unfilled. If the choice is filled, print out a filled rectangle with the indicated length and width using the input character. If …

Member Avatar for kjc367
0
209
Member Avatar for nsm_madhavi

HAI! CAN ANYONE HELP ME TO RETREIVE DATA BETWEEN TWO DATES FROM MS-ACCESS USING VB.NET. I HAVE TAKEN DATETIMEPICKER CONTROLS. THIS IS THE CODE . ITS RETURS ERROR. PLEASE SOLVE THIS PROBLEM. Imports System.Data.OleDb Public Class Form7 Dim con As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Private …

Member Avatar for SolTec
0
645
Member Avatar for winsrividhya

I have a database in SQL Server 2005.I've a table namely 'PersonalDetails' in it which contains a 'date of birth' field of type datetime.I've to generate weekly birthday reports . I wrote a sp like this:[code] ALTER PROCEDURE [dbo].[selectweekfrompersonaldetails] ( @paramdate datetime ='02/01/2007' ) as -- select EmpID,EmpName,month(DateOfBirth) bmon,day(DateOFBirth) bday …

Member Avatar for SheSaidImaPregy
0
148
Member Avatar for newMeg

Hi I have 3 tables in my database. 1) [B]photo[/B] 2) [B]category[/B] 3) [B]subcategory[/B] in my photo table i save my subcategoryid which is tied to the category table. What i need to do is get the all the subcategoryname from subcategory table where photo.subcategoryid='1' and photoid='2'. I can actually …

Member Avatar for SheSaidImaPregy
0
118
Member Avatar for petzoldt01

I have recently been trying to work with OpenGL in Java and decided to go with JOGL to start. I am using SWT for my visuals and I am programming inside the Eclipse IDE. I have found plenty of interesting uses for OpenGL, but once I have more than one …

Member Avatar for Ezzaral
0
175

The End.