64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for kimbula...

I want to open a PDF document when I click on a button. I know the way to open a word document but couldn't apply the same method to open a PDF document. If anyone can help me regarding this matter it would be a great help to me. Thank …

Member Avatar for asp.net_SoS
1
129
Member Avatar for VB 2012

How can you get to only save all the modified tabs By save i mean save as a text file or open your own savedialog < example :)

Member Avatar for codeorder
0
98
Member Avatar for Xzarik

Hey all, I've been having some problem with python - i'm pretty awful at programming but have been soldiering on with this for some time now! What I need to do is take one list and compare it to another. Both lists are presented in rows, and I need to …

Member Avatar for Xzarik
0
157
Member Avatar for Vani3863

Hi All, I'm a relative newbie having trouble completing a program that is required to read the text character by character from a .txt file and to then encode certain characters to something thing else. It is then supposed to be output to a separate .txt What seems to happen …

Member Avatar for Vani3863
0
162
Member Avatar for ceeandcee

Good Morning, I am building a hockey pool site and here is some background on my problem. Our league allows each player to be drafted twice. So we have given each player an A or B listing (ie Sydney Crosby A or Sydney Crosby B). In my database, I have …

Member Avatar for hielo
0
176
Member Avatar for ceeandcee

I am wondering if anyone knows of a way to post information about the database on the site. What I am looking for is the php code to display the information below. For example: 1) This 'tableXX' in 'databaseXX' has XXX rows. 2) This 'tableXX' was last updated on 'DATE' …

Member Avatar for ceeandcee
0
112
Member Avatar for ticktock

Hey all, I am trying desperately to create a cube using VBO. I have the correct vertices that must be used yet when I render it, it only displays one part of the face of the cube (which in this case is a half triangle, since a square is made …

Member Avatar for ticktock
0
2K
Member Avatar for neural_jam

<edit>(scroll down a bit to avoid some rambling and get to the main question!)</edit> Hi there, I'm trying to write a C++ program that repeatedly executes another program (with a system call) that creates a file called 'output', then copies the output into a subdirectory and renames it so that …

Member Avatar for neural_jam
0
168
Member Avatar for Jamesbch

Hello there, I'm developing a server which use epoll to manage the incoming connections. I'm working at the moment on timers and I'm using the [I]setitimer[/I] and [I]sigaction[/I] interface of Linux. It's working well but I've found out that epoll and setitimer conflict each other: I guess they share the …

Member Avatar for Jamesbch
0
329
Member Avatar for embooglement

I'm trying to write a to string function that would use std::stringstream to convert the the instance data into a string, but haven't been able to get operator overloading to work with it. As soon as I define a new << operator, I get a bunch of ambiguity errors saying …

Member Avatar for embooglement
0
2K
Member Avatar for aikiart

Good day, I've got a question about why program 19-3 won't display a returning message but program 19-2 will. THIS IS 19-2 // This program demonstrates a simple recursive function. #include <iostream> using namespace std; // Function prototype void message(int); int main() { message(5); return 0; } //************************************************************ // Definition …

Member Avatar for aikiart
0
294
Member Avatar for perryg30313

I have a vb .NET 2005 form that needs to load data based on a selected month by the user. Because there is a large amount of data in the table (60k+ records per month) it is taking the query a long time to pull the dataset back and populate …

Member Avatar for perryg30313
0
130
Member Avatar for lewilaloupe

Hi - new to ASP... I have a form with a dropdown list. Based on what option is selected I want the form to be send to different email addresses. Sample code I have is: [code=asp]<p>Gender: <br> <select name="gender"> <option selected value="">Choose....</option> <option name="gender" value="male">Male</option> <option name="gender" value="female">Female</option> </select> <% …

Member Avatar for hielo
0
173
Member Avatar for muppet

We have 3 shifts running at our plant, day 0720 - 1520 swing 1520 - 1120 night 2320 - 0720 I have a table storing the bags packed on each shift, and now need to display the team (tech, packer_l, packer_r etc) with the greatest number of packed bags depending …

Member Avatar for muppet
0
180
Member Avatar for toydiaz

Hi, this script work im Crhome, but not in IE, or Firefox, please help me!! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>teste</title> <script> function idade(object, birthDay){ now = new Date(); bD = birthDay.value.split('/'); if(bD.length==3){ born = new Date(bD[2], bD[1]*1-1, bD[0]); …

Member Avatar for toydiaz
0
144
Member Avatar for phaedrusGhost

Hi all, I am trying to handle an sql query for multiple dropdowns where all won't neccessarily be active. EX: Dropdown1: CITY Dropdown2: STATE Dropdown3: COMPANY BUTTON: GO Need the ability to choose from one, two or all to make a query. Here is what I have now: Above the …

Member Avatar for phaedrusGhost
0
103
Member Avatar for KnifeDarky

Hi everyone, I'm making some kind of game in Python and i need to save random number to text file but i cant. Please help me out. Here is the code: [code]def lvl(): x = random.randint(100,1000) tfile = open("text.txt", 'w') tfile.write(x) input("")[/code] Without x everything is good, but i need …

Member Avatar for snippsat
0
118
Member Avatar for gchurch

hey all i'm new to this all and was wondering if anyone can help me solve a prob i'm havin with my project for a booking system. i have a drop down menu with the day, one for months, and finaly year... all the values are real time dates but …

Member Avatar for hielo
0
138
Member Avatar for dorien

Hi, I have been reading a number of posts about this, but I have not been able to figure it out. I want to write hex to a midi file. The hex code of the midi file looks like this: [CODE]4D 54 68 64 00 00 00 06 00 01 …

Member Avatar for dorien
0
9K
Member Avatar for mmitchell73

I have designed a survey with PHP that submits the responses into a MySQL database. The people that will be taking the survey are existing clients which have user IDs and information stored in a database that I do not have direct access to. What I would like to do …

Member Avatar for ram007
0
1K
Member Avatar for Simes

So I am trying to implement a menu that loops in a CLI simulator, I have the menu implemented but I am stuck figuring out how to make it loop or progress to the next option that requires input from the user. I have used scanner in for the menu, …

Member Avatar for NormR1
0
181
Member Avatar for techie1991

I was having some confusions about string and NULLs. So, I read this [URL="http://www.daniweb.com/forums/thread77987.html"]thread[/URL] on this very forum. But, I could not understand somethings... Firstly, Is NULL an integer value 0, or something else? Secondly, [CODE]if(strlen(str)==0)[/CODE] this shows that the string is null or it shows that the first character …

Member Avatar for Ancient Dragon
0
163
Member Avatar for brent012

This is giving me an error and im not sure why? [CODE]procedure BeginSort; var I, X: Integer; begin //(1) whole thing Sorted:= false; repeat begin //(2) For I := 1 to 30 do Begin //(3) If Question[I].position > Question[I+1].position then Begin //(4) for if the question position is higher TempQuestionText:= …

0
69
Member Avatar for n.utiu

Hi, all! I was wondering if there is any way to check from the server side whether the client has closed a socket connected to one on my side. client side [CODE]import socket s = socket.create_connection ((host, random_port)) s.close () [/CODE] server side [CODE] ... a = lstn.accept () [/CODE] …

Member Avatar for n.utiu
0
5K
Member Avatar for lgriess

I'm trying to embed the login form for the webmail for a customer portal I'm developing, I've tried copying all the html and putting it inside my .NET page but instead of using the form action that I have in the form tag it simply re-posts the current .aspx page …

Member Avatar for dnanetwork
0
103
Member Avatar for JOSheaIV

Okay so I feel stupid for asking this and I feel like i am overlooking something, but how do retrieve the value of a datagridview cell as an int. I have used this code to change the column to type int [CODE]dataGridView1.Columns[0].CellTemplate.ValueType = typeof(int);[/CODE] I haven't really had a chance …

Member Avatar for Geekitygeek
0
3K
Member Avatar for jjemphoung

good day! i can't send an email in php. i have this code: <html> <body> <?php mail("jjemphoung@yahoo.com","Testing","Hello","From: [email]flatOne@yahoo.com[/email]"); ?> </body> </html> when i run this the output is Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use …

Member Avatar for sithembisophp
0
182
Member Avatar for cocoll

hello! if we sign up at a hotmail account or other account we see before submit our information that we must enter a words and that is for prevent "robots" to sign up with hundreds of accounts. so this characters is an image,so what i want is your help in …

Member Avatar for dnanetwork
0
317
Member Avatar for Padmashri

Hello friends, Will you please tell me, [B]how can i display contents of the form on the same page of that form?[/B] Thanks to all!

Member Avatar for omol
0
87
Member Avatar for steveh000

Hi guys I have been attempting to get my software to create new records in my database. For some reason something that should be simple is telling me my syntax is wrong on this line [code] String ex = "INSERT INTO `client_net_score`.`brands` (`id`, `brand`) VALUES (NULL, '"+bra+"');";[/code] so the string …

Member Avatar for steveh000
0
205
Member Avatar for pspwxp fan

I'm learning C++ from the book C++ Primer Plus. At the end of the chapter on loops, they want us to design a structure, allocate adequate memory for an array of such structures using new, then feed input data to it. I got this code: [CODE]#include <iostream> using namespace std; …

Member Avatar for embooglement
0
136
Member Avatar for ajay_p5

Dear All I have two files having values like this: File1: 10.1103/PhysRevA.10.2325 1 10.1103/PhysRevLett.32.584 2 10.1103/PhysRevB.13.4845 3 File 2: having comma separated values like this: 10.1103/PhysRevA.10.2325,10.1103/PhysRevLett.32.584 10.1103/PhysRevB.13.4845,10.1103/PhysRevLett.32.584 I want the result two be like this: 1 2 3 2 I am using this code but have not be able to …

Member Avatar for k_manimuthu
0
321
Member Avatar for jjemphoung

good day! im an IT student. im new to php&mysql. my database engine is first myisam. everything works fine. but when i changed it into innodb(for foreign key purposes) i can't insert a data in my the parent table. i can insert data in child table though. replies are really …

Member Avatar for jjemphoung
0
106
Member Avatar for hirenpatel53

hello all i have two drop down list in form and binding it on form load event problem is when i run the application it shows the first value in dropdownlists index no 0 insted of that i want to show blank on run and on click of dropdown it …

Member Avatar for azarudeenmca
0
147
Member Avatar for rebellion346

Hey guys. I just signed up and was hoping someone could help me out here. So for this program that's an assignment for my CS 1410 class.There's 2 dices and im suppose to do 1 million rolls. The program is suppose to calculate percentage of how many times the following …

Member Avatar for rebellion346
0
495
Member Avatar for detweiller

hello everyone, im a new member here and also new to php. i've been searching in this site for days about my problem and with no luck i dont find any of them. i want to create a dropdown list menu (of persons) and everytime i choose a name of …

Member Avatar for ﻼim
0
279
Member Avatar for MDanz

I have to columns Positive and Negative. i use this as a rating system. e.g. For example if Positive is value 2 and Negative is value 1 and i subtract. Then the total would be 1. i have a variable $order. if i did $order="(Positive-Negative)"; I now that is incorrect. …

0
73
Member Avatar for koveras vehcna

Hello everyone, I am currently creating a small JS app. that will help me search PostgreSQL and print related data via PHP. I am using jQuery to help me but I have this small problem. I wanted to test if the code worked, by prompting the PHP file to print …

Member Avatar for koveras vehcna
0
238
Member Avatar for koveras vehcna

Hello everyone, I am trying to retrieve some data from PostgreSQL using jQuery and PHP. I should be able to enter a date as input -e.g, as 2010-08-09 and retrieve all the data that is dated August 9th- however, when I execute my javascript, all I get as an output …

Member Avatar for koveras vehcna
0
350
Member Avatar for nick3592

hi i am a web developer and i never really understood what coldfusion can do. If you can point me to some tutorial links explaining basics of coldfusion i would appreciate that.

Member Avatar for teedoff
0
226
Member Avatar for kuchi

Hi, We have a date input come in the format of YYYYMMDD, ex: if the date comes as 19980224, then its good else if the date comes as 19982402, then we need to raise exception we need to validate this date format. can you please guide me how to do …

Member Avatar for kuchi
0
130
Member Avatar for pgmarco

Hello, I am having a little trouble getting the variable $total to insert into mysql table. I used javascript to get the total that is in the input box. Any help is very much appreciative. Here is site: [url]http://illcomputers.comyr.com/custom.php[/url] Thank You Snippets of Code JavaScript Code [CODE] var mainitems = …

Member Avatar for pgmarco
0
2K
Member Avatar for moonw3ll

[CODE]strcpy(post[j],in[x]);[/CODE] Just what is wrong with this code of mine? in[x]='4' But it doesn't copy the value to post[j]

Member Avatar for abhishek das
0
103
Member Avatar for badboy11

I need some help understanding how the exception handling flow of code works. I have written a sample program that has exception handling in it. There are two classes here: My custom Array class and the Main.cpp class to implement and test the Array class. Inside the main() method, I …

Member Avatar for badboy11
0
143
Member Avatar for Rkeast

Hi, I'm trying to determine a better method of finding the index value of a form element. I need to find it because the JavaScript validation class has a function for validating a single form element, but it requires that the index number of the element in the form be …

Member Avatar for hielo
0
1K
Member Avatar for EdAtTheAirport

This is from the book: [I]C++ Weekend Crash Course[/I], pg 142. It is designed to concatenate two strings, and put a hyphen in the middle. It compiles; it works, but I don't understand why it works. The two strings are entered in main() as szString1 and szString2. During execution, they …

Member Avatar for arkoenig
0
202
Member Avatar for heshanm

Hi guys, this is very urgent. Can anyone help me out..... I want to generate reports using php and MySQL. I have one table which includes customer_id, full_name, name_with_initials, address, contact_number and gender fields. I want to print the details of all the records of the table. It should be …

Member Avatar for chrishea
0
243
Member Avatar for Auraomega

Trying to write a puts like subroutine in assembly but failing miserably. I'm using BIOS calls only (I.E. I'm not running another operating system). The code is using Intel syntax. What I have so far is: [CODE=asm]; [BITS 32] [GLOBAL hello_world_asm] ; ; a very basic puts function without the …

0
53
Member Avatar for buster2209

In order to arrange data in a listview I can either use the properties panel or use the following code; [CODE]listView1.Sorting = SortOrder.Descending;[/CODE] How can I do a SortOrder for the [I]second[/I] column? eg; [CODE]listView1.columnHeader2.Sorting = SortOrder.Descending;[/CODE] Thanks in advance!

Member Avatar for Momerath
0
340
Member Avatar for glenak

Hi, for any of you who have done some java programming in cryptography I need your help. I'm trying to right and blinding and unblinding procedure, however at the final stage I should get a true, but I'm getting a false. If you know what's wrong, can you point it …

Member Avatar for glenak
0
144

The End.