199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ruhi

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 …

Member Avatar for ruhi
0
125
Member Avatar for x102077@hotmail

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 …

Member Avatar for x102077@hotmail
0
301
Member Avatar for Tom Tolleson

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

Member Avatar for ~s.o.s~
0
203
Member Avatar for lawlao
Member Avatar for dbayo

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 …

Member Avatar for dbayo
0
92
Member Avatar for vmanes

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

Member Avatar for Ancient Dragon
0
119
Member Avatar for Ninjikiran

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 …

Member Avatar for Ninjikiran
0
163
Member Avatar for snipercat

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 …

Member Avatar for WolfPack
0
189
Member Avatar for squidd

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 …

Member Avatar for squidd
0
153
Member Avatar for Mukoyonzo

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?

Member Avatar for Jugortha
0
105
Member Avatar for sammmy

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

Member Avatar for Duoas
0
67
Member Avatar for Ensabahnur

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 …

Member Avatar for Ensabahnur
0
219
Member Avatar for majestic0110

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 …

Member Avatar for majestic0110
0
115
Member Avatar for sparksterz

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 …

Member Avatar for jwenting
0
147
Member Avatar for johnroach1985

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 …

Member Avatar for johnroach1985
0
150
Member Avatar for 187

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 …

Member Avatar for 187
0
364
Member Avatar for ukndoit

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 …

Member Avatar for saidyakhyoev
0
174
Member Avatar for mslooks4u

Can anybody help me with adding the records of access to combo and then searching through that by typing in the combo

Member Avatar for hkdani
0
110
Member Avatar for abhi287

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 …

Member Avatar for Ezzaral
0
296
Member Avatar for khenzel

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 …

Member Avatar for khenzel
0
120
Member Avatar for tgnelson85

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, …

Member Avatar for Salem
0
183
Member Avatar for emilio

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 ** …

Member Avatar for emilio
0
83
Member Avatar for Pro2000

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'); …

Member Avatar for ~s.o.s~
0
105
Member Avatar for amitkul

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?

Member Avatar for Salem
0
123
Member Avatar for guest11

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

Member Avatar for emurf
0
130
Member Avatar for bajanpoet

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, …

Member Avatar for bajanpoet
0
342
Member Avatar for guest11

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 …

Member Avatar for guest11
0
102
Member Avatar for bcm

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...... …

Member Avatar for Ramy Mahrous
0
451
Member Avatar for eranga262154

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 …

Member Avatar for eranga262154
0
195
Member Avatar for tefflox

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 …

Member Avatar for tefflox
0
180
Member Avatar for guest11

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 …

Member Avatar for Ramy Mahrous
0
60
Member Avatar for rizrash

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 …

Member Avatar for Jishnu
0
188
Member Avatar for eesti44

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 …

Member Avatar for Jishnu
0
106
Member Avatar for geethab

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 …

Member Avatar for chrisranjana
0
160
Member Avatar for lydia21

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 …

Member Avatar for nav33n
0
96
Member Avatar for tomoconnell

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 …

Member Avatar for vegaseat
0
502
Member Avatar for eranga262154

Hi all, What is the easiest way to convert a CString into a standard C++ sting. Thanks

Member Avatar for eranga262154
0
273
Member Avatar for Max_Payne

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 << " …

Member Avatar for Ancient Dragon
0
92
Member Avatar for srikanth_dhondi

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

Member Avatar for eggi
0
76
Member Avatar for mb523

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 …

Member Avatar for vmanes
0
2K
Member Avatar for ahmed_mido

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

Member Avatar for poonams
0
95
Member Avatar for charbel-ebiz

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 …

Member Avatar for sam10
0
107
Member Avatar for maxmaxwell

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 …

Member Avatar for maxmaxwell
0
208
Member Avatar for Cyb3rAssasin
Member Avatar for jarojasp

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. …

Member Avatar for hkdani
0
124
Member Avatar for superjacent

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 …

Member Avatar for superjacent
0
151
Member Avatar for balla4eva33

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 …

Member Avatar for balla4eva33
0
223
Member Avatar for oso111

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 ??

Member Avatar for jbennet
0
75
Member Avatar for summerm111

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...

Member Avatar for Salem
0
85
Member Avatar for tb808kid

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 …

Member Avatar for tb808kid
0
161

The End.