199,114 Archived Topics
Remove Filter ![]() | |
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. | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
overriden methods provide one interface multiple methods. what is meant by one interface multiple methods | |
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 … | |
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 … | |
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 - … | |
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 | |
I am not able to find the Compile Tab in Project Properties in vs 2008. Can someone help me out? | |
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. | |
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&module=1&category=11" style=""> kaut kas cits </a> … | |
How can we use volatile variable in C or C++? Anybody can some good code to understand this. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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`, … | |
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 … | |
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, … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 ; } … | |
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()); … | |
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 … | |
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 … | |
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" … | |
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) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.:( | |
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 … | |
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) ] … | |
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 … | |
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 … | |
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 … | |
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; … |
The End.