199,113 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
: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 | |
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? | |
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 … | |
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 … | |
![]() | 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( … |
Anyone know how to convert real e.g. 105.6 to string e.g. 105.6? | |
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 | |
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 … | |
[B][B]hi brothers i need to know how to save and delete records i adodb[/B]. | |
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() … | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
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" … | |
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 … | |
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! | |
Hi, Just want to know how to make the item in list box and textbox appear together - sync? Tq | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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. |
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 … | |
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? | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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..... | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
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 … |
The End.