199,114 Archived Topics
Remove Filter ![]() | |
I am running canopy 64 bit Version: 1.0.3.1262 on mac Mountain Lion. I have installed virtualenv using easy_install. But while I am trying to execute the command: virtualenv venv --distribute It shows the following error: Using base prefix '/Applications/Canopy.app/appdata/canopy-1.0.3.1262.macosx-x86_64/Canopy.app/Contents' New python executable in venv/bin/python dyld: Library not loaded: @rpath/Python Referenced … | |
I'm sorry. These question probably sound very stupid to you people. But to me they are extremely difficult. Imagine being completely ignorant with computers, and signing up for an intermediate level class (I did not take the beginner class)................ and NEEDING an A to make up for the 2 B's … | |
Hello people, I want create and use a simple library but this is the first time, so I need help. 1. If I have cpp file with it's header, how do I create a shared library with g++. 2. After I created the .so library, how do I include it … | |
I have a php page (page1.php) that loads another php page (page2.php). with page2.php I have other php codes and "includes" that I want to work. I use content=file_get_contents(file_path/page2.php) to get the code from page2.php. I then use str_replace() to change the file path of the "includes()" on page2.php so … | |
An algorithm runs a given input size n.If n is 4096,the run time is 512 ms .If n is 16384 the run time is 2048 ms .what is the complexity of the algorithm in big-o notaion ? a)o(n^1/2) b)o(n) c)o(nlogn) d)o(n^2) o() is big-oh! is it logical ? I have … | |
I'm a beginner in phyton. i'm just starting to read things about phyton because we need it for our project. I really need basic and detailed instructions on how to use it and use it using notepad++. Could someone help me? or teach me? ill also do my part and … | |
Need help with Caesar Cipher. Usually I am aboe to figure the things out with just a small pointer.... but this one escapes me. I need to create a Caesar Cipher. **It must have an array. ** **I must be very simple.**(don't want to use that code where A = … | |
hi all, Im working with a asp.net c# application and using sql server, as my database and using stored procedures. And i've to generate dynamic check box and button's.which is users can click the checkbox and when user can submit at the time i have to get checked checkbox values … | |
I have a Java code block like following: public TcpConnection(TcpSocket socket, long alive_time, ITcpConnectionListener listener) { init(socket,alive_time,listener); start(); } For the conversion in C#, When I try to replace the `start()` method with `System.Threading.ThreadStart()`, it gives an error. How can I start a thread in C#? | |
Hey guys, Had a problem with Wordpress. When I click submit on a form for a plugin I made it says "insufficient permissions" So I can see that being a problem. I decided it might be best to use PHP_SELF. Just a question really. At the moment it is 3 … | |
I am creating a game of Racing cars in java But the problem is that my car when moved in any direction makes flickering on the screen. As the project is a Core java project it can only be made in a Windows application form. I set the speed of … | |
hi..please help me to have code that will display list of folders from a given directory in php or javascript. for example i want to display in a page the list of folders in my c:\Program Files\. Thanks in advance. | |
hi. i made a simple chat app on vb 2005 express edition. Its juts a simple client server chat. could anyone help me turn it into a multi client chat. where more than 1 user could connect to the server. it must include a publich chat room where everyone connected … | |
***registration.php*** <!<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Register</title> </head> <body> <fieldset> <legend>Registration</legend> <form name="register" action="register.php" method="post"> <table width="510" border="0"> <tr> <td colspan="2"><p><strong>Registration Form</strong></p></td> </tr> <tr> <td>Username:</td> <td><input type="text" name="username" maxlength="20" /></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password" /></td> </tr> <tr> … | |
Hey Guys, I have been spending 2 hrs on this work. I just can't figure out how to get this page aligned properly. Here is the link to the html page [Click Here](http://demo.goincubix.com/exosafe/html/ver4/services.html) and here is the susbsequent wp page's link [Click Here](http://exosafe.com/site/services/) I'm so drained looking at the PHP … | |
I have created an application which compress & convert a file in .rar or .zip format.But it can't be open and give error that the file is damaged!!! string filetocompress = txtSourceFilePath.Text.Substring(txtSourceFilePath.Text.LastIndexOf("\\")+1); MessageBox.Show(filetocompress); FileStream sourcefile = File.Create(txtSourceFilePath.Text); FileStream destination = File.Create(txtTargetFilePath.Text + filetocompress + ".gz"); byte[] buffer = new byte[sourcefile.Length]; … | |
Hi there! I have a question related to filing in c++. I have to read data from a text file and load it into 2-d dynamic array. Here is the problem statement: 5 3 3 8 1 4 2 5 7 2 4 6 8 0 9 3 1 2 … | |
My code: <?php include("db.php"); if (isset($_POST['username']) && isset($_POST['password']) && isset($_POST['email'])) //Prevent SQL injections $username = mysql_real_escape_string($_POST['username']); $email = mysql_real_escape_string($_POST['email']); //Get MD5 hash of password $password = md5($_POST['password']); //Check to see if username exists $sql = mysql_query("SELECT username FROM usersystem WHERE username = '".$username."'"); if (mysql_num_rows($sql)>0) { die ("Username taken."); } … | |
Hello Community, I'm having trouble with data returning after my form has been submitted. So in my case I have a notification system on my website and a setting popup window with a clear all checkbox so when the user clicks it then click save, after the form submits. All … | |
i want to check the email sending functionality of my application. I read different articles but non of them were useful. I want to check what emails are generated by my application so i test my application. i tried different tools like Test Mail Server Tool, smtp4dev etc. But they … | |
Hi! Back again with two new errors... Saved as text files Deprecated: Function session_unregister() is deprecated in /home/content/13/11394913/html/logout.php on line 15 http://www.universal-abundance.com/logout.txt Ln 15 is a blank line! Deprecated: Function eregi() is deprecated in /home/content/13/11394913/html/join.php on line 52 http://www.universal-abundance.com/join.txt Ln 52 } elseif(!preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $_POST['email'])) { Thanks! L-D ![]() | |
so I need to be able to open a text file, and when a button is pressed it searches for a tag in the file such as <l1> and anything after that tag would be put into a label. how would I go about doing this? | |
hi.. how can i create a listview or Gridview which display all my data in my sql?? also with a next and previous button.. and find.. I'm been searching it for whole day but no luck.. i find a few but it required me to buy it from them?.. Can … | |
Hi I have a datagrid with 2 columns (Scores(Int) index 0 and Comment(varchar) index 1) Comment columnvalue depends on score columnvalue. This code works well in my cellvaluechanged event If e.ColumnIndex = 0 Then If Not IsDBNull(Me.dgvStudDisc.Rows(e.RowIndex).Cells(e.ColumnIndex).Value) Then If Me.dgvStudDisc.Rows(e.RowIndex).Cells(e.ColumnIndex).Value >= 0 And Me.dgvStudDisc.Rows(e.RowIndex).Cells(e.ColumnIndex).Value <= 5 Then Me.dgvStudDisc.Rows(e.RowIndex).Cells(1).Value = "Very … | |
I have searched the google machine to the ends of they internets and back again and tried everything from clean builds to removing registry entries. This has vexed me for the past week. It all started out as a simple application project windows form style. New project deserves new visual … | |
Hey Guys, I'm Learning a bit more about things you can do with OpenFileDialog. One of the things was to see if I could move a file to specfic destination depending on the filename. That works fine However come to a halt when trying to do the same thing with … | |
Hi DW I created a program in NaviCoder For Java and now I want to export it so that it can be a exe file so that it can be executed on a computer on it own without the need of an IDE. Thanks | |
windows xp was crashed, so after formatting & installation of windows I installed (overwrite of all existing files) **XAMPP** which was on different drive, other than **C:\**. As it was not lost when windows was crashed, I just overwrite the all files, this had happened with me lot of time … | |
public class PolarCoordinates { public static void main(String[] args){ int r=10; double x=0,y=0,theta=30; x=r*Math.cos(theta); y=r*Math.sin(theta); System.out.println("The value of x is :" +x); System.out.println("The value of y is :" +y); } } help please? it gives me wrong answer. 10cos(30) should equal to 8.7, but it gives me 11.7 ans. 10sin(30) … | |
Anyone can tell me what is a module actually? how it differs from others files? | |
i will explain the scenario as i don't know how to do it and i don't know if someone ever did it before. I am creating a price comparison website. The customers can add products as their favourites from a list of products. They can also add 4 retailers as … | |
i want to retrieve data from Access table but i don't know where i am going wrong.here i am going to show my work which return errors:- Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset Public Sub procedure1() con.Provider = "Microsoft.jet.oledb.4.0" con.Open(My.Application.Info.DirectoryPath & "\Database1.mdb") End Sub Private Sub … | |
So I want to convert this C language program to Assembly: void main { int year; printf("Enter the year: "); scanf("%d",&year); if(year%400 ==0 || (year%100 != 0 && year%4 == 0)) { printf("Year %d is a leap year",year); } else { printf("Year %d is not a leap year",year); } } … | |
Does anyone know how I can get specific content from another website and post it on my website? In this case I want to get the content from [url]http://www.gametracker.com/server_info/213.239.207.85:27960/[/url] What I want is: Name, Game, Address, port, status, clan, Server Manager, members, Current Players. Average and Game Server Rank. I've … ![]() | |
Hi , I have a label control which is on web form (.aspx) and a button which is inside usercontrol , i want to change the label text on button click. OR on button click inside the user control change the text of label which is out side the user … | |
Hi I m a civil engineer. I have basic Idea in PHP and VB Now I want to make a civil engineering database software for PC windows. Which software will be good and easy for me. Thats mean Visual basic or any other softwaree. Please suggest me. Remember that I … | |
Good Day, I would like to ask regarding on Redirect or need to login first? I have a Link on Homepage that if the user click that it will check if the user is logon or not if not then it will redirect on Login page? Your Response is Highly … | |
Hi All I have googled this exception extensively, and all the discussions I've found seem to be related to file uploading and exceeding the allowed file size limit. In my case however, I am not uploading anything, it is a simple postback. I have a gridview displaying the results of … | |
Hey guys, got this weird error. I have 3 divs. Each with different forms in. Div 1 and Div 2 work fine, they sit next to each other no errors. But div 3 doesn't exist apparently. I'm unsure of where it has moved or why it's deleted. Picture: http://puu.sh/3yDRM.png As … | |
Hello Everyone, Hope you having a good day; I just want few definitions, define briefly, the following; What is Normalization of a set of data to 3rd normal form. What is Relational schemas & dependency diagrams and an Entity Relationship Diagram (crow’s foot notation). | |
Hello, I made an arbitrary precision integer library a few weeks ago. It works well, but is bounded by `256^(8*sizeof(size_t))` because it uses a simple dynamically allocated array to do its work. I want some way to have theoretically unbounded storage. I think that file io is probably best, but … | |
I am new to C#.What is internal access modofier? I have googled it but getting some difficult terms like assembly etc. What is it in simple terms? | |
Hi Dw I'm creating an atm appication and now my research pointed me to use the Java Point Of Service/Sale (JPOS) my application allow user to choose the amount from the options displayed on the screen and the user will use the number keypad to make his/her selection and the … | |
code: #I meant memory card import pygame, sys,random from functools import partial def image(x=50,y=100,default=True,nondefault_color=(0,0,0)): if default: color = hiddencolor else: color = nondefault_color print color image = pygame.Surface((x,y)) image.fill(color) pygame.draw.lines(image, [0,0,0],False, [(0,0),(0,100),(50,100),(50,0),(0,0)], 1) rect = image.get_rect() return image def card(pos): x= pos[0]/50 #integer divison y= pos[1]/100 if (x,y) in flashcards: … | |
Hi all, I have created an abstract class Named Employee and one Sub-Class named FullTimeEmployee. In my abstract class "Employee", i have defined two constructors one without parameter and one with two parameter, both used to intializee first name and last name. My aim is to print payroll for employee … | |
c prog that take int x and pass it to thread to return x+10 i tried to free()mem i allocate in prog using malloc // problem i get this error Aborted (core dumped) #include <pthread.h> #include <stdio.h> #include <stdlib.h> void *fun(void *TX); int main() { int x =50; void *exitstat; … | |
How can I close a user generated button? Here's the code for the button that creates new user generated buttons: Public Sub Button12_Click(sender As Object, e As EventArgs) Handles Button12.Click TC = TC + 1 Dim TCP As New Integer TCP = TC * 100 Dim NT As New MyButton … | |
I have an issue with `$_SESSION` global across a single domian, on my local machine, running PHP 5.1 build 2600 I'm creating a session in the domain root. $first_name='martin'; $second_name='thorburn'; $login_array=array("first_namet"=>$first, "second_name"=>$second); $_SESSION['login']=$login_array; When I run `print_r($_SESSION['login']);` in the root, I get the expected response "Array ( [first_name] => martin … | |
Hello I have these database countries ->country_id ->country_name ->language counties ->county_id ->county_name ->language towns ->town_id ->town_name ->language locations ->location_id ->location_name ->language streets ->street_id ->street_name ->language and i have users that select country,county,town,location and optional street at a selected language and i want to show the show the informations of address … | |
I'm running this code. SHELLEXECUTEINFO ExecuteInfo = { 0 }; ExecuteInfo.cbSize = sizeof(ExecuteInfo); ExecuteInfo.fMask = 0; ExecuteInfo.hwnd = nullptr; ExecuteInfo.lpVerb = L"open"; ExecuteInfo.lpFile = L"C:\\progra~1\\intern~1\\iexplore.exe"; ExecuteInfo.lpParameters = L"http://www.google.co.uk"; ExecuteInfo.lpDirectory = nullptr; ExecuteInfo.nShow = SW_SHOW; ExecuteInfo.hInstApp = nullptr; ShellExecuteEx(&ExecuteInfo); Sleep(5000); CloseWindow((HWND)ExecuteInfo.hwnd); exit(GetLastError()); It's not closing the window. And it's exiting with … |
The End.