199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vsagarmb

I have installed the Python Imaging Library. But i am not able to use it. When I run the script in windows it says "ImportError: No module named ImageGrab" I also created the PATH VARIABLE called PYTHONPATH and gave the location of the installed modules. Please help.

Member Avatar for Stefano Mtangoo
0
293
Member Avatar for thekashyap

While trying to address a new requirement we wanted to provide a generic soln and pass on our pain to the customer. :) [B]Application: [/B]Say I have some application listening to a port or JMS or something where it receives some encrypted messages/requests. To process the requests it need to …

Member Avatar for ~s.o.s~
0
110
Member Avatar for ursrathika

I require to appear the Name which i click on the "new.php" page in the "Window_open.php" page..I use some Java Script also to accomplish this but I couldn't.. [B][U]how to pass textbox value in popup....[/U][/B] Could you pleas Help ...!!! Expand|Select|Wrap|Line Numbers [code] 1. ----------The Code in "Window_open.php" ------------------- 2. …

Member Avatar for Jerail
0
113
Member Avatar for Krstevski

Hello... I have problem with regex, I want to get the tables from another site... the regex is re.compile(r'<table.*?>(.*?)</table>') but when I get the tables I don't know how to return the value into the tables. [CODE=Python] #html = the page tbl = re.compile(r'<table.*?>(.*?)</table>') return tbl.sub('', html) #return html without …

Member Avatar for Krstevski
0
84
Member Avatar for khevz09

My only problem is the spacing..... to make it right.... i need to make it inverted pyramid pattern... like this: [CODE] 9 8 7 6 5 4 3 2 1 9 8 7 6 5 4 3 2 9 8 7 6 5 4 3 9 8 7 6 5 …

Member Avatar for tetron
0
84
Member Avatar for TheGhost

hi, i need to send keystrokes an application (including, "enter", "left arrow", "right arrow", etc). but how do i do that? i do not see any short and useful examples to doing it. all i have got at the current moment is to get the foreground window using HWND foregroundWindow …

Member Avatar for VilePlecenta
0
162
Member Avatar for sujithy15

overriden methods provide one interface multiple methods. what is meant by one interface multiple methods

Member Avatar for verruckt24
0
116
Member Avatar for mangel.murti

hello all, if user uploading image for first time it will insert and if changing image then update query process.. my problem is that i am providing a popup window for image upload.i want after upload image childwindow should close and parent window reload or refrsh... i tried a lot …

Member Avatar for saiprem
0
137
Member Avatar for tetron

I am having problems with the new operator() specifically within std::string I appear to have hit a memory limit in visual studio. Ideally I would like someone to help me find one of the following solutions: 1 - Can I access the memory in a very big file directly without …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for MacUsers

Greetings everyone!! First of all, I'm a python newbie; my apology in advance if I'm being silly with my question but I really hope some one can help me on this. I got myself a project (just to start) to read iTunes library .xml file - iTunes Music Library.xml - …

Member Avatar for Pupo
0
724
Member Avatar for anatwe

Hi, I want to define buttons that will switch between tab pages in a tabControl. What should I put in the click functions of the buttons? I tried focus, bringToFront, select, show. Nothing works... Thanks

Member Avatar for anatwe
0
134
Member Avatar for dilake

I am not able to find the Compile Tab in Project Properties in vs 2008. Can someone help me out?

Member Avatar for dilake
0
99
Member Avatar for dks1383

Hi all I have a website and I have put some links to another websites in my website , but when my users click on the links, I show the content of other websites in iframe is this Copyright violation? thanks.

Member Avatar for saiprem
0
119
Member Avatar for Slammer

Hi, my problem is in regular expression. I need to catch from html code hyperlink tag's href atribute content if this hyperlink contains search condition. here is snippet: [CODE=php]$a = "nail"; //search ctriteria between <a></a> $s =<<<EOF <a class="level2" onmouseout="this.style.background = '';" onmouseover="this.style.background ='#2c7cf4';" href="index.php?item&amp;module=1&amp;category=11" style=""> kaut kas cits </a> …

Member Avatar for Slammer
0
128
Member Avatar for rajdesire

How can we use volatile variable in C or C++? Anybody can some good code to understand this.

Member Avatar for gerard4143
0
144
Member Avatar for mrinal.s2008

Hi, I'm able to write a copy constructor for a class which contains pointer as a data member. However, when I have a reference as a data member, the copy constructor does not help, i.e. when I change that member for one object, the change is reflected in another one …

Member Avatar for JasonHippy
0
1K
Member Avatar for satyambnl

this is helper class . i m unable create a second table in my sqlite please observe the following code [code]helper class.java public class DBAdapter { private static final String DATABASE_NAME="satya_db"; private static final int DATABASE_VERSION=1; private static Context context; private SQLiteDatabase db=null; private static String CREATE_TABLE="create table states(_id integer …

Member Avatar for peter_budo
0
153
Member Avatar for elexender

Hi, Im pretty new to c++ programming so plz dont be offended if i ask "stupid" questions. Im want to open a file named "Alexander". The name of the file is stored in an Ansisting. So i want to add an ".txt" extension to open the file. Then i want …

Member Avatar for elexender
0
138
Member Avatar for dani_awais

HEllo everybody !!! i have a little problem.. i m making a program in which i have to do bitwise addition. mean if the 1st input is 111 and the 2nd input is 11 then the output is 1010 i have made my logic but where i have the problem …

Member Avatar for adnan.siddique
0
81
Member Avatar for sujithy15

hai guys my question is regarding data protection. conisder this program [code] // This class defines an integer stack that can hold 10 values. class Stack { int stck[] = new int[10]; int tos; // Initialize top-of-stack Stack() { tos = -1; } // Push an item onto the stack …

Member Avatar for sujithy15
0
247
Member Avatar for invisi

I wrote this programme but what two numbers you choose exit it? can you guess just by looking? Because I can't :( [CODE]#include <iostream> #include <string> using namespace std; int main() { bool aHo = true; int a = 0; int b = 0; while(aHo) { cout << "Enter Number …

Member Avatar for invisi
0
81
Member Avatar for gaberb

Can I call two PHP scripts from the same onBlur? In the code below the preFilladmin function creates a JavaScript error after leaving the admin_uid field [CODE] // Set this to your validation PHP script, default is "validate.php?value=" var vUrl = "/validate_assignIP.php?value="; // This is the array for error handling …

Member Avatar for kvprajapati
0
141
Member Avatar for bulbulsmile
Member Avatar for debasisdas
0
102
Member Avatar for s2xi

Hey, so I have a form and i want to break down the form into 2 sections when inserting into my database. I have made 2 tables to hold my values. this is my SQL statements. [CODE] $sql_insert1 = "INSERT INTO `agent_users` (`user_name`, `password`, `primary_email`, `secondary_email`, `join_date`, `last_accessed`, `activation_code`, `first_name`, …

Member Avatar for urtrivedi
0
135
Member Avatar for lewashby

I'M trying to learn to program through Mono. I'M using a book on C#. Although it isn't specifically for Mono, I haven't gotten far into the book and it's a really small example so I don't expect that it has any platform specific code. Please see what's wrong with this …

Member Avatar for ddanbe
0
113
Member Avatar for bardcode1

The Mortgage Calculator will calculate and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. The user will be asked to enter to the amount of the mortgage loan, the term in years of the mortgage, …

Member Avatar for javaAddict
0
214
Member Avatar for scias23

i just want to know, what is much better to do for data access? include the database to my solution (tools>connect to database), or just hardcode everything? somebody reply please. thanks

Member Avatar for kvprajapati
0
112
Member Avatar for Benbo1980

Hi there, I have successfully setup a page using a tutorial (shown [url]http://www.phpeasystep.com/mysql/10.html[/url]) It's all working fine as it stands. I have now added another column to the database that can either be 1 or 0 and I would like to be able to change it on the update page …

Member Avatar for freshmem
0
1K
Member Avatar for shrublet

Hello there, I am a Java programmer by trade and am VERY new to C so please excuse any blatant pointer ignorance, if possible. I am having a problem with the concept of returning something but also freeing it afterwards within a method. I am implementing a stack program and …

Member Avatar for rajdesire
0
114
Member Avatar for noname1015

I am doing fyp with rfid student attendance system currently. And, I face the problem on saving the database's data.This is the code that i write below: [code] Dim sqladapter As SqlClient.SqlDataAdapter = New SqlClient.SqlDataAdapter("select * from table_0", conn) sqladapter.Fill(ds, "table_0") Dim sqladapter_1 As SqlClient.SqlDataAdapter = New SqlClient.SqlDataAdapter("select * from …

Member Avatar for noname1015
0
99
Member Avatar for Satal Keto

Hi, I was hoping that I could get some guidance from some of you guys on Object Design with Database back ends. I am trying to build what could be considered to be my first full scale application, which is a student tracker (simplification). While I have a reasonable idea …

Member Avatar for kvprajapati
0
159
Member Avatar for JuliaNell

Hi guys, its nice meeting you all, forgive me i might be asking simple questions believe me im totaly new to PHP and im so lost. Help me out with this. Create an array with random number of elements and each value and each value is random itself. Display array …

Member Avatar for JuliaNell
0
79
Member Avatar for miraj0072004

hi friends, I need some help in keeping count of particular IP addresses that I read from a text file with ip addresses.i.e let's say 123.456.789.123 - 15 times, 542.432.456.123 - 6 times etc etc ...thanks in advance

Member Avatar for miraj0072004
0
84
Member Avatar for psathish2

hi ... [B]javascript:[/B] [code] function calc() { var qty=eval(document.getElementById('<%=txtnoofpack.ClientID %>').value); var fre=eval(document.getElementById('<%=txtFregiht.ClientID %>').value); var ha=eval(document.getElementById('<%=txthamai.ClientID %>').value); var dd=eval(document.getElementById('<%=lblDDcharge.ClientID %>').value); document.getElementById('<%=txtamt.ClientID %>').value = qty * fre + dd + ha; var ser=eval(document.getElementById('<%=txtsertax.ClientID %>').value); var am=eval(document.getElementById('<%=txtamt.ClientID %>').value); if(am >= 750 ) { document.getElementById('<%=txttot.ClientID %>').value = ser * am + am ; } …

Member Avatar for psathish2
0
152
Member Avatar for preetg

hi........... my update code is working correcty.... .....but i want update links in front of every record of table ... plz tell me how it is possible........... thanx for last reply..... m pretty new in php [code=php] [file name=updaterecord.php] <? $con=mysql_connect('localhost','root','root'); if (!$con) { die('Could not connect: ' . mysql_error()); …

Member Avatar for preetg
0
113
Member Avatar for moein_soltani

Hello all, I have registerd lately, we have a project about the implemention of huffman algorithm...! I have some problem... first is that I want to read space and Enter from txt file how can i do that? Next is how i should output to say that 0 and 1 …

0
79
Member Avatar for MCBambi

hie if you could help me out i'll be forever grateful!! okay i am creating an ordering system but when i try to add a new customer it allos me to add but it doesnt save to the database and i can not also call it up the code i …

Member Avatar for kvprajapati
0
119
Member Avatar for prashantc13

Can somebody help me with the following problem, here is inputxml, xslt i'm using and expected output . actually i know it is because of unique generateid not getting generated this xslt failing to generate desired output but i don't know where that code should be inserted. InputXML [CODE=XML]<?xml version="1.0" …

Member Avatar for varun0703
0
106
Member Avatar for mags614

I am writting a code to calculate the total payments of a car with interest. Also calculating the monthly payments. I keep getting errors, saying that i am not declaring price and rate...how do you declare them to some number? this is my program. [code] public static void main(String[] args) …

Member Avatar for verruckt24
0
252
Member Avatar for hannaxbear

The function I am trying to write is supposed to be recursive and does the following: Return the number of ways that all n2 elements of a2 appear in the n1 element array a1 in the same order (though not necessarily consecutively). The empty sequence appears in a sequence of …

Member Avatar for hannaxbear
0
165
Member Avatar for zaraf

Dear All, Lately during one of my projects i have encountered a problem and stuck on that point. I have an optical sensor that i have attached to my pc and it detects colors in terms of RGB values. The sensor is from a famous company and has been supplied …

Member Avatar for zaraf
0
176
Member Avatar for muthumari

Hi, I hava 1 error in accessing database using javabean in jsp(jsp custom actions).The error like this javax.servlet.ServletException: [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt my source code is given below.Anybody help me?? [code=java]package SQLBean; import java.sql.*; import java.io.*; public class DbBean implements java.io.Serializable{ private String …

Member Avatar for georgequinne
0
364
Member Avatar for sosdown

how can i change this string: "f(x)= x + 2-3\nbox = f(2) + 2\nbox = f(f(2)) + 2\nfunc = 3 + 3 * 4 to: "box = 1 + 2\nbox = 0 + 2\nfunc = 3 + 3 * 4\n" or tell me the algorithm to make this happen, i …

Member Avatar for vegaseat
0
65
Member Avatar for Prachi Doshi

Hey I m not able to understand the topics such as Abstract classes,annotations. Plz help me out. And I also want to know how can i practice online java programs. I m not able to find some specific practice problems.:(

Member Avatar for Prachi Doshi
0
157
Member Avatar for RobotFX

Hi! I have a PHP script I've downloaded from somewhere (don't remember where, but the developers link is dead) and I want to modify it. Actually I want an extra page. The script has 2 files, tw.php and parse.php. In tw.php you should enter your twitter account (user+pass) and the …

Member Avatar for RobotFX
0
348
Member Avatar for khaled.s

Can you please tell me what's wrong? I get this error: error C2447: '{' : missing function header (old-style formal list?) [code] // // Area= 1/2 | (x1y2 - x2y1) + (x2y3 - x3y2) + (x3y1 - x1y3) | // (distance)^2 = (x-difference)^2 + (y-difference)^2 // v= sqrt[ s(s-a)(s-b)(s-c) ] …

Member Avatar for WaltP
0
239
Member Avatar for samuel_cyk

I wrote a code to send file as below: [CODE]Dim objXMLDoc As New XmlDocument objXMLDoc.Load("C:\Inetpub\wwwroot\XMLSchema_Test\XML\1773777.xml") Dim blnResponse As Boolean Dim objURI As Uri = New Uri("https://172.16.17.2/XMLSchema_Tests1/Web%20Forms/frmXML_Receive.aspx") Dim objWR As HttpWebRequest = HttpWebRequest.Create(objURI) blnResponse = objWR.HaveResponse Dim strXML As String = objXMLDoc.OuterXml objWR.Method = "POST" Dim encoding As New System.Text.ASCIIEncoding Dim …

Member Avatar for samuel_cyk
0
160
Member Avatar for mpegjohn

Hi, I am creating a new UserControl that has 3 PictureBox's, These three pictures show the start, middle and end frames of a video clip. Multiple UserControls of this type will be shown in a list. So for a video of 100 clips we have 3 * 100 = 300 …

Member Avatar for Diamonddrake
0
179
Member Avatar for frank.zappa

I've started using vim recently as my main text editor and I've tried to come up with a map command which compiles and runs my java source code. This is what I have so far: map <F4> :!javac % <CR>:!java %< <CR> but it doesn't always work. For example, when …

Member Avatar for frank.zappa
0
810
Member Avatar for Lukezzz

I have a Panel that holds 200 buttoncontrols. If I for example minimize the Formwindow and maximize the window again, panel1 that holds the 200 buttoncontrols makes the 200 buttoncontrols to "flicker" for about 2 seconds. I beleive I have set up code for panel1 that have Doublebuffer = true; …

Member Avatar for Lukezzz
0
105

The End.