199,114 Archived Topics
Remove Filter ![]() | |
Hi everyone, How to use session value during fetching values from database of that particular session value? [code] SqlDataAdapter adapterprice = new SqlDataAdapter("SELECT product.productid, product.productname, product.price, product.description FROM product where product.productid= Session["productid"] ", myconnection); [/code] During writing code in such a way it is showing error.. Can any one help … | |
This is my second c# program and the database stuff is [U]quite [/U]different than vb 6.0, I am obviously missing a line or otherwise have malformed code -- Help! Program is supposed to read in FCC Amateur Radio DB (flat file) and insert data into an Access Database. DB has … | |
Does any one have a recommendation for a basic Java book for someone who is new to anything other than web development (Javascript and XML). Perhaps something that might include servlet or J2EE? Thanks a lot! THT | |
ello..im a new beginner for pHp script..i have to complete my final project..i used php as my programming language..but,i have a problem rite now..did anybody know,how to insert data from 1 form into multiple tables in MySql Database?.. ok,rite now,i have 2 tables, Client and Client2,k..And from 1 form that … | |
From the standpoint of writing the sorts of programs first and second semester C++ courses use (fairly simple command line programs), has anyone found any significant differences in the VS IDE or how C++ programs compile, compared to the 2005 version? thanks, VAl | |
Hmm,I understand by using repne scasb, pointing DI to the base64 string is supposed to search the string for the character that is in the input but not much of how to use it for decoding purposes. Anyway I been looking at the idea that, using the same example Man … | |
I'm starting a project at work where I will be creating multile threads, within a C++ program. I have been out of the C++ community for a while, spending my time the last few years using Java. Given this, I am trying to learn what the standard interface is for … | |
I have a new program I am working on and I would like to repeat a portion of code to redo the same thing again, and again. When the program starts, it will give me a number from my NIC card (I think). Ok so I have it going to … | |
Hi, I have developed my program with three windows forms and would like to bind to the Access database to read data from particular tables, How do I bind? | |
Hey there am assembling a pos terminal that is using tcp/ip for communication. Has someone got an idea of how i can buffer the received string response from the backend server and use the buffer to print out the request from the terminal? Regards Sam | |
Hey, guys. I'm working on a program that's supposed to take a phrase that the user inputs, then display the frequency of all letters appearing within that phrase, from most frequent to least frequent. So far, I've managed to get it to display the frequency of the letters in alphabetical … | |
HI all, been messing around with this game for a while now. last thing I need to do is get the score(bals dodged) to display in the main menu.Now I have had some helpful advice regarding this issue but I have notbeen able to implement it myself. Nevertheless I am … | |
Ok, I had a lab assigned to me which detailed many different situations in which I had to use recursion in order to solve them. Most of them were pretty simple. However I've been stuck on this Palindrome problem for hours. I know most people's Palindrome issues are with proving … | |
Hi. I am working on this project and I am little stuck. Trying to update my gridview after i had added data to the .mdb database but it just won't update. You can find the whole project at [URL="http://johnroach.info/FilmKira.rar"]http://johnroach.info/FilmKira.rar[/URL]The button I have problem with is the "Urun Ekle" button. When … | |
i have to write a program that checks a palindrome to see if it is in fact a palindrome but i get this warning warning C4800: 'char *' : forcing value to bool 'true' or 'false' (performance warning) and its not quite working any help would be great thanks. [code]#include … | |
I have a javascript that I have been using for a long while now, and I have the need now to make it work differently. I have it where when the mouse goes over a link it will give you a 'tip' as to what that link is for, or … | |
Can anybody help me with adding the records of access to combo and then searching through that by typing in the combo | |
Hi i've class project with textfilds id,name.no... when i click ok here another window (another class) opens with same fields but not editable. and when i submit here data goes to db. then how to get values of textfields in project class into current class which i've to send to … | |
Hello, i was wondering how i can get my program to function... piecing it together bit by bit. Problem i'm having right now... i'm trying to get my class to point to the array that i have built inside the main function: [code] char n=5; char rndseq[]={16,34,57,79,121}; int ntimes=100000; Prob1Random … | |
Hello, C question here (running on Linux, though there should be no platform specific code). After reading through a few examples, and following one in a book, for linked lists i thought i would try my own small program. The problem is, I seem to be having trouble with memory, … | |
hello i have this code int main () { char * arrP1 [ ] = { "father", "mother", NULL}, * arrP2 [ ] = { "sister", "brother", "grandfather", NULL }, * arrP3 [ ] = { "grandmother", NULL}, * arrP4 [ ] = { "uncle", "aunt", NULL }; char ** … | |
Hello everybody, I wrote a file using AJAX this is the code I wrote: File.js [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ http.open('get', 'GtCht.php'); … | |
Hi I am currently working on serial port communication for win32 using C++. I want to know by how many ways the hardware handshaking is possible. I only know three ways 1) None 2) Software, 3) Hardware. Is there any other type or sub type of flow controll is available? | |
hi all, which datatype we use for storing UInt64 type of value? I want to cast integer value into UInt64 type. How we can do that in vb.net ? Plz can anybody tell me . thanks in advance Regards Guest11 | |
I had created an application that worked, was deployed and used for a while before someone asked for an addition. When I tried to run the completed executeable file, I got a System.InvalidOperationException error immediately. When I opened the source code and tried to run it before making any changes, … | |
hi all, My project is build successfully but when i run my program i get an error as "A Project with an ouput type of Class Library cannot be started directly. In order to debug this project, go to the Debugging tab under Configuration Settings in Project Properties, and set … | |
Can any one please help me in following in [COLOR="Red"]VB.NET2005[/COLOR]: I want that whenever the word setting appears a textbox would be created during runtime i.e here it appears for 4 times so 4 textboxes should be created, if it appears for 5 times then 5 textboxes would be created...... … | |
Hi all, For later use I want to create dll file, internally using MFC. I used MFC because it is so easy to do my job. So used the MFC-DLL Visual C++ project and code my project. Its ok. Later add another Console Application which support MFC as well. I … | |
The site: [URL="http://listenlight.net"][B]listenlight.net[/B][/URL], does not work in IE. The javascript is really pretty simple, I think, so I will appreciate any and all help to get it accommodated for IE. The page views are way down, when they should be way up, given the design. Thanks. Also, as an off … | |
hi all, I am new in .net. description of my project is as follows. I am making an GIS based application. I am not getting any error except 1 error that is "Post Build Events Failed.". I set Run the post build event property as "On successful build" in Properties->Build … | |
HEY FRIENDS THIS IS MY EFFROT I'VE MADE A PROGRAM THAT'LL ADD OR SUBTRACT 2 AND THREE DIMENSIONAL MATRICES !! PLEASE SEND YOUR REVIEWS ABOUT THIS PROGRAM AND SUGGESTION ON WHAT IMPORVEMENTS CAN BE MADE IN IT !! AND ALSO I NEED TO KNOW CAN THIS PROGRAM BE MADE BY … | |
I have a question. I have been studying C++ and it seems to be getting a tad repetitive. What I really would like to do is more with electronics but also with C++. My laptop only has USB ports. I never wanted to be a programmer but would like to … | |
![]() | Please help me with this. I am counting how many triangles I can find in the attached image. Pl. see the attachment. I do not know how to do it the right way and please fix my code. I tried as best as I can to gather all points that … |
i have created a application ...when i give the URL of the second page the page is getting displayed...but i want all the user to enter the application only from the first page where it check whether the user is valid.... what should i do to make my application more … | |
I am getting very strange results from the following: def list(self) import shelve db = shelve.open(testfile) list = [] cnt = 0 for id in db.keys(): print db[id].info() the testfile was written with an class defined object; What i am finding, is if I write 50 objects, the above code … | |
Hi all, What is the easiest way to convert a CString into a standard C++ sting. Thanks | |
I want to increment the [B]i[/B] without putting the whole statement in a loop. [code=c++] #prag... ostream &operator << ( ostream &output, const Course &xCourse ) { int i = 0; output << " " << i++ << ".| " << xCourse.code << " | " << xCourse.section << " … | |
In my script I need to increment a real variable in a loop, which outputs its value to a file. I donno how to do this. Can any one help me in this regard? Thanks | |
Hello, I am writing a program to determine if an inputted phrase or word is a palindrome. I am to use a separate function to input the string and another to check and see if it is a palindrome or not and return true or false. The first is a … | |
hi iam new to programming and i want to know how i tell vb.net if it was replied to a msgbox with (yes ) then do something please help me about that | |
what is the best way to design a room hotel resveration system is it by crating entites : reservation( room_id, start_date, end date) or by creating entites : calender( calender_id, date), reservation(reservation_id, room_id, client_id) bookedates(reservation_id, calender_id) where to store dates of reservation ps : it will be an onlnie reservation … | |
I have an assignment where I'm supposed to place a knight on a chess board, and using a random number generator, make it move. It cannot visit a space more than once. I've tried this several ways, and started over from the beginning more than once. this is how I … | |
How do I clear the screen without using system("cls");? | |
Hi guys, I have been programming with vb since version 3 writing commercial applications. I have to write applications using the internet as the base block. I have never dealt with vb and internet controls, so I have no ideas as to how to write an internet app. with vb6. … | |
A programming exercise I'm doing requires that a program be written whereby functions are used to 1) fill an array, 2) show the array and 3) alter the data of the array. The arrays are to be passed as pointers to the functions and the use of [icode]const[/icode] keyword be … | |
I'm trying to create a simple little program that will accept arguments of files (i.e. file1 and file2), and look for occurrences of the "match" string in the included arg files. Then I want to print out the whole line where the match is found preceded by the number of … | |
I need help with creating a project that if the given radius of a circle returns , the area using the formula PI*^2. Create a header file, an implementation file and a driver program . Can anyone help me ?? | |
I got this math problem I need to input: Calculate(find the sum of) Y=1+X/2+X*X/3+X*X*X/4+... Keep calculating until Y bigger than Epsilon. X and Epsilon are inpute by the user. Please help... | |
Hello! I'm trying to find out how to validate input from a textbox, I want to make sure it is an integer within a certain range and that the destination variable is big enough for it. Sorry if this is stupid question, I just can't find anything and it's starting … |
The End.