64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Andrae

I'm working on a program to log the work i do as well as email the monthly log. The problem i'm having is that every time i try to test out the smtp i get an error ` Traceback (most recent call last): File "C:/Users/palmer_a/Documents/App/testy.py", line 5, in <module> import …

Member Avatar for Andrae
0
261
Member Avatar for Niloofar24

Hello. I have a list: mylist = [2,4,4] How can i take number 244 out from the list? Something like: number = 244 Here 244 is integer.

Member Avatar for vegaseat
0
299
Member Avatar for UK-1991

Hello, I Have created an admin page to view user account information on monthly bassis but the values to me are not showing up here is the code <?php $record_campaign = mysql_query("SELECT campaign FROM dailyreport where uid='" . intval($_POST['select3']) . "'"); $record6 = mysql_fetch_array($record_campaign); $campaign = $record6['campaign']; $date_table = "Date"; …

Member Avatar for UK-1991
0
186
Member Avatar for Tinnin

Hi All, I'm trying to remove the <head> tag and contents from some html but I'm having no luck. The <head> portion of the html is: <head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style><![endif]--><title>Resume (Origin design)</title><style><!-- /* Font Definitions …

Member Avatar for diafol
0
267
Member Avatar for Joemeister

Hi everyone, I want to know if its possible to do the following: I have 2 users and 2 forms. When user A (Admin) logs in on the Log In form, the Main Form appears with ALL its buttons enabled (For editing purposes). BUT when user B (Normal user) logs …

Member Avatar for Joemeister
0
180
Member Avatar for MustafaScript

I started to learn python today by myself using this course: https://www.youtube.com/watch?v=bX3jvD7XFPs&list=PLB2BE3D6CA77BB8F7 Is that a good start? which book for beginners do you recommend ? *the problem with that course is that i found a lots of things in that code i do not understand i need a book which …

Member Avatar for fonzali
0
417
Member Avatar for OrangeNaa

[B]I'm totally stuck on this problem for homework::[/B] *** [I]Write pseudocode to represent the logic of a program that allows the user to enter values that represent the radius of a Circle. The Program calculates the Diameter (by multiplying the Radius by 2) and then calculates the Circumference (by multiplying …

Member Avatar for channasrey7
0
1K
Member Avatar for Niloofar24

Hello again. How can i limit my list indexes? I want my list to take only 3 indexes for example.

Member Avatar for Niloofar24
0
624
Member Avatar for Niloofar24

Hi, me again :) Look at this error please: File "./kivycal-1", line 103, in number_two self.check() TypeError: check() takes exactly 2 arguments (1 given) The error is pointing to here: def number_two(self, event): global numbers numbers.append(2) print numbers self.check() This is a part of a class in a .py file. …

Member Avatar for Niloofar24
0
312
Member Avatar for edbr

very embarassing but i just got hacked by the folloeing, any advise truly welcome Hacked By : Mr.HaurgeulisX196 TypingText = function(element, interval, cursor, finishedCallback) { if((typeof document.getElementById == "undefined") || (typeof element.innerHTML == "undefined")) { this.running = true; return; } this.element = element; this.finishedCallback = (finishedCallback ? finishedCallback : function() …

Member Avatar for edbr
0
370
Member Avatar for Niloofar24

Hello. mylist = [6, '/', 3, '+', 9, '+', 8, '+', 1, '/', 2] How can i delete that list indexes? I tried: def clear(self, event): global numbers for i in numbers: print i del numbers[i] But it didn't work: File "./kivycal", line 83, in clear del numbers[i] TypeError: list …

Member Avatar for Niloofar24
0
276
Member Avatar for mattyd

I am beginning what appears to be the daunting task of securing all of my code from injections, XSS, etc. I have been reading about some of it and it is a bit overwhelming. I just wanted to come here and ask for experts' advice on the main things I …

Member Avatar for mattyd
0
456
Member Avatar for Cup of Squirrel

I've skimmed the manual and cant find the answer to this anywhere: In basic, to add an Input function you would do (for example): [CODE] Input "What is your name? " name$ [/CODE] How do I do this in Python?

Member Avatar for Jason_15
1
18K
Member Avatar for kevwood

hi all, i had this code working yesterday (to an extent any way lol). the first part of the code seems to be working correctly an tells me i am connected to the db. but then i am getting a an error saying no db selected. here is the code …

Member Avatar for kevwood
0
200
Member Avatar for Borzoi

I think I am missing something obvious here but I can't see what. I am pulling information from another file using `file();` which works as expected - putting each line in to an array. The file contains some HTML tags but is just a text file (not a full web …

Member Avatar for Borzoi
0
447
Member Avatar for lithium112

Hello, I am trying to query an xml table. Here's the basic structure: <Table> <GroupPermissions> <Group GroupName="Name"> <ModuleRestricitons> <Module1> <Button1 value="False" /> </Module1> </ModuleRestrictions> </Group> </GroupPermissions> </Table> The logic I am tyring to perform is this: Where GroupName="Name" set button 1 value="True". There are many other groups, so I need …

Member Avatar for lithium112
0
449
Member Avatar for skill11

how i can write java programme like this out put Enter the number of minutes:*1000000000* 1000000000 minutes is approximately 1902 years and 214 days

Member Avatar for JamesCherrill
0
121
Member Avatar for murali2489

Hi All, I have an online screen in which a form filed is filled with Numeric Characters .. if the entered four digits are not numeric, it will throw an alert message saying "**Only numerics allowed**". Now the new requirement is it should accept alphanumeric characeters instead of Numeric Characters. …

Member Avatar for djjeavons
0
176
Member Avatar for aneeqtariq_143

i want to create a form for my client. My client require to create a dynamic for him. suppose, i want to insert 1 record in main table of mysql, and record multiple records in secondary table which has reference key of main table. I dont know how many records …

Member Avatar for diafol
0
7K
Member Avatar for baloch123

Hi Hope,everyone is doing good out there. I need some help regarding which strategy to use for one of my projects. Here are the project details I want to generate PDF forms, by gathering data from user.There are different questions to ask and based on each answer,we will ask next …

Member Avatar for baloch123
0
740
Member Avatar for M.I.Sahil

AOA, I m using vb6 with Access 2010 (DAO recordset) and Crystal Reports 9.22 I have developed a projet in vb6 it works fine at desing time but when i Install it (i mean after Package and deployment) and run the projet everything works fine but when i run reports …

Member Avatar for M.I.Sahil
0
2K
Member Avatar for Hidayat_1

Every programming language provides different features to make coding task easy. One of the main objectives is to keep things simple as possible. You have studied C++ in this course and have learnt many different concepts e.g. input/output, if-else statements, loops, arrays, functions etc. Looping constructs are needed when a …

Member Avatar for deceptikon
0
167
Member Avatar for Odyssey2001

Hello!First of all,I'm so sorry for this huge post!!I wrote the whole code from the book,that's why the post is so big!!I'm reading this book : Rapid Gui Programming with Python and Qt.And I have problem understanding some parts of the code.I would be really thankful if someone could help …

Member Avatar for Odyssey2001
0
608
Member Avatar for asic_designer

I have a question about the assembly code generated by this small patch of C code that I wrote. The code patch is shown below, basically what I am doing is reading floating point values in from a hardware updated register and performing the arctan2f function on those values. #include …

Member Avatar for asic_designer
0
397
Member Avatar for SimonIoa

Hello i am trying to connect my mobile service with my database... this is the script public $username = "root"; public $password = ""; public $server = "localhost"; public $databasename = "rove"; public $port = "80"; public $connection; public function __construct () { $this->connection = mysqli_connect($this->server, $this->username, $this->password, $this->databasename); $this->throwExceptionOnError($this->connection); …

Member Avatar for SimonIoa
0
194
Member Avatar for Niloofar24

Hello. I have a Class in my python file. That Class contains some functions. How can i set the command of a Tkinter butten so that call a function of that class? I tried this but it didn't work: class calculating(object): def __inint__(self): self.current = 0 def addition(self, amount): self.current …

Member Avatar for HiHe
0
10K
Member Avatar for terryds

Is it good to declare a class with many methods ? Or, is it better to use flags ? Which one performs faster ? Example class Filter { public function filterspecialchar($input){;} public function filterurl($input){;} public function filteremail($input){;} } class Filter { CONST SPECIALCHAR = 1; CONST URL = 2; CONST …

Member Avatar for diafol
0
114
Member Avatar for coder91

For the system I am creating there are various reports, some of which require input parameters from the user. I have my system working for reports thay require no parameters but can't seem to figure this out. One member of the team has written stored procedures, one being report lookup …

Member Avatar for coder91
0
210
Member Avatar for OMER AHMED

i want to design a teamviewer kind of application in vb.net from which i can able to remote thr pc and solve thr issues. but i tried to search online but find nothing. can anyone help me here

Member Avatar for JamesCherrill
0
928
Member Avatar for bd338

Hello everyone. I erased A86.exe, because I wanted to learn 32-bit Assembly. Now I want to program a little bit in 16-bit Assembly again. So I downloaded A86.exe, but now when I open my *.ASM files with it, nothing happens. Please help me :).

Member Avatar for Drew_1
0
188
Member Avatar for coder91

Hi I have a datatable that returns 3 columns, what I am trying to do is to return the second column of a row when a variable matches the first. It's probably really simple but I can't get it to work. Thanks in advance.

Member Avatar for coder91
0
154
Member Avatar for jhaiyz

Hi to all daniwebians! I want to make application that starts automatically when windows starts! Anyone can help me? Thanks!!!

Member Avatar for jhaiyz
0
110
Member Avatar for coder91

Hi, so I have to create a dynamic menu which is created using <ul><li><a href /></li></ul> etc. The menu has to be dynamic based on the user who is viewing the page. So far when the page loads I send the name of the user logged in, to a stored …

Member Avatar for coder91
0
843
Member Avatar for ShilohAmi

Hi, I have data like these: data_past = [[62.0, 144.0, 3, 0]] where data_past=[[red_circle_x , red_circle_y , id_of_rectangle , status]] data_current = [[60, 148, 0], [148, 127, 0]] where data_current=[[red_circle_x , red_circle_y , status]] And I want to compare each row of data_current to all data_past to get minimum distance, …

Member Avatar for TrustyTony
0
231
Member Avatar for polodon242
Member Avatar for polodon242

I need some assistance with creating a dropmenu that pulls a database field and displays the rest of information underneath it so i can print it. I am only having issues with after selecting the info in the field, the information doesn't change. <?php mysql_connect('host', 'user', 'password'); mysql_select_db('databasename'); $sql = …

Member Avatar for polodon242
0
6K
Member Avatar for dawbin

I'm trying to write a javascript routine to crawl an XML document (of unknown elements) and parse out name/value pairs where "<nodename>nodevalue</nodename>" would come out as "nodename=nodevalue". What I have works great through the second element, then it stops traversing. I feel like I'm close but I just cant get …

Member Avatar for Airshow
0
294
Member Avatar for YouGotSnails

I am trying to use a loop to write randomly generated numbers to a text document. Then, using a different program, I need to use a loop to read the numbers. The first program needs to output the numbers in the SAME LINE, the second program needs to output them …

Member Avatar for snippsat
0
327
Member Avatar for Sphinx'LostNose

How are keys and passwords stored in a computer to make them secure? If encryption is used to secure keys and passwords - won't there need to be a key or password for it also? Will that one be encrypted as well? It seems to me that eventually there will …

Member Avatar for mike_2000_17
0
282
Member Avatar for Santanu.Das

Hello members, Presently I do my projects with vb.net. I am not familier with Python. I want to learn python. Would you help me to learn python? I know nothing about python and I donot understand where from I will start.

Member Avatar for vegaseat
0
274
Member Avatar for mattyd

Hello, I posted a similar issue earlier - I fixed that issue that was throwing error messages and now my data from a form is being dumped to my table, well, most of it. It is not recording the Username or Password fields and I have absolutely no idea why …

Member Avatar for diafol
0
259
Member Avatar for OMER AHMED

i have a project to do and i dont know how to do it. please help me how i can change the windows 7 login screen and shutdown screen using VB.NET please help me i found this http://www.howtogeek.com/112110/ but i want to make it in vb.net i also found below …

Member Avatar for OMER AHMED
0
231
Member Avatar for Santanu.Das

What is difference between MySQl & MSSQL database storage limitation. More descriptively, If I make databases using the above-mentioned database systems. How much data I can store in each of them, i.e. 1GB, 2GB, 10GB, 100Gb. What is the limitation?

Member Avatar for Santanu.Das
0
160
Member Avatar for keshavbhusal1
Member Avatar for mike_2000_17
0
111
Member Avatar for gentlemedia

Hi, This will do the job, but it's ugly, so how to do this more elegant? $('ul').prepend('<li></li><li></li><li></li><li></li><li></li>'); $('ul').append('<li></li><li></li><li></li><li></li><li></li>'); Thanks in advance!

Member Avatar for gentlemedia
0
224
Member Avatar for 00Gambit

I Started to learn my first programming language - Python about 2 months ago and I'm 3/4 the way through my book Introduction to Programming using Python - Daniel Liang and I've started to lose interest. I don't actually find programming fun par se, just when I figure something out …

Member Avatar for ~s.o.s~
0
409
Member Avatar for mattyd

Hello: Before I post code I will say that last year I hired a programmer to build one feature for my project. Today upon further inspection of the database/tables I am receiving errors that I have never received and I am at a loss as to their actual meaning. I …

Member Avatar for mattyd
0
245
Member Avatar for Niloofar24
Member Avatar for diazv2

I want to create a login form by taking the text written on the notepad file in the same folder . is there anything that can help me

Member Avatar for diazv2
0
115
Member Avatar for SkateX

Question: It seems my code won't work while looping. It's a simple password verifier, however entering subsequent passwords will return the same invalid as the previous password. The simple answer might be to set boolean values under the do so they reset everytime the loop runs. But if I do …

Member Avatar for SkateX
0
561

The End.