199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for PinoyDev

good day.! I am currently developing an enrolment system which will be on february 12-13 the deadline. In the middle of development, the client wants that on every link the pop-up info to be display on that link will be from the mysql database. Assuming that i already have a …

Member Avatar for PinoyDev
0
123
Member Avatar for reaven

Hi am trying to make a simple application that write and read from and to a text file the problem is that i want to be able to aerch in the text file for an specific line. the text file is a list of words with a meaning each word, …

Member Avatar for Comatose
0
249
Member Avatar for mikhala99

This is homework and I am using a getfile that is just a 5 row 4 column list of numbers. I can get this program to compile and when I go to run it, I get my cout text output but without my numbers and the program crashes. I am …

Member Avatar for mikhala99
0
130
Member Avatar for FlashCreations

Hey Everyone! I have a question about oop. I am trying to write a MySQL class for managing my MySQL db's and calls. So far I have almost completed it, but I am missing lots of functions. These are the result functions (ie. mysql_fetch_array() or mysql_num_rows() etc.). Instead of creating …

Member Avatar for mschroeder
0
121
Member Avatar for ade92uk

Hi, i would like to, using php, randomly select a word from the current page, which i have already managed to get into a string. I would like to use php to randomly choose any of the words, the full word.

Member Avatar for ShawnCplus
0
236
Member Avatar for tylcoatc

Their are commercial/delphi solutions to reading GPS input from the USB port but these do maybe 10, 20 or a 100 things whereas I used to read input via the COM port and then do whatever after that. Is there a small (?) piece of delphi (7 or lower) code …

Member Avatar for LizR
0
140
Member Avatar for noob.pas

okay, i've been looking for a nice algorithm for this one for a long time, all i find are cpp, java and c# code. i've been trying to reverse the order of each word in its place, but i don't seem to be able to do so. i tried with …

Member Avatar for tylcoatc
0
1K
Member Avatar for Sparkles

I know this is a bit messed up (the code), but, I'm baffled why it isn't working. I know I'm not great at delphi, and I'd really like some help. [code] var Form1: TForm1; SteamString : String; CommunityString : String; ZeroOrOne : String; SteamId : String; CommunityStringMath : Longint; Calc …

Member Avatar for tylcoatc
0
118
Member Avatar for snuppy

[code] procedure TForm2.Button1Click(Sender: TObject); var s:string; i,count:integer; begin s:=edit1.Text; count:=0; for i:=1 to length(S) do if Pos('111111', Edit1.Text) <> 0 then label2.caption:='Yes: 111111!' else label2.caption:='No: 111111!'; end; [/code] someone will be upshot use "while" OR "repeat..until"

Member Avatar for LizR
0
82
Member Avatar for sonakrish

hi thr.. how to refresh a particular control. I want my control to be refreshed for every 10 sec. Thanks in advance

Member Avatar for KushKashyap
0
72
Member Avatar for telemachos9

Hello, I'm relatively new to c++, so I would appreciate any help. This must be a very basic issue, but how is it that one can assign a stuct or class member to a pointer instead of that structs or class member's address (via &)? (from stroustrup) [code] struct name{ …

Member Avatar for telemachos9
0
102
Member Avatar for emilio

hi. I'm trying to work with formview control and add edit and cancel buttons. i see the edit template from the smart tag, but how can i actually add these template ?

Member Avatar for KushKashyap
0
84
Member Avatar for gajubhai

I am facing strange problem. I have gridview on page with edit button (Added by setting 'allow edit' property true and also checked the check box for 'UPDATE, INSERT query' while configuring data source). Whenever I click edit button, It allows me to edit the values bt When I try …

Member Avatar for KushKashyap
0
79
Member Avatar for freshfitz

I want to display the users emp_id from my database on my post page after the login? Can anyone help me out? Can I pull the variable from this select statement and pass it to the next page? my login.aspx.cs code [CODE] using System; using System.Data; using System.Configuration; using System.Collections; …

Member Avatar for KushKashyap
0
116
Member Avatar for oldSoftDev

[code][code=java] public class LineSeg{ // these are the attributes of a LineSeg object private Point end1; private Point end2; private double length; // the constructor public LineSeg(double x1, double y1, double x2, double y2) { end1 = new Point(x1,y1); end2 = new Point(x2,y2); this.length=(double)(Math.sqrt((x2-x1)**2+(y2-y1)**2)); } }[/code]

Member Avatar for oldSoftDev
0
72
Member Avatar for Unrealx_

hi how to extract file name from a url example [url]http://nothing.com/soft/paint.exe[/url] now i only want to get the "paint.exe" how do i do that..thx

Member Avatar for BlackSun
0
105
Member Avatar for piotr_kast

I used this code to serialize: [code] using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; [Serializable] public class Car { public string Make; public string Model; public uint Year; public byte Color; } public class Exercise { static void Main(string[] args) { Car vehicle = new Car(); vehicle.Make = "Lexus"; vehicle.Model = …

Member Avatar for LizR
0
231
Member Avatar for shimul_bari

Hello EveryBody, I am having problem in uploading servlets in my server. The servlet works fine in my locanhost. But when i upload it it does not work. Can anyone help?

Member Avatar for stephen84s
0
150
Member Avatar for Studio

Hi I have been searching everywhere including daniweb about retrieving image paths out of a mysql database and outputting them as images on the page using PHP. Does anyone know of a good tutorial that will help me do this. Thanks Studio

Member Avatar for Studio
0
72
Member Avatar for leegeorg07

i have this code: [ICODE]import random choices = ['closet', 'lampshade', 'fridge'] print "i have hidden 10,000,000 pounds in one of these places:", choices choice = raw_input("Where do you want to search? ('closet', 'lampshade', 'fridge')") random_c = random.choice(choices) while choice != random_c: choices.del(random_c) for word in choices: if choice == word: …

Member Avatar for leegeorg07
0
96
Member Avatar for starzstar

Hi I am using optparser to design a command line interface.How do I read multiple arguments. For eg if I want to create a folder, I will take the arguments path and folder name something lilke the following main.py --createFolder Tesfolder --path C://Test/Test/... How to read these arguments? I can …

Member Avatar for Murtan
0
155
Member Avatar for AutoC

I have a code snippet that strangely works one way on a fedora 6 machine and another way on a fedora 8 machine. [code] void Form1::SendToApp() { vector<int> isciistream; vector<int> fontstream; cout<<"Entering Form1::SendToApp()"<<endl; isciistream=wwnd->OnOK(); isciistream.push_back(32); char str[255]=""; cout<<"Size of IsciiStream:"<<isciistream.size()<<endl; for (int i=0;i<(int)isciistream.size();i++) { sprintf(str,"%s%c",str,isciistream[i]); cout << "isciistream[i] :" << …

Member Avatar for AutoC
0
157
Member Avatar for pjacquez68

My friend, help me about vb 6.0 excel as a database. i need your xample project finish, have capacity to save in excel when clicking a button vb 6.0 codes... it is my assignment in school my friend, actually im Pablito P. Jacquez from Philippines 2nd year student IT of …

Member Avatar for samir_ibrahim
0
109
Member Avatar for shadows09

[URL="http://www.megaupload.com/?d=GZJD9V51"]http://www.megaupload.com/?d=GZJD9V51[/URL] Above is the program spec. and below is what I did so far. [code=python]numStr = raw_input("'p' to be prompted for the secret number or 'g' to have it generated: ") p = numStr print print true = p while true: secret = raw_input("Enter the 'secret' number (five digits, no …

Member Avatar for shadows09
0
115
Member Avatar for cookie77monster

I just finished a job interview/exam and I failed. I really don’t know how to implement this problem using an MS SQL. You could check the exact question/problem below: [I] There are two tables, NAMES (ID INT IDENTITY (1,1), NAME VARCHAR(255) ) and RELATIONSHIPS (NAMEID INT, PARENT_NAMEID INT) linked via …

Member Avatar for Ramy Mahrous
0
121
Member Avatar for kishore84

Hello friends, Need help in generating random numbers from an array without repeats.Once a number is generated, the number has to be deleted from the array so that only the remaining numbers can be generated from the array the next time we call that function.And it should go on until …

Member Avatar for William Hemsworth
0
2K
Member Avatar for Abuzer755

Hi Everybody, I am new to C++,but strongly it is recommended to learn C++ for its speed. That is why I'm here.Could you help me about it. Where do I should start from,read which book and etc. Thanks in advance.

Member Avatar for William Hemsworth
0
138
Member Avatar for sastwhc

Hi all i have some infopath forms ,all dynamic xml files for input data and recode them in a Dbank, on my box Infopath installed but i prefer the cilent side [ end users] can view and use the forms without infopath,actually IE shows it as a tree form and …

Member Avatar for zhghl
0
2K
Member Avatar for vipinsgangwar

hi all, i am working on an application which hangs when i click on it. the problem is increasing with every ew setup. can anybody help me. Thanks in Advance Vipin

Member Avatar for LizR
0
115
Member Avatar for jworld2

Maybe I have this all completely wrong because I don't know what I'm doing, but I'm trying to work with win32 programming and I want to get the position of all the items on the desktop. I've found the handle for the desktop and I've found the LVM constants in …

Member Avatar for Stefano Mtangoo
0
590
Member Avatar for Rombosia

hi guys, if I have a form with, say, a picturebox in it. The picturebox is loaded with an image, and I need to copy just a section of it, say at rectangular points, X, Y, L and W to the clipboard, or to another picturebox. Is it possible in …

Member Avatar for Rombosia
0
1K
Member Avatar for sujehsmarar

Hi im really new to jsp. any body can help me in creating a thread of my own. i have creadted the Db(Mysql) and data is inserting in to db. i dont know how to display the threads according to the user login can any body help me out????

Member Avatar for peter_budo
0
255
Member Avatar for karthi_selva

hi, i am doing the project in .net. i m using linq in my project i using vs2005 and installed the linq. i am able to run the linq only in LinqconsoleApplication. but i need to run in normal console application. ie i like to create one class file and …

Member Avatar for Ramy Mahrous
0
421
Member Avatar for kanaku

I'm using a blog hosted at wordpress and for really long posts, I'm trying to add a "cut-the-crap" link to something else in the page. Now for plain html, I know you can do it with this: [code] <p>Blah blah blah, this is going to be a long post so …

Member Avatar for sciamannikoo
0
158
Member Avatar for eapln

i am trying to move to the dest_dir from Current Working Directory using the following script. my intension is instead of using cd dest_dir, i have to use the script to do the job. when ever i tried with the follwing script, iam again in my Current working directoy... #!/usr/bin/bash …

Member Avatar for eapln
0
113
Member Avatar for rush1

hi, i am new to php can u please tell me how ti insert data into table for user name and password??

Member Avatar for rush1
0
90
Member Avatar for nanna

hi, i suppose to make simulation to cellphone. when press any digit ,it should appears on the display textfield to form a complete number. and when press the send button a message with"redialling+ the gigits pressed" appears on the textfield also when press redial button a message with " redialling+ …

Member Avatar for stephen84s
0
179
Member Avatar for Hussain27syed

Hi. I am working on reading data from a XML file and upload to sql server 2005. The XML file has many rows of data stored. Each data row node has many subnodes. I have to validate the XML against the schema. The problem is if a particular data row …

Member Avatar for Hussain27syed
0
404
Member Avatar for seanl1

Alright guys, I'm in a Data Structures I class which is proving to be impossible at some junctures. I suppose it's a right of passage to earn the degree. I know how mergesort works on Arrays, but our professor has purposely used the linked list data structure to up the …

Member Avatar for seanl1
0
286
Member Avatar for abbajee

K my question is so simple but i never got any clue from anyone yet i think i've been asked about it from here too but there was no response may be people couldnt find out what i was asking or wot i was trying to ask ? But i …

Member Avatar for cguan_77
0
108
Member Avatar for jculverwell

I am attempting to write a JSONP application and think that it is not working because the JSON my code is returning has surrounding quotation marks. For example when I call the webapp using [url]http://rest-client.googlecode.com/[/url] it returns the following "callbackfunctionname({'Last': 'Doe', 'First': 'John'})" Comparing this to a public url I …

Member Avatar for jculverwell
0
181
Member Avatar for eyewirejets

Where should your definitions of your functions be in your code? Should they be down below or above? What is the best way? Beginner Question - Thanks for your support.

Member Avatar for Stefano Mtangoo
0
85
Member Avatar for lovely_aly

Hi there. As I said, I'm a newbie to programming and writing code. I'm at home working on a lab project but keep getting a compilation error and I don't know how to fix it. Any help would be greatly appreciated. Here's my code: public void add(int i) { int …

Member Avatar for lovely_aly
0
90
Member Avatar for Jake12

Sorry for the weird title, not sure how to describe it in one sentence. What I am trying to do is build a script that will read through an array of words and compare another word to the list to find where it would be placed alphabetically; between which two …

Member Avatar for Jake12
0
98
Member Avatar for abhi.nalluri

I have implemented ReadFile function for reading data through SerialPort.When the other end is responding correctely my program is working fine. Sometimes when I dont get data from the other end my program hangs.For this I have implemented timeouts for Readfile function. But It doesnt seem to be working. My …

Member Avatar for abhi.nalluri
0
438
Member Avatar for whitestream6

I've just been editing an open-source PHP application (original version at [url]http://scripts.ringsworld.com/content-management/basiccms/[/url] , and modifying it to suit my needs :icon_cheesygrin: However, the PHP application is a CMS and always generates URLs this way: [url]http://yourwebaddresshere.com/cms/?id=1[/url] when I am trying to get it to be [url]http://yourwebaddresshere.com/cms/?id=pagename[/url] but I am struggling to …

Member Avatar for FlashCreations
0
148
Member Avatar for Passiongamer25

I have a problem with my program and it has to do with my finding average function. The program goes like this: The program will grade a series of exams and then print a grade report for students in a course. Input: An instructor has a class of students each …

Member Avatar for Passiongamer25
0
180
Member Avatar for delerium12345

I'm having a lot of problems writing a program to open a file listing the grades of 4 students, all listed next to their names, and outputting an appended version of the file with the average of the scores next to the numbers on each line. it goes something like …

Member Avatar for h3xc0de
0
85
Member Avatar for Synforge

I'm in the middle of writing a program where I want to use a single function to grab a Username from one file and a Password from another file. The idea is to pass the file pointers to the function so that each time the function is called it returns …

Member Avatar for Synforge
0
132
Member Avatar for user1701

Ok so Ive been working with PHP for a while now but now trying to go beyond the basics, Im building an admin panel for example for a database of cars, and Im intending for the user to be able to scroll down a table of entries populated by the …

Member Avatar for user1701
0
99

The End.