199,113 Archived Topics
Remove Filter ![]() | |
Hi, I have installed WWW-Mechanize-1.60 in Linux platform. Problem is that i am getting this error. [code] Error GETing http://www.example.com:Can't connect to eutils.ncbi.nlm.nih.gov:80 (connect: timeout) [/code] Here is my code. [code] use WWW::Mechanize; $url="http://www.example.com"; $mechanize = WWW::Mechanize->new(autocheck => 1); $mechanize->get($url); $page = $mechanize->content; [/code] How can i solve this error? … | |
Hi all, I am trying to write a string to a multiline textbox but apearently my code doesnt do as i want... This is the code i am using : [CODE]textBox9>Lines[0]="Succes";[/CODE] But when the code executes nothing happens in the textbox, everything just stays thesame :S Am i doing something … | |
I'm Taking a Class on Java at my Highschool, but my teacher goes very slow and I need a quicker pace. Could anybody so kind as to give me a list of simple classes and commands so that I could work with them. Also does anybody know a Good program … | |
I wish to create a program that informs the user whether a given date is a holiday or not - Here is how it should work: The student should be prompted to enter an integer for the month and then prompted to enter an integer for the day. (For example, … | |
Hiya. I'm a complete C++ noob. I'm trying to make a bingo game where the computer gives the user eight numbers and the user slowly plays a game of bingo. It's very much work in progress. However, I'm having a problem when trying to compile it, the program seems to … | |
Hi! I am trying to make an element shake, and I have [I]tried[/I] to make a function in JavaScript, but it won't work. Here is the test page, used only for testing. It is the [I]Genious test[/I] div that I want to shake. Here is the code: [CODE] function Shake(Pow){ … | |
hi please help me on this... Can someone help me, what is the essence or the use of this...hoping for your positive responds... adOpenDynamic adOpenForwardOnly adOpenKeyset adOpenStatic adLockBatchOptimistic adLockOptimistic adLockPessimistic adLockReadOnly | |
hey guys im working on a homework problem..im done with 99% of the problem :|however i cnt figure out how to display my output(which is in dollars) using the comma my output shows >>160000 how would i make it >>160,000 um should i use setprecision??? please help thanks:) | |
hello can you help me how to use the code tags so that i can post all my code and not to be banned.. [CODE][/CODE] where i put my code inside this bracket or in the middle of this two bracket? i have 3 points more to go..hoping for your … | |
First I am sorry if I am creating a thread in the wrong category as I am not sure which is the best suitable place for this question: Please provide me suggestions or any pointers. I want to create a user defined data structure, which will be a 2 dimensional … | |
I am trying to input a text file with twenty unsorted names in it into an array and then perform a bubblesort and output to a new file. The filename for the txt file is names.txt Here is what I have so far....not much...I would appreciate some help the right … | |
Hi I am a J2ME developer I am new to Dani Web. I am using chartapi.finance.yahoo.com to calculate and display chart. My questions is how to convert TIMESTAMP value to a Java Date or Calendar Object ?..... For Eg: URL GIVEN BELOW [URL="http://chartapi.finance.yahoo.com/instrument/1.0/aapl/chartdata;type=quote;range=1d/csv/"]http://chartapi.finance.yahoo.com/instrument/1.0/aapl/chartdata;type=quote;range=1d/csv/[/URL] Its output will be uri:/instrument/1.0/aapl/chartdata;type=quote;range=1d/csv/ ticker:aapl unit:MIN … | |
I will start a new project. But I have some simple questions about it : 1) Is the C faster than Java on processes which has no graphic user interfaces (like softwares which are working just from command line) ? 2)Because if the C is faster than Java, I want … | |
Hi folks, First a bit of context (Errors are shown at the bottom of the post): I am creating an object viewer for opengl in Visual C++ 2008 Express Edition. I have written a parser which reads the file and stores all the info I want in a Mesh object. … | |
Hey everyone, I need help in figuring out how to make this program work. I am attempting to reverse this TraverseList. Yet I am still encountering issues when I compile. I am hoping that someone might assist me in re-creatin the program so that it goes forward. Anxiously waiting!! Please … | |
hey im in the middle of doing sql queries i can search my data base using GetDateFrom (Select, from, where) [code] Me.nameTableAdapter.FillBy(namenDataSet.descip, Me.box1TextBox.Text, Me.box1TextBox.Text, Me.box2TextBox.Text, Me.box2TextBox.Text) [/code] i have this working fine im struggling with inderting data to my databse i have made the query .. [code] INSERT INTO `details` … | |
![]() | I don't believe there is a Forum dedicated to Cryptography so I will post in the C forum since the program I've used to decode a base 64 encoded file was written in C. I have been given a base64 encoded file and I have managed to remove the base64 … ![]() |
I've got this: [CODE]#include <iostream> #include <vector> #include <string> #include <cstdlib> #include <sstream> using namespace std; class alfa{ private: int x; public: alfa(){ cout<<"Dimiourgithike ena alfa"<<endl; x=rand()%10; } ~alfa(){ cout<<"Katastrafike ena alfa"<<endl; } void get_x(){ cout<<"To x exei timi: "<<x<<endl; } }; int main(){ alfa* alfadi; int no; cout<<"Dose enan … | |
Hey there folks! I've created a class, ATHENADictionary which extends Dictionary, as listed below... [CODE] /// <summary> /// Extends the Dictionary class to provide more functionality. /// </summary> /// <typeparam name="TKey">the key type.</typeparam> /// <typeparam name="TValue">the value type.</typeparam> public class ATHENADictionary<TKey,TValue> : Dictionary<TKey,TValue> { /// <summary> /// New indexer method, … | |
Hello all, I'm pretty new to PHP & SQL. I am having some trouble with a web voting page I'm creating. I have a PHP loop which is displaying data from SQL table A. Beside it, a small text box linked to SQL table B to allow users assign numeric … ![]() | |
hello everyone., i m new to asp.net. i am using fileupload control in my project. i want the complete file path...in IE i am getting the complete file path but not in Mozilla....in mozilla i am getting the file name only i.e. myfile.xls.......but i want the complete file path i.e. … | |
Hello!... Can anyone help me on this project? I already have created a simple program called Website manager and ive already release it on my website [URL="http://www.silentproject.tk"]http://www.silentproject.tk[/URL] i want to improve it by adding an Auto login feature for websites like yahoo mail..etc.. does anyone of you know how to … | |
hello please help me on this how to make the log in password in gui that can accept at least 6 characters and not more than 10 characters..and if i will re enter the password and it will prompt to the user that password is already exist..hoping for your positive … | |
Sir, Please anybody help me My another question is in txtlani textbox I have to enter only digit i.e. 0 to 9 and currency formate i.e. 1,000.00 and 1,00,000.00 it is possible in text box. and another text box which I have to enter only date i.e. at run time … | |
Please send sane code for a complicated report using Data report Designer Using VB6. without using Data Environment. how to increate the height of the rpt shape in detail section of the data report. | |
How would I make all letters be an invalid input? I want all letters, numbers greater than 20, and numbers less than or equal to 0 to be invalid inputs. I used an or cause I want any case to be an invalid input. Any help would be greatly appreciated. … | |
i want to convert string into hexdecimal value.. Like 'Hi' into 00680069 [code=php]<?php function ascii2hex($ascii) { $hex = ''; for ($i = 0; $i < strlen($ascii); $i++) { $byte = strtoupper(dechex(ord($ascii{$i}))); $byte = str_repeat('0', 2 - strlen($byte)).$byte; $hex.=$byte." "; } return $hex; } //echo ascii2hex('he'); echo dechex(ord('hello')); ?>[/code] I got … | |
Hi and I am making a script but am having a slight math logic problem. Below is an example of an encoder I am working on. [CODE]for(int m=0;m<80;m++) { if(m<=19) { f = (b & c) | ((~b) & d); k = 0x5A827999; } else if(m<=39) { f = b … | |
Hello People, I cannot understand how this expression gets evaluated .. 1+~0 From what I know ~ has higher priority . So the expression becomes 1+(~0)= 2 But the answer that I got was 0. I know it is some thing to do with the fact that ~ is right … | |
I have a form developed using the Dataform wizard (VS 2003). The Form shows Master-Detail data. The details are showen in a Datagrid. The form automatically loads the data in the Form_load event. Now I want to store the data from the datagrid to a datatable. I am using following … | |
I'm having trouble combining tkinter windows/functions, i have simplified my problem down to this which i think seems to be the problem. Both these functions will work on their own, but not together. (at least the way i want them to!) What I am after is to be able to … | |
Basically I am totally confused on how to pass a char, which is given by the user, and then store it and pass it to another function by reference. | |
i have a webpage wherein it has two frames in it. now, i want to transfer the data coming from FRAME A to FRAME B. now, i thought of using a session, but it does not work, what i want is that when i click the button in FRAME A, … | |
The following code gets segmentation fault: [CODE] void dfs_visit(graph g, int u) { // printf("u: %d\n",u); /* g.vertices[u].color = GRAY; g.vertices[u].d = time++; printf("before visit for loop\n"); for (int i = 0;i < g.number_vertices;i++) { if (i != u) { if (g.vertices[i].color == WHITE) { g.vertices[i].p = u; // dfs_visit(g, … | |
I need to write a program that accepts coins(nickles, dimes, quarter) and single dollar bills, dispenses the item and returns change if the deposited money exceeds the item's value. There are 5 items with the prices of: 65 cents, 95 cents, 50 cents, 110 cents and 75 cents. There is … | |
[CODE] int main() { char c1, c2; printf("Enter a character: "); scanf("%c", &c1); printf("Enter another character: "); scanf("%c", &c2); system("pause"); return; } [/CODE] Thats what my code looks like, the problem is the code skips the part where it lets you input c2. I dont understand why its doing this. … | |
Hello, How can I disable beep sound in KeyDown event? I already tried using "e.Handler = true" but it doesn't seem to work. I have used it sucessfuly with KeyPress events, but now with KeyDown I can't get it work... This is my code: [CODE] private void msg_textbox_KeyDown(object sender, KeyEventArgs … | |
hi, i'm back again to ask few question i have a problem on my online reservation system. here's my code [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("reservation", $con); $rno = $_POST['rno']; $in = $_POST['ADate']; $out = $_POST['AnotherDate']; $nor = $_POST['noofrooms']; $rtype = … | |
[CODE] //This is what we are asked to print in the assignment of Binary Search Trees.The Nodes are printed like: F +-- D | +-- NULL | \-- NULL \-- R +-- P | +-- M | | +-- NULL | | \-- N | | +-- NULL | | … | |
I am new to binary trees. I have been given the task to write functions to count the number of nodes, to count the number of leaves in nodes, to count the number of right children, to find the height of the tree, and to delete all the leaves of … | |
This is a continuation of the [url="http://www.daniweb.com/tutorials/tutorial19303.html"]Updated: ASP.NET Login Page Tutorial[/url]. This tutorial will demonstrate how to create a registration page for new users to your site. This registration page will utilize the same principles used in the Login Page Tutorial, so this should be no more difficult to do … | |
Hey, I have no idea if this thread already exists. I did try to make one before but it seemse like it didn't work. So here goes ! My question is - How do I put my .o files into an object library file? I'm using c++ visual studio express … | |
pretty much where i have many of my comments are where i need to call the functions from the player and cell class in the tictactoe class? anyone have any ideas on how to do this? [CODE]#include <iostream> #include <cstdlib> using namespace std; class TicTacToe { public: TicTacToe()//contructor initializes the … | |
So I'm working on a linked list class, for a class I'm taking. I've basically just started working on it and I'm getting an unknown error that I really don't know how to deal with. The compiler is not returning an error in my code really, its returning a bunch … | |
Hello All, I currently have pager.ascx control which i am using to display 12 items per page. i am using "gid" constant string to set the number of pages. "gid" is defined in my base class called myPage.cs as follows [CODE]public class myPage : Page { #region constants [B]protected const … | |
Hello All, i am currently using Google Analytics to collects stats about my site ( my site is created in ASP.NET 2.0 and C#). i have asp:imagebutton called "Confirm Order". i want to track the clicking of this button. the code for this button is as follows: [CODE]void ibConfirm_Click( object … | |
OK...guys... I'm about to have a cow here. It sounds real simple but I just can't seem to get it. Here is the deal: I have a normalized database made up of four tables (Primary Key in bold) Player ([B]PlayerID[/B], PlayerName) NHLTeam ([B]NHLTeamID[/B], PoolTeamName) PoolTeam ([B]PoolTeamID[/B], PoolTeamName) PlayerStats (PlayerID, NHLTeamID, … | |
Hey. I have an arraylist; [CODE]public static ArrayList<String> name = new ArrayList<String>();[/CODE] and its made of of names; [CODE]public static String name;[/CODE] They both had to be static as it didn't work if they weren't. In the public void static main method, I populate this arraylist. I then want to … | |
Hello, I would like to execute a double for-loop in python. I use the python interface with ArcGIS (hence the gp. prefixes and weird functions). Here is my double-for loop attempt but I can't execute the code due to 'invalid syntax.' If I remove the bottom loop, the code runs … |
The End.