199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jeffreyjs

I am currently trying to store location data into a database and when i display it on a website, the location data is hyperlinked and when i click on it, it will act as a search query to display the location on Google Maps in a iframe. Does anyone know …

Member Avatar for jeffreyjs
0
241
Member Avatar for guptas

Hello all! i am a beginner to network programming. I am trying to make an application in vb.net 2008 where in i can open a file from the client computer, do some changes to it and save it back. Can someone please throw some light on how should i go …

Member Avatar for Teme64
0
844
Member Avatar for tong1

/* In the following method, why the factorial goes wrong when n>12 ? */ static int factorial(int n){ int fac=1; if ((n<0) || (n>12)) return -1; for (int i=2; i<=n;i++) fac *=i; return fac; }

Member Avatar for tong1
0
1K
Member Avatar for Tracie-marie

Hi all, I'm a self taught at PHP so I've probably made a really silly mistake but I can't see any issue with this code but I keep getting the following message: Parse error: syntax error, unexpected T_VARIABLE in blah blah on line 816. I know it will be a …

Member Avatar for Tracie-marie
0
86
Member Avatar for prem2

Hi, Can any one tell me the what is the difference between Identifier and Variable? Thank you, With Regards, Prem.

Member Avatar for tong1
0
73
Member Avatar for karthikeyan24

hi gd I am karthikeyan. can any one help me how retrive and delete data in vb.net. I am using access database.

Member Avatar for hirenpatel53
0
112
Member Avatar for coroll

HI!, i want call a jsp using anchor tag's href also with some data in it.when sending data i want wrap them in [CODE]<%=name%>[/CODE]. is it possible. i dont know how to do. but wahat i want to ask is [CODE]<a href='remove.jsp?itemNme=<%=temp[i]%>';>[/CODE] PLZ help me to do this.im stuk here. …

0
63
Member Avatar for abcdr

I am trying to square each number in the list under [I]nums[/I]. But I don't know how to do it. I got this so far: [code] def squareEach(nums): for i in nums: y=i*i return y [/code] What is happening here is it's counting how many numbers are in the list …

Member Avatar for TrustyTony
0
451
Member Avatar for TrueVb.NetNoob

Hi Guys! I have problem coding with a vertical Scroll bar. I made a label in form1 and a vertical scroll bar next the it on the right side. The vertical Scroll bar is to scroll down the label if the label is full of text. Here is my code …

Member Avatar for TrueVb.NetNoob
0
117
Member Avatar for demo80

I have tutorials for php but when i go through those tutorials php i have no problem but when it comes to real action things doesnt work please help. how can i do to be able to work well.

Member Avatar for muralibobby2015
0
49
Member Avatar for Naveed_786

Dear All, I hope you all would be fine please help me in printing i want to take print preview of window form and after taking print preview want to take print of form how can i do this please provide me example. Thanks in advance

Member Avatar for Teme64
0
176
Member Avatar for jcf

Hi, I am creating a program that is connected to a database (Jet. OLEDB). I would like to know how can you search a record in the program. Thanks

Member Avatar for shanwaz
0
309
Member Avatar for pritesh2010

hello experts. as per the my last problem was [URL="http://www.daniweb.com/forums/thread296536.html"]this[/URL] now i'm moing further in this repeater i want button for delete and Update. i had try but didn't work i want the button based on user authentication. for e.g. if user is Emplyee so he/she can edit when they …

Member Avatar for pritesh2010
0
1K
Member Avatar for coroll

Hi everyone!, do we need to add any tags to web.xml when using a bean. can any one tell me PLzzzzzzzzzzzzzzzz............ THANKS IN ADVANCE

0
74
Member Avatar for Zinderin

Still learning here... this is my method to get the record count of a table ... it works, but it seems like a lot of coding for something so simple. Is there an easier way? [CODE] public int GetTableRecCount(string table) { //Set up the connection and adapters... OleDbConnection myConn = …

Member Avatar for Zinderin
0
480
Member Avatar for andrewschools

Hello there - I have three directories. I would like to compare directory1 with directory2, then take those changes/new files and copy them over to directory3. I was given the following code: [code] #!/bin/bash dir2="d1" dir1="d2" dir3="d3" for file in dir2/*; do file_in_dir1=dir1/$(basename ${file}) if [ ! -e ${file_in_dir1} ]; …

Member Avatar for rch1231
0
383
Member Avatar for saravanados

Hello all I am a newone for PHP and I write a basic code in php saved in my pc but it is not working .It asks a dialogbox like save or open like this .I have no server .How do iuse my pc as my server .

Member Avatar for Ankit_Parmar
0
94
Member Avatar for wiredtec

I'm looking for a beta form. what i want it to do is auto redirect user from a main site to the enter beta key form. If they don't have a key , a link to a get beta key signup form that only require a name ane email. This …

Member Avatar for vibhaJ
0
335
Member Avatar for nick3592

Hi how can i put data selected from a mysql table into a array. I am doing this so it can be put into a select form.

Member Avatar for vibhaJ
0
118
Member Avatar for Jerompie

Hello DaniWeb, This is my first topic here at DaniWeb. I have always been a great fan of this forum mostly for C# solutions. Iam a 3rd year student IT. Now I have a problem. Iam trying to make a application that checks if IP + Port is online.( it's …

Member Avatar for Teme64
0
238
Member Avatar for ph34rgh057

i was woundeirng if anyone could help me with drawing a simple image perferably a .gif thank you.

Member Avatar for theguy126
0
214
Member Avatar for peck3277

Hey guys, I'm trying to make a check to see if a file to be uploaded was added. I have tried the below and a few variations. I imagine I'm having problems because $_FILES is a global variable and is therefore always set. But I still can't figure out what …

Member Avatar for Zagga
0
109
Member Avatar for csha_cs508

please help me with this problem... i dont have any idea on how to make the code... Histogram is a process of representing the frequency of data in a chart. Write a C++ program that will simulate this process. Your program should read a string (only letters are allowed) and …

Member Avatar for wisaacs
0
587
Member Avatar for crodriguez08

Hey there, I need some help with the placement of constructors and how the second constructor would work (there's two of them). All I ask is for some explanation. These are the exact instructions: The default Constructor should build a dynamic array of size 3 for the grades. Another constructor …

Member Avatar for crodriguez08
0
475
Member Avatar for idane

I have a table on a page that displays info from a database and everything is working fine but I want it so if the user entered data from another page to a certain field then the row on my data display table will turn red. Right now I have …

Member Avatar for idane
0
884
Member Avatar for turpentyne

I've got some code working finally that puts the checked items from two different lists, into their respective tables - all within one form. Everything works fine except... On the second set of checkboxes, it's putting the final checked item from the array into the database twice. some kinda loop …

Member Avatar for turpentyne
0
143
Member Avatar for sifuhall

[I]I'm not sure which forum this should be in so please move if inappropriate.[/I] I've tried several different approaches and have not been successful with any. What I need is a routine that will take x amount of items (teams) and schedule them against each other. This isn't a tournament …

Member Avatar for mike_2000_17
0
114
Member Avatar for H. B. Duran

Today, gaming industry execs and fans will gather at Epic Games' Headquarters in Cary, N.C. and this time, they're not checking out the giant slide in the lobby. They're supporting Governor Perdue and witness the signing of House Bill 1973 - tax incentives for the digital entertainment industry. [ATTACH=RIGHT]16060[/ATTACH]North Carolina …

0
678
Member Avatar for Cap'nKirk

Hi, my app needs to have an internet connection to run correctly, so I have been trying to implement a piece of code to check for the availability of a net connection. [CODE] private void Form1_Load(object sender, EventArgs e) { HttpWebRequest req; HttpWebResponse resp; try { req = (HttpWebRequest)WebRequest.Create("http://www.google.com"); resp …

Member Avatar for farooqaaa
0
195
Member Avatar for DawnyB

For my intro to programming class i have to design a game where a ball is shot at an angle and hits squares that are worth points. I have two questions 1.How do you get the ball to move. I was given this code but I don't know if I …

Member Avatar for Archenemie
0
1K
Member Avatar for shahreza

index no.student room 41 18 M.OPERASI 41 27 M.OPERASI 41 PODIUM 41 24 PODIUM 41 25 PODIUM 41 19 B 206/207 this is a part of data in a text file that i will read and place it in array and save it in another text file.. but i got …

Member Avatar for shahreza
0
197
Member Avatar for potato4610

This code is used to reverse a number in C++ but I have a problem. When I input 1010 or -1010, the output is -101 and 101. How should I fix this?[code]/* Christopher Langford U05799189 * clang4d@gmail.com * Assignment 3 Exercise 3 * July 23, 2010 * Macbook Pro w/Mac …

Member Avatar for Duki
0
592
Member Avatar for empyrean

hello everyone.. i have a question.. i am using datagrid and binding the columns using datatable..i have grid with columns Area, name, date, country, comments. Now i have to filter the data using two list boxes with contains area and name distinct values. if user selects one location or more …

Member Avatar for nick.crane
0
146
Member Avatar for GAME

My program won't display all the text on a webpage, it basically only reads the first line. I am using a rich textbox to display the text. [code] void readrss() { try { newstxt.Text = string.Empty; StreamReader x = new StreamReader(WebRequest.Create("http://www.xample.net/").GetResponse().GetResponseStream()); newstxt.Text += x.ReadLine(); x.Close(); newstxt.Text = newstxt.Text.Replace("<", "•"); } …

Member Avatar for GAME
0
105
Member Avatar for SHENGTON

Hello, good day. :) I got a problem with "passes occurred". This is the only problem left in my program. My program is about Naive Searching and Binary Searching. There's no problem with my "Naive Searching". The problem is the "Binary Searching". [b]Naive Searching:[/b] This is the result when I …

Member Avatar for Adak
0
135
Member Avatar for MxDev

Hi guys, I want to add syntax highlighting to my text editor, and I came up with ColorCode library at this address [URL="http://colorcode.codeplex.com"]http://colorcode.codeplex.com[/URL] but I couldn't load the parsed code into richTextBox object using rtb property. The following code returns parsed html code. [CODE]using ColorCode; string sourceCode = File.ReadAllText(@"/path/to/source/file"); string …

Member Avatar for Teme64
0
700
Member Avatar for fianna

I have an XML file that I need to transform. For one reason for another the XML contains escaped HTML data in its fields (the users are using an app I can't edit to generate the XML). [CODE] <parent> <child>%3Cul%3E%3Cli%3EBoy+this+is+fun%21%3C%2Fli%3E%3C%2Ful%3E</child> </parent> [/CODE] I know the best solution is to recreate …

Member Avatar for iceandrews
0
141
Member Avatar for vavazoom

Hey...I'm working on a Gaussian elimination problem...my pivot doesn't seem to work correctly...the logic must be wrong. Also, does anyone know why "INFINITY" comes up as some of my random numbers chosen? Thanks in advance for any help! :) [code] Matrix::Matrix():N(0) { //Empty Matrix by default } Matrix::Matrix(int n) { …

Member Avatar for mike_2000_17
0
733
Member Avatar for altf4

I have written a program that will generate a random maze and solve it. The program uses a multidimensional array of a class that holds bool values for each wall, whether or not to show an * for the path taken, and if it is a dead end. here is …

Member Avatar for mrnutty
0
191
Member Avatar for aaronmk2

I understand that you are allocating memory for Stack, buy do not understand after :: and I thought that you only used :: when declaring classes not in the classes. [CODE] myTop= new Stack::Node(original.top());[/CODE] I can post the function class of the entire program if need be.

Member Avatar for mrnutty
0
97
Member Avatar for timrichardson

I have a script where I want to use a message box for the occasional interactive question [code] # python 3.1 from tkinter import * from tkinter import ttk from tkinter import messagebox answer = messagebox.askyesno(message="Are you thinking of the " + "data " + "?" ,icon='question' ,title="My guess" [/code] …

Member Avatar for vegaseat
0
1K
Member Avatar for Vishwa Vijay

Hello there, I am able do run rmi over lan but when I want to access my rmi server from other system which is out of my lan network it doesnt work. My ip address what I check by ipconfig/all is locally assinged ip address and my ip address check …

Member Avatar for Vishwa Vijay
0
89
Member Avatar for jk_bscomp

hello everyone ,,,,i have recently installed a java version "1.4.2" in my terminal and i made it succcessfully but my problem now is how to compile a java sourcecode using the terminal..pls help me about this anyway,I am using a ubuntu flavor of linux Your help is very much appreciated.... …

Member Avatar for stephen84s
0
266
Member Avatar for Garrett2011

take following class and two object definitions: [CODE=c++] class Rect{ public: enum centimeter; enum meter; Rect(double len,double wid,enum centimeter){ length=(len/100); width=(wid/100); } Rect(int len,int wid,enum meter){ length=len; width=wid; } //rest of implementation private: double length;//in meters double width;//in meters }; Rect obj1(10,5,Rect::centimeter()); Rect obj2(10,5,Rect::meter());[/CODE] two previous constructors have dummy enum …

Member Avatar for Garrett2011
0
2K
Member Avatar for Cap'nKirk

Hi, my app does not contain a web component but it does download images from the web into pictureboxes. I am trying to figure out how to code a progressbar on my app that would start when the form is loaded and increase gradually until all the pictureboxes have been …

Member Avatar for Cap'nKirk
0
191
Member Avatar for H. B. Duran

8monkey Labs, creator of the multi-platform Marmoset Engine and shooter game, [I]Darkest of Days[/I], announced a plethora of new features and upgrades to their Marmoset Toolbag...and has invited 3D game artists to try it for free. Marmoset Toolbag is a real-time material editor and presentation tool that allows you see …

0
1K
Member Avatar for coroll

Hi!, im developing a shopping cart.my hash table is in a bean.so i need to use the hash table's elements.is it possible to use the same bean(id) in a another JSP.

Member Avatar for ~s.o.s~
0
77
Member Avatar for bigaditya

HI why do we use get/ set to change properties? I mean instead of writing [CODE]class Point { double x, y; public Point(double x, double y) { this.x = x; this.y = y; } public double X { get { return x; } set { x = value; } } …

Member Avatar for Lusiphur
0
843
Member Avatar for judithSampathwa

hi there, does anybody know how to create a user input message box in C# thanxxx

Member Avatar for Duki
0
285
Member Avatar for Tommymac501

I'd like to post some code of an app I wrote to spit out large files, and sort them, and finally reassemble them. I'm new to Python, and the 'object' way in general. If you feel like it, would you please tell me how it should have been written 'properly'. …

Member Avatar for Gribouillis
0
175

The End.