199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Naveed_786

Hi all, Can anybody tell me how can i give option to user to design there own reports???? i.e They should be able to define 1. Report Title 2. Reports Fields(When they click on Work Order button they should be able to view Work Order Table column and they should …

Member Avatar for Naveed_786
0
341
Member Avatar for ravsau

I am trying to create a menu GUI. I think I am having problems with the action listeners Any help would be great. Thanks Write an GUI application that display a menu system. The menu system should allow the user to select one package, one phone, and any of the …

Member Avatar for ravsau
0
420
Member Avatar for jacob501

[code] from urllib import urlretrieve import urllib2 import re import gzip urlretrieve('http://www.locationary.com/place/en/US/Virginia/Richmond-page28/?ACTION_TOKEN=NumericAction', 'myfile') page = gzip.open('myfile', 'rb').read() findLoc = re.compile('http://www\.locationary\.com/place/en/US/Virginia/Richmond/.{1,100}\.jsp') findLocL = re.findall(findLoc,page) listIterator = [] listIterator[:] = range (0,25) for i in listIterator: urlretrieve(i, 'myfile2') page2 = gzip.open('myfile2', 'rb').read() findYP = re.compile('http://www\.yellowpages\.com.{1,100}\d{1,100}') findYPL = re.findall(findYP,page2) listIterator2 = [] listIterator2[:] …

Member Avatar for jacob501
0
4K
Member Avatar for jacob501

I am trying to use Beautiful Soup to scrape a website, Locationary.com, and get some information from it. I am a member and even when I'm logged in this doesn't work... OK. This first bit of code just returns the HTML of Locationary.com (the home page) in a "pretty" form. …

Member Avatar for Gribouillis
0
200
Member Avatar for siabenie

Hi all, I am new in C++, I wonder if anyone could assist me about create a two classes. Basically I need to create class scale and translate where these two classes are inheritance from transition class. In the scale class contain e.g Public: scale(); ~scale draw(); operator >>; same …

Member Avatar for siabenie
0
136
Member Avatar for Tcll

I'm currently working in another thread to find a better conversion method here's my script: [code] #!BPY """ Name: 'Brawl (.mdl0)...' Blender: 248 Group: 'Import' Tooltip: 'Import a Brawl model file (.mdl0)' """ __author__= ['Tcll'] __url__ = ("") __version__= '0.015' __bpydoc__= '''\ mdl0 Importer ''' # ***** BEGIN GPL LICENSE …

Member Avatar for Tcll
0
2K
Member Avatar for anamoblu56

I am a beginner and I am using Visual Studio 2008. My code is good and output is: Day 1, "Enter Temperature 1: Day 1, "Enter Temperature 2: and so on until Day 7. What I want it to read is: Day 1, "Enter High Temerature 1: (for column [0]) …

Member Avatar for anamoblu56
0
86
Member Avatar for CollegeBeginner

Hey guys, I'm currently at the very end of my java course this semester, and I was wondering if anyone could help me finish the last 3 of my 8 method in a program called Mastermind. The difference between typical Mastermind games and my assignment is that we're using numbers …

Member Avatar for CollegeBeginner
0
991
Member Avatar for pinkboom

Hey guys, I wrote a 'bigger' program that uses a basic algorithm to crypts a text I input from keyboard, or from another text file. I have divided the program in the 'working' part and the 'non-working' part. The keyboard input is great, it works perfectly. But when I try …

Member Avatar for pinkboom
0
152
Member Avatar for shane707

I need help in a program in Mainframe Assembler, for IBM Computers. I need help in Write an assembly program (Mainframe Assembly [url]http://www.billqualls.com/assembler/index.html[/url]) that reads a file and reports how many lines, words, number of commas, number of periods and characters that appear in it. For purposes of the program, …

Member Avatar for shane707
0
230
Member Avatar for IcantC

Hi there, My question is how could I output byte value (meaning zeros and ones) to screen. I just want to try some shifts and see how it works.

Member Avatar for IcantC
0
10K
Member Avatar for rse

Hello, in process.php, I am trying to display google chart by requesting it using streams, the follwoing code is for requesting the chart: [code=php] header('content-type: image/png'); $url = 'https://chart.googleapis.com/chart?chid=' . md5(uniqid(rand(), true)); $chd = 't:'; for ($i = 0; $i < 150; ++$i) { $data = rand(0, 100000); $chd .= …

Member Avatar for kevindougans
0
1K
Member Avatar for anamoblu56

Declare a seven-row, two-column int array named temperatures. The program should prompt the user to enter the highest and lowest temperatures for seven days. Store the highest temp in the first column and the lowest in the second column. The program should display the average high and average low for …

Member Avatar for MandrewP
0
2K
Member Avatar for MazzGonzo

Hi, Basically I want to put my responses for each of the outputs of my loop (answers yes or no to different contrast numbers) into an empty list ... so I would have a list for each contrast corresponding to how many yes or no's there were? [CODE]from observerClass import …

Member Avatar for TrustyTony
0
118
Member Avatar for bmichelle510

Hi, I am having a problem with this program. I don't know why the counter won't work correctly. After "doctor is out" is clicked the inCounter should be zero. So when the "doctor is in" is clicked "the doctor is in" should be displayed, but "the doctor IS IN, Already!" …

Member Avatar for bmichelle510
0
233
Member Avatar for OASys1

Greetings, I need to have a way to veiw/print reports designed in MS Access in my Delphi application. I have a MS Access 2007 db for the backend of my Delphi2010 application. I have reports I had defined and saved in my Access db. I would like to place a …

Member Avatar for OASys1
0
448
Member Avatar for eceisl

I need to write a recursive Python function that takes a numeric list as its argument, finds and returns the minimum of its elements. I am not allowed to use min() function of Python. I'll be very grateful if someone can help me.

Member Avatar for TrustyTony
0
109
Member Avatar for topdos

hi i am new here and i registered because i couldn't find the answer in google search my problem is that i could not find max and min of two arrays and the average too [CODE]#include<iostream> using namespace std; int array1[]={0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; …

Member Avatar for topdos
0
451
Member Avatar for rajeesh_rsn

Hi I added a addslash before submit to database like [CODE]$bio=addslashes($_POST('bio'));[/CODE] it will add a "'" before submit .. and everything working fine .. but at the time of edit/ resubmit this form I am getting the following out put [CODE]This is old\' Line This is new' Line[/CODE] Please help …

Member Avatar for hakeemtunde
0
127
Member Avatar for consc197

I am coding some new forms and i need some help i believe. Here is what i want to do: I have a table called tblComparison - this table has the following columns: [LIST] fldDate fldAverage fldMorning8am fldMorning11am fldLunch2pm fldAfternoon6pm fldNight1159pm [/LIST] The 5 last columns have numbers entered. The …

Member Avatar for consc197
0
243
Member Avatar for sacarias40

I have a project im working on that includes an activity stream. I'm working in php and MongoDb (noSql). The site can post articles, users can promote articles or add them to favorites. How may i include these in an activity stream similar to facebook or twitter? Example: Josh, john, …

Member Avatar for diafol
0
88
Member Avatar for 54uydf

my table has 2 fields, both are Keys. I save similar items in that table , like if 2 items are similar but have different Ids (in another table) I use this table to know that they are similar. so if items 1111, 1112 are the same and 1000,1002,1004 are …

Member Avatar for pritaeas
0
199
Member Avatar for farshadak2004

Hi My project is building a dictionary and I have done everything for it. Just I want to add a feature to my dictionary which is able the user to leave the cursor on the word which he/she want to find the meaning. after that the meaning appear in a …

Member Avatar for cool_zephyr
0
446
Member Avatar for Srinivas0

can some one please explain what is static variable, i tried reading some books, tried googling but i am not able to understand what are its uses. [QUOTE]a static variable retain their value even after the function to which it belongs is executed.[/QUOTE] i am not understanding what is meant …

Member Avatar for mrnutty
0
258
Member Avatar for anamoblu56

Have patience as I am a beginner at this.I have completeed my 2d Array and have displayed its contents successfully. At the end of my program I want to total column 1 and 2 ([0],[1]) and eventually average it, but my code is not giving me the correct math(see input …

Member Avatar for anamoblu56
0
103
Member Avatar for vishi96

Hello I'm a PHP beginner, and I was looking for the best resource online for learning PHP, and also do recommend certain books for the same. Thanks

Member Avatar for pritaeas
0
527
Member Avatar for haanjae

i have the server and client system. my problem is how the server enable to retrieve the client's bandwidth usage. i have the codes for bandwidth, but i am not sure how to do it because i confuse what extra codes should add in my client public partial class and …

Member Avatar for haanjae
0
333
Member Avatar for enrichedd

Need some help fixing the errors in my code, im TRYING to make a math expression type of program, using stacks. Was running fine, then i wake up in the morning and my code has like 15compiler errors, would appreciate any help!! [code] import java.util.*; import java.io.*; public class d8 …

Member Avatar for hfx642
0
173
Member Avatar for ahoysailor

Ok, so basically I have a text file that contains the following: Resource3 "Actuator" Resource10 "Insert Exhaust Valve" Resource1 "6, 10, 18, 1" Resource21 "Emergency Stop" Resource2 "Cool Down in Progress" etc. etc. I want to read the file line by line and store it in a vector (this is …

Member Avatar for mrnutty
0
177
Member Avatar for vaironl

Even after I set a for loop in my constructor I receive a null pointer exception any ideas why? here is a bit of the code [CODE] private String[] ingredientName,units = new String [40]; private double[] ingredientAmount = new double [40]; public Recipe() // Recipe Constructor example { for(int setVals …

Member Avatar for hfx642
0
146
Member Avatar for northrox

i still cant get an out put.. plus cin.get() doent work here.. why? [CODE]// to find factorial of a number #include<iostream.h> #include<conio.h> int main() { int i,m; cout<< "enter a number"; cin>> i; for ( int p=i;p>=0;p--) { p=p*(p-1); p=m; } cout << m; getch(); return(0); } [/CODE]

Member Avatar for Schol-R-LEA
0
99
Member Avatar for cool_zephyr

hello everyone..i'm trying to connect to the localhost through a windows pocket pc 5.0 emulator but I'm getting some error like "Cannot connect with current connection settings" and sometimes like "The page cannot be displayed because the server couldn't be found" though the local server is running..As I'm new to …

Member Avatar for cool_zephyr
0
237
Member Avatar for uzidon

All right, the solution for this question might be awkwardly simple, but I'm totally lost and confused on this. I have created a Windows Form Application in Visual C++ 2010 Ultimate and included some resource files (BMP Images) in Form1.resX. For example, one of them is picture1.bmp. I have a …

Member Avatar for uzidon
0
1K
Member Avatar for northrox

[CODE=cpp]#include <iostream.h> #include <conio.h> int main() { int number[5]; cout<< " enter the number \n"; for (int i=0;i<=5;i++) { while (i!=$) { cin >> number[i]; } } for (int i;i<='null';i++) { cout<< "number="<<number[i]; } getch(); return (0); }[/CODE] i have used a special character which tells the user to press$ …

Member Avatar for Schol-R-LEA
0
124
Member Avatar for prit005

Hi ]http://192.168.3.100/PACS3.2.0_DATA/Android_Images/1/1.2.840.114257.0.11796824240075870457700001003416408300001 /DICOMDIR.dic//PACS3.2.0/Images my problem is that I want to get only the specific part of this URL such as only .dic for eg: ]http://192.168.3.100/PACS3.2.0_DATA/Android_Images/1/ 1.2.840.114257.0.11796824240075870457700001003416408300001 /DICOMDIR.dic and remove the last two item from URL. please help

Member Avatar for prit005
0
117
Member Avatar for VernonDozier

I've made a small program that draws black rectangles on a JPanel at random places. I would like to give the user the option to save this JPanel as a .gif file, but I'm not sure where to start. The function I need to write is SaveJPanelAsGIF below on line …

Member Avatar for ferwerda
0
421
Member Avatar for Lemony Lime

I've done some searching, and it seems a few people have asked similar questions, but none of them were quite what I was looking for. I need to be able to read lines of code from a .txt file, and then execute them in Java. Or, if that's impossible, would …

Member Avatar for NormR1
0
3K
Member Avatar for siraero

Hi daniweb first of all, sry my english. I have a problem with at update code, I was hoping that U can help me, im new to this. i have a code where i get an id from another page, from update.aspx?id=1 up to 6 ATM. my code works fine …

Member Avatar for Sarama2030
0
204
Member Avatar for akshayphp

I am basically creating a registration page. Tell me where I am wrong in this code. [CODE] <?php session_start();session_destroy(); session_start(); if($_POST["regfname"] && $_POST["reglname"] && $_POST["regcname"] && $_POST["regemail"] && $_POST["regphone"] && $_POST["regwebsite"]) { if($_POST["regpass"]==$_POST["regcpass"]) { $servername="localhost"; $username="akshay"; $conn= mysql_connect($servername,$username)or die(mysql_error()); mysql_select_db("akshay",$conn); $sql="INSERT INTO acts(fname,lname,cname,email,phone,website,password)values('$_POST[regfname]','$_POST[reglname]','$_POST[regcname]','$_POST[regemail]','$_POST[regphone]','$_POST[regwebsite]','$_POST[regpass]'); $result=mysql_query($sql,$conn) or die(mysql_error()); print "<h1>you have registered …

Member Avatar for hakeemtunde
0
275
Member Avatar for Muhammad Anas

I have written the following for loop to demonstrate ceil() function of <cmath>. [CODE]for (double ceilDemo = 2.0; ceilDemo <= 3.0; ceilDemo += 0.1) cout << setw(10) << ceilDemo << setw(20) << ceil( ceilDemo ) << endl;[/CODE] The output is as expected except for the last iteration. I mean in …

Member Avatar for Muhammad Anas
0
125
Member Avatar for consc197

How can i add a menu and make it to appear on all forms within that project? I remember that 2 years ago i was able to do this with VB6 however with VB 2010 i am unable to do this currently. Right now i added a Menu Strip on …

Member Avatar for consc197
0
167
Member Avatar for nav07

c# - How can I raise an event every day 12:00 AM or specific time interval in c#.NET Please suggest

Member Avatar for Narue
0
78
Member Avatar for inamul20

Hi!! my application have 2 frames including tabel 1,tabel 2 when run time i insert values though textfileds to tabel 1 ,after inserting 5 or more then i click next button then display other frame with tabel 2 and tabel 2 must auto filled. my problm is last row(i already …

Member Avatar for JamesCherrill
0
237
Member Avatar for Panathinaikos22

Hello, i have Eclipse Indigo & and i download Android SDK, atk im working with Android 2.2 version When i run Virtual Device for 1st time everything is ok, but when i close it and i try to run it for 2nd 3rd time eclipse stucks, and i must restart …

Member Avatar for peter_budo
0
119
Member Avatar for arias36028

Hi, I'm new to Java, getting compiler error for the following code: class A { int x; A (int a) {System.out.println ("class A");} } class B extends A{ int x; B() {System.out.println ("class B");} public static void main (String[] args) { A a= new B(); } } The compiler error …

Member Avatar for JamesCherrill
0
274
Member Avatar for consc197

Hello everyone, I have been coding a Reset Login Details form, the user needs to enter the new Username, the new Password and the Current Password. Here is my code below - something in the form is not working as i am getting an error when i fill in the …

Member Avatar for consc197
0
220
Member Avatar for Bud4java

Is there a "neater" way to code the following? (It prints the 5 data elements in an array.) System.out.println("All the values in the array are: "); System.out.println(+ array1[0]); System.out.println(+ array1[1]); System.out.println(+ array1[2]); System.out.println(+ array1[3]); System.out.println(+ array1[4]); Thanks, Bud

Member Avatar for peter_budo
0
252
Member Avatar for vammy

Hi guys, Im using a datagrid for user to enter input. However,im restricting the grids to some value.My grid is actually not bounded to any database. so,here is my requirement: whn the form is getting displayed,all grids are getting displayed.,which dont want.,only row2 shld get displayed to user after he'l …

Member Avatar for bhagawatshinde
0
118
Member Avatar for cyberwarezcp

Hello, I wanna asking How to Make a Waiting while Proccessing? I mean I want when the software proccessing login into my Online database, the Button1,TextBox1,TextBox2, LinkLabel1,LinkLabel2 will hide and the Waiting Picture is show, Here is my code : [CODE] Button1.Visible = False Button2.Visible = False TextBox1.Visible = False …

Member Avatar for cyberwarezcp
0
145
Member Avatar for bhagyap

Hi.. I am populating treeview using XML and then trying to access the nodes of treeview into webbrowser to view the files using the following code.. Can anyone please guide me with this?? [CODE] private void treeView1_MouseDoubleClick(object sender, MouseEventArgs e) { webBrowser1.Navigate(treeView1.SelectedNode.Text); } [/CODE] The following is the function to …

Member Avatar for bhagyap
0
204

The End.